OSID Logo
OSID Specifications
voting package
Version 3.1.0
Interfaceosid.voting.RaceSearch
Implementsosid.OsidSearch
Used Byosid.voting.RaceSearchSession
Description

The search interface for governing race searches.

MethodsearchAmongRaces
Description

Execute this search among the given list of races.

Parametersosid.id.IdListraceIds list of race Ids
ErrorsNULL_ARGUMENT raceIds is null
Compliancemandatory This method must be implemented.
MethodorderRaceResults
Description

Specify an ordering to the search results.

Parametersosid.voting.RaceSearchOrderraceSearchOrder race search order
ErrorsNULL_ARGUMENT raceSearchOrder is null
UNSUPPORTED raceSearchOrder is not of this service
Compliancemandatory This method must be implemented.
MethodgetRaceSearchRecord
Description

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

Parametersosid.type.TyperaceSearchRecordType a race search record type
Returnosid.voting.records.RaceSearchRecord the race search record
ErrorsNULL_ARGUMENT raceSearchRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordTypeType(raceSearchRecordType) is false
Compliancemandatory This method must be implemented.