OSID Logo
OSID Specifications
relationship package
Version 3.0.0
Release Candidate Preview
Interfaceosid.relationship.RelationshipProxyManager
Implementsosid.OsidProxyManager
osid.relationship.RelationshipProfile
Description

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

Gets the OsidSession associated with the relationship lookup service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipLookupSessiona RelationshipLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipLookupSessiona RelationshipLookupSession
ErrorsNOT_FOUNDno Family found by the given Id
NULL_ARGUMENT familyId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipQuerySessiona RelationshipQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipQuerySessiona RelationshipQuerySession
ErrorsNOT_FOUNDno Family found by the given Id
NULL_ARGUMENT familyId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipSearchSessiona RelationshipSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipSearchSessiona RelationshipSearchSession
ErrorsNOT_FOUNDno Family found by the given Id
NULL_ARGUMENT familyId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipAdminSessiona RelationshipAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipAdminSessiona RelationshipAdminSession
ErrorsNOT_FOUNDno Family found by the given Id
NULL_ARGUMENT familyId or proxy 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
osid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipNotificationSessiona RelationshipNotificationSession
ErrorsNULL_ARGUMENT relationshipReceiver or proxy 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
osid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipNotificationSessiona RelationshipNotificationSession
ErrorsNOT_FOUNDno Family found by the given Id
NULL_ARGUMENT relationshipReceiver, familyId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipFamilySessiona RelationshipFamilySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipFamilyAssignmentSessiona RelationshipFamilyAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.relationship.RelationshipSmartFamilySessiona RelationshipSmartFamilySession
ErrorsNOT_FOUNDno family found by the given Id
NULL_ARGUMENT familyId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.FamilyLookupSessiona FamilyLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.FamilyQuerySessiona FamilyQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFamilyQuery() is false
ComplianceoptionalThis method must be implemented if supportsFamilQuery() is true.
MethodgetFamilySearchSession
Description

Gets the OsidSession associated with the family search service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.FamilySearchSessiona FamilySearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.FamilyAdminSessiona FamilyAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.relationship.FamilyNotificationSessiona FamilyNotificationSession
ErrorsNULL_ARGUMENT familyReceiver or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.FamilyHierarchySessiona FamilyHierarchySession for families
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.relationship.FamilyHierarchyDesignSessiona HierarchyDesignSession for families
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFamilyHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsFamilyHierarchyDesign() is true.
MethodgetRelationshipBatchProxyManager
Description

Gets the relationship batch proxy manager.

Returnosid.relationship.batch.RelationshipBatchProxyManagera RelationshipBatchProxyManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRelationshipRules() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipRules() is true.
MethodgetRelationshipRulesProxyManager
Description

Gets the relationship rules proxy manager.

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