Interface WarehouseSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing warehouse searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetWarehouseSearchRecord(Type warehouSesearchRecordType) Gets the warehouse search record corresponding to the given warehouse search recordType.voidorderWarehouseResults(WarehouseSearchOrder warehouseSearchOrder) Specify an ordering to the search results.voidsearchAmongWarehouses(IdList warehouseIds) Execute this search among the given list of warehouses.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
-
searchAmongWarehouses
Execute this search among the given list of warehouses.- Parameters:
warehouseIds- list of warehouses- Throws:
NullArgumentException-warehouseIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderWarehouseResults
Specify an ordering to the search results.- Parameters:
warehouseSearchOrder- warehouse search order- Throws:
NullArgumentException-warehousesearchOrderisnullUnsupportedException-warehousesearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getWarehouseSearchRecord
WarehouseSearchRecord getWarehouseSearchRecord(Type warehouSesearchRecordType) throws OperationFailedException Gets the warehouse search record corresponding to the given warehouse search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
warehouSesearchRecordType- a warehouse search record type- Returns:
- the warehouse search record
- Throws:
NullArgumentException-warehouseSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(warehouseSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-