Interface | osid.checklist.TodoQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for searching This session defines views that offer differing behaviors for searching.
Todos may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
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 | canSearchTodos | ||
Description |
Tests if this user can perform todo searches. 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 search methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useFederatedChecklistView | ||
Description |
Federates the view for methods in this session. A federated view will include todos 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 searches to this checklist only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useSequesteredTodoView | ||
Description |
The returns from the search methods omit sequestered todos. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useUnsequesteredTodoView | ||
Description |
All todos are returned including sequestered todos. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getTodoQuery | ||
Description |
Gets a todo query. | ||
Return | osid.checklist.TodoQuery | the todo query | |
Compliance | mandatory | This method must be implemented. | |
Method | getTodosByQuery | ||
Description |
Gets a list of todos matching the given search. | ||
Parameters | osid.checklist.TodoQuery | todoQuery | the search query array |
Return | osid.checklist.TodoList | the returned TodoList | |
Errors | NULL_ARGUMENT | todoQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | todoQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |