Interface | osid.checklist.TodoChecklistSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupTodoChecklistMappings | ||
Description |
Tests if this user can perform lookups of
todo/checklist mappings. 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 | useComparativeChecklistView | ||
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 | usePlenaryChecklistView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getTodoIdsByChecklist | ||
Description |
Gets the list of Todo Ids associated with a | ||
Parameters | osid.id.Id | checklistId | Id of a Checklist. |
Return | osid.id.IdList | list of related todo Ids | |
Errors | NOT_FOUND | checklistId is not found | |
NULL_ARGUMENT | checklistId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTodosByChecklist | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | checklistId | Id of a Checklist |
Return | osid.checklist.TodoList | list of related todos | |
Errors | NOT_FOUND | checklistId is not found | |
NULL_ARGUMENT | checklistId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTodoIdsByChecklists | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | checklistIds | list of checklist Ids |
Return | osid.id.IdList | list of todo Ids | |
Errors | NULL_ARGUMENT | checklistIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTodosByChecklists | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | checklistIds | list of checklist Ids |
Return | osid.checklist.TodoList | list of todos | |
Errors | NULL_ARGUMENT | checklistIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getChecklistIdsByTodo | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | todoId | Id of a Todo |
Return | osid.id.IdList | list of checklist Ids | |
Errors | NOT_FOUND | todoId is not found | |
NULL_ARGUMENT | todoId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getChecklistsByTodo | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | todoId | Id of a Todo |
Return | osid.checklist.ChecklistList | list of checklists | |
Errors | NOT_FOUND | todoId is not found | |
NULL_ARGUMENT | todoId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |