OSID Logo
OSID Specifications
voting package
Version 3.1.0
Interfaceosid.voting.BallotSearchOrder
Implementsosid.OsidGovernatorSearchOrder
osid.OsidTemporalSearchOrder
Used Byosid.voting.BallotSearchSession
osid.voting.BallotSmartPollsSession
osid.voting.RaceSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByRevote
Description

Orders by the revote flag.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodgetBallotSearchOrderRecord
Description

Gets the ballot search order record corresponding to the given ballot record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypeballotRecordType a ballot record type
Returnosid.voting.records.BallotSearchOrderRecord the ballot search order record
ErrorsNULL_ARGUMENT ballotRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(ballotRecordType) is false
Compliancemandatory This method must be implemented.