Interface | osid.rules.check.InstructionQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for searching among This session defines views that offer differing behaviors for searching.
Instructions 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 | canSearchInstructions | ||
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 instructions 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 | getInstructionQuery | ||
Description |
Gets an instruction query. | ||
Return | osid.rules.check.InstructionQuery | the instruction query | |
Compliance | mandatory | This method must be implemented. | |
Method | getInstructionsByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.rules.check.InstructionQuery | instructionQuery | the instruction query |
Return | osid.rules.check.InstructionList | the returned InstructionList | |
Errors | NULL_ARGUMENT | instructionQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | instructionQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |