OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.RaceProcessorSearchResults
Implementsosid.OsidSearchResults
Description

This interface provides a means to capture results of a search.

MethodgetRaceProcessors
Description

Gets the RaceProcessorList resulting from a search.

Returnosid.voting.rules.RaceProcessorListthe race processor list
ErrorsILLEGAL_STATElist has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetRaceProcessorQueryInspector
Description

Gets the inspector for the query to examine the terms used in the search.

Returnosid.voting.rules.RaceProcessorQueryInspectorthe race processor query inspector
CompliancemandatoryThis method must be implemented.
MethodgetRaceProcessorSearchResultsRecord
Description

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

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