public interface TodoProducerSmartChecklistSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
checklists. A TodoProducerQuery
can be retrieved from this
session and mapped to this Checklist
to create a virtual
collection of todo producers. The todo producers may be sequenced using
the TodoProducerSearchOrder
from this session.
This Checklist
has a default query that matches any
todo producer and a default search order that specifies no sequencing. The
queries may be examined using a TodoProducerQueryInspector.
The query may be modified by converting the inspector back to a
TodoProducerQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyTodoProducerQuery(TodoProducerQuery todoProducerQuery)
Applies a todo producer query to this checklist.
|
void |
applyTodoProducerSequencing(TodoProducerSearchOrder todoProducerSearchOrder)
Applies a todo producer search order to this checklist.
|
boolean |
canManageSmartChecklists()
Tests if this user can manage smart checklists.
|
Checklist |
getChecklist()
Gets the
Checklist associated with this session. |
Id |
getChecklistId()
Gets the
Checklist Id associated with
this session. |
TodoProducerQuery |
getTodoProducerQuery()
Gets a todo producer query.
|
TodoProducerQuery |
getTodoProducerQueryFromInspector(TodoProducerQueryInspector todoProducerQueryInspector)
Gets a todo producer query from an inspector.
|
TodoProducerSearchOrder |
getTodoProducerSearchOrder()
Gets a todo producer search order.
|
TodoProducerQueryInspector |
inspectTodoProducerQuery()
Gets a todo producer query inspector for this checklist.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getChecklistId()
Checklist
Id
associated with
this session. Checklist Id
associated with this sessionmandatory
- This method must be implemented. Checklist getChecklist() throws OperationFailedException, PermissionDeniedException
Checklist
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartChecklists()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false
if smart checklist management is not
authorized, true
otherwisemandatory
- This method must be implemented. TodoProducerQuery getTodoProducerQuery()
mandatory
- This method must be implemented. TodoProducerSearchOrder getTodoProducerSearchOrder()
mandatory
- This method must be implemented. void applyTodoProducerQuery(TodoProducerQuery todoProducerQuery) throws OperationFailedException, PermissionDeniedException
todoProducerQuery
- the todo producer queryNullArgumentException
- todoProducerQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- todoProducerQuery
not of this servicemandatory
- This method must be implemented. TodoProducerQueryInspector inspectTodoProducerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyTodoProducerSequencing(TodoProducerSearchOrder todoProducerSearchOrder) throws OperationFailedException, PermissionDeniedException
todoProducerSearchOrder
- the todo producer search orderNullArgumentException
- todoProducerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- todoProducerSearchOrder
not of this servicemandatory
- This method must be implemented. TodoProducerQuery getTodoProducerQueryFromInspector(TodoProducerQueryInspector todoProducerQueryInspector)
todoProducerQueryInspector
- a todo producer query inspectorNullArgumentException
-
todoProducerQueryInspector
is null
UnsupportedException
-
todoProducerQueryInspector
is not of this servicemandatory
- This method must be implemented.