public interface PollsSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
PollsList |
getPolls()
Gets the polls list resulting from the search.
|
PollsQueryInspector |
getPollsQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
PollsSearchResultsRecord |
getPollsSearchResultsRecord(Type pollsSearchRecordType)
Gets the polls search results record corresponding to the given polls
search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
PollsList getPolls()
IllegalStateException
- list already retrievedmandatory
- This method must be implemented. PollsQueryInspector getPollsQueryInspector()
mandatory
- This method must be implemented. PollsSearchResultsRecord getPollsSearchResultsRecord(Type pollsSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an
object implementing the requested record.pollsSearchRecordType
- a polls search record typeNullArgumentException
- pollsSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(pollsSearchRecordType)
is false
mandatory
- This method must be implemented.