| Interface | osid.rules.check.CheckQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching among  This session defines views that offer differing behaviors for searching. 
  Checks may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getEngineId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Engine Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getEngine | ||
| Description | 
                     Gets the   | ||
| Return | osid.rules.Engine | the engine | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canSearchChecks | ||
| 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 | useFederatedEngineView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include checks in engines which are children of this engine in the engine hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedEngineView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts searches to this engine only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getCheckQuery | ||
| Description | 
                     Gets a check query.  | ||
| Return | osid.rules.check.CheckQuery | the check query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getChecksByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.rules.check.CheckQuery | checkQuery | the check query | 
| Return | osid.rules.check.CheckList | the returned  CheckList   | |
| Errors | NULL_ARGUMENT |  checkQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  checkQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |