Interface VoteEnablerSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing vote enabler searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetVoteEnablerSearchRecord(Type voteEnablerSearchRecordType) Gets the vote enabler search record corresponding to the given vote enabler search recordType.This method is used to retrieve an object implementing the requested record.voidorderVoteEnablerResults(VoteEnablerSearchOrder voteEnablerSearchOrder) Specify an ordering to the search results.voidsearchAmongVoteEnablers(IdList voteEnablerIds) Execute this search among the given list of vote enablers.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
-
searchAmongVoteEnablers
Execute this search among the given list of vote enablers.- Parameters:
voteEnablerIds- list of vote enablers- Throws:
NullArgumentException-voteEnablerIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderVoteEnablerResults
Specify an ordering to the search results.- Parameters:
voteEnablerSearchOrder- vote enabler search order- Throws:
NullArgumentException-voteEnablerSearchOrderisnullUnsupportedException-voteEnablerSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getVoteEnablerSearchRecord
VoteEnablerSearchRecord getVoteEnablerSearchRecord(Type voteEnablerSearchRecordType) throws OperationFailedException Gets the vote enabler search record corresponding to the given vote enabler search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
voteEnablerSearchRecordType- a vote enabler search record type- Returns:
- the vote enabler search record
- Throws:
NullArgumentException-voteEnablerSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(voteEnablerSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-