OSID Logo
OSID Specifications
voting package
Version 3.0.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.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis 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.TypeballotRecordTypea ballot record type
Returnosid.voting.records.BallotSearchOrderRecordthe ballot search order record
ErrorsNULL_ARGUMENTballotRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(ballotRecordType) is false
CompliancemandatoryThis method must be implemented.