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

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

MethodgetRaceConstrainers
Description

Gets the RaceConstrainerList resulting from a search.

Returnosid.voting.rules.RaceConstrainerListthe race constrainer list
ErrorsILLEGAL_STATElist has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetRaceConstrainerQueryInspector
Description

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

Returnosid.voting.rules.RaceConstrainerQueryInspectorthe race constrainer query inspector
CompliancemandatoryThis method must be implemented.
MethodgetRaceConstrainerSearchResultsRecord
Description

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

Parametersosid.type.TyperaceConstrainerSearchRecordTypea race constrainer search record type
Returnosid.voting.rules.records.RaceConstrainerSearchResultsRecordthe race constrainer search results record
ErrorsNULL_ARGUMENT raceConstrainerSearchRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(raceConstrainerSearchRecordType) is false
CompliancemandatoryThis method must be implemented.