public interface PostSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
PostQueryInspector |
getPostQueryInspector()
Gets the inspector for the query to examine the periods used in the
search.
|
PostList |
getPosts()
Gets the post list resulting from a search.
|
PostSearchResultsRecord |
getPostSearchResultsRecord(Type postSearchRecordType)
Gets the post search results record corresponding to the given post
search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
PostList getPosts()
IllegalStateException
- the post list has already been
retrievedmandatory
- This method must be implemented. PostQueryInspector getPostQueryInspector()
mandatory
- This method must be implemented. PostSearchResultsRecord getPostSearchResultsRecord(Type postSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an
object implementing the requested record.postSearchRecordType
- a post search record typeNullArgumentException
- postSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(postSearchRecordType)
is false
mandatory
- This method must be implemented.