Interface | osid.checklist.mason.TodoProducerLookupSession | ||
---|---|---|---|
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 | getChecklistId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Checklist Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getChecklist | ||
Description |
Gets the | ||
Return | osid.checklist.Checklist | the checklist | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupTodoProducers | ||
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 | useComparativeTodoProducerView | ||
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 | usePlenaryTodoProducerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedChecklistView | ||
Description |
Federates the view for methods in this session. A federated view will include todo producers in checklists which are children of this checklist in the checklist hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedChecklistView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this checklist only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveTodoProducerView | ||
Description |
Only active todo producers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusTodoProducerView | ||
Description |
All active and inactive todo producers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getTodoProducer | ||
Description |
Gets the | ||
Parameters | osid.id.Id | todoProducerId | Id of the TodoProducer |
Return | osid.checklist.mason.TodoProducer | the todo producer | |
Errors | NOT_FOUND | todoProducerId not found | |
NULL_ARGUMENT | todoProducerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getTodoProducersByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | todoProducerIds | the list of Ids to retrieve |
Return | osid.checklist.mason.TodoProducerList | the returned TodoProducer list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | todoProducerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTodoProducersByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | todoProducerGenusType | a todo producer genus type |
Return | osid.checklist.mason.TodoProducerList | the returned TodoProducer list | |
Errors | NULL_ARGUMENT | todoProducerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTodoProducersByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | todoProducerGenusType | a todo producer genus type |
Return | osid.checklist.mason.TodoProducerList | the returned TodoProducer list | |
Errors | NULL_ARGUMENT | todoProducerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTodoProducersByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | todoProducerRecordType | a todo producer record type |
Return | osid.checklist.mason.TodoProducerList | the returned TodoProducer list | |
Errors | NULL_ARGUMENT | todoProducerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTodoProducerByTodo | ||
Description |
Gets a | ||
Parameters | osid.id.Id | todoId | a todo Id |
Return | osid.checklist.mason.TodoProducer | the returned TodoProducer | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NOT_FOUND | todoId is not found or has no producer | ||
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTodoProducers | ||
Description |
Gets all | ||
Return | osid.checklist.mason.TodoProducerList | the returned TodoProducer list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |