OSID Logo
OSID Specifications
relationship package
Version 3.0.0
Release Candidate Preview
Interfaceosid.relationship.RelationshipManager
Implementsosid.OsidManager
osid.relationship.RelationshipProfile
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.RelationshipLookupSessiona RelationshipLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipLookup() is false
ComplianceoptionalThis 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.IdfamilyIdthe Id of the family
Returnosid.relationship.RelationshipLookupSessiona RelationshipLookupSession
ErrorsNOT_FOUNDno Family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipLookup() and supportsVisibleFederation() are true
MethodgetRelationshipQuerySession
Description

Gets the OsidSession associated with the relationship query service.

Returnosid.relationship.RelationshipQuerySessiona RelationshipQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipQuery() is false
ComplianceoptionalThis 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.IdfamilyIdthe Id of the family
Returnosid.relationship.RelationshipQuerySessiona RelationshipQuerySession
ErrorsNOT_FOUNDno Family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipQuery() and supportsVisibleFederation() are true
MethodgetRelationshipSearchSession
Description

Gets the OsidSession associated with the relationship search service.

Returnosid.relationship.RelationshipSearchSessiona RelationshipSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipSearch() is false
ComplianceoptionalThis 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.IdfamilyIdthe Id of the Family
Returnosid.relationship.RelationshipSearchSessiona RelationshipSearchSession
ErrorsNOT_FOUNDno family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipSearch() and supportsVisibleFederation() are true
MethodgetRelationshipAdminSession
Description

Gets the OsidSession associated with the relationship administration service.

Returnosid.relationship.RelationshipAdminSessiona RelationshipAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipAdmin() is false
ComplianceoptionalThis 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.IdfamilyIdthe Id of the Family
Returnosid.relationship.RelationshipAdminSessiona RelationshipAdminSession
ErrorsNOT_FOUNDno family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipAdmin() and supportsVisibleFederation() are true
MethodgetRelationshipNotificationSession
Description

Gets the OsidSession associated with the relationship notification service.

Parametersosid.relationship.RelationshipReceiverrelationshipReceiverthe receiver
Returnosid.relationship.RelationshipNotificationSessiona RelationshipNotificationSession
ErrorsNULL_ARGUMENT relationshipReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipNotification() is false
ComplianceoptionalThis 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.RelationshipReceiverrelationshipReceiverthe receiver
osid.id.IdfamilyIdthe Id of the Family
Returnosid.relationship.RelationshipNotificationSessiona RelationshipNotificationSession
ErrorsNOT_FOUNDno family found by the given Id
NULL_ARGUMENT relationshipReceiver or familyId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipNotification() and supportsVisibleFederation() are true
MethodgetRelationshipFamilySession
Description

Gets the OsidSession to lookup relationship/family mappings.

Returnosid.relationship.RelationshipFamilySessiona RelationshipFamilySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipFamily() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipFamily() is true.
MethodgetRelationshipFamilyAssignmentSession
Description

Gets the OsidSession associated with assigning relationships to families.

Returnosid.relationship.RelationshipFamilyAssignmentSessiona RelationshipFamilyAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipFamilyAssignment() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipFamilyAssignment() is true.
MethodgetRelationshipSmartFamilySession
Description

Gets the OsidSession to manage dynamic families of retlationships.

Parametersosid.id.IdfamilyIdthe Id of the Family
Returnosid.relationship.RelationshipSmartFamilySessiona RelationshipSmartFamilySession
ErrorsNOT_FOUNDno family found by the given Id
NULL_ARGUMENT familyId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipSmartFamily() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipSmartFamily() is true.
MethodgetFamilyLookupSession
Description

Gets the OsidSession associated with the family lookup service.

Returnosid.relationship.FamilyLookupSessiona FamilyLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFamilyLookup() is false
ComplianceoptionalThis method must be implemented if supportsFamilyLookup() is true.
MethodgetFamilyQuerySession
Description

Gets the OsidSession associated with the family query service.

Returnosid.relationship.FamilyQuerySessiona FamilyQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFamilyQuery() is false
ComplianceoptionalThis method must be implemented if supportsFamilyQuery() is true.
MethodgetFamilySearchSession
Description

Gets the OsidSession associated with the family search service.

Returnosid.relationship.FamilySearchSessiona FamilySearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFamilySearch() is false
ComplianceoptionalThis method must be implemented if supportsFamilySearch() is true.
MethodgetFamilyAdminSession
Description

Gets the OsidSession associated with the family administrative service.

Returnosid.relationship.FamilyAdminSessiona FamilyAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFamilyAdmin() is false
ComplianceoptionalThis method must be implemented if supportsFamilyAdmin() is true.
MethodgetFamilyNotificationSession
Description

Gets the OsidSession associated with the family notification service.

Parametersosid.relationship.FamilyReceiverfamilyReceiverthe receiver
Returnosid.relationship.FamilyNotificationSessiona FamilyNotificationSession
ErrorsNULL_ARGUMENT familyReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFamilyNotification() is false
ComplianceoptionalThis method must be implemented if supportsFamilyNotification() is true.
MethodgetFamilyHierarchySession
Description

Gets the OsidSession associated with the family hierarchy service.

Returnosid.relationship.FamilyHierarchySessiona FamilyHierarchySession for families
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFamilyHierarchy() is false
ComplianceoptionalThis method must be implemented if supportsFamilyHierarchy() is true.
MethodgetFamilyHierarchyDesignSession
Description

Gets the OsidSession associated with the family hierarchy design service.

Returnosid.relationship.FamilyHierarchyDesignSessiona HierarchyDesignSession for families
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFamilyHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsFamilyHierarchyDesign() is true.
MethodgetRelationshipBatchManager
Description

Gets the relationship batch manager.

Returnosid.relationship.batch.RelationshipBatchManagera RelationshipBatchManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipBatch() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipBatch() is true.
MethodgetRelationshipRulesManager
Description

Gets the relationship rules manager.

Returnosid.relationship.rules.RelationshipRulesManagera RelationshipRulesManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipRules() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipRules() is true.