Interface | osid.rules.check.AgendaLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
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 | getAgenda | ||
Description |
Gets the | ||
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 | ||
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 | ||
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 | ||
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 | ||
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 | ||
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. |