| Interface | osid.rules.RuleSearchSession | ||
|---|---|---|---|
| Implements | osid.rules.RuleQuerySession | ||
| Description | 
                 This session provides methods for searching     Rules may have a query record indicated by their 
                respective record types. The rule query record is accessed via 
                the   | ||
| Method | getRuleSearch | ||
| Description | 
                     Gets a rule search.  | ||
| Return | osid.rules.RuleSearch | the rule search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRuleSearchOrder | ||
| Description | 
                     Gets a rule search order. The   | ||
| Return | osid.rules.RuleSearchOrder | the rule search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRulesBySearch | ||
| Description | 
                     Gets the search results matching the given search.  | ||
| Parameters | osid.rules.RuleQuery | ruleQuery | the rule query | 
osid.rules.RuleSearch | ruleSearch | the rule search | |
| Return | osid.rules.RuleSearchResults | the search results | |
| Errors | NULL_ARGUMENT |  ruleQuery  or  ruleSearch  is  null 
  |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  ruleQuery  or  ruleSearch  is not of this 
service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRuleQueryFromInspector | ||
| Description | 
                     Gets a rule query from an inspector. The inspector is 
                    available from a   | ||
| Parameters | osid.rules.RuleQueryInspector | ruleQueryInspector | a rule query inspector | 
| Return | osid.rules.RuleQuery | the rule query | |
| Errors | NULL_ARGUMENT |  ruleQueryInspector  is  null   |                 |
| UNSUPPORTED |  ruleQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |