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

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

MethodgetRaces
Description

Gets the race list resulting from a search.

Returnosid.voting.RaceListthe race list
ErrorsILLEGAL_STATElist already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetRaceQueryInspector
Description

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

Returnosid.voting.RaceQueryInspectorthe race query inspector
CompliancemandatoryThis method must be implemented.
MethodgetRaceSearchResultsRecord
Description

Gets the race search results 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.RaceSearchResultsRecordthe race search results record
ErrorsNULL_ARGUMENT raceSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordTypeType(raceSearchRecordType) is false
CompliancemandatoryThis method must be implemented.