Interface InventoryShipmentManager
- All Superinterfaces:
AutoCloseable, Closeable, InventoryShipmentProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The inventory shipment manager provides access to shipment sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
ShipmentLookupSession: a session to retrieve shipments -
ShipmentQuerySession: a session to query shipments -
ShipmentSearchSession: a session to search for shipments -
ShipmentAdminSession: a session to create and delete shipments -
ShipmentNotificationSession: a session to receive notifications pertaining to shipment changes -
ShipmentWarehouseSession: a session to look up shipment to warehouse mappings -
ShipmentWarehouseAssignmentSession: a session to manage shipment to warehouse mappings -
ShipmentSmartWarehouseSession: a session to manage dynamic warehouses of shipments
InventoryShipmentManager may be accessed by multiple processing
threads.-
Method Summary
Modifier and TypeMethodDescriptionGets theInventoryShipmentBatchManager.Gets theOsidSessionassociated with the shipment administration service.getShipmentAdminSessionForWarehouse(Id warehouseId) Gets theOsidSessionassociated with the shipment administration service for the given warehouse.Gets theOsidSessionassociated with the shipment lookup service.getShipmentLookupSessionForWarehouse(Id warehouseId) Gets theOsidSessionassociated with the shipment lookup service for the given warehouse.getShipmentNotificationSession(ShipmentReceiver shipmentReceiver) Gets theOsidSessionassociated with the shipment notification service.getShipmentNotificationSessionForWarehouse(ShipmentReceiver shipmentReceiver, Id warehouseId) Gets theOsidSessionassociated with the shipment notification service for the given warehouse.Gets theOsidSessionassociated with the shipment query service.getShipmentQuerySessionForWarehouse(Id warehouseId) Gets theOsidSessionassociated with the shipment query service for the given warehouse.Gets theOsidSessionassociated with the shipment search service.getShipmentSearchSessionForWarehouse(Id warehouseId) Gets theOsidSessionassociated with the shipment search service for the given warehouse.getShipmentSmartWarehouseSession(Id warehouseId) Gets theOsidSessionassociated with the shipment smart warehouse service.Gets theOsidSessionassociated with assigning shipments to warehouses.Gets theOsidSessionto lookup shipment/catalog mappings.Methods inherited from interface InventoryShipmentProfile
getEntryRecordTypes, getEntrySearchRecordTypes, getShipmentRecordTypes, getShipmentSearchRecordTypes, supportsEntryRecordType, supportsEntrySearchRecordType, supportsInventoryShipmentBatchBatch, supportsShipmentAdmin, supportsShipmentLookup, supportsShipmentNotification, supportsShipmentQuery, supportsShipmentRecordType, supportsShipmentSearch, supportsShipmentSearchRecordType, supportsShipmentSmartWarehouse, supportsShipmentWarehouse, supportsShipmentWarehouseAssignment, supportsVisibleFederationMethods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceMethods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
-
Method Details
-
getShipmentLookupSession
Gets theOsidSessionassociated with the shipment lookup service.- Returns:
- a
ShipmentLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsShipmentLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentLookup()} is {@code true}.
-
getShipmentLookupSessionForWarehouse
ShipmentLookupSession getShipmentLookupSessionForWarehouse(Id warehouseId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the shipment lookup service for the given warehouse.- Parameters:
warehouseId- theIdof the warehouse- Returns:
- a
ShipmentLookupSession - Throws:
NotFoundException- noWarehousefound by the givenIdNullArgumentException-warehouseIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsShipmentLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getShipmentQuerySession
Gets theOsidSessionassociated with the shipment query service.- Returns:
- a
ShipmentQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsShipmentQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentQuery()} is {@code true}.
-
getShipmentQuerySessionForWarehouse
ShipmentQuerySession getShipmentQuerySessionForWarehouse(Id warehouseId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the shipment query service for the given warehouse.- Parameters:
warehouseId- theIdof theWarehouse- Returns:
- a
ShipmentQuerySession - Throws:
NotFoundException- no warehouse found by the givenIdNullArgumentException-warehouseIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsShipmentQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getShipmentSearchSession
Gets theOsidSessionassociated with the shipment search service.- Returns:
- a
ShipmentSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsShipmentSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentSearch()} is {@code true}.
-
getShipmentSearchSessionForWarehouse
ShipmentSearchSession getShipmentSearchSessionForWarehouse(Id warehouseId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the shipment search service for the given warehouse.- Parameters:
warehouseId- theIdof theWarehouse- Returns:
- a
ShipmentSearchSession - Throws:
NotFoundException- no warehouse found by the givenIdNullArgumentException-warehouseIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsShipmentSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getShipmentAdminSession
Gets theOsidSessionassociated with the shipment administration service.- Returns:
- a
ShipmentAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsShipmentAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentAdmin()} is {@code true}.
-
getShipmentAdminSessionForWarehouse
ShipmentAdminSession getShipmentAdminSessionForWarehouse(Id warehouseId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the shipment administration service for the given warehouse.- Parameters:
warehouseId- theIdof theWarehouse- Returns:
- a
ShipmentAdminSession - Throws:
NotFoundException- no warehouse found by the givenIdNullArgumentException-warehouseIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsShipmentAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getShipmentNotificationSession
ShipmentNotificationSession getShipmentNotificationSession(ShipmentReceiver shipmentReceiver) throws OperationFailedException Gets theOsidSessionassociated with the shipment notification service.- Parameters:
shipmentReceiver- the notification callback- Returns:
- a
ShipmentNotificationSession - Throws:
NullArgumentException-shipmentReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsShipmentNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentNotification()} is {@code true}.
-
getShipmentNotificationSessionForWarehouse
ShipmentNotificationSession getShipmentNotificationSessionForWarehouse(ShipmentReceiver shipmentReceiver, Id warehouseId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the shipment notification service for the given warehouse.- Parameters:
shipmentReceiver- the notification callbackwarehouseId- theIdof theWarehouse- Returns:
- a
ShipmentNotificationSession - Throws:
NotFoundException- no warehouse found by the givenIdNullArgumentException-shipmentReceiverorwarehouseIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsShipmentNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getShipmentWarehouseSession
Gets theOsidSessionto lookup shipment/catalog mappings.- Returns:
- a
ShipmentShipmentWarehouseSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsShipmentWarehouse()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentWarehouse()} is {@code true}.
-
getShipmentWarehouseAssignmentSession
ShipmentWarehouseAssignmentSession getShipmentWarehouseAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning shipments to warehouses.- Returns:
- a
ShipmentWarehouseAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsShipmentWarehouseAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentWarehouseAssignment()} is {@code true}.
-
getShipmentSmartWarehouseSession
ShipmentSmartWarehouseSession getShipmentSmartWarehouseSession(Id warehouseId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the shipment smart warehouse service.- Parameters:
warehouseId- theIdof theWarehouse- Returns:
- a
ShipmentSmartWarehouseSession - Throws:
NotFoundException- no warehouse found by the givenIdNullArgumentException-warehouseIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsShipmentSmartWarehouse()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsShipmentSmartWarehouse()} and {@code supportsVisibleFederation()} are {@code true}
-
getInventoryShipmentBatchManager
Gets theInventoryShipmentBatchManager.- Returns:
- an
InventoryShipmentBatchManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsInventoryShipmentBatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsInventoryShipmentBatch()} is {@code true}.
-