OSID Logo
OSID Specifications
relationship package
Version 3.1.0
Interfaceosid.relationship.RelationshipManager
Implementsosid.OsidManager
osid.relationship.RelationshipProfile
Used Byosid.orchestration.OrchestrationManager
Description

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
MethodgetRelationshipLookupSession
Description

Gets the OsidSession associated with the relationship lookup service.

Returnosid.relationship.RelationshipLookupSession a RelationshipLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipLookup() is false
Complianceoptional This method must be implemented if supportsRelationshipLookup() is true.
MethodgetRelationshipLookupSessionForFamily
Description

Gets the OsidSession associated with the relationship lookup service for the given family.

Parametersosid.id.IdfamilyId the Id of the family
Returnosid.relationship.RelationshipLookupSession a RelationshipLookupSession
ErrorsNOT_FOUND no Family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelationshipLookup() and supportsVisibleFederation() are true
MethodgetRelationshipQuerySession
Description

Gets the OsidSession associated with the relationship query service.

Returnosid.relationship.RelationshipQuerySession a RelationshipQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipQuery() is false
Complianceoptional This method must be implemented if supportsRelationshipQuery() is true.
MethodgetRelationshipQuerySessionForFamily
Description

Gets the OsidSession associated with the relationship query service for the given family.

Parametersosid.id.IdfamilyId the Id of the family
Returnosid.relationship.RelationshipQuerySession a RelationshipQuerySession
ErrorsNOT_FOUND no Family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelationshipQuery() and supportsVisibleFederation() are true
MethodgetRelationshipSearchSession
Description

Gets the OsidSession associated with the relationship search service.

Returnosid.relationship.RelationshipSearchSession a RelationshipSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipSearch() is false
Complianceoptional This method must be implemented if supportsRelationshipSearch() is true.
MethodgetRelationshipSearchSessionForFamily
Description

Gets the OsidSession associated with the relationship search service for the given family.

Parametersosid.id.IdfamilyId the Id of the Family
Returnosid.relationship.RelationshipSearchSession a RelationshipSearchSession
ErrorsNOT_FOUND no family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelationshipSearch() and supportsVisibleFederation() are true
MethodgetRelationshipAdminSession
Description

Gets the OsidSession associated with the relationship administration service.

Returnosid.relationship.RelationshipAdminSession a RelationshipAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipAdmin() is false
Complianceoptional This method must be implemented if supportsRelationshipAdmin() is true.
MethodgetRelationshipAdminSessionForFamily
Description

Gets the OsidSession associated with the relationship administration service for the given family.

Parametersosid.id.IdfamilyId the Id of the Family
Returnosid.relationship.RelationshipAdminSession a RelationshipAdminSession
ErrorsNOT_FOUND no family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelationshipAdmin() and supportsVisibleFederation() are true
MethodgetRelationshipNotificationSession
Description

Gets the OsidSession associated with the relationship notification service.

Parametersosid.relationship.RelationshipReceiverrelationshipReceiver the receiver
Returnosid.relationship.RelationshipNotificationSession a RelationshipNotificationSession
ErrorsNULL_ARGUMENT relationshipReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipNotification() is false
Complianceoptional This method must be implemented if supportsRelationshipNotification() is true.
MethodgetRelationshipNotificationSessionForFamily
Description

Gets the OsidSession associated with the relationship notification service for the given family.

Parametersosid.relationship.RelationshipReceiverrelationshipReceiver the receiver
osid.id.IdfamilyId the Id of the Family
Returnosid.relationship.RelationshipNotificationSession a RelationshipNotificationSession
ErrorsNOT_FOUND no family found by the given Id
NULL_ARGUMENT relationshipReceiver or familyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelationshipNotification() and supportsVisibleFederation() are true
MethodgetRelationshipFamilySession
Description

Gets the OsidSession to lookup relationship/family mappings.

Returnosid.relationship.RelationshipFamilySession a RelationshipFamilySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipFamily() is false
Complianceoptional This method must be implemented if supportsRelationshipFamily() is true.
MethodgetRelationshipFamilyAssignmentSession
Description

Gets the OsidSession associated with assigning relationships to families.

Returnosid.relationship.RelationshipFamilyAssignmentSession a RelationshipFamilyAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipFamilyAssignment() is false
Complianceoptional This method must be implemented if supportsRelationshipFamilyAssignment() is true.
MethodgetRelationshipSmartFamilySession
Description

Gets the OsidSession to manage dynamic families of retlationships.

Parametersosid.id.IdfamilyId the Id of the Family
Returnosid.relationship.RelationshipSmartFamilySession a RelationshipSmartFamilySession
ErrorsNOT_FOUND no family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipSmartFamily() is false
Complianceoptional This method must be implemented if supportsRelationshipSmartFamily() is true.
MethodgetFamilyLookupSession
Description

Gets the OsidSession associated with the family lookup service.

Returnosid.relationship.FamilyLookupSession a FamilyLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFamilyLookup() is false
Complianceoptional This method must be implemented if supportsFamilyLookup() is true.
MethodgetFamilyQuerySession
Description

Gets the OsidSession associated with the family query service.

Returnosid.relationship.FamilyQuerySession a FamilyQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFamilyQuery() is false
Complianceoptional This method must be implemented if supportsFamilyQuery() is true.
MethodgetFamilySearchSession
Description

Gets the OsidSession associated with the family search service.

Returnosid.relationship.FamilySearchSession a FamilySearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFamilySearch() is false
Complianceoptional This method must be implemented if supportsFamilySearch() is true.
MethodgetFamilyAdminSession
Description

Gets the OsidSession associated with the family administrative service.

Returnosid.relationship.FamilyAdminSession a FamilyAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFamilyAdmin() is false
Complianceoptional This method must be implemented if supportsFamilyAdmin() is true.
MethodgetFamilyNotificationSession
Description

Gets the OsidSession associated with the family notification service.

Parametersosid.relationship.FamilyReceiverfamilyReceiver the receiver
Returnosid.relationship.FamilyNotificationSession a FamilyNotificationSession
ErrorsNULL_ARGUMENT familyReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFamilyNotification() is false
Complianceoptional This method must be implemented if supportsFamilyNotification() is true.
MethodgetFamilyHierarchySession
Description

Gets the OsidSession associated with the family hierarchy service.

Returnosid.relationship.FamilyHierarchySession a FamilyHierarchySession for families
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFamilyHierarchy() is false
Complianceoptional This method must be implemented if supportsFamilyHierarchy() is true.
MethodgetFamilyHierarchyDesignSession
Description

Gets the OsidSession associated with the family hierarchy design service.

Returnosid.relationship.FamilyHierarchyDesignSession a HierarchyDesignSession for families
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFamilyHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsFamilyHierarchyDesign() is true.
MethodgetRelationshipBatchManager
Description

Gets the relationship batch manager.

Returnosid.relationship.batch.RelationshipBatchManager a RelationshipBatchManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipBatch() is false
Complianceoptional This method must be implemented if supportsRelationshipBatch() is true.
MethodgetRelationshipRulesManager
Description

Gets the relationship rules manager.

Returnosid.relationship.rules.RelationshipRulesManager a RelationshipRulesManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelationshipRules() is false
Complianceoptional This method must be implemented if supportsRelationshipRules() is true.