Interface | osid.rules.check.InstructionEngineSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupInstructionEngineInstructions | ||
Description |
Tests if this user can perform lookups of
instruction/engine mappings. A return of true does not
guarantee successful authorization. A return of false
indicates that it is known lookup methods in this session
will result in a | ||
Return | boolean | false if looking up instructions is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeInstructionEngineView | ||
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 | usePlenaryInstructionEngineView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getInstructionIdsByEngine | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | engineId | Id of the Engine |
Return | osid.id.IdList | list of related instruction Ids | |
Errors | NOT_FOUND | engineId is not found | |
NULL_ARGUMENT | engineId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInstructionsByEngine | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | engineId | Id of the Engine |
Return | osid.rules.check.InstructionList | list of related instructions | |
Errors | NOT_FOUND | engineId is not found | |
NULL_ARGUMENT | engineId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInstructionIdsByEngines | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | engineIds | list of engine Ids |
Return | osid.id.IdList | list of instruction Ids | |
Errors | NULL_ARGUMENT | engineIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getInstructionsByEngines | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | engineIds | list of engine Ids |
Return | osid.rules.check.InstructionList | list of instructions | |
Errors | NULL_ARGUMENT | engineIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEngineIdsByInstruction | ||
Description |
Gets the | ||
Parameters | osid.id.Id | instructionId | Id of an Instruction |
Return | osid.id.IdList | list of engine Ids | |
Errors | NOT_FOUND | instructionId is not found | |
NULL_ARGUMENT | instructionId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnginesByInstruction | ||
Description |
Gets the | ||
Parameters | osid.id.Id | instructionId | Id of an Instruction |
Return | osid.rules.EngineList | list of engines | |
Errors | NOT_FOUND | instructionId is not found | |
NULL_ARGUMENT | instructionId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |