| Interface | osid.rules.check.AgendaEngineSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines several views: 
  | ||
| Method | canLookupAgendaEngineMappings | ||
| Description | 
                     Tests if this user can perform lookups of agenda/engine 
                    checks. 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 | useComparativeAgendaEngineView | ||
| 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 | usePlenaryAgendaEngineView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAgendaIdsByEngine | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | engineId |  Id  of the  Engine   | 
| Return | osid.id.IdList | list of related agenda  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 | getAgendasByEngine | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | engineId |  Id  of the  Engine   | 
| Return | osid.rules.check.AgendaList | list of related agendas | |
| 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 | getAgendaIdsByEngines | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | engineIds | list of engine  Ids   | 
| Return | osid.id.IdList | list of agenda  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 | getAgendasByEngines | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | engineIds | list of engine  Ids   | 
| Return | osid.rules.check.AgendaList | list of agendas | |
| Errors | NULL_ARGUMENT |  engineIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEngineIdsByAgenda | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | agendaId |  Id  of an  Agenda   | 
| Return | osid.id.IdList | list of engines | |
| Errors | NOT_FOUND |  agendaId  is not found  |                 |
| NULL_ARGUMENT |  agendaId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEnginesByAgenda | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | agendaId |  Id  of an  Agenda   | 
| Return | osid.rules.EngineList | list of engines | |
| Errors | NOT_FOUND |  agendaId  is not found  |                 |
| NULL_ARGUMENT |  agendaId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |