| Interface | osid.control.rules.DeviceEnablerQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching among  This session defines views that offer differing behaviors for searching. 
  Device constrainer enablers 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 | canSearchDeviceEnablers | ||
| 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 device enablers in systems which are children of this broker 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 | getDeviceEnablerQuery | ||
| Description | 
                     Gets a device enabler query.  | ||
| Return | osid.control.rules.DeviceEnablerQuery | the device enabler query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDeviceEnablersByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.control.rules.DeviceEnablerQuery | deviceEnablerQuery | the device constraienr enabler query | 
| Return | osid.control.rules.DeviceEnablerList | the returned  DeviceEnablerList   | |
| Errors | NULL_ARGUMENT |  deviceEnablerQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  deviceEnablerQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |