| Interface | osid.rules.check.AgendaLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.rules.check.RulesCheckManager | ||
osid.rules.check.RulesCheckProxyManager | |||
| Description |
This session provides methods for retrieving
This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods
| ||
| 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 | canLookupAgendas | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if lookup methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeAgendaView | ||
| 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 | usePlenaryAgendaView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedEngineView | ||
| Description |
Federates the view for methods in this session. A federated view will include agendas 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 | useActiveAgendaView | ||
| Description |
Only active agendas are returned by methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusAgendaView | ||
| Description |
All active and inactive agendas of are returned by methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAgenda | ||
| Description |
Gets the In plenary mode, the exact In active mode, agendas are returned that are currently active. In any status mode, active and inactive agendas are returned. | ||
| Parameters | osid.id.Id | agendaId | Id of the Agenda |
| Return | osid.rules.check.Agenda | the agenda | |
| Errors | NOT_FOUND | agendaId not found | |
| NULL_ARGUMENT | agendaId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getAgendasByIds | ||
| Description |
Gets an In plenary mode, the returned list contains all of the
agendas specified in the In active mode, agendas are returned that are currently active. In any status mode, active and inactive agendas are returned. | ||
| Parameters | osid.id.IdList | agendaIds | the list of Ids to retrieve |
| Return | osid.rules.check.AgendaList | the returned Agenda list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | agendaIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgendasByGenusType | ||
| Description |
Gets an In plenary mode, the returned list contains all known agendas or an error results. Otherwise, the returned list may contain only those agendas that are accessible through this session. In active mode, agendas are returned that are currently active. In any status mode, active and inactive agendas are returned. | ||
| Parameters | osid.type.Type | agendaGenusType | an agenda genus type |
| Return | osid.rules.check.AgendaList | the returned Agenda list | |
| Errors | NULL_ARGUMENT | agendaGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgendasByParentGenusType | ||
| Description |
Gets an In plenary mode, the returned list contains all known agendas or an error results. Otherwise, the returned list may contain only those agendas that are accessible through this session. In active mode, agendas are returned that are currently active. In any status mode, active and inactive agendas are returned. | ||
| Parameters | osid.type.Type | agendaGenusType | an agenda genus type |
| Return | osid.rules.check.AgendaList | the returned Agenda list | |
| Errors | NULL_ARGUMENT | agendaGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgendasByRecordType | ||
| Description |
Gets an In plenary mode, the returned list contains all known agendas or an error results. Otherwise, the returned list may contain only those agendas that are accessible through this session. In active mode, agendas are returned that are currently active. In any status mode, active and inactive agendas are returned. | ||
| Parameters | osid.type.Type | agendaRecordType | an agenda record type |
| Return | osid.rules.check.AgendaList | the returned Agenda list | |
| Errors | NULL_ARGUMENT | agendaRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgendas | ||
| Description |
Gets all In plenary mode, the returned list contains all known agendas or an error results. Otherwise, the returned list may contain only those agendas that are accessible through this session. In active mode, agendas are returned that are currently active. In any status mode, active and inactive agendas are returned. | ||
| Return | osid.rules.check.AgendaList | a list of Agendas | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |