com.retek.component.inventory.impl
Class InventoryManagerImpl
java.lang.Object
com.retek.commons.component.impl.DistributedObjectManagerImpl
com.retek.component.inventory.impl.InventoryManagerImpl
- All Implemented Interfaces:
- DistributedObjectManager, InventoryManager
- public class InventoryManagerImpl
- extends DistributedObjectManagerImpl
- implements InventoryManager
Fields inherited from interface com.retek.component.inventory.InventoryManager |
INVENTORY_QTY_BUCKET_TYPE, INVENTORY_QTY_TYPE, LOCATION_ID, ORGANIZATION_REF, PACK, QUANTITY, QUANTITY_TO_MOVE, QUANTITY_TO_RELEASE, QUANTITY_TO_RESERVE, SELLABLEITEM, SKU, SKU_ID, SUPPLIER, SUPPLIER_START_DATE, WAREHOUSE_ID |
Method Summary |
ItemSupplierQuantityBlock |
buildItemSupplierQuantityBlock(ItemSupplier itemSupplier)
|
AtpValues |
calculateAtp(SellableItem sellableItem,
RDate reserveFromDate,
DistributedReference organizationRef)
|
AtpValues |
calculateAtpAndFutureAvailableQuantities(SellableItem sellableItem,
RDate reserveFromDate,
DistributedReference organizationRef,
boolean allowNegativeFutureAvailableQty)
|
java.util.Map |
calculateAtpAndFutureAvailableQuantities(java.util.Set sellableItemSet,
RDate reserveFromDate,
DistributedReference bannerRef,
boolean allowNegativeFutureAvailableQty)
|
protected ReferenceCache |
fetchMoreReferences(java.lang.Class businessIface)
|
java.util.Set |
findAllVirtualWarehouses(IntegrationReference bannerIntRef,
IntegrationReference channelTypeIntRef)
|
java.util.Set |
findItemSupplierQuantityBlocks(java.lang.String itemId,
java.lang.String supplierId)
|
java.util.Collection |
findPurchaseOrders(PurchaseOrderSearchCriteria criteria)
|
java.util.Set |
findWarehouseSkuAvailabilityRecords(java.lang.String sellableItemId)
|
java.util.List |
getAllSupplierInventoriesBySysDate(java.lang.String skuId)
|
Quantity |
getFutureAvailableQuantity(Sku sku,
DistributedReference organizationRef)
|
Quantity |
getFutureAvailableQuantity(Sku sku,
IntegrationReference bannerIntRef,
IntegrationReference channelTypeIntRef)
|
SupplierInventory |
getSupplierInventory(SellableItem sellableItem,
Supplier supplier)
|
Quantity |
getTotalBackorderedQuantity(SellableItem sellableItem,
DistributedReference organizationRef)
|
Quantity |
getTotalBackorderedQuantity(java.lang.String skuId,
Store virtualStore)
|
Quantity |
getTotalReservedAndShippedQuantityFromSupplier(java.lang.String skuId,
java.lang.String supplierId)
|
Quantity |
getTotalReservedQuantity(java.lang.String skuId,
Store virtualStore)
|
boolean |
isAvailable(Quantity atpQuantity,
boolean inventoriable)
|
boolean |
isAvailable(Quantity requestedQuantity,
Quantity atpQuantity,
boolean inventoriable)
|
boolean |
isAvailableForBackorder(Quantity requestedQuantity,
boolean backOrdersAllowed,
Quantity futureAvailQuantity)
|
boolean |
isAvailableForReservation(Quantity atpQuantity,
Quantity futureAvailQuantity,
boolean inventoriable)
|
boolean |
isAvailableForReservation(Quantity requestedQuantity,
Quantity atpQuantity,
Quantity futureAvailQuantity,
boolean inventoriable)
|
void |
moveQuantityFromWarehouseReservedToBackOrder(java.lang.String skuId,
Store virtualStore,
Quantity qtyToMove,
Warehouse warehouse)
|
Inventory |
readInventoryForItem(java.lang.String sellableItemId,
IntegrationReference bannerIntRef,
IntegrationReference channelTypeIntRef)
|
java.util.Map |
readInventoryForItems(java.util.Set sellableItemIds,
DistributedReference organizationRef)
|
InventoryQty |
readInventoryQty(InventoryQtyType inventoryQtyType)
|
void |
releaseFromSupplier(SellableItem sellableItem,
Supplier supplier,
Quantity reservationReleaseQuantity,
Store virtualStore,
RDate supplierStartDate)
|
void |
releaseFromVirtualStore(SellableItem sellableItem,
Store virtualStore,
Quantity reservationReleaseQuantity,
Quantity backorderedReleaseQuantity)
|
void |
releasePack(Pack pack,
Store virtualStore,
PackReservationValues packRsvValues)
|
ReservationValues |
reserve(SellableItem sellableItem,
Store virtualStore,
Quantity quantityToReserve)
|
ReservationValues |
reserve(SellableItem sellableItem,
Store virtualStore,
Quantity quantityToReserve,
RDate reserveFromDate)
|
ReservationValues |
reserve(SellableItem sellableItem,
Store virtualStore,
Quantity quantityToReserve,
RDate reserveFromDate,
boolean directShipSkuSegregation)
|
void |
warehouseRelease(SellableItem sellableItem,
Store virtualStore,
Warehouse virtualWarehouse,
Quantity warehouseReleaseQuantity)
|
void |
warehouseReleasePack(Pack pack,
Store virtualStore,
Warehouse virtualWarehouse,
PackReservationValues packReservationValues)
|
java.util.Set |
warehouseReserve(Pack pack,
Store virtualStore,
Country country,
java.lang.String shipToZipCode,
PackReservationValues packReservationValues,
boolean isPersonalized,
boolean isGifting)
|
java.util.Set |
warehouseReserve(Sku sku,
Store virtualStore,
Country country,
java.lang.String shipToZipCode,
Quantity warehouseReservationQuantity,
boolean isPersonalized,
boolean isGifting)
|
void |
warehouseReserveCancel(Pack pack,
Warehouse virtualWarehouse,
PackReservationValues packReservationValues)
|
void |
warehouseReserveCancel(SellableItem sellableItem,
Warehouse virtualWarehouse,
Quantity warehouseReleaseQuantity)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InventoryManagerImpl
public InventoryManagerImpl(DistributedContext context)
InventoryManagerImpl
public InventoryManagerImpl()
- Deprecated.
readInventoryForItems
public java.util.Map readInventoryForItems(java.util.Set sellableItemIds,
DistributedReference organizationRef)
throws SystemException,
BusinessException
- Specified by:
readInventoryForItems
in interface InventoryManager
- Throws:
SystemException
BusinessException
readInventoryForItem
public Inventory readInventoryForItem(java.lang.String sellableItemId,
IntegrationReference bannerIntRef,
IntegrationReference channelTypeIntRef)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
calculateAtp
public AtpValues calculateAtp(SellableItem sellableItem,
RDate reserveFromDate,
DistributedReference organizationRef)
throws SystemException,
BusinessException
- Specified by:
calculateAtp
in interface InventoryManager
- Throws:
SystemException
BusinessException
isAvailable
public boolean isAvailable(Quantity requestedQuantity,
Quantity atpQuantity,
boolean inventoriable)
- Specified by:
isAvailable
in interface InventoryManager
isAvailable
public boolean isAvailable(Quantity atpQuantity,
boolean inventoriable)
- Specified by:
isAvailable
in interface InventoryManager
isAvailableForReservation
public boolean isAvailableForReservation(Quantity requestedQuantity,
Quantity atpQuantity,
Quantity futureAvailQuantity,
boolean inventoriable)
throws SystemException,
BusinessException
- Specified by:
isAvailableForReservation
in interface InventoryManager
- Throws:
SystemException
BusinessException
isAvailableForReservation
public boolean isAvailableForReservation(Quantity atpQuantity,
Quantity futureAvailQuantity,
boolean inventoriable)
throws SystemException,
BusinessException
- Specified by:
isAvailableForReservation
in interface InventoryManager
- Throws:
SystemException
BusinessException
findPurchaseOrders
public java.util.Collection findPurchaseOrders(PurchaseOrderSearchCriteria criteria)
throws SystemException,
BusinessException
- Specified by:
findPurchaseOrders
in interface InventoryManager
- Throws:
SystemException
BusinessException
isAvailableForBackorder
public boolean isAvailableForBackorder(Quantity requestedQuantity,
boolean backOrdersAllowed,
Quantity futureAvailQuantity)
- Specified by:
isAvailableForBackorder
in interface InventoryManager
calculateAtpAndFutureAvailableQuantities
public java.util.Map calculateAtpAndFutureAvailableQuantities(java.util.Set sellableItemSet,
RDate reserveFromDate,
DistributedReference bannerRef,
boolean allowNegativeFutureAvailableQty)
throws SystemException,
BusinessException
- Specified by:
calculateAtpAndFutureAvailableQuantities
in interface InventoryManager
- Throws:
SystemException
BusinessException
calculateAtpAndFutureAvailableQuantities
public AtpValues calculateAtpAndFutureAvailableQuantities(SellableItem sellableItem,
RDate reserveFromDate,
DistributedReference organizationRef,
boolean allowNegativeFutureAvailableQty)
throws SystemException,
BusinessException
- Specified by:
calculateAtpAndFutureAvailableQuantities
in interface InventoryManager
- Throws:
SystemException
BusinessException
reserve
public ReservationValues reserve(SellableItem sellableItem,
Store virtualStore,
Quantity quantityToReserve)
throws SystemException,
BusinessException
- Specified by:
reserve
in interface InventoryManager
- Throws:
SystemException
BusinessException
reserve
public ReservationValues reserve(SellableItem sellableItem,
Store virtualStore,
Quantity quantityToReserve,
RDate reserveFromDate)
throws SystemException,
BusinessException
- Specified by:
reserve
in interface InventoryManager
- Throws:
SystemException
BusinessException
reserve
public ReservationValues reserve(SellableItem sellableItem,
Store virtualStore,
Quantity quantityToReserve,
RDate reserveFromDate,
boolean directShipSkuSegregation)
throws SystemException,
BusinessException
- Specified by:
reserve
in interface InventoryManager
- Throws:
SystemException
BusinessException
releaseFromVirtualStore
public void releaseFromVirtualStore(SellableItem sellableItem,
Store virtualStore,
Quantity reservationReleaseQuantity,
Quantity backorderedReleaseQuantity)
throws SystemException,
BusinessException
- Specified by:
releaseFromVirtualStore
in interface InventoryManager
- Throws:
SystemException
BusinessException
releaseFromSupplier
public void releaseFromSupplier(SellableItem sellableItem,
Supplier supplier,
Quantity reservationReleaseQuantity,
Store virtualStore,
RDate supplierStartDate)
throws SystemException,
BusinessException
- Specified by:
releaseFromSupplier
in interface InventoryManager
- Throws:
SystemException
BusinessException
releasePack
public void releasePack(Pack pack,
Store virtualStore,
PackReservationValues packRsvValues)
throws SystemException,
BusinessException
- Specified by:
releasePack
in interface InventoryManager
- Throws:
SystemException
BusinessException
readInventoryQty
public InventoryQty readInventoryQty(InventoryQtyType inventoryQtyType)
throws SystemException,
BusinessException
- Specified by:
readInventoryQty
in interface InventoryManager
- Throws:
SystemException
BusinessException
warehouseReserve
public java.util.Set warehouseReserve(Sku sku,
Store virtualStore,
Country country,
java.lang.String shipToZipCode,
Quantity warehouseReservationQuantity,
boolean isPersonalized,
boolean isGifting)
throws SystemException,
BusinessException
- Specified by:
warehouseReserve
in interface InventoryManager
- Throws:
SystemException
BusinessException
warehouseReserve
public java.util.Set warehouseReserve(Pack pack,
Store virtualStore,
Country country,
java.lang.String shipToZipCode,
PackReservationValues packReservationValues,
boolean isPersonalized,
boolean isGifting)
throws SystemException,
BusinessException
- Specified by:
warehouseReserve
in interface InventoryManager
- Throws:
SystemException
BusinessException
warehouseRelease
public void warehouseRelease(SellableItem sellableItem,
Store virtualStore,
Warehouse virtualWarehouse,
Quantity warehouseReleaseQuantity)
throws SystemException,
BusinessException
- Specified by:
warehouseRelease
in interface InventoryManager
- Throws:
SystemException
BusinessException
warehouseReleasePack
public void warehouseReleasePack(Pack pack,
Store virtualStore,
Warehouse virtualWarehouse,
PackReservationValues packReservationValues)
throws SystemException,
BusinessException
- Specified by:
warehouseReleasePack
in interface InventoryManager
- Throws:
SystemException
BusinessException
warehouseReserveCancel
public void warehouseReserveCancel(SellableItem sellableItem,
Warehouse virtualWarehouse,
Quantity warehouseReleaseQuantity)
throws SystemException,
BusinessException
- Specified by:
warehouseReserveCancel
in interface InventoryManager
- Throws:
SystemException
BusinessException
warehouseReserveCancel
public void warehouseReserveCancel(Pack pack,
Warehouse virtualWarehouse,
PackReservationValues packReservationValues)
throws SystemException,
BusinessException
- Specified by:
warehouseReserveCancel
in interface InventoryManager
- Throws:
SystemException
BusinessException
findWarehouseSkuAvailabilityRecords
public java.util.Set findWarehouseSkuAvailabilityRecords(java.lang.String sellableItemId)
throws SystemException,
BusinessException
- Specified by:
findWarehouseSkuAvailabilityRecords
in interface InventoryManager
- Throws:
SystemException
BusinessException
getTotalReservedQuantity
public Quantity getTotalReservedQuantity(java.lang.String skuId,
Store virtualStore)
throws SystemException,
BusinessException
- Specified by:
getTotalReservedQuantity
in interface InventoryManager
- Throws:
SystemException
BusinessException
getTotalBackorderedQuantity
public Quantity getTotalBackorderedQuantity(java.lang.String skuId,
Store virtualStore)
throws SystemException,
BusinessException
- Specified by:
getTotalBackorderedQuantity
in interface InventoryManager
- Throws:
SystemException
BusinessException
getTotalBackorderedQuantity
public Quantity getTotalBackorderedQuantity(SellableItem sellableItem,
DistributedReference organizationRef)
throws SystemException,
BusinessException
- Specified by:
getTotalBackorderedQuantity
in interface InventoryManager
- Throws:
SystemException
BusinessException
getTotalReservedAndShippedQuantityFromSupplier
public Quantity getTotalReservedAndShippedQuantityFromSupplier(java.lang.String skuId,
java.lang.String supplierId)
throws SystemException
- Specified by:
getTotalReservedAndShippedQuantityFromSupplier
in interface InventoryManager
- Throws:
SystemException
getSupplierInventory
public SupplierInventory getSupplierInventory(SellableItem sellableItem,
Supplier supplier)
throws SystemException,
BusinessException
- Specified by:
getSupplierInventory
in interface InventoryManager
- Throws:
SystemException
BusinessException
getAllSupplierInventoriesBySysDate
public java.util.List getAllSupplierInventoriesBySysDate(java.lang.String skuId)
throws SystemException,
BusinessException
- Specified by:
getAllSupplierInventoriesBySysDate
in interface InventoryManager
- Throws:
SystemException
BusinessException
findAllVirtualWarehouses
public java.util.Set findAllVirtualWarehouses(IntegrationReference bannerIntRef,
IntegrationReference channelTypeIntRef)
throws BusinessException,
SystemException
- Specified by:
findAllVirtualWarehouses
in interface InventoryManager
- Throws:
BusinessException
SystemException
moveQuantityFromWarehouseReservedToBackOrder
public void moveQuantityFromWarehouseReservedToBackOrder(java.lang.String skuId,
Store virtualStore,
Quantity qtyToMove,
Warehouse warehouse)
throws SystemException,
BusinessException
- Specified by:
moveQuantityFromWarehouseReservedToBackOrder
in interface InventoryManager
- Throws:
SystemException
BusinessException
getFutureAvailableQuantity
public Quantity getFutureAvailableQuantity(Sku sku,
DistributedReference organizationRef)
throws BusinessException,
SystemException
- Specified by:
getFutureAvailableQuantity
in interface InventoryManager
- Throws:
BusinessException
SystemException
getFutureAvailableQuantity
public Quantity getFutureAvailableQuantity(Sku sku,
IntegrationReference bannerIntRef,
IntegrationReference channelTypeIntRef)
throws BusinessException,
SystemException
- Specified by:
getFutureAvailableQuantity
in interface InventoryManager
- Throws:
BusinessException
SystemException
buildItemSupplierQuantityBlock
public ItemSupplierQuantityBlock buildItemSupplierQuantityBlock(ItemSupplier itemSupplier)
throws BusinessException,
SystemException
- Specified by:
buildItemSupplierQuantityBlock
in interface InventoryManager
- Throws:
BusinessException
SystemException
findItemSupplierQuantityBlocks
public java.util.Set findItemSupplierQuantityBlocks(java.lang.String itemId,
java.lang.String supplierId)
throws SystemException,
BusinessException
- Specified by:
findItemSupplierQuantityBlocks
in interface InventoryManager
- Throws:
SystemException
BusinessException
fetchMoreReferences
protected ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
throws SystemException
- Specified by:
fetchMoreReferences
in class DistributedObjectManagerImpl
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28