| Interface | osid.rules.check.AgendaSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.rules.check.RulesCheckManager | ||
osid.rules.check.RulesCheckProxyManager | |||
| Description |
This session provides methods to process
Agendas are OsidRules that may
require additional input in the form of an
AgendaCondition to be evaluated.
An | ||
| 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 | canEvaluateAgendas | ||
| Description |
Tests if this user can evaluate agendas. A return of
true does not guarantee successful authorization. A return
of false indicates that it is known all methods in this
session will result in a | ||
| Return | boolean | false if agenda evaluation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgendaCondition | ||
| Description |
Gets an | ||
| Parameters | osid.id.Id | agendaId | the Id of an Agenda |
| Return | osid.rules.check.AgendaCondition | an agenda condition | |
| Errors | NOT_FOUND | agendaId is not found | |
| NULL_ARGUMENT | agendaId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure making request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | evaluateAgendaOnCondition | ||
| Description |
Evaluates an agenda based on an input condition. The
status of each | ||
| Parameters | osid.id.Id | agendaId | the Id of an Agenda |
osid.rules.Condition | agendaCondition | an agenda condition | |
| Return | boolean | true if the evaluation is successful, false if
not successful | |
| Errors | NOT_FOUND | agendaId is not found | |
| NULL_ARGUMENT | agendaId or agendaCondition is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | agendaCondition did not otiginate from
getAgendaCondition() or is missing information required to
evaluate agendaId | ||
| Compliance | mandatory | This method must be implemented. | |