Interface | osid.voting.rules.BallotConstrainerSearch | ||
---|---|---|---|
Implements | osid.OsidSearch | ||
Description |
The search interface for governing ballot constrainer searches. | ||
Method | searchAmongBallotConstrainers | ||
Description |
Execute this search among the given list of ballot constrainers. | ||
Parameters | osid.id.IdList | pollsIds | list of ballot constrainers |
Errors | NULL_ARGUMENT | pollsIds is null | |
Compliance | mandatory | This method must be implemented. | |
Method | orderBallotConstrainerResults | ||
Description |
Specify an ordering to the search results. | ||
Parameters | osid.voting.rules.BallotConstrainerSearchOrder | ballotConstrainerSearchOrder | ballot constrainer search order |
Errors | NULL_ARGUMENT | ballotConstrainerSearchOrder is null | |
UNSUPPORTED | ballotConstrainerSearchOrder is not of this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBallotConstrainerSearchRecord | ||
Description |
Gets the ballot constrainer search record corresponding
to the given ballot constrainer search record | ||
Parameters | osid.type.Type | ballotConstrainerSearchRecordType | a ballot constrainer search record type |
Return | osid.voting.rules.records.BallotConstrainerSearchRecord | the ballot constrainer search record | |
Errors | NULL_ARGUMENT | ballotConstrainerSearchRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(ballotConstrainerSearchRecordType) is
false | ||
Compliance | mandatory | This method must be implemented. |