Interface PoolSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing pool searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPoolSearchRecord(Type poolSearchRecordType) Gets the pool search record corresponding to the given pool search recordType.voidorderPoolResults(PoolSearchOrder poolSearchOrder) Specify an ordering to the search results.voidsearchAmongPools(IdList poolIds) Execute this search among the given list of pools.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
-
searchAmongPools
Execute this search among the given list of pools.- Parameters:
poolIds- list of pools- Throws:
NullArgumentException-poolIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPoolResults
Specify an ordering to the search results.- Parameters:
poolSearchOrder- pool search order- Throws:
NullArgumentException-poolSearchOrderisnullUnsupportedException-poolSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPoolSearchRecord
Gets the pool search record corresponding to the given pool search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
poolSearchRecordType- a pool search record type- Returns:
- the pool search record
- Throws:
NullArgumentException-poolSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(poolSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-