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

The search interface for governing race constrainer searches.

MethodsearchAmongRaceConstrainers
Description

Execute this search among the given list of race constrainers.

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

Specify an ordering to the search results.

Parametersosid.voting.rules.RaceConstrainerSearchOrderraceConstrainerSearchOrderrace constrainer search order
ErrorsNULL_ARGUMENT raceConstrainerSearchOrder is null
UNSUPPORTED raceConstrainerSearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetRaceConstrainerSearchRecord
Description

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

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