Interface HoldSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing hold searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetHoldSearchRecord(Type holdSearchRecordType) Gets the hold search record corresponding to the given hold search recordType.voidorderHoldResults(HoldSearchOrder holdSearchOrder) Specify an ordering to the search results.voidsearchAmongHolds(IdList holdIds) Execute this search among the given list of holds.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
-
searchAmongHolds
Execute this search among the given list of holds.- Parameters:
holdIds- list of holds- Throws:
NullArgumentException-holdIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderHoldResults
Specify an ordering to the search results.- Parameters:
holdSearchOrder- hold search order- Throws:
NullArgumentException-holdSearchOrderisnullUnsupportedException-holdSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getHoldSearchRecord
HoldSearchRecord getHoldSearchRecord(Type holdSearchRecordType) throws OperationFailedException, PermissionDeniedException Gets the hold search record corresponding to the given hold search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
holdSearchRecordType- a hold search record type- Returns:
- the hold search record
- Throws:
NullArgumentException-holdSearchRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(holdSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-