| Interface | osid.voting.BallotSearchOrder | ||
|---|---|---|---|
| Implements | osid.OsidGovernatorSearchOrder | ||
osid.OsidTemporalSearchOrder | |||
| Description | 
                 An interface for specifying the ordering of search results.  | ||
| Method | orderByRevote | ||
| Description | 
                     Orders by the revote flag.  | ||
| Parameters | osid.SearchOrderStyle | style | search order style | 
| Errors | NULL_ARGUMENT |  style  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBallotSearchOrderRecord | ||
| Description | 
                     Gets the ballot search order record corresponding to 
                    the given ballot record   | ||
| Parameters | osid.type.Type | ballotRecordType | a ballot record type | 
| Return | osid.voting.records.BallotSearchOrderRecord | the ballot search order record | |
| Errors | NULL_ARGUMENT |  ballotRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(ballotRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |