Interface | osid.control.DeviceQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for searching among This session defines views that offer differing behaviors for searching.
Devices may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
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 | canSearchDevices | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if search methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useFederatedSystemView | ||
Description |
Federates the view for methods in this session. A federated view will include devices in systems which are children of this system 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 searches to this system only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getDeviceQuery | ||
Description |
Gets a device query. | ||
Return | osid.control.DeviceQuery | the device query | |
Compliance | mandatory | This method must be implemented. | |
Method | getDevicesByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.control.DeviceQuery | deviceQuery | the device query |
Return | osid.control.DeviceList | the returned DeviceList | |
Errors | NULL_ARGUMENT | deviceQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | deviceQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |