| Interface | osid.inventory.WarehouseSearchSession | ||
|---|---|---|---|
| Implements | osid.inventory.WarehouseQuerySession | ||
| Used By | osid.inventory.InventoryManager | ||
osid.inventory.InventoryProxyManager | |||
| Description |
This session provides methods for searching among
getWarehousesByQuery() is the basic search method
and returns a list of Warehouses. A more advanced
search may be performed with
getWarehousesBySearch().It accepts a
WarehouseSearch in addition to the query for the
purpose of specifying additional options affecting the entire
search, such as ordering. getWarehousesBySearch()
returns a WarehouseSearchResults that can be used
to access the resulting WarehouseList or be used
to perform a search within the result set through
Warehousesearch.
This session defines views that offer differing behaviors for searching.
warehouses may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getWarehouseSearch | ||
| Description |
Gets a warehouse search. | ||
| Return | osid.inventory.WarehouseSearch | the warehouse search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getWarehouseSearchOrder | ||
| Description |
Gets a warehouse search order. The
| ||
| Return | osid.inventory.WarehouseSearchOrder | the warehouse search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getWarehousesBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.inventory.WarehouseQuery | warehouseQuery | the warehouse query |
osid.inventory.WarehouseSearch | warehouseSearch | the warehouse search | |
| Return | osid.inventory.WarehouseSearchResults | the warehouse search results | |
| Errors | NULL_ARGUMENT | warehouseQuery or warehouseSearch is
null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | warehouseQuery or warehouseSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getWarehouseQueryFromInspector | ||
| Description |
Gets a warehouse query from an inspector. The
inspector is available from a
| ||
| Parameters | osid.inventory.WarehouseQueryInspector | warehouseQueryInspector | a warehouse query inspector |
| Return | osid.inventory.WarehouseQuery | the warehouse query | |
| Errors | NULL_ARGUMENT | warehouseQueryInspector is null | |
| UNSUPPORTED | warehouseQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |