Interface | osid.relationship.rules.RelationshipEnablerLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
| ||
Method | getFamilyId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Family Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getFamily | ||
Description |
Gets the | ||
Return | osid.relationship.Family | the family | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupRelationshipEnablers | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeRelationshipEnablerView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryRelationshipEnablerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedFamilyView | ||
Description |
Federates the view for methods in this session. A federated view will include relationship enablers in families which are children of this family in the family hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedFamilyView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this family only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveRelationshipEnablerView | ||
Description |
Only active relationship enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusRelationshipEnablerView | ||
Description |
All active and insactive relationship enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRelationshipEnabler | ||
Description |
Gets the In active mode, relationship enablers are returned that are currently active in addition to being effective ib the given date range for the given agent. In any status mode, active and inactive relationship enablers are returned. | ||
Parameters | osid.id.Id | relationshipEnablerId | Id of the RelationshipEnabler |
Return | osid.relationship.rules.RelationshipEnabler | the relationship enabler | |
Errors | NOT_FOUND | relationshipEnablerId not found | |
NULL_ARGUMENT | relationshipEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRelationshipEnablersByIds | ||
Description |
Gets a In active mode, relationship enablers are returned that are currently active in addition to being effective ib the given date range for the given agent. In any status mode, active and inactive relationship enablers are returned. | ||
Parameters | osid.id.IdList | relationshipEnablerIds | the list of Ids to retrieve |
Return | osid.relationship.rules.RelationshipEnablerList | the returned RelationshipEnabler list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | relationshipEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRelationshipEnablersByGenusType | ||
Description |
Gets a In active mode, relationship enablers are returned that are currently active in addition to being effective ib the given date range for the given agent. In any status mode, active and inactive relationship enablers are returned. | ||
Parameters | osid.type.Type | relationshipEnablerGenusType | a relationship enabler genus type |
Return | osid.relationship.rules.RelationshipEnablerList | the returned RelationshipEnabler list | |
Errors | NULL_ARGUMENT | relationshipEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRelationshipEnablersByParentGenusType | ||
Description |
Gets a In active mode, relationship enablers are returned that are currently active in addition to being effective ib the given date range for the given agent. In any status mode, active and inactive relationship enablers are returned. | ||
Parameters | osid.type.Type | relationshipEnablerGenusType | a relationship enabler genus type |
Return | osid.relationship.rules.RelationshipEnablerList | the returned RelationshipEnabler list | |
Errors | NULL_ARGUMENT | relationshipEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRelationshipEnablersByRecordType | ||
Description |
Gets a In active mode, relationship enablers are returned that are currently active in addition to being effective ib the given date range for the given agent. In any status mode, active and inactive relationship enablers are returned. | ||
Parameters | osid.type.Type | relationshipEnablerRecordType | a relationship enabler record type |
Return | osid.relationship.rules.RelationshipEnablerList | the returned RelationshipEnabler list | |
Errors | NULL_ARGUMENT | relationshipEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRelationshipEnablersOnDate | ||
Description |
Gets a In active mode, relationship enablers are returned that are currently active in addition to being effective ib the given date range for the given agent. In any status mode, active and inactive relationship enablers are returned. | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.relationship.rules.RelationshipEnablerList | the returned RelationshipEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRelationshipEnablersOnDateWithAgent | ||
Description |
Gets a In active mode, relationship enablers are returned that are currently active in addition to being effective ib the given date range for the given agent. In any status mode, active and inactive relationship enablers are returned. | ||
Parameters | osid.id.Id | agentId | an agent Id |
osid.calendaring.DateTime | from | a start date | |
osid.calendaring.DateTime | to | an end date | |
Return | osid.relationship.rules.RelationshipEnablerList | the returned RelationshipEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | agentId, from, or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRelationshipEnablers | ||
Description |
Gets all In active mode, relationship enablers are returned that are currently active in addition to being effective ib the given date range for the given agent. In any status mode, active and inactive relationship enablers are returned. | ||
Return | osid.relationship.rules.RelationshipEnablerList | the returned RelationshipEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |