Interface | osid.relationship.RelationshipManager | ||
---|---|---|---|
Implements | osid.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:
| ||
Method | getRelationshipLookupSession | ||
Description |
Gets the | ||
Return | osid.relationship.RelationshipLookupSession | a RelationshipLookupSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelationshipLookup() is false | ||
Compliance | optional | This method must be implemented if supportsRelationshipLookup()
is true. | |
Method | getRelationshipLookupSessionForFamily | ||
Description |
Gets the | ||
Parameters | osid.id.Id | familyId | the Id of the family |
Return | osid.relationship.RelationshipLookupSession | a RelationshipLookupSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsRelationshipLookup()
and supportsVisibleFederation() are true | |
Method | getRelationshipQuerySession | ||
Description |
Gets the | ||
Return | osid.relationship.RelationshipQuerySession | a RelationshipQuerySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelationshipQuery() is false | ||
Compliance | optional | This method must be implemented if supportsRelationshipQuery()
is true. | |
Method | getRelationshipQuerySessionForFamily | ||
Description |
Gets the | ||
Parameters | osid.id.Id | familyId | the Id of the family |
Return | osid.relationship.RelationshipQuerySession | a RelationshipQuerySession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsRelationshipQuery()
and supportsVisibleFederation() are true | |
Method | getRelationshipSearchSession | ||
Description |
Gets the | ||
Return | osid.relationship.RelationshipSearchSession | a RelationshipSearchSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelationshipSearch() is false | ||
Compliance | optional | This method must be implemented if supportsRelationshipSearch()
is true. | |
Method | getRelationshipSearchSessionForFamily | ||
Description |
Gets the | ||
Parameters | osid.id.Id | familyId | the Id of the Family |
Return | osid.relationship.RelationshipSearchSession | a RelationshipSearchSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsRelationshipSearch()
and supportsVisibleFederation() are true | |
Method | getRelationshipAdminSession | ||
Description |
Gets the | ||
Return | osid.relationship.RelationshipAdminSession | a RelationshipAdminSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelationshipAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsRelationshipAdmin()
is true. | |
Method | getRelationshipAdminSessionForFamily | ||
Description |
Gets the | ||
Parameters | osid.id.Id | familyId | the Id of the Family |
Return | osid.relationship.RelationshipAdminSession | a RelationshipAdminSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsRelationshipAdmin()
and supportsVisibleFederation() are true | |
Method | getRelationshipNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.relationship.RelationshipReceiver | relationshipReceiver | the receiver |
Return | osid.relationship.RelationshipNotificationSession | a RelationshipNotificationSession | |
Errors | NULL_ARGUMENT | relationshipReceiver is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsRelationshipNotification() is false | ||
Compliance | optional | This method must be implemented if
supportsRelationshipNotification() is true. | |
Method | getRelationshipNotificationSessionForFamily | ||
Description |
Gets the | ||
Parameters | osid.relationship.RelationshipReceiver | relationshipReceiver | the receiver |
osid.id.Id | familyId | the Id of the Family | |
Return | osid.relationship.RelationshipNotificationSession | a RelationshipNotificationSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if
supportsRelationshipNotification() and
supportsVisibleFederation() are true | |
Method | getRelationshipFamilySession | ||
Description |
Gets the | ||
Return | osid.relationship.RelationshipFamilySession | a RelationshipFamilySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelationshipFamily() is false | ||
Compliance | optional | This method must be implemented if supportsRelationshipFamily()
is true. | |
Method | getRelationshipFamilyAssignmentSession | ||
Description |
Gets the | ||
Return | osid.relationship.RelationshipFamilyAssignmentSession | a RelationshipFamilyAssignmentSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelationshipFamilyAssignment() is false
| ||
Compliance | optional | This method must be implemented if
supportsRelationshipFamilyAssignment() is true. | |
Method | getRelationshipSmartFamilySession | ||
Description |
Gets the | ||
Parameters | osid.id.Id | familyId | the Id of the Family |
Return | osid.relationship.RelationshipSmartFamilySession | a RelationshipSmartFamilySession | |
Errors | NOT_FOUND | no family found by the given Id | |
NULL_ARGUMENT | familyId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsRelationshipSmartFamily() is false | ||
Compliance | optional | This method must be implemented if supportsRelationshipSmartFamily()
is true. | |
Method | getFamilyLookupSession | ||
Description |
Gets the | ||
Return | osid.relationship.FamilyLookupSession | a FamilyLookupSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsFamilyLookup() is false | ||
Compliance | optional | This method must be implemented if supportsFamilyLookup() is
true. | |
Method | getFamilyQuerySession | ||
Description |
Gets the | ||
Return | osid.relationship.FamilyQuerySession | a FamilyQuerySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsFamilyQuery() is false | ||
Compliance | optional | This method must be implemented if supportsFamilyQuery() is
true. | |
Method | getFamilySearchSession | ||
Description |
Gets the | ||
Return | osid.relationship.FamilySearchSession | a FamilySearchSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsFamilySearch() is false | ||
Compliance | optional | This method must be implemented if supportsFamilySearch() is
true. | |
Method | getFamilyAdminSession | ||
Description |
Gets the | ||
Return | osid.relationship.FamilyAdminSession | a FamilyAdminSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsFamilyAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsFamilyAdmin() is
true. | |
Method | getFamilyNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.relationship.FamilyReceiver | familyReceiver | the receiver |
Return | osid.relationship.FamilyNotificationSession | a FamilyNotificationSession | |
Errors | NULL_ARGUMENT | familyReceiver is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsFamilyNotification() is false | ||
Compliance | optional | This method must be implemented if supportsFamilyNotification()
is true. | |
Method | getFamilyHierarchySession | ||
Description |
Gets the | ||
Return | osid.relationship.FamilyHierarchySession | a FamilyHierarchySession for families | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsFamilyHierarchy() is false | ||
Compliance | optional | This method must be implemented if supportsFamilyHierarchy()
is true. | |
Method | getFamilyHierarchyDesignSession | ||
Description |
Gets the | ||
Return | osid.relationship.FamilyHierarchyDesignSession | a HierarchyDesignSession for families | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsFamilyHierarchyDesign() is false | ||
Compliance | optional | This method must be implemented if supportsFamilyHierarchyDesign()
is true. | |
Method | getRelationshipBatchManager | ||
Description |
Gets the relationship batch manager. | ||
Return | osid.relationship.batch.RelationshipBatchManager | a RelationshipBatchManager | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelationshipBatch() is false | ||
Compliance | optional | This method must be implemented if supportsRelationshipBatch()
is true. | |
Method | getRelationshipRulesManager | ||
Description |
Gets the relationship rules manager. | ||
Return | osid.relationship.rules.RelationshipRulesManager | a RelationshipRulesManager | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelationshipRules() is false | ||
Compliance | optional | This method must be implemented if supportsRelationshipRules()
is true. |