public interface BallotSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
| Modifier and Type | Method and Description |
|---|---|
BallotQueryInspector |
getBallotQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
BallotList |
getBallots()
Gets the ballot list resulting from a search.
|
BallotSearchResultsRecord |
getBallotSearchResultsRecord(Type ballotSearchRecordType)
Gets the ballot search results record corresponding to the given
ballot search record
Type. |
getResultSizegetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeBallotList getBallots()
IllegalStateException - list already retrievedmandatory - This method must be implemented. BallotQueryInspector getBallotQueryInspector()
mandatory - This method must be implemented. BallotSearchResultsRecord getBallotSearchResultsRecord(Type ballotSearchRecordType) throws OperationFailedException
Type. This method is used to
retrieve an object implementing the requested record.ballotSearchRecordType - a ballot search record typeNullArgumentException - ballotSearchRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordTypeType(ballotSearchRecordType) is
false mandatory - This method must be implemented.