public interface TodoSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
TodoQueryInspector |
getTodoQueryInspector()
Gets the inspector for the query to examine the terns used in the
search.
|
TodoList |
getTodos()
Gets the todo list resulting from a search.
|
TodoSearchResultsRecord |
getTodoSearchResultsRecord(Type todoSearchRecordType)
Gets the todo search results record corresponding to the given todo
search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
TodoList getTodos()
IllegalStateException
- list has already been retrievedmandatory
- This method must be implemented. TodoQueryInspector getTodoQueryInspector()
mandatory
- This method must be implemented. TodoSearchResultsRecord getTodoSearchResultsRecord(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.