public interface TodoSearch extends OsidSearch
The search interface for governing todo searches.
Modifier and Type | Method and Description |
---|---|
TodoSearchRecord |
getTodoSearchRecord(Type todoSearchRecordType)
Gets the todo search record corresponding to the given todo search
record
Type. |
void |
orderTodoResults(TodoSearchOrder todoSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongTodos(IdList todoIds)
Execute this search among the given list of todos.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongTodos(IdList todoIds)
todoIds
- list of todosNullArgumentException
- todoIds
is
null
mandatory
- This method must be implemented. void orderTodoResults(TodoSearchOrder todoSearchOrder)
todoSearchOrder
- todo search orderNullArgumentException
- todoSearchOrder
is null
UnsupportedException
- todoSearchOrder
is not of this servicemandatory
- This method must be implemented. TodoSearchRecord getTodoSearchRecord(Type todoSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an object
implementing the requested record.todoSearchRecordType
- a todo search record typeNullArgumentException
- todoSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(todoSearchRecordType)
is false
mandatory
- This method must be implemented.