OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Interfaceosid.voting.rules.RaceProcessorSearchOrder
Implementsosid.OsidProcessorSearchOrder
Used Byosid.voting.rules.RaceProcessorSearchSession
osid.voting.rules.RaceProcessorSmartPollsSession
Description

An interface for specifying the ordering of search results.

MethodorderByMaximumWinners
Description

Specified a preference for ordering the maximum winners value.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByMinimumPercentageToWin
Description

Specified a preference for ordering the minimum percentage to win value.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByMinimumVotesToWin
Description

Specified a preference for ordering the minimum votes to win value.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodgetRaceProcessorSearchOrderRecord
Description

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

Parametersosid.type.TyperaceProcessorRecordTypea race processor record type
Returnosid.voting.rules.records.RaceProcessorSearchOrderRecordthe race processor search order record
ErrorsNULL_ARGUMENTraceProcessorRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(raceProcessorRecordType) is false
CompliancemandatoryThis method must be implemented.