Interface BallotConstrainerSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing ballot constrainer searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBallotConstrainerSearchRecord(Type ballotConstrainerSearchRecordType) Gets the ballot constrainer search record corresponding to the given ballot constrainer search recordType.This method is used to retrieve an object implementing the requested record.voidorderBallotConstrainerResults(BallotConstrainerSearchOrder ballotConstrainerSearchOrder) Specify an ordering to the search results.voidsearchAmongBallotConstrainers(IdList pollsIds) Execute this search among the given list of ballot constrainers.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
-
searchAmongBallotConstrainers
Execute this search among the given list of ballot constrainers.- Parameters:
pollsIds- list of ballot constrainers- Throws:
NullArgumentException-pollsIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBallotConstrainerResults
Specify an ordering to the search results.- Parameters:
ballotConstrainerSearchOrder- ballot constrainer search order- Throws:
NullArgumentException-ballotConstrainerSearchOrderisnullUnsupportedException-ballotConstrainerSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBallotConstrainerSearchRecord
BallotConstrainerSearchRecord getBallotConstrainerSearchRecord(Type ballotConstrainerSearchRecordType) throws OperationFailedException Gets the ballot constrainer search record corresponding to the given ballot constrainer search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
ballotConstrainerSearchRecordType- a ballot constrainer search record type- Returns:
- the ballot constrainer search record
- Throws:
NullArgumentException-ballotConstrainerSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(ballotConstrainerSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-