Interface TodoSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing todo searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetTodoSearchRecord(Type todoSearchRecordType) Gets the todo search record corresponding to the given todo search recordType.voidorderTodoResults(TodoSearchOrder todoSearchOrder) Specify an ordering to the search results.voidsearchAmongTodos(IdList todoIds) Execute this search among the given list of todos.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongTodos
Execute this search among the given list of todos.- Parameters:
todoIds- list of todos- Throws:
NullArgumentException-todoIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderTodoResults
Specify an ordering to the search results.- Parameters:
todoSearchOrder- todo search order- Throws:
NullArgumentException-todoSearchOrderisnullUnsupportedException-todoSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getTodoSearchRecord
Gets the todo search record corresponding to the given todo search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
todoSearchRecordType- a todo search record type- Returns:
- the todo search record
- Throws:
NullArgumentException-todoSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(todoSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-