Interface | osid.repository.rules.CompositionEnablerLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
| ||
Method | getRepositoryId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Repository Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getRepository | ||
Description |
Gets the | ||
Return | osid.repository.Repository | the repository | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupCompositionEnablers | ||
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 | useComparativeCompositionEnablerView | ||
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 | usePlenaryCompositionEnablerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedRepositoryView | ||
Description |
Federates the view for methods in this session. A federated view will include composition enablers in repositories which are children of this repository in the repository hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedRepositoryView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this repository only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveCompositionEnablerView | ||
Description |
Only active composition enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusCompositionEnablerView | ||
Description |
All active and inactive composition enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCompositionEnabler | ||
Description |
Gets the In active mode, composition enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive composition enablers are returned. | ||
Parameters | osid.id.Id | compositionEnablerId | Id of the CompositionEnabler |
Return | osid.repository.rules.CompositionEnabler | the composition enabler | |
Errors | NOT_FOUND | compositionEnablerId not found | |
NULL_ARGUMENT | compositionEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCompositionEnablersByIds | ||
Description |
Gets a In active mode, composition enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive composition enablers are returned. | ||
Parameters | osid.id.IdList | compositionEnablerIds | the list of Ids to retrieve |
Return | osid.repository.rules.CompositionEnablerList | the returned CompositionEnabler list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | compositionEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCompositionEnablersByGenusType | ||
Description |
Gets a In active mode, composition enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive composition enablers are returned. | ||
Parameters | osid.type.Type | compositionEnablerGenusType | a composition enabler genus type |
Return | osid.repository.rules.CompositionEnablerList | the returned CompositionEnabler list | |
Errors | NULL_ARGUMENT | compositionEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCompositionEnablersByParentGenusType | ||
Description |
Gets a In active mode, composition enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive composition enablers are returned. | ||
Parameters | osid.type.Type | compositionEnablerGenusType | a composition enabler genus type |
Return | osid.repository.rules.CompositionEnablerList | the returned CompositionEnabler list | |
Errors | NULL_ARGUMENT | compositionEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCompositionEnablersByRecordType | ||
Description |
Gets a In active mode, composition enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive composition enablers are returned. | ||
Parameters | osid.type.Type | compositionEnablerRecordType | a composition enabler record type |
Return | osid.repository.rules.CompositionEnablerList | the returned CompositionEnabler list | |
Errors | NULL_ARGUMENT | compositionEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCompositionEnablersOnDate | ||
Description |
Gets a In active mode, composition enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive composition enablers are returned. | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.repository.rules.CompositionEnablerList | the returned CompositionEnabler 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 | getCompositionEnablersOnDateWithAgent | ||
Description |
Gets a In active mode, composition enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive composition 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.repository.rules.CompositionEnablerList | the returned CompositionEnabler 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 | getCompositionEnablers | ||
Description |
Gets all In plenary mode, the returned list contains all known composition enablers or an error results. Otherwise, the returned list may contain only those composition enablers that are accessible through this session. In active mode, composition enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive composition enablers are returned. | ||
Return | osid.repository.rules.CompositionEnablerList | the returned CompositionEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |