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
-
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, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedEntryrecord types.Gets the supportedEntrysearch record types.Gets the supportedShipmentrecord types.Gets the supportedShipmentsearch record types.booleansupportsEntryRecordType(Type entryRecordType) Tests if the givenEntryrecord type is supported.booleansupportsEntrySearchRecordType(Type entrySearchRecordType) Tests if the givenEntrysearch record type is supported.booleanTests for the availability of an inventory shipment batch service.booleanTests if shipment administrative service is supported.booleanTests if looking up shipments is supported.booleanTests if a shipment notification service is supported.booleanTests if querying shipments is supported.booleansupportsShipmentRecordType(Type shipmentRecordType) Tests if the givenShipmentrecord type is supported.booleanTests if searching shipments is supported.booleansupportsShipmentSearchRecordType(Type shipmentSearchRecordType) Tests if the givenShipmentsearch record type is supported.booleanTests if a shipment smart warehouse session is available.booleanTests if a warehouseing service is supported.booleanTests if a warehouseing service is supported.booleanTests if any warehouse federation is exposed.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
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} .
-