OSID Logo
OSID Specifications
voting package
Version 3.0.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.IdListraceIdslist of race Ids
ErrorsNULL_ARGUMENTraceIds is null
CompliancemandatoryThis method must be implemented.
MethodorderRaceResults
Description

Specify an ordering to the search results.

Parametersosid.voting.RaceSearchOrderraceSearchOrderrace search order
ErrorsNULL_ARGUMENTraceSearchOrder is null
UNSUPPORTEDraceSearchOrder is not of this service
CompliancemandatoryThis 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.TyperaceSearchRecordTypea race search record type
Returnosid.voting.records.RaceSearchRecordthe race search record
ErrorsNULL_ARGUMENTraceSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordTypeType(raceSearchRecordType) is false
CompliancemandatoryThis method must be implemented.