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
RelationshipProxyManager may be accessed by multiple processing
threads.-
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, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionMethods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, getProxy, getProxyCondition, initialize, rollbackServiceMethods 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, supportsVisibleFederationMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
-
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}.
-