OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.RaceProcessorSearch
Implementsosid.OsidSearch
Description

The search interface for governing race processor searches.

MethodsearchAmongRaceProcessors
Description

Execute this search among the given list of race processors.

Parametersosid.id.IdListpollsIdslist of race processors
ErrorsNULL_ARGUMENT pollsIds is null
CompliancemandatoryThis method must be implemented.
MethodorderRaceProcessorResults
Description

Specify an ordering to the search results.

Parametersosid.voting.rules.RaceProcessorSearchOrderraceProcessorSearchOrderrace processor search order
ErrorsNULL_ARGUMENT raceProcessorSearchOrder is null
UNSUPPORTED raceProcessorSearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetRaceProcessorSearchRecord
Description

Gets the race processor search record corresponding to the given race processor search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TyperaceProcessorSearchRecordTypea race processor search record type
Returnosid.voting.rules.records.RaceProcessorSearchRecordthe race processor search record
ErrorsNULL_ARGUMENT raceProcessorSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(raceProcessorSearchRecordType) is false
CompliancemandatoryThis method must be implemented.