Interface DepotSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing depot searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetDepotSearchRecord(Type depotSearchRecordType) Gets the depot search record corresponding to the given depot search recordType.voidorderDepotResults(DepotSearchOrder depotSearchOrder) Specify an ordering to the search results.voidsearchAmongDepots(IdList depotIds) Execute this search among the given list of depots.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
-
searchAmongDepots
Execute this search among the given list of depots.- Parameters:
depotIds- list of depots- Throws:
NullArgumentException-depotIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderDepotResults
Specify an ordering to the search results.- Parameters:
depotSearchOrder- depot search order- Throws:
NullArgumentException-depotSearchOrderisnullUnsupportedException-depotSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getDepotSearchRecord
Gets the depot search record corresponding to the given depot search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
depotSearchRecordType- a depot search record type- Returns:
- the depot search record
- Throws:
NullArgumentException-depotSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(depotSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-