OSID Logo
OSID Specifications
voting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.BallotSearchOrder
Implementsosid.OsidGovernatorSearchOrder
osid.OsidTemporalSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByRevote
Description

Orders by the revote flag.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style 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_ARGUMENT ballotRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(ballotRecordType) is false
CompliancemandatoryThis method must be implemented.