public interface RaceSearchOrder extends OsidGovernatorSearchOrder, OsidSubjugateableSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
BallotSearchOrder |
getBallotSearchOrder()
Gets the ballot search order.
|
RaceSearchOrderRecord |
getRaceSearchOrderRecord(Type raceRecordType)
Gets the polls search order record corresponding to the given race
record
Type. |
void |
orderByBallot(SearchOrderStyle style)
Orders the results by the ballot.
|
boolean |
supportsBallotSearchOrder()
Tests if a ballot search order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByActive, orderByDisabled, orderByEnabled, orderByOperational
getProviderSearchOrder, orderByProvider, supportsProviderSearchOrder
void orderByBallot(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsBallotSearchOrder()
true
if a ballot search order is available,
false
otherwisemandatory
- This method must be implemented. BallotSearchOrder getBallotSearchOrder()
IllegalStateException
-
supportsBallotSearchOrder()
is false
mandatory
- This method must be implemented. RaceSearchOrderRecord getRaceSearchOrderRecord(Type raceRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same
underlying object.raceRecordType
- a race record typeNullArgumentException
- raceRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(raceRecordType)
is false
mandatory
- This method must be implemented.