Interface RelationshipRulesManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, RelationshipRulesProfile, Sourceable
The relationship rules manager provides access to relationship rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
RelationshipEnablerLookupSession: a session to retrieve relationship enablers -
RelationshipEnablerQuerySession: a session to query for relationship enablers -
RelationshipEnablerSearchSession: a session to search for relationship enablers -
RelationshipEnablerAdminSession: a session to create and delete relationship enablers -
RelationshipEnablerNotificationSession: a session to receive notifications pertaining to relationship enabler changes -
RelationshipEnablerFamilySession: a session to look up relationship enabler family mappings -
RelationshipEnablerFamilyAssignmentSession: a session to manage relationship enabler to family mappings -
RelationshipEnablerSmartFamilySession: a session to manage dynamic families of relationship enablers -
RelationshipEnablerRuleLookupSession: a session to look up relationship enabler to relationship mappings -
RelationshipEnablerRuleApplicationSession: a session to apply relationship enablers to relationships
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the relationship enabler administration service.Gets theOsidSessionassociated with the relationship enabler administration service for the given family.Gets theOsidSessionassociated with assigning relationship enablers to families.Gets theOsidSessionto lookup relationship enabler family mappings for relationship enablers.Gets theOsidSessionassociated with the relationship enabler lookup service.Gets theOsidSessionassociated with the relationship enabler lookup service for the given family.getRelationshipEnablerNotificationSession(RelationshipEnablerReceiver relationshipEnablerReceiver) Gets theOsidSessionassociated with the relationship enabler notification service.getRelationshipEnablerNotificationSessionForFamily(RelationshipEnablerReceiver relationshipEnablerReceiver, Id familyId) Gets theOsidSessionassociated with the relationship enabler notification service for the given family.Gets theOsidSessionassociated with the relationship enabler query service.Gets theOsidSessionassociated with the relationship enabler query service for the given family.Gets theOsidSessionassociated with the relationship enabler assignment service to apply enablers to relationships.Gets theOsidSessionassociated with the relationship enabler assignment service for the given relationship to apply enablers to relationships.Gets theOsidSessionassociated with the relationship enabler mapping lookup service for looking up the rules applied to the relationship.Gets theOsidSessionassociated with the relationship enabler mapping lookup service for the given relationship for looking up rules applied to a relationship.Gets theOsidSessionassociated with the relationship enabler search service.Gets theOsidSessionassociated with the relationship enablers earch service for the given family.getRelationshipEnablerSmartFamilySession(Id familyId) Gets theOsidSessionto manage relationship enabler smart families.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 RelationshipRulesProfile
getRelationshipEnablerRecordTypes, getRelationshipEnablerSearchRecordTypes, supportsRelationshipEnablerAdmin, supportsRelationshipEnablerFamily, supportsRelationshipEnablerFamilyAssignment, supportsRelationshipEnablerLookup, supportsRelationshipEnablerNotification, supportsRelationshipEnablerQuery, supportsRelationshipEnablerRecordType, supportsRelationshipEnablerRuleApplication, supportsRelationshipEnablerRuleLookup, supportsRelationshipEnablerSearch, supportsRelationshipEnablerSearchRecordType, supportsRelationshipEnablerSmartFamily, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedRelationshipEnablerrecord types.Gets the supportedRelationshipEnablersearch record types.booleanTests if a relationship enabler administrative service is supported.booleanTests if a relationship enabler family lookup service is supported.booleanTests if a relationship enabler family service is supported.booleanTests if looking up relationship enablers is supported.booleanTests if a relationship enabler notification service is supported.booleanTests if querying relationship enablers is supported.booleansupportsRelationshipEnablerRecordType(Type relationshipEnablerRecordType) Tests if the givenRelationshipEnablerrecord type is supported.booleanTests if a relationship enabler rule application service is supported.booleanTests if a relationship enabler rule lookup service is supported.booleanTests if searching relationship enablers is supported.booleansupportsRelationshipEnablerSearchRecordType(Type relationshipEnablerSearchRecordType) Tests if the givenRelationshipEnablersearch record type is supported.booleanTests if a relationship enabler smart family 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
-
getRelationshipEnablerLookupSession
RelationshipEnablerLookupSession getRelationshipEnablerLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the relationship enabler lookup service.- Returns:
- a
RelationshipEnablerLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerLookup()} is {@code true} .
-
getRelationshipEnablerLookupSessionForFamily
RelationshipEnablerLookupSession getRelationshipEnablerLookupSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship enabler lookup service for the given family.- Parameters:
familyId- theIdof theFamily- Returns:
- a
RelationshipEnablerLookupSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyId is nullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelationshipEnablerQuerySession
RelationshipEnablerQuerySession getRelationshipEnablerQuerySession() throws OperationFailedExceptionGets theOsidSessionassociated with the relationship enabler query service.- Returns:
- a
RelationshipEnablerQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerQuery()} is {@code true} .
-
getRelationshipEnablerQuerySessionForFamily
RelationshipEnablerQuerySession getRelationshipEnablerQuerySessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship enabler query service for the given family.- Parameters:
familyId- theIdof theFamily- Returns:
- a
RelationshipEnablerQuerySession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyId is nullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelationshipEnablerSearchSession
RelationshipEnablerSearchSession getRelationshipEnablerSearchSession() throws OperationFailedExceptionGets theOsidSessionassociated with the relationship enabler search service.- Returns:
- a
RelationshipEnablerSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerSearch()} is {@code true} .
-
getRelationshipEnablerSearchSessionForFamily
RelationshipEnablerSearchSession getRelationshipEnablerSearchSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship enablers earch service for the given family.- Parameters:
familyId- theIdof theFamily- Returns:
- a
RelationshipEnablerSearchSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyId is nullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelationshipEnablerAdminSession
RelationshipEnablerAdminSession getRelationshipEnablerAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the relationship enabler administration service.- Returns:
- a
RelationshipEnablerAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerAdmin()} is {@code true} .
-
getRelationshipEnablerAdminSessionForFamily
RelationshipEnablerAdminSession getRelationshipEnablerAdminSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship enabler administration service for the given family.- Parameters:
familyId- theIdof theFamily- Returns:
- a
RelationshipEnablerAdminSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyId is nullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelationshipEnablerNotificationSession
RelationshipEnablerNotificationSession getRelationshipEnablerNotificationSession(RelationshipEnablerReceiver relationshipEnablerReceiver) throws OperationFailedException Gets theOsidSessionassociated with the relationship enabler notification service.- Parameters:
relationshipEnablerReceiver- the notification callback- Returns:
- a
RelationshipEnablerNotificationSession - Throws:
NullArgumentException-relationshipEnablerReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerNotification()} is {@code true} .
-
getRelationshipEnablerNotificationSessionForFamily
RelationshipEnablerNotificationSession getRelationshipEnablerNotificationSessionForFamily(RelationshipEnablerReceiver relationshipEnablerReceiver, Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship enabler notification service for the given family.- Parameters:
relationshipEnablerReceiver- the notification callbackfamilyId- theIdof theFamily- Returns:
- a
RelationshipEnablerNotificationSession - Throws:
NotFoundException- no family found by the givenIdNullArgumentException-relationshipEnablerReceiverorfamilyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelationshipEnablerFamilySession
RelationshipEnablerFamilySession getRelationshipEnablerFamilySession() throws OperationFailedExceptionGets theOsidSessionto lookup relationship enabler family mappings for relationship enablers.- Returns:
- a
RelationshipEnablerRelationshipSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerFamily()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerFamily()} is {@code true} .
-
getRelationshipEnablerFamilyAssignmentSession
RelationshipEnablerFamilyAssignmentSession getRelationshipEnablerFamilyAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning relationship enablers to families.- Returns:
- a
RelationshipEnablerFamilyAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerFamilyAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerFamilyAssignment()} is {@code true} .
-
getRelationshipEnablerSmartFamilySession
RelationshipEnablerSmartFamilySession getRelationshipEnablerSmartFamilySession(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage relationship enabler smart families.- Parameters:
familyId- the Id of theFamily- Returns:
- a
RelationshipEnablerSmartFamilySession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerSmartFamily()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerSmartFamily()} is {@code true} .
-
getRelationshipEnablerRuleLookupSession
RelationshipEnablerRuleLookupSession getRelationshipEnablerRuleLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the relationship enabler mapping lookup service for looking up the rules applied to the relationship.- Returns:
- a
RelationshipEnablerRuleLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerRuleLookup()} is {@code true} .
-
getRelationshipEnablerRuleLookupSessionForFamily
RelationshipEnablerRuleLookupSession getRelationshipEnablerRuleLookupSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship enabler mapping lookup service for the given relationship for looking up rules applied to a relationship.- Parameters:
familyId- theIdof theFamily- Returns:
- a
RelationshipEnablerRuleLookupSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerRuleLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerRuleLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelationshipEnablerRuleApplicationSession
RelationshipEnablerRuleApplicationSession getRelationshipEnablerRuleApplicationSession() throws OperationFailedExceptionGets theOsidSessionassociated with the relationship enabler assignment service to apply enablers to relationships.- Returns:
- a
RelationshipEnablerRuleApplicationSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerRuleApplication()} is {@code true} .
-
getRelationshipEnablerRuleApplicationSessionForFamily
RelationshipEnablerRuleApplicationSession getRelationshipEnablerRuleApplicationSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship enabler assignment service for the given relationship to apply enablers to relationships.- Parameters:
familyId- theIdof theFamily- Returns:
- a
RelationshipEnablerRuleApplicationSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true}
-