OSID Logo
OSID Specifications
relationship package
Version 3.0.0
Interfaceosid.relationship.RelationshipProxyManager
Implementsosid.OsidProxyManager
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. 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipLookup() 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_ARGUMENTfamilyId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipLookup() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipQuery() 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_ARGUMENTfamilyId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipQuery() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipSearch() 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_ARGUMENTfamilyId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipSearch() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipAdmin() 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_ARGUMENTfamilyId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipAdmin() 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_ARGUMENTrelationshipReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipNotification() 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_ARGUMENTrelationshipReceiver, familyId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipNotification() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipFamily() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipFamilyAssignment() 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_ARGUMENTfamilyId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsRelationshipSmartFamily() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFamilyLookup() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFamilyQuery() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFamilySearch() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFamilyAdmin() 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_ARGUMENTfamilyReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFamilyNotification() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFamilyHierarchy() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFamilyHierarchyDesign() 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
UNIMPLEMENTEDsupportsRelationshipRules() 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
UNIMPLEMENTEDsupportsRelationshipRules() is false
ComplianceoptionalThis method must be implemented if supportsRelationshipRules() is true .