OSID Logo
OSID Specifications
checklist package
Version 3.1.0
Interfaceosid.checklist.ChecklistQuery
Implementsosid.OsidCatalogQuery
Used Byosid.checklist.ChecklistQuery
osid.checklist.ChecklistQuerySession
osid.checklist.ChecklistSearchSession
osid.checklist.TodoQuery
osid.checklist.mason.TodoProducerQuery
Description

This is the query for searching for checklists. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchTodoId
Description

Sets the todo Id for this query to match todos assigned to checklists.

Parametersosid.id.IdtodoId a todo Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT todoId is null
Compliancemandatory This method must be implemented.
MethodclearTodoIdTerms
Description

Clears the todo Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsTodoQuery
Description

Tests if a todo query is available.

Returnboolean true if a todo query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTodoQuery
Description

Gets the query for a todo.

Returnosid.checklist.TodoQuery the todo query
ErrorsUNIMPLEMENTED supportsTodoQuery() is false
Complianceoptional This method must be implemented if supportsTodoQuery() is true.
MethodmatchAnyTodo
Description

Matches checklists with any todo.

Parametersbooleanmatch true to match checklists with any todo, false to match checklists with no todos
Compliancemandatory This method must be implemented.
MethodclearTodoTerms
Description

Clears the todo terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorChecklistId
Description

Sets the checklist Id for this query to match checklists that have the specified checklist as an ancestor.

Parametersosid.id.IdchecklistId a checklist Id
booleanmatch true for a positive match, a false for a negative match
ErrorsNULL_ARGUMENT checklistId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorChecklistIdTerms
Description

Clears the ancestor checklist Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorChecklistQuery
Description

Tests if a ChecklistQuery is available.

Returnboolean true if a checklist query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAncestorChecklistQuery
Description

Gets the query for a checklist. Multiple retrievals produce a nested OR term.

Returnosid.checklist.ChecklistQuery the checklist query
ErrorsUNIMPLEMENTED supportsAncestorChecklistQuery() is false
Complianceoptional This method must be implemented if supportsAncestorChecklistQuery() is true.
MethodmatchAnyAncestorChecklist
Description

Matches checklists with any ancestor.

Parametersbooleanmatch true to match checklists with any ancestor, false to match root checklists
Compliancemandatory This method must be implemented.
MethodclearAncestorChecklistTerms
Description

Clears the ancestor checklist terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantChecklistId
Description

Sets the checklist Id for this query to match checklists that have the specified checklist as a descendant.

Parametersosid.id.IdchecklistId a checklist Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT checklistId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantChecklistIdTerms
Description

Clears the descendant checklist Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantChecklistQuery
Description

Tests if a ChecklistQuery is available.

Returnboolean true if a checklist query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDescendantChecklistQuery
Description

Gets the query for a checklist. Multiple retrievals produce a nested OR term.

Returnosid.checklist.ChecklistQuery the checklist query
ErrorsUNIMPLEMENTED supportsDescendantChecklistQuery() is false
Complianceoptional This method must be implemented if supportsDescendantChecklistQuery() is true.
MethodmatchAnyDescendantChecklist
Description

Matches checklists with any descendant.

Parametersbooleanmatch true to match checklists with any descendant, false to match leaf checklists
Compliancemandatory This method must be implemented.
MethodclearDescendantChecklistTerms
Description

Clears the descendant checklist terms.

Compliancemandatory This method must be implemented.
MethodgetChecklistQueryRecord
Description

Gets the checklist query record corresponding to the given Checklist record Type. Multiple record retrievals produce a nested boolean OR term.

Parametersosid.type.TypechecklistRecordType a checklist record type
Returnosid.checklist.records.ChecklistQueryRecord the checklist query record
ErrorsNULL_ARGUMENT checklistRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(checklistRecordType) is false
Compliancemandatory This method must be implemented.