Interface | osid.rules.RuleEngineSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupRuleEngineMappings | ||
Description |
Tests if this user can perform lookups of rule/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 mappings is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeRuleView | ||
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 | usePlenaryRuleView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRuleIdsByEngine | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | engineId | Id of the Engine |
Return | osid.id.IdList | list of related rule 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 | getRulesByEngine | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | engineId | Id of the Engine |
Return | osid.rules.RuleList | list of related rules | |
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 | getRuleIdsByEngines | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | engineIds | list of engine Ids |
Return | osid.id.IdList | list of rule 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 | getRulesByEngines | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | engineIds | list of engine Ids |
Return | osid.rules.RuleList | list of rules | |
Errors | NULL_ARGUMENT | engineIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEngineIdsByRule | ||
Description |
Gets the | ||
Parameters | osid.id.Id | ruleId | Id of a Rule |
Return | osid.id.IdList | list of engines | |
Errors | NOT_FOUND | ruleId is not found | |
NULL_ARGUMENT | ruleId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnginesByRule | ||
Description |
Gets the | ||
Parameters | osid.id.Id | ruleId | Id of a Rule |
Return | osid.rules.EngineList | list of engines | |
Errors | NOT_FOUND | ruleId is not found | |
NULL_ARGUMENT | ruleId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |