public interface VoteSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
VoteQueryInspector |
getVoteQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
VoteList |
getVotes()
Gets the vote list resulting from the search.
|
VoteSearchResultsRecord |
getVoteSearchResultsRecord(Type voteSearchRecordType)
Gets the vote search results record corresponding to the given vote
search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
VoteList getVotes()
IllegalStateException
- list already retrievedmandatory
- This method must be implemented. VoteQueryInspector getVoteQueryInspector()
mandatory
- This method must be implemented. VoteSearchResultsRecord getVoteSearchResultsRecord(Type voteSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an
object implementing the requested record.voteSearchRecordType
- a vote search record typeNullArgumentException
- voteSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(voteSearchRecordType)
is false
mandatory
- This method must be implemented.