Interface RaceSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing race searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetRaceSearchRecord(Type raceSearchRecordType) Gets the race search record corresponding to the given race search recordType.voidorderRaceResults(RaceSearchOrder raceSearchOrder) Specify an ordering to the search results.voidsearchAmongRaces(IdList raceIds) Execute this search among the given list of races.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongRaces
Execute this search among the given list of races.- Parameters:
raceIds- list of raceIds- Throws:
NullArgumentException-raceIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRaceResults
Specify an ordering to the search results.- Parameters:
raceSearchOrder- race search order- Throws:
NullArgumentException-raceSearchOrderisnullUnsupportedException-raceSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRaceSearchRecord
Gets the race search record corresponding to the given race search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
raceSearchRecordType- a race search record type- Returns:
- the race search record
- Throws:
NullArgumentException-raceSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordTypeType(raceSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-