Interface PollsSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing polls searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPollsSearchRecord(Type pollsSearchRecordType) Gets the polls search record corresponding to the given polls search recordType.voidorderPollsResults(PollsSearchOrder pollsSearchOrder) Specify an ordering to the search results.voidsearchAmongPolls(IdList pollsIds) Execute this search among the given list of polls.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
-
searchAmongPolls
Execute this search among the given list of polls.- Parameters:
pollsIds- list of polls- Throws:
NullArgumentException-pollsIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPollsResults
Specify an ordering to the search results.- Parameters:
pollsSearchOrder- polls search order- Throws:
NullArgumentException-pollsSearchOrderisnullUnsupportedException-pollsSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPollsSearchRecord
Gets the polls search record corresponding to the given polls search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
pollsSearchRecordType- a polls search record type- Returns:
- the polls search record
- Throws:
NullArgumentException-pollsSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(pollsSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-