OSID Logo
OSID Specifications
checklist package
Version 3.0.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.

Returnbooleanfalse if looking up mappings is not authorized, true otherwise
CompliancemandatoryThis 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.

CompliancemandatoryThis 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.

CompliancemandatoryThis method is must be implemented.
MethodgetTodoIdsByChecklist
Description

Gets the list of Todo Ids associated with a Checklist .

Parametersosid.id.IdchecklistIdId of a Checklist .
Returnosid.id.IdListlist of related todo Ids
ErrorsNOT_FOUNDchecklistId is not found
NULL_ARGUMENTchecklistId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetTodosByChecklist
Description

Gets the list of Todos associated with a Checklist .

Parametersosid.id.IdchecklistIdId of a Checklist
Returnosid.checklist.TodoListlist of related todos
ErrorsNOT_FOUNDchecklistId is not found
NULL_ARGUMENTchecklistId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetTodoIdsByChecklists
Description

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

Parametersosid.id.IdListchecklistIdslist of checklist Ids
Returnosid.id.IdListlist of todo Ids
ErrorsNULL_ARGUMENTchecklistIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetTodosByChecklists
Description

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

Parametersosid.id.IdListchecklistIdslist of checklist Ids
Returnosid.checklist.TodoListlist of todos
ErrorsNULL_ARGUMENTchecklistIds is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetChecklistIdsByTodo
Description

Gets the list of Checklist Ids mapped to a Todo .

Parametersosid.id.IdtodoIdId of a Todo
Returnosid.id.IdListlist of checklist Ids
ErrorsNOT_FOUNDtodoId is not found
NULL_ARGUMENTtodoId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetChecklistsByTodo
Description

Gets the list of Checklist objects mapped to a Todo .

Parametersosid.id.IdtodoIdId of a Todo
Returnosid.checklist.ChecklistListlist of checklists
ErrorsNOT_FOUNDtodoId is not found
NULL_ARGUMENTtodoId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.