Interface | osid.control.InputLookupSession | ||
---|---|---|---|
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 | getSystemId | ||
Description |
Gets the | ||
Return | osid.id.Id | the System Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getSystem | ||
Description |
Gets the | ||
Return | osid.control.System | the system | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupInputs | ||
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 | useComparativeInputView | ||
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 | usePlenaryInputView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedSystemView | ||
Description |
Federates the view for methods in this session. A federated view will include inputs in systems which are children of this trigger in the system hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedSystemView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this system only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useEffectiveInputView | ||
Description |
Only inputs whose effective dates are current are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyEffectiveInputView | ||
Description |
All input of any effective dates are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getInput | ||
Description |
Gets the In effective mode, inputs are returned whose effective dates fall within the current date inclusive. In any effective mode, effective and expired inputs are returned. | ||
Parameters | osid.id.Id | inputId | Id of the Input |
Return | osid.control.Input | the input | |
Errors | NOT_FOUND | inputId not found | |
NULL_ARGUMENT | inputId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getInputsByIds | ||
Description |
Gets a In effective mode, inputs are returned whose effective dates fall within the current date inclusive. In any effective mode, effective and expired inputs are returned. | ||
Parameters | osid.id.IdList | inputIds | the list of Ids to retrieve |
Return | osid.control.InputList | the returned Input list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | inputIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputsByGenusType | ||
Description |
Gets a In effective mode, inputs are returned whose effective dates fall within the current date inclusive. In any effective mode, effective and expired inputs are returned. | ||
Parameters | osid.type.Type | inputGenusType | an input genus type |
Return | osid.control.InputList | the returned Input list | |
Errors | NULL_ARGUMENT | inputGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputsByParentGenusType | ||
Description |
Gets a In effective mode, inputs are returned whose effective dates fall within the current date inclusive. In any effective mode, effective and expired inputs are returned. | ||
Parameters | osid.type.Type | inputGenusType | an input genus type |
Return | osid.control.InputList | the returned Input list | |
Errors | NULL_ARGUMENT | inputGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputsByRecordType | ||
Description |
Gets a In effective mode, inputs are returned whose effective dates fall within the current date inclusive. In any effective mode, effective and expired inputs are returned. | ||
Parameters | osid.type.Type | inputRecordType | an input record type |
Return | osid.control.InputList | the returned Input list | |
Errors | NULL_ARGUMENT | inputRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputsOnDate | ||
Description |
Gets a list of inputs effective during the entire given date range inclusive but not confined to the date range. In effective mode, inputs are returned that are currently effective in addition to being effective in the given date range. In any effective mode, effective inputs and those currently expired are returned. | ||
Parameters | osid.calendaring.DateTime | from | start of date range |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.control.InputList | the returned Input 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 | getInputsForDevice | ||
Description |
Gets a list of inputs for a device. In effective mode, inputs are returned that are currently effective. In any effective mode, effective inputs and those currently expired are returned. | ||
Parameters | osid.id.Id | deviceId | a device Id |
Return | osid.control.InputList | the returned Input list | |
Errors | NULL_ARGUMENT | deviceId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputsForDeviceOnDate | ||
Description |
Gets a list of inputs for a device and effective during
the entire given date range inclusive but not confined to
the date range. In effective mode, inputs are returned that are currently effective in addition to being effective in the given date range. In any effective mode, effective inputs and those currently expired are returned. | ||
Parameters | osid.id.Id | deviceId | a device Id |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.control.InputList | the returned Input list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | deviceId, from, or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputsForController | ||
Description |
Gets a list of inputs for a controller. In effective mode, inputs are returned that are currently effective. In any effective mode, effective inputs and those currently expired are returned. | ||
Parameters | osid.id.Id | controllerId | a controller Id |
Return | osid.control.InputList | the returned Input list | |
Errors | NULL_ARGUMENT | controllerId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputsForControllerOnDate | ||
Description |
Gets a list of inputs for a controller and effective during the entire given date range inclusive but not confined to the date range. In effective mode, inputs are returned that are currently effective in addition to being effective in the given date range. In any effective mode, effective inputs and those currently expired are returned. | ||
Parameters | osid.id.Id | controllerId | a controller Id |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.control.InputList | the returned Input list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | controllerId, from or to is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputsForDeviceAndController | ||
Description |
Gets a list of inputs for a device and controller.
In effective mode, inputs are returned that are currently effective. In any effective mode, effective inputs and those currently expired are returned. | ||
Parameters | osid.id.Id | deviceId | a device Id |
osid.id.Id | controllerId | a controller Id | |
Return | osid.control.InputList | the returned Input list | |
Errors | NULL_ARGUMENT | deviceId or controllerId is null
| |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputsForDeviceAndControllerOnDate | ||
Description |
Gets a list of inputs for the device and controller and
effective during the entire given date range inclusive but
not confined to the date range. In effective mode, inputs are returned that are currently effective in addition to being effective in the given date range. In any effective mode, effective inputs and those currently expired are returned. | ||
Parameters | osid.id.Id | deviceId | a device Id |
osid.id.Id | controllerId | a controller Id | |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.control.InputList | the returned Input list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | device, controllerId, from, or to is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInputs | ||
Description |
Gets all In plenary mode, the returned list contains all known inputs or an error results. Otherwise, the returned list may contain only those inputs that are accessible through this session. In effective mode, inputs are returned that are currently effective. In any effective mode, effective inputs and those currently expired are returned. | ||
Return | osid.control.InputList | a list of Inputs | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |