public interface RelationshipManager extends OsidManager, RelationshipProfile
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 Modifier and Type | Method and Description |
---|---|
FamilyAdminSession |
getFamilyAdminSession()
Gets the
OsidSession associated with the family
administrative service. |
FamilyHierarchyDesignSession |
getFamilyHierarchyDesignSession()
Gets the
OsidSession associated with the family
hierarchy design service. |
FamilyHierarchySession |
getFamilyHierarchySession()
Gets the
OsidSession associated with the family
hierarchy service. |
FamilyLookupSession |
getFamilyLookupSession()
Gets the
OsidSession associated with the family lookup
service. |
FamilyNotificationSession |
getFamilyNotificationSession(FamilyReceiver familyReceiver)
Gets the
OsidSession associated with the family
notification service. |
FamilyQuerySession |
getFamilyQuerySession()
Gets the
OsidSession associated with the family query
service. |
FamilySearchSession |
getFamilySearchSession()
Gets the
OsidSession associated with the family search
service. |
RelationshipAdminSession |
getRelationshipAdminSession()
Gets the
OsidSession associated with the relationship
administration service. |
RelationshipAdminSession |
getRelationshipAdminSessionForFamily(Id familyId)
Gets the
OsidSession associated with the relationship
administration service for the given family. |
RelationshipBatchManager |
getRelationshipBatchManager()
Gets the relationship batch manager.
|
RelationshipFamilyAssignmentSession |
getRelationshipFamilyAssignmentSession()
Gets the
OsidSession associated with assigning
relationships to families. |
RelationshipFamilySession |
getRelationshipFamilySession()
Gets the
OsidSession to lookup relationship/family
mappings. |
RelationshipLookupSession |
getRelationshipLookupSession()
Gets the
OsidSession associated with the relationship
lookup service. |
RelationshipLookupSession |
getRelationshipLookupSessionForFamily(Id familyId)
Gets the
OsidSession associated with the relationship
lookup service for the given family. |
RelationshipNotificationSession |
getRelationshipNotificationSession(RelationshipReceiver relationshipReceiver)
Gets the
OsidSession associated with the relationship
notification service. |
RelationshipNotificationSession |
getRelationshipNotificationSessionForFamily(RelationshipReceiver relationshipReceiver,
Id familyId)
Gets the
OsidSession associated with the relationship
notification service for the given family. |
RelationshipQuerySession |
getRelationshipQuerySession()
Gets the
OsidSession associated with the relationship
query service. |
RelationshipQuerySession |
getRelationshipQuerySessionForFamily(Id familyId)
Gets the
OsidSession associated with the relationship
query service for the given family. |
RelationshipRulesManager |
getRelationshipRulesManager()
Gets the relationship rules manager.
|
RelationshipSearchSession |
getRelationshipSearchSession()
Gets the
OsidSession associated with the relationship
search service. |
RelationshipSearchSession |
getRelationshipSearchSessionForFamily(Id familyId)
Gets the
OsidSession associated with the relationship
search service for the given family. |
RelationshipSmartFamilySession |
getRelationshipSmartFamilySession(Id familyId)
Gets the
OsidSession to manage dynamic families of
retlationships. |
changeBranch, initialize, rollbackService
close
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, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
RelationshipLookupSession getRelationshipLookupSession() throws OperationFailedException
OsidSession
associated with the relationship
lookup service. RelationshipLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipLookup()
is false
optional
- This method must be implemented if
supportsRelationshipLookup()
is true.
RelationshipLookupSession getRelationshipLookupSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException
OsidSession
associated with the relationship
lookup service for the given family.familyId
- the Id
of the family RelationshipLookupSession
NotFoundException
- no Family
found by
the given Id
NullArgumentException
- familyId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipLookup()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsRelationshipLookup()
and
supportsVisibleFederation()
are true
RelationshipQuerySession getRelationshipQuerySession() throws OperationFailedException
OsidSession
associated with the relationship
query service. RelationshipQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipQuery()
is false
optional
- This method must be implemented if
supportsRelationshipQuery()
is true.
RelationshipQuerySession getRelationshipQuerySessionForFamily(Id familyId) throws NotFoundException, OperationFailedException
OsidSession
associated with the relationship
query service for the given family.familyId
- the Id
of the family RelationshipQuerySession
NotFoundException
- no Family
found by
the given Id
NullArgumentException
- familyId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipQuery()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsRelationshipQuery()
and
supportsVisibleFederation()
are true
RelationshipSearchSession getRelationshipSearchSession() throws OperationFailedException
OsidSession
associated with the relationship
search service. RelationshipSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipSearch()
is false
optional
- This method must be implemented if
supportsRelationshipSearch()
is true.
RelationshipSearchSession getRelationshipSearchSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException
OsidSession
associated with the relationship
search service for the given family.familyId
- the Id
of the Family
RelationshipSearchSession
NotFoundException
- no family found by the given
Id
NullArgumentException
- familyId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipSearch()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsRelationshipSearch()
and
supportsVisibleFederation()
are true
RelationshipAdminSession getRelationshipAdminSession() throws OperationFailedException
OsidSession
associated with the relationship
administration service. RelationshipAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipAdmin()
is false
optional
- This method must be implemented if
supportsRelationshipAdmin()
is true.
RelationshipAdminSession getRelationshipAdminSessionForFamily(Id familyId) throws NotFoundException, OperationFailedException
OsidSession
associated with the relationship
administration service for the given family.familyId
- the Id
of the Family
RelationshipAdminSession
NotFoundException
- no family found by the given
Id
NullArgumentException
- familyId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipAdmin()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsRelationshipAdmin()
and
supportsVisibleFederation()
are true
RelationshipNotificationSession getRelationshipNotificationSession(RelationshipReceiver relationshipReceiver) throws OperationFailedException
OsidSession
associated with the relationship
notification service.relationshipReceiver
- the receiver RelationshipNotificationSession
NullArgumentException
- relationshipReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipNotification()
is false
optional
- This method must be implemented if
supportsRelationshipNotification()
is true.
RelationshipNotificationSession getRelationshipNotificationSessionForFamily(RelationshipReceiver relationshipReceiver, Id familyId) throws NotFoundException, OperationFailedException
OsidSession
associated with the relationship
notification service for the given family.relationshipReceiver
- the receiverfamilyId
- the Id
of the Family
RelationshipNotificationSession
NotFoundException
- no family found by the given
Id
NullArgumentException
- relationshipReceiver
or familyId
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsRelationshipNotification()
and
supportsVisibleFederation()
are true
RelationshipFamilySession getRelationshipFamilySession() throws OperationFailedException
OsidSession
to lookup relationship/family
mappings. RelationshipFamilySession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipFamily()
is false
optional
- This method must be implemented if
supportsRelationshipFamily()
is true.
RelationshipFamilyAssignmentSession getRelationshipFamilyAssignmentSession() throws OperationFailedException
OsidSession
associated with assigning
relationships to families. RelationshipFamilyAssignmentSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipFamilyAssignment()
is false
optional
- This method must be implemented if
supportsRelationshipFamilyAssignment()
is
true.
RelationshipSmartFamilySession getRelationshipSmartFamilySession(Id familyId) throws NotFoundException, OperationFailedException
OsidSession
to manage dynamic families of
retlationships.familyId
- the Id
of the Family
RelationshipSmartFamilySession
NotFoundException
- no family found by the given
Id
NullArgumentException
- familyId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipSmartFamily()
is false
optional
- This method must be implemented if
supportsRelationshipSmartFamily()
is true.
FamilyLookupSession getFamilyLookupSession() throws OperationFailedException
OsidSession
associated with the family lookup
service. FamilyLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsFamilyLookup()
is false
optional
- This method must be implemented if
supportsFamilyLookup()
is true.
FamilyQuerySession getFamilyQuerySession() throws OperationFailedException
OsidSession
associated with the family query
service. FamilyQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsFamilyQuery()
is false
optional
- This method must be implemented if
supportsFamilyQuery()
is true.
FamilySearchSession getFamilySearchSession() throws OperationFailedException
OsidSession
associated with the family search
service. FamilySearchSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsFamilySearch()
is false
optional
- This method must be implemented if
supportsFamilySearch()
is true.
FamilyAdminSession getFamilyAdminSession() throws OperationFailedException
OsidSession
associated with the family
administrative service. FamilyAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsFamilyAdmin()
is false
optional
- This method must be implemented if
supportsFamilyAdmin()
is true.
FamilyNotificationSession getFamilyNotificationSession(FamilyReceiver familyReceiver) throws OperationFailedException
OsidSession
associated with the family
notification service.familyReceiver
- the receiver FamilyNotificationSession
NullArgumentException
- familyReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsFamilyNotification()
is false
optional
- This method must be implemented if
supportsFamilyNotification()
is true.
FamilyHierarchySession getFamilyHierarchySession() throws OperationFailedException
OsidSession
associated with the family
hierarchy service. FamilyHierarchySession
for familiesOperationFailedException
- unable to complete requestUnimplementedException
-
supportsFamilyHierarchy()
is false
optional
- This method must be implemented if
supportsFamilyHierarchy()
is true.
FamilyHierarchyDesignSession getFamilyHierarchyDesignSession() throws OperationFailedException
OsidSession
associated with the family
hierarchy design service. HierarchyDesignSession
for familiesOperationFailedException
- unable to complete requestUnimplementedException
-
supportsFamilyHierarchyDesign()
is false
optional
- This method must be implemented if
supportsFamilyHierarchyDesign()
is true.
RelationshipBatchManager getRelationshipBatchManager() throws OperationFailedException
RelationshipBatchManager
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipBatch()
is false
optional
- This method must be implemented if
supportsRelationshipBatch()
is true.
RelationshipRulesManager getRelationshipRulesManager() throws OperationFailedException
RelationshipRulesManager
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRelationshipRules()
is false
optional
- This method must be implemented if
supportsRelationshipRules()
is true.