OSID Logo
OSID Specifications
checklist mason package
Version 3.1.0
Interfaceosid.checklist.mason.TodoProducerQuerySession
Implementsosid.OsidSession
Implemented Byosid.checklist.mason.TodoProducerSearchSession
Used Byosid.checklist.mason.ChecklistMasonManager
osid.checklist.mason.ChecklistMasonProxyManager
Description

This session provides methods for searching among TodoProducers. The search query is constructed using the TodoProducerQuery.

This session defines views that offer differing behaviors for searching.

  • federated checklist view: searches include todo producers in checklists of which this checklist is an ancestor in the checklist hierarchy
  • isolated checklist view: searches are restricted to todo producers in this checklist

Todo producers may have a query record indicated by their respective record types. The query record is accessed via the TodoProducerQuery.

MethodgetChecklistId
Description

Gets the Checklist Id associated with this session.

Returnosid.id.Id the Checklist Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetChecklist
Description

Gets the Checklist associated with this session.

Returnosid.checklist.Checklist the checklist
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSearchTodoProducers
Description

Tests if this user can perform TodoProducer lookups. 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 PERMISSION_DENIED. This is intended as a hint to an application that may not offer lookup operations to unauthorized users.

Returnboolean false if search methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoduseFederatedChecklistView
Description

Federates the view for methods in this session. A federated view will include todo producers in checklists which are children of this broker in the checklist hierarchy.

Compliancemandatory This method is must be implemented.
MethoduseIsolatedChecklistView
Description

Isolates the view for methods in this session. An isolated view restricts lookups to this checklist only.

Compliancemandatory This method is must be implemented.
MethodgetTodoProducerQuery
Description

Gets a todo producer query.

Returnosid.checklist.mason.TodoProducerQuery the todo producer query
Compliancemandatory This method must be implemented.
MethodgetTodoProducersByQuery
Description

Gets a list of TodoProducers matching the given todo producer query.

Parametersosid.checklist.mason.TodoProducerQuerytodoProducerQuery the todo producer query
Returnosid.checklist.mason.TodoProducerList the returned TodoProducerList
ErrorsNULL_ARGUMENT todoProducerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED todoProducerQuery is not of this service
Compliancemandatory This method must be implemented.