Interface RelationshipManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, RelationshipProfile, Sourceable
The relationship manager provides access to relationship sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
RelationshipLookupSession: a session to retrieve and examine relationships -
RelationshipQuerySession: a session to query relationships -
RelationshipSearchSession: a session to search for relationships -
RelationshipAdminSession: a session to manage relationships -
RelationshipNotificationSession: a session to receive notifications pertaining to relationship changes -
RelationshipFamilySession: a session to look up relationship to family mappings -
RelationshipFamilyAssignmentSession: a session to manage relationship to family catalog mappings -
RelationshipSmartFamilySession: a session to manage dynamic relationship families
-
FamilyLookupSession: a session to retrieve families -
FamilyQuerySession: a session to query families -
FamilySearchSession: a session to search for families -
FamilyAdminSession: a session to create and delete families -
FamilyNotificationSession: a session to receive notifications pertaining to family changes -
FamilyHierarchySession: a session to traverse a hierarchy of families -
FamilyHierarchyDesignSession: a session to manage a family hierarchy
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the family administrative service.Gets theOsidSessionassociated with the family hierarchy design service.Gets theOsidSessionassociated with the family hierarchy service.Gets theOsidSessionassociated with the family lookup service.getFamilyNotificationSession(FamilyReceiver familyReceiver) Gets theOsidSessionassociated with the family notification service.Gets theOsidSessionassociated with the family query service.Gets theOsidSessionassociated with the family search service.Gets theOsidSessionassociated with the relationship administration service.getRelationshipAdminSessionForFamily(Id familyId) Gets theOsidSessionassociated with the relationship administration service for the given family.Gets the relationship batch manager.Gets theOsidSessionassociated with assigning relationships to families.Gets theOsidSessionto lookup relationship/family mappings.Gets theOsidSessionassociated with the relationship lookup service.getRelationshipLookupSessionForFamily(Id familyId) Gets theOsidSessionassociated with the relationship lookup service for the given family.getRelationshipNotificationSession(RelationshipReceiver relationshipReceiver) Gets theOsidSessionassociated with the relationship notification service.getRelationshipNotificationSessionForFamily(RelationshipReceiver relationshipReceiver, Id familyId) Gets theOsidSessionassociated with the relationship notification service for the given family.Gets theOsidSessionassociated with the relationship query service.getRelationshipQuerySessionForFamily(Id familyId) Gets theOsidSessionassociated with the relationship query service for the given family.Gets the relationship rules manager.Gets theOsidSessionassociated with the relationship search service.getRelationshipSearchSessionForFamily(Id familyId) Gets theOsidSessionassociated with the relationship search service for the given family.getRelationshipSmartFamilySession(Id familyId) Gets theOsidSessionto manage dynamic families of retlationships.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 RelationshipProfile
getFamilyRecordTypes, getFamilySearchRecordTypes, getRelationshipRecordTypes, getRelationshipSearchRecordTypes, supportsFamilyAdmin, supportsFamilyHierarchy, supportsFamilyHierarchyDesign, supportsFamilyLookup, supportsFamilyNotification, supportsFamilyQuery, supportsFamilyRecordType, supportsFamilySearch, supportsFamilySearchRecordType, supportsRelationshipAdmin, supportsRelationshipBatch, supportsRelationshipFamily, supportsRelationshipFamilyAssignment, supportsRelationshipLookup, supportsRelationshipNotification, supportsRelationshipQuery, supportsRelationshipRecordType, supportsRelationshipRules, supportsRelationshipSearch, supportsRelationshipSearchRecordType, supportsRelationshipSmartFamily, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedFamilyrecord types.Gets the supportedFamilysearch record types.Gets the supportedRelationshiprecord types.Gets the supportedRelationshipsearch record types.booleanTests if family administrative service is supported.booleanTests for the availability of a family hierarchy traversal service.booleanTests for the availability of a family hierarchy design service.booleanTests if looking up families is supported.booleanTests if a family notification service is supported.booleanTests if querying families is supported.booleansupportsFamilyRecordType(Type familyRecordType) Tests if the givenFamilyrecord type is supported.booleanTests if searching families is supported.booleansupportsFamilySearchRecordType(Type familySearchRecordType) Tests if the givenFamilysearch record type is supported.booleanTests if relationship administrative service is supported.booleanTests for the availability of a relationship batch service.booleanTests if a relationship family cataloging service is supported.booleanTests if a relationship cataloging service is supported.booleanTests if looking up relationships is supported.booleanTests if a relationship notification service is supported.booleanTests if querying relationships is supported.booleansupportsRelationshipRecordType(Type relationshipRecordType) Tests if the givenRelationshiprecord type is supported.booleanTests if a relationship rules service is supported.booleanTests if searching relationships is supported.booleansupportsRelationshipSearchRecordType(Type relationshipSearchRecordType) Tests if the givenRelationshipsearch record type is supported.booleanTests if a relationship smart family cataloging service is supported.booleanTests if any family 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
-
getRelationshipLookupSession
Gets theOsidSessionassociated with the relationship lookup service.- Returns:
- a
RelationshipLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipLookup()} is {@code true} .
-
getRelationshipLookupSessionForFamily
RelationshipLookupSession getRelationshipLookupSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship lookup service for the given family.- Parameters:
familyId- theIdof the family- Returns:
- a
RelationshipLookupSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelationshipQuerySession
Gets theOsidSessionassociated with the relationship query service.- Returns:
- a
RelationshipQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipQuery()} is {@code true} .
-
getRelationshipQuerySessionForFamily
RelationshipQuerySession getRelationshipQuerySessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship query service for the given family.- Parameters:
familyId- theIdof the family- Returns:
- a
RelationshipQuerySession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelationshipSearchSession
Gets theOsidSessionassociated with the relationship search service.- Returns:
- a
RelationshipSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipSearch()} is {@code true} .
-
getRelationshipSearchSessionForFamily
RelationshipSearchSession getRelationshipSearchSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship search service for the given family.- Parameters:
familyId- theIdof theFamily- Returns:
- a
RelationshipSearchSession - Throws:
NotFoundException- no family found by the givenIdNullArgumentException-familyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelationshipAdminSession
Gets theOsidSessionassociated with the relationship administration service.- Returns:
- a
RelationshipAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipAdmin()} is {@code true} .
-
getRelationshipAdminSessionForFamily
RelationshipAdminSession getRelationshipAdminSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship administration service for the given family.- Parameters:
familyId- theIdof theFamily- Returns:
- a
RelationshipAdminSession - Throws:
NotFoundException- no family found by the givenIdNullArgumentException-familyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelationshipNotificationSession
RelationshipNotificationSession getRelationshipNotificationSession(RelationshipReceiver relationshipReceiver) throws OperationFailedException Gets theOsidSessionassociated with the relationship notification service.- Parameters:
relationshipReceiver- the receiver- Returns:
- a
RelationshipNotificationSession - Throws:
NullArgumentException-relationshipReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipNotification()} is {@code true} .
-
getRelationshipNotificationSessionForFamily
RelationshipNotificationSession getRelationshipNotificationSessionForFamily(RelationshipReceiver relationshipReceiver, Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship notification service for the given family.- Parameters:
relationshipReceiver- the receiverfamilyId- theIdof theFamily- Returns:
- a
RelationshipNotificationSession - Throws:
NotFoundException- no family found by the givenIdNullArgumentException-relationshipReceiverorfamilyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelationshipFamilySession
Gets theOsidSessionto lookup relationship/family mappings.- Returns:
- a
RelationshipFamilySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipFamily()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipFamily()} is {@code true} .
-
getRelationshipFamilyAssignmentSession
RelationshipFamilyAssignmentSession getRelationshipFamilyAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning relationships to families.- Returns:
- a
RelationshipFamilyAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipFamilyAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipFamilyAssignment()} is {@code true} .
-
getRelationshipSmartFamilySession
RelationshipSmartFamilySession getRelationshipSmartFamilySession(Id familyId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage dynamic families of retlationships.- Parameters:
familyId- theIdof theFamily- Returns:
- a
RelationshipSmartFamilySession - Throws:
NotFoundException- no family found by the givenIdNullArgumentException-familyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipSmartFamily()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipSmartFamily()} is {@code true} .
-
getFamilyLookupSession
Gets theOsidSessionassociated with the family lookup service.- Returns:
- a
FamilyLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsFamilyLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilyLookup()} is {@code true} .
-
getFamilyQuerySession
Gets theOsidSessionassociated with the family query service.- Returns:
- a
FamilyQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsFamilyQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilyQuery()} is {@code true} .
-
getFamilySearchSession
Gets theOsidSessionassociated with the family search service.- Returns:
- a
FamilySearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsFamilySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilySearch()} is {@code true} .
-
getFamilyAdminSession
Gets theOsidSessionassociated with the family administrative service.- Returns:
- a
FamilyAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsFamilyAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilyAdmin()} is {@code true} .
-
getFamilyNotificationSession
FamilyNotificationSession getFamilyNotificationSession(FamilyReceiver familyReceiver) throws OperationFailedException Gets theOsidSessionassociated with the family notification service.- Parameters:
familyReceiver- the receiver- Returns:
- a
FamilyNotificationSession - Throws:
NullArgumentException-familyReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsFamilyNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilyNotification()} is {@code true} .
-
getFamilyHierarchySession
Gets theOsidSessionassociated with the family hierarchy service.- Returns:
- a
FamilyHierarchySessionfor families - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsFamilyHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilyHierarchy()} is {@code true} .
-
getFamilyHierarchyDesignSession
Gets theOsidSessionassociated with the family hierarchy design service.- Returns:
- a
HierarchyDesignSessionfor families - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsFamilyHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilyHierarchyDesign()} is {@code true} .
-
getRelationshipBatchManager
Gets the relationship batch manager.- Returns:
- a
RelationshipBatchManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipBatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipBatch()} is {@code true} .
-
getRelationshipRulesManager
Gets the relationship rules manager.- Returns:
- a
RelationshipRulesManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipRules()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipRules()} is {@code true} .
-