Interface RelationshipProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, RelationshipProfile, Sourceable
The relationship manager provides access to relationship sessions and provides interoperability tests for various aspects of this service. Methods in this manager support the passing of a Proxy. 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 TypeMethodDescriptiongetFamilyAdminSession(Proxy proxy) Gets theOsidSessionassociated with the family administrative service.Gets theOsidSessionassociated with the family hierarchy design service.getFamilyHierarchySession(Proxy proxy) Gets theOsidSessionassociated with the family hierarchy service.getFamilyLookupSession(Proxy proxy) Gets theOsidSessionassociated with the family lookup service.getFamilyNotificationSession(FamilyReceiver familyReceiver, Proxy proxy) Gets theOsidSessionassociated with the family notification service.getFamilyQuerySession(Proxy proxy) Gets theOsidSessionassociated with the family query service.getFamilySearchSession(Proxy proxy) Gets theOsidSessionassociated with the family search service.getRelationshipAdminSession(Proxy proxy) Gets theOsidSessionassociated with the relationship administration service.getRelationshipAdminSessionForFamily(Id familyId, Proxy proxy) Gets theOsidSessionassociated with the relationship administration service for the given family.Gets the relationship batch proxy manager.Gets theOsidSessionassociated with assigning relationships to families.Gets theOsidSessionto lookup relationship/family mappings.Gets theOsidSessionassociated with the relationship lookup service.getRelationshipLookupSessionForFamily(Id familyId, Proxy proxy) Gets theOsidSessionassociated with the relationship lookup service for the given family.getRelationshipNotificationSession(RelationshipReceiver relationshipReceiver, Proxy proxy) Gets theOsidSessionassociated with the relationship notification service.getRelationshipNotificationSessionForFamily(RelationshipReceiver relationshipReceiver, Id familyId, Proxy proxy) Gets theOsidSessionassociated with the relationship notification service for the given family.getRelationshipQuerySession(Proxy proxy) Gets theOsidSessionassociated with the relationship query service.getRelationshipQuerySessionForFamily(Id familyId, Proxy proxy) Gets theOsidSessionassociated with the relationship query service for the given family.Gets the relationship rules proxy manager.Gets theOsidSessionassociated with the relationship search service.getRelationshipSearchSessionForFamily(Id familyId, Proxy proxy) Gets theOsidSessionassociated with the relationship search service for the given family.getRelationshipSmartFamilySession(Id familyId, Proxy proxy) Gets theOsidSessionto manage dynamic families of retlationships.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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.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.- Parameters:
proxy- a proxy- Returns:
- a
RelationshipLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipLookup()} is {@code true} .
-
getRelationshipLookupSessionForFamily
RelationshipLookupSession getRelationshipLookupSessionForFamily(Id familyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship lookup service for the given family.- Parameters:
familyId- theIdof the familyproxy- a proxy- Returns:
- a
RelationshipLookupSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
RelationshipQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipQuery()} is {@code true} .
-
getRelationshipQuerySessionForFamily
RelationshipQuerySession getRelationshipQuerySessionForFamily(Id familyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship query service for the given family.- Parameters:
familyId- theIdof the familyproxy- a proxy- Returns:
- a
RelationshipQuerySession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
RelationshipSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipSearch()} is {@code true} .
-
getRelationshipSearchSessionForFamily
RelationshipSearchSession getRelationshipSearchSessionForFamily(Id familyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship search service for the given family.- Parameters:
familyId- theIdof the familyproxy- a proxy- Returns:
- a
RelationshipSearchSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
RelationshipAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipAdmin()} is {@code true} .
-
getRelationshipAdminSessionForFamily
RelationshipAdminSession getRelationshipAdminSessionForFamily(Id familyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship administration service for the given family.- Parameters:
familyId- theIdof the familyproxy- a proxy- Returns:
- a
RelationshipAdminSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-familyIdorproxyisnullOperationFailedException- 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, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the relationship notification service.- Parameters:
relationshipReceiver- the receiverproxy- a proxy- Returns:
- a
RelationshipNotificationSession - Throws:
NullArgumentException-relationshipReceiverorproxyisnullOperationFailedException- 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, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relationship notification service for the given family.- Parameters:
relationshipReceiver- the receiverfamilyId- theIdof the familyproxy- a proxy- Returns:
- a
RelationshipNotificationSession - Throws:
NotFoundException- noFamilyfound by the givenIdNullArgumentException-relationshipReceiver, familyIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
RelationshipFamilySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipFamily()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipFamily()} is {@code true} .
-
getRelationshipFamilyAssignmentSession
RelationshipFamilyAssignmentSession getRelationshipFamilyAssignmentSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with assigning relationships to families.- Parameters:
proxy- a proxy- Returns:
- a
RelationshipFamilyAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipFamilyAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipFamilyAssignment()} is {@code true} .
-
getRelationshipSmartFamilySession
RelationshipSmartFamilySession getRelationshipSmartFamilySession(Id familyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage dynamic families of retlationships.- Parameters:
familyId- theIdof theFamilyproxy- a proxy- Returns:
- a
RelationshipSmartFamilySession - Throws:
NotFoundException- no family found by the givenIdNullArgumentException-familyIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
FamilyLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
FamilyQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsFamilyQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilQuery()} is {@code true} .
-
getFamilySearchSession
Gets theOsidSessionassociated with the family search service.- Parameters:
proxy- a proxy- Returns:
- a
FamilySearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
FamilyAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsFamilyAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilyAdmin()} is {@code true} .
-
getFamilyNotificationSession
FamilyNotificationSession getFamilyNotificationSession(FamilyReceiver familyReceiver, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the family notification service.- Parameters:
familyReceiver- the receiverproxy- a proxy- Returns:
- a
FamilyNotificationSession - Throws:
NullArgumentException-familyReceiverorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
FamilyHierarchySessionfor families - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsFamilyHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilyHierarchy()} is {@code true} .
-
getFamilyHierarchyDesignSession
FamilyHierarchyDesignSession getFamilyHierarchyDesignSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the family hierarchy design service.- Parameters:
proxy- a proxy- Returns:
- a
HierarchyDesignSessionfor families - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsFamilyHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFamilyHierarchyDesign()} is {@code true} .
-
getRelationshipBatchProxyManager
Gets the relationship batch proxy manager.- Returns:
- a
RelationshipBatchProxyManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipRules()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipRules()} is {@code true} .
-
getRelationshipRulesProxyManager
Gets the relationship rules proxy manager.- Returns:
- a
RelationshipRulesProxyManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelationshipRules()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipRules()} is {@code true} .
-