| Interface | osid.rules.RuleQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods for searching Rules may have a rule query record indicated by their
respective record types. The rule 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 | useFederatedEngineView | ||
| Description |
Federates the view for methods in this session. A federated view will include rules 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 retrievals to this engine only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | canSearchRules | ||
| 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 | getRuleQuery | ||
| Description |
Gets a rule query. | ||
| Return | osid.rules.RuleQuery | the rule query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRulesByQuery | ||
| Description |
Gets a list of | ||
| Parameters | osid.rules.RuleQuery | ruleQuery | the rule query |
| Return | osid.rules.RuleList | the returned RuleList | |
| Errors | NULL_ARGUMENT | ruleQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | ruleQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |