OSID Logo
OSID Specifications
voting rules package
Version 3.1.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.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByMinimumPercentageToWin
Description

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

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

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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.TyperaceProcessorRecordType a race processor record type
Returnosid.voting.rules.records.RaceProcessorSearchOrderRecord the race processor search order record
ErrorsNULL_ARGUMENT raceProcessorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(raceProcessorRecordType) is false
Compliancemandatory This method must be implemented.