OSID Logo
OSID Specifications
checklist package
Version 3.1.0
Interfaceosid.checklist.TodoChecklistSession
Implementsosid.OsidSession
Used Byosid.checklist.ChecklistManager
osid.checklist.ChecklistProxyManager
Description

This session provides methods to retrieve Todo to Checklist mappings. A Todo may appear in multiple Checklists. Each Checklist may have its own authorizations governing who is allowed to look at it.

This lookup session defines several views:

  • comparative view: elements may be silently omitted or re-ordered
  • plenary view: provides a complete result set or is an error condition
MethodcanLookupTodoChecklistMappings
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 PERMISSION_DENIED. This is intendedas a hint to an application that may opt not to offer lookup operations to unauthorized users.

Returnboolean false if looking up mappings is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoduseComparativeChecklistView
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.

Compliancemandatory This method is must be implemented.
MethodusePlenaryChecklistView
Description

A complete view of the Todo and Checklist returns is desired. Methods will return what is requested or result in an error. This view is used when greater precision is desired at the expense of interoperability.

Compliancemandatory This method is must be implemented.
MethodgetTodoIdsByChecklist
Description

Gets the list of Todo Ids associated with a Checklist.

Parametersosid.id.IdchecklistId Id of a Checklist.
Returnosid.id.IdList list of related todo Ids
ErrorsNOT_FOUND checklistId is not found
NULL_ARGUMENT checklistId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetTodosByChecklist
Description

Gets the list of Todos associated with a Checklist.

Parametersosid.id.IdchecklistId Id of a Checklist
Returnosid.checklist.TodoList list of related todos
ErrorsNOT_FOUND checklistId is not found
NULL_ARGUMENT checklistId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetTodoIdsByChecklists
Description

Gets the list of Todo Ids corresponding to a list of Checklist objects.

Parametersosid.id.IdListchecklistIds list of checklist Ids
Returnosid.id.IdList list of todo Ids
ErrorsNULL_ARGUMENT checklistIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetTodosByChecklists
Description

Gets the list of Todos corresponding to a list of Checklists.

Parametersosid.id.IdListchecklistIds list of checklist Ids
Returnosid.checklist.TodoList list of todos
ErrorsNULL_ARGUMENT checklistIds is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetChecklistIdsByTodo
Description

Gets the list of Checklist Ids mapped to a Todo.

Parametersosid.id.IdtodoId Id of a Todo
Returnosid.id.IdList list of checklist Ids
ErrorsNOT_FOUND todoId is not found
NULL_ARGUMENT todoId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetChecklistsByTodo
Description

Gets the list of Checklist objects mapped to a Todo.

Parametersosid.id.IdtodoId Id of a Todo
Returnosid.checklist.ChecklistList list of checklists
ErrorsNOT_FOUND todoId is not found
NULL_ARGUMENT todoId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.