Interface | osid.provisioning.rules.QueueConstrainerEnablerLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods | ||
Method | getDistributorId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Distributor Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getDistributor | ||
Description |
Gets the | ||
Return | osid.provisioning.Distributor | the distributor | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupQueueConstrainerEnablers | ||
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 | useComparativeQueueConstrainerEnablerView | ||
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 | usePlenaryQueueConstrainerEnablerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedDistributorView | ||
Description |
Federates the view for methods in this session. A federated view will include queue constrainer enablers in distributors which are children of this distributor in the distributor hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedDistributorView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this distributor only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveQueueConstrainerEnablerView | ||
Description |
Only active queue constrainer enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusQueueConstrainerEnablerView | ||
Description |
All active and inactive queue constrainer enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getQueueConstrainerEnabler | ||
Description |
Gets the In active mode, queue constrainer enablers are returned that are currently active. In any status mode, active and inactive queue constrainer enablers are returned. | ||
Parameters | osid.id.Id | queueConstrainerEnablerId | Id of the QueueConstrainerEnabler |
Return | osid.provisioning.rules.QueueConstrainerEnabler | the queue constrainer enabler | |
Errors | NOT_FOUND | queueConstrainerEnablerId not found | |
NULL_ARGUMENT | queueConstrainerEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getQueueConstrainerEnablersByIds | ||
Description |
Gets a In active mode, queue constrainer enablers are returned that are currently active. In any status mode, active and inactive queue constrainer enablers are returned. | ||
Parameters | osid.id.IdList | queueConstrainerEnablerIds | the list of Ids to retrieve |
Return | osid.provisioning.rules.QueueConstrainerEnablerList | the returned QueueConstrainerEnabler list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | queueConstrainerEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getQueueConstrainerEnablersByGenusType | ||
Description |
Gets a In active mode, queue constrainer enablers are returned that are currently active. In any status mode, active and inactive queue constrainer enablers are returned. | ||
Parameters | osid.type.Type | queueConstrainerEnablerGenusType | a queue constrainer enabler genus type |
Return | osid.provisioning.rules.QueueConstrainerEnablerList | the returned QueueConstrainerEnabler list | |
Errors | NULL_ARGUMENT | queueConstrainerEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getQueueConstrainerEnablersByParentGenusType | ||
Description |
Gets a In active mode, queue constrainer enablers are returned that are currently active. In any status mode, active and inactive queue constrainer enablers are returned. | ||
Parameters | osid.type.Type | queueConstrainerEnablerGenusType | a queue constrainer enabler genus type |
Return | osid.provisioning.rules.QueueConstrainerEnablerList | the returned QueueConstrainerEnabler list | |
Errors | NULL_ARGUMENT | queueConstrainerEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getQueueConstrainerEnablersByRecordType | ||
Description |
Gets a In active mode, queue constrainer enablers are returned that are currently active. In any status mode, active and inactive queue constrainer enablers are returned. | ||
Parameters | osid.type.Type | queueConstrainerEnablerRecordType | a queue constrainer enabler record type |
Return | osid.provisioning.rules.QueueConstrainerEnablerList | the returned QueueConstrainerEnabler list | |
Errors | NULL_ARGUMENT | queueConstrainerEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getQueueConstrainerEnablersOnDate | ||
Description |
Gets a In active mode, queue constrainer enablers are returned that are currently active in addition to being active for the given date range. In any status mode, active and inactive queue constrainer enablers are returned. | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.provisioning.rules.QueueConstrainerEnablerList | the returned QueueConstrainerEnabler list | |
Errors | INVALID_ARGUMENT | from is greater tha 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 | getQueueConstrainerEnablersOnDateWithAgent | ||
Description |
Gets a In active mode, queue constrainer enablers are returned that are currently active in addition to being active for the given date range. In any status mode, active and inactive queue constrainer 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.provisioning.rules.QueueConstrainerEnablerList | the returned QueueConstrainerEnabler list | |
Errors | INVALID_ARGUMENT | from is greater tha 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 | getQueueConstrainerEnablers | ||
Description |
Gets all In plenary mode, the returned list contains all known queue constrainer enablers or an error results. Otherwise, the returned list may contain only those queue constrainer enablers that are accessible through this session. In active mode, queue constrainer enablers are returned that are currently active. In any status mode, active and inactive queue constrainer enablers are returned. | ||
Return | osid.provisioning.rules.QueueConstrainerEnablerList | the returned QueueConstrainerEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |