Interface ProfileRulesManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, ProfileRulesProfile, Sourceable
The profile rules manager provides access to profile rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
ProfileEntryEnablerLookupSession: a session to retrieve profile entry enablers -
ProfileEntryEnablerQuerySession: a session to query for profile entry enablers -
ProfileEntryEnablerSearchSession: a session to search for profile entry enablers -
ProfileEntryEnablerAdminSession: a session to create and delete profile entry enablers -
ProfileEntryEnablerNotificationSession: a session to receive notifications pertaining to profile entry enabler changes -
ProfileEntryEnablerProfileSession: a session to look up profile entry enabler profile mappings -
ProfileEntryEnablerProfileAssignmentSession: a session to manage profile entry enabler to profile mappings -
ProfileEntryEnablerSmartProfileSession: a session to manage dynamic profiles of profile entry enablers -
ProfileEntryEnablerRuleLookupSession: a session to look up profile entry enabler to profile entry mappings -
ProfileEntryEnablerRuleApplicationSession: a session to apply profile entry enablers to profile entries
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the profile entry enabler administration service.getProfileEntryEnablerAdminSessionForProfile(Id profileId) Gets theOsidSessionassociated with the profile entry enabler administration service for the given profile.Gets theOsidSessionassociated with the profile entry enabler lookup service.getProfileEntryEnablerLookupSessionForProfile(Id profileId) Gets theOsidSessionassociated with the profile entry enabler lookup service for the given profile.getProfileEntryEnablerNotificationSession(ProfileEntryEnablerReceiver profileEntryEnablerReceiver) Gets theOsidSessionassociated with the profile entry enabler notification service.getProfileEntryEnablerNotificationSessionForProfile(ProfileEntryEnablerReceiver profileEntryEnablerReceiver, Id profileId) Gets theOsidSessionassociated with the profile entry enabler notification service for the given profile.Gets theOsidSessionassociated with assigning profile entry enablers to profiles for profile entry.Gets theOsidSessionto lookup profile entry enabler/profile mappings for profile entry enablers.Gets theOsidSessionassociated with the profile entry enabler query service.getProfileEntryEnablerQuerySessionForProfile(Id profileId) Gets theOsidSessionassociated with the profile entry enabler query service for the given profile.Gets theOsidSessionassociated with the profile entry enabler assignment service to apply enablers to profile entries.Gets theOsidSessionassociated with the profile entry enabler assignment service for the given profile to apply enablers to profile entries.Gets theOsidSessionassociated with the profile entry enabler mapping lookup service for looking up the rules applied to a profile entry.Gets theOsidSessionassociated with the profile entry enabler mapping lookup service for the given profile for looking up rules applied to a profile entry.Gets theOsidSessionassociated with the profile entry enabler search service.getProfileEntryEnablerSearchSessionForProfile(Id profileId) Gets theOsidSessionassociated with the profile entry enablers earch service for the given profile.getProfileEntryEnablerSmartProfileSession(Id profileId) Gets theOsidSessionto manage profile entry enabler smart profiles.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface ProfileRulesProfile
getProfileEntryEnablerRecordTypes, getProfileEntryEnablerSearchRecordTypes, supportsProfileEntryEnablerAdmin, supportsProfileEntryEnablerLookup, supportsProfileEntryEnablerNotification, supportsProfileEntryEnablerProfile, supportsProfileEntryEnablerProfileAssignment, supportsProfileEntryEnablerQuery, supportsProfileEntryEnablerRecordType, supportsProfileEntryEnablerRuleApplication, supportsProfileEntryEnablerRuleLookup, supportsProfileEntryEnablerSearch, supportsProfileEntryEnablerSearchRecordType, supportsProfileEntryEnablerSmartProfile, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedProfileEntryEnablerrecord types.Gets the supportedProfileEntryEnablersearch record types.booleanTests if a profile entry enabler administrative service is supported.booleanTests if looking up profile entry enablers is supported.booleanTests if a profile entry enabler notification service is supported.booleanTests if a profile entry enabler profile lookup service is supported.booleanTests if a profile entry enabler profile service is supported.booleanTests if querying profile entry enablers is supported.booleansupportsProfileEntryEnablerRecordType(Type profileEntryEnablerRecordType) Tests if the givenProfileEntryEnablerrecord type is supported.booleanTests if a profile entry enabler rule application service is supported.booleanTests if a profile entry enabler rule lookup service is supported.booleanTests if searching profile entry enablers is supported.booleansupportsProfileEntryEnablerSearchRecordType(Type profileEntryEnablerSearchRecordType) Tests if the givenProfileEntryEnablersearch record type is supported.booleanTests if a profile entry enabler profile lookup service is supported.booleanTests if any broker federation is exposed.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getProfileEntryEnablerLookupSession
ProfileEntryEnablerLookupSession getProfileEntryEnablerLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the profile entry enabler lookup service.- Returns:
- a
ProfileEntryEnablerLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerLookup()} is {@code true} .
-
getProfileEntryEnablerLookupSessionForProfile
ProfileEntryEnablerLookupSession getProfileEntryEnablerLookupSessionForProfile(Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the profile entry enabler lookup service for the given profile.- Parameters:
profileId- theIdof theProfile- Returns:
- a
ProfileEntryEnablerLookupSession - Throws:
NotFoundException- noProfilefound by the givenIdNullArgumentException-profileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getProfileEntryEnablerQuerySession
ProfileEntryEnablerQuerySession getProfileEntryEnablerQuerySession() throws OperationFailedExceptionGets theOsidSessionassociated with the profile entry enabler query service.- Returns:
- a
ProfileEntryEnablerQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerQuery()} is {@code true} .
-
getProfileEntryEnablerQuerySessionForProfile
ProfileEntryEnablerQuerySession getProfileEntryEnablerQuerySessionForProfile(Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the profile entry enabler query service for the given profile.- Parameters:
profileId- theIdof theProfile- Returns:
- a
ProfileEntryEnablerQuerySession - Throws:
NotFoundException- noProfilefound by the givenIdNullArgumentException-profileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getProfileEntryEnablerSearchSession
ProfileEntryEnablerSearchSession getProfileEntryEnablerSearchSession() throws OperationFailedExceptionGets theOsidSessionassociated with the profile entry enabler search service.- Returns:
- a
ProfileEntryEnablerSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerSearch()} is {@code true} .
-
getProfileEntryEnablerSearchSessionForProfile
ProfileEntryEnablerSearchSession getProfileEntryEnablerSearchSessionForProfile(Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the profile entry enablers earch service for the given profile.- Parameters:
profileId- theIdof theProfile- Returns:
- a
ProfileEntryEnablerSearchSession - Throws:
NotFoundException- noProfilefound by the givenIdNullArgumentException-profileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getProfileEntryEnablerAdminSession
ProfileEntryEnablerAdminSession getProfileEntryEnablerAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the profile entry enabler administration service.- Returns:
- a
ProfileEntryEnablerAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerAdmin()} is {@code true} .
-
getProfileEntryEnablerAdminSessionForProfile
ProfileEntryEnablerAdminSession getProfileEntryEnablerAdminSessionForProfile(Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the profile entry enabler administration service for the given profile.- Parameters:
profileId- theIdof theProfile- Returns:
- a
ProfileEntryEnablerAdminSession - Throws:
NotFoundException- noProfilefound by the givenIdNullArgumentException-profileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getProfileEntryEnablerNotificationSession
ProfileEntryEnablerNotificationSession getProfileEntryEnablerNotificationSession(ProfileEntryEnablerReceiver profileEntryEnablerReceiver) throws OperationFailedException Gets theOsidSessionassociated with the profile entry enabler notification service.- Parameters:
profileEntryEnablerReceiver- the notification callback- Returns:
- a
ProfileEntryEnablerNotificationSession - Throws:
NullArgumentException-profileEntryEnablerReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerNotification()} is {@code true} .
-
getProfileEntryEnablerNotificationSessionForProfile
ProfileEntryEnablerNotificationSession getProfileEntryEnablerNotificationSessionForProfile(ProfileEntryEnablerReceiver profileEntryEnablerReceiver, Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the profile entry enabler notification service for the given profile.- Parameters:
profileEntryEnablerReceiver- the notification callbackprofileId- theIdof theProfile- Returns:
- a
ProfileEntryEnablerNotificationSession - Throws:
NotFoundException- no profile found by the givenIdNullArgumentException-profileEntryEnablerReceiverorprofileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getProfileEntryEnablerProfileSession
ProfileEntryEnablerProfileSession getProfileEntryEnablerProfileSession() throws OperationFailedExceptionGets theOsidSessionto lookup profile entry enabler/profile mappings for profile entry enablers.- Returns:
- a
ProfileEntryEnablerProfileSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerProfile()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerProfile()} is {@code true} .
-
getProfileEntryEnablerProfileAssignmentSession
ProfileEntryEnablerProfileAssignmentSession getProfileEntryEnablerProfileAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning profile entry enablers to profiles for profile entry.- Returns:
- a
ProfileEntryEnablerProfileAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerProfileAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerProfileAssignment()} is {@code true} .
-
getProfileEntryEnablerSmartProfileSession
ProfileEntryEnablerSmartProfileSession getProfileEntryEnablerSmartProfileSession(Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage profile entry enabler smart profiles.- Parameters:
profileId- theIdof theProfile- Returns:
- a
ProfileEntryEnablerSmartProfileSession - Throws:
NotFoundException- noProfilefound by the givenIdNullArgumentException-profileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerSmartProfile()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerSmartProfile()} is {@code true} .
-
getProfileEntryEnablerRuleLookupSession
ProfileEntryEnablerRuleLookupSession getProfileEntryEnablerRuleLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the profile entry enabler mapping lookup service for looking up the rules applied to a profile entry.- Returns:
- a
ProfileEntryEnablerRuleSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerRuleLookup()} is {@code true} .
-
getProfileEntryEnablerRuleLookupSessionForProfile
ProfileEntryEnablerRuleLookupSession getProfileEntryEnablerRuleLookupSessionForProfile(Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the profile entry enabler mapping lookup service for the given profile for looking up rules applied to a profile entry.- Parameters:
profileId- theIdof theProfile- Returns:
- a
ProfileEntryEnablerRuleLookupSession - Throws:
NotFoundException- noProfilefound by the givenIdNullArgumentException-profileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerRuleLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerRuleLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getProfileEntryEnablerRuleApplicationSession
ProfileEntryEnablerRuleApplicationSession getProfileEntryEnablerRuleApplicationSession() throws OperationFailedExceptionGets theOsidSessionassociated with the profile entry enabler assignment service to apply enablers to profile entries.- Returns:
- a
ProfileEntryEnablerRuleApplicationSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerRuleApplication()} is {@code true} .
-
getProfileEntryEnablerRuleApplicationSessionForProfile
ProfileEntryEnablerRuleApplicationSession getProfileEntryEnablerRuleApplicationSessionForProfile(Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the profile entry enabler assignment service for the given profile to apply enablers to profile entries.- Parameters:
profileId- theIdof theProfile- Returns:
- a
ProfileEntryEnablerRuleApplicationSession - Throws:
NotFoundException- noProfilefound by the givenIdNullArgumentException-profileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true} .
-