public interface ShipmentSmartWarehouseSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A ShipmentQuery can be retrieved from this
session and mapped to this Warehouse to create a virtual
collection of Shipments. The shipments may be sequenced
using the ShipmentSearchOrder from this session.
This Warehouse has a default query that matches any
shipment and a default search order that specifies no sequencing. The
queries may be examined using a ShipmentQueryInspector. The
query may be modified by converting the inspector back to a
ShipmentQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyShipmentQuery(ShipmentQuery shipmentQuery)
Applies a shipment query to this warehouse.
|
void |
applyShipmentSequencing(ShipmentSearchOrder shipmentSearchOrder)
Applies a shipment search order to this warehouse.
|
boolean |
canManageSmartWarehouses()
Tests if this user can manage smart warehouses.
|
ShipmentQuery |
getShipmentQuery()
Gets a shipment query.
|
ShipmentQuery |
getShipmentQueryFromInspector(ShipmentQueryInspector shipmentQueryInspector)
Gets a shipment query from an inspector.
|
ShipmentSearchOrder |
getShipmentSearchOrder()
Gets a shipment search order.
|
Warehouse |
getWarehouse()
Gets the
Warehouse associated with this session. |
Id |
getWarehouseId()
Gets the
Warehouse Id associated with
this session. |
ShipmentQueryInspector |
inspectShipmentQuery()
Gets a shipment query inspector for this warehouse.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getWarehouseId()
Warehouse Id associated with
this session. Warehouse Id associated with this sessionmandatory - This method must be implemented. Warehouse getWarehouse() throws OperationFailedException, PermissionDeniedException
Warehouse associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartWarehouses()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart warehouse management is not
authorized, true otherwisemandatory - This method must be implemented. ShipmentQuery getShipmentQuery()
mandatory - This method must be implemented. ShipmentSearchOrder getShipmentSearchOrder()
mandatory - This method must be implemented. void applyShipmentQuery(ShipmentQuery shipmentQuery) throws OperationFailedException, PermissionDeniedException
shipmentQuery - the shipment queryNullArgumentException - shipmentQuery is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - shipmentQuery not
of this servicemandatory - This method must be implemented. ShipmentQueryInspector inspectShipmentQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyShipmentSequencing(ShipmentSearchOrder shipmentSearchOrder) throws OperationFailedException, PermissionDeniedException
shipmentSearchOrder - the shipment search orderNullArgumentException - shipmentSearchOrder
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - shipmentSearchOrder
not of this servicemandatory - This method must be implemented. ShipmentQuery getShipmentQueryFromInspector(ShipmentQueryInspector shipmentQueryInspector)
shipmentQueryInspector - a query inspectorNullArgumentException - shipmentQueryInspector
is null UnsupportedException - shipmentQueryInspector
is not of this servicemandatory - This method must be implemented.