| Interface | osid.rules.check.CheckLookupSession | ||
|---|---|---|---|
| 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 | 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 | canLookupChecks | ||
| 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 | useComparativeCheckView | ||
| 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 | usePlenaryCheckView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is 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 lookups to this engine only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useActiveCheckView | ||
| Description | 
                     Only active checks are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusCheckView | ||
| Description | 
                     All active and inactive checks are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getCheck | ||
| Description | 
                     Gets the    In active mode, checks are returned that are currently active. In any status mode, active and inactive checks are returned.  | ||
| Parameters | osid.id.Id | checkId |  Id  of the  Check   | 
| Return | osid.rules.check.Check | the hold | |
| Errors | NOT_FOUND |  checkId  not found  |                 |
| NULL_ARGUMENT |  checkId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getChecksByIds | ||
| Description | 
                     Gets a    In active mode, checks are returned that are currently active. In any status mode, active and inactive checks are returned.  | ||
| Parameters | osid.id.IdList | checkIds | the list of  Ids  to retrieve  | 
| Return | osid.rules.check.CheckList | the returned  Check  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  checkIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getChecksByGenusType | ||
| Description | 
                     Gets a    In active mode, checks are returned that are currently active. In any status mode, active and inactive checks are returned.  | ||
| Parameters | osid.type.Type | holdGenusType | a check genus type | 
| Return | osid.rules.check.CheckList | the returned  Check  list  | |
| Errors | NULL_ARGUMENT |  holdGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getChecksByParentGenusType | ||
| Description | 
                     Gets a    In active mode, checks are returned that are currently active. In any status mode, active and inactive checks are returned.  | ||
| Parameters | osid.type.Type | holdGenusType | a check genus type | 
| Return | osid.rules.check.CheckList | the returned  Check  list  | |
| Errors | NULL_ARGUMENT |  holdGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getChecksByRecordType | ||
| Description | 
                     Gets a    In active mode, checks are returned that are currently active. In any status mode, active and inactive checks are returned.  | ||
| Parameters | osid.type.Type | checkRecordType | a check record type | 
| Return | osid.rules.check.CheckList | the returned  Check  list  | |
| Errors | NULL_ARGUMENT |  checkRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getChecks | ||
| Description | 
                     Gets all  In plenary mode, the returned list contains all known checks or an error results. Otherwise, the returned list may contain only those checks that are accessible through this session. In active mode, checks are returned that are currently active. In any status mode, active and inactive checks are returned.  | ||
| Return | osid.rules.check.CheckList | a list of  Checks   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |