| Interface | osid.voting.rules.RaceConstrainerSearch | ||
|---|---|---|---|
| Implements | osid.OsidSearch | ||
| Description |
The search interface for governing race constrainer searches. | ||
| Method | searchAmongRaceConstrainers | ||
| Description |
Execute this search among the given list of race constrainers. | ||
| Parameters | osid.id.IdList | pollsIds | list of race constrainers |
| Errors | NULL_ARGUMENT | pollsIds is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | orderRaceConstrainerResults | ||
| Description |
Specify an ordering to the search results. | ||
| Parameters | osid.voting.rules.RaceConstrainerSearchOrder | raceConstrainerSearchOrder | race constrainer search order |
| Errors | NULL_ARGUMENT | raceConstrainerSearchOrder is null | |
| UNSUPPORTED | raceConstrainerSearchOrder is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRaceConstrainerSearchRecord | ||
| Description |
Gets the race constrainer search record corresponding
to the given race constrainer search record | ||
| Parameters | osid.type.Type | raceConstrainerSearchRecordType | a race constrainer search record type |
| Return | osid.voting.rules.records.RaceConstrainerSearchRecord | the race constrainer search record | |
| Errors | NULL_ARGUMENT | raceConstrainerSearchRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(raceConstrainerSearchRecordType) is
false | ||
| Compliance | mandatory | This method must be implemented. | |