com.retek.component.inventory.impl.persistence.cache
Class CacheReservationDao

java.lang.Object
  extended bycom.retek.commons.domain.core.impl.persistence.cache.CacheDao
      extended bycom.retek.component.inventory.impl.persistence.cache.CacheReservationDao
All Implemented Interfaces:
ReservationDao

public class CacheReservationDao
extends CacheDao
implements ReservationDao


Constructor Summary
CacheReservationDao()
           
 
Method Summary
 java.util.HashMap getMap()
           
static java.lang.String getSizeReport()
           
 Quantity getTotalBackorderedQuantity(java.lang.String sellableItemId, IntegrationReference bannerRef, IntegrationReference channelTypeRef)
           
 Quantity getTotalReservedAndShippedQuantityFromSupplier(java.lang.String sellableItemId, java.lang.String supplierId)
           
 Quantity getTotalReservedQuantity(java.lang.String sellableItemId, IntegrationReference bannerRef, IntegrationReference channelTypeRef)
           
static Quantity getTotalReservedQuantity(java.lang.String sellableItemId, IntegrationReference bannerRef, IntegrationReference channelTypeRef, IntegrationReference warehouseRef)
           
static Quantity getTotalReservedQuantityForVirtualWarehouse(java.lang.String sellableItemId, DistributedReference virtualWarehouseRef)
           
static Quantity getTotalReservedQuantityFromSupplier(java.lang.String sellableItemId, java.lang.String supplierId)
           
static Quantity getTotalStockOnHand(java.lang.String sellableItemId, IntegrationReference bannerRef, IntegrationReference channelTypeRef)
           
 void moveQuantityFromReservedToBackOrder(java.lang.String skuId, IntegrationReference bannerRef, IntegrationReference channelTypeRef, Quantity qtyToMove)
           
 void release(java.lang.String sellableItemId, IntegrationReference bannerRef, IntegrationReference channelTypeRef, Quantity reservationReleaseQuantity, Quantity backorderedReleaseQuantity)
           
 void reserve(java.lang.String sellableItemId, IntegrationReference bannerRef, IntegrationReference channelTypeRef, ReservationValues reservationValues)
           
 void reservePack(java.lang.String packId, IntegrationReference bannerRef, IntegrationReference channelTypeRef, PackReservationValues packReservationValues)
           
static void reset()
           
 void supplierRelease(java.lang.String sellableItemId, java.lang.String supplierId, Quantity reservedQuantity, RDate startDateTime)
           
 void supplierReserve(java.lang.String sellableItemId, java.lang.String supplierId, Quantity reservedQuantity, RDate startDateTime)
           
 void warehouseCancel(java.lang.String sellableItemId, java.lang.String virtualWarehouseDisplayCode, Quantity warehouseReleaseQuantity)
           
 void warehouseRelease(java.lang.String sellableItemId, IntegrationReference bannerRef, IntegrationReference channelTypeRef, IntegrationReference virtualWarehouseIntegrationReference, Quantity warehouseReleaseQuantity)
           
 void warehouseReserve(java.lang.String sellableItemId, IntegrationReference bannerRef, IntegrationReference channelTypeRef, IntegrationReference warehouseRef, Quantity requestedWarehouseReservedQty)
           
 
Methods inherited from class com.retek.commons.domain.core.impl.persistence.cache.CacheDao
deleteDto, findAllDtos, getLogger, getNextId, isWildCardEqual, readDto, submitDto
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheReservationDao

public CacheReservationDao()
Method Detail

reserve

public void reserve(java.lang.String sellableItemId,
                    IntegrationReference bannerRef,
                    IntegrationReference channelTypeRef,
                    ReservationValues reservationValues)
             throws SystemException
Specified by:
reserve in interface ReservationDao
Throws:
SystemException

reservePack

public void reservePack(java.lang.String packId,
                        IntegrationReference bannerRef,
                        IntegrationReference channelTypeRef,
                        PackReservationValues packReservationValues)
                 throws SystemException
Specified by:
reservePack in interface ReservationDao
Throws:
SystemException

release

public void release(java.lang.String sellableItemId,
                    IntegrationReference bannerRef,
                    IntegrationReference channelTypeRef,
                    Quantity reservationReleaseQuantity,
                    Quantity backorderedReleaseQuantity)
             throws SystemException
Specified by:
release in interface ReservationDao
Throws:
SystemException

getTotalStockOnHand

public static Quantity getTotalStockOnHand(java.lang.String sellableItemId,
                                           IntegrationReference bannerRef,
                                           IntegrationReference channelTypeRef)
                                    throws SystemException
Throws:
SystemException

getTotalReservedQuantity

public Quantity getTotalReservedQuantity(java.lang.String sellableItemId,
                                         IntegrationReference bannerRef,
                                         IntegrationReference channelTypeRef)
                                  throws SystemException
Specified by:
getTotalReservedQuantity in interface ReservationDao
Throws:
SystemException

getTotalReservedQuantity

public static Quantity getTotalReservedQuantity(java.lang.String sellableItemId,
                                                IntegrationReference bannerRef,
                                                IntegrationReference channelTypeRef,
                                                IntegrationReference warehouseRef)
                                         throws SystemException
Throws:
SystemException

getTotalBackorderedQuantity

public Quantity getTotalBackorderedQuantity(java.lang.String sellableItemId,
                                            IntegrationReference bannerRef,
                                            IntegrationReference channelTypeRef)
                                     throws SystemException
Specified by:
getTotalBackorderedQuantity in interface ReservationDao
Throws:
SystemException

getTotalReservedQuantityForVirtualWarehouse

public static Quantity getTotalReservedQuantityForVirtualWarehouse(java.lang.String sellableItemId,
                                                                   DistributedReference virtualWarehouseRef)
                                                            throws SystemException
Throws:
SystemException

reset

public static void reset()

getMap

public java.util.HashMap getMap()
Specified by:
getMap in class CacheDao

getSizeReport

public static java.lang.String getSizeReport()

warehouseReserve

public void warehouseReserve(java.lang.String sellableItemId,
                             IntegrationReference bannerRef,
                             IntegrationReference channelTypeRef,
                             IntegrationReference warehouseRef,
                             Quantity requestedWarehouseReservedQty)
                      throws SystemException
Specified by:
warehouseReserve in interface ReservationDao
Throws:
SystemException

warehouseRelease

public void warehouseRelease(java.lang.String sellableItemId,
                             IntegrationReference bannerRef,
                             IntegrationReference channelTypeRef,
                             IntegrationReference virtualWarehouseIntegrationReference,
                             Quantity warehouseReleaseQuantity)
                      throws SystemException
Specified by:
warehouseRelease in interface ReservationDao
Throws:
SystemException

warehouseCancel

public void warehouseCancel(java.lang.String sellableItemId,
                            java.lang.String virtualWarehouseDisplayCode,
                            Quantity warehouseReleaseQuantity)
                     throws SystemException
Specified by:
warehouseCancel in interface ReservationDao
Throws:
SystemException

getTotalReservedQuantityFromSupplier

public static Quantity getTotalReservedQuantityFromSupplier(java.lang.String sellableItemId,
                                                            java.lang.String supplierId)
                                                     throws SystemException
Throws:
SystemException

getTotalReservedAndShippedQuantityFromSupplier

public Quantity getTotalReservedAndShippedQuantityFromSupplier(java.lang.String sellableItemId,
                                                               java.lang.String supplierId)
                                                        throws SystemException
Specified by:
getTotalReservedAndShippedQuantityFromSupplier in interface ReservationDao
Throws:
SystemException

moveQuantityFromReservedToBackOrder

public void moveQuantityFromReservedToBackOrder(java.lang.String skuId,
                                                IntegrationReference bannerRef,
                                                IntegrationReference channelTypeRef,
                                                Quantity qtyToMove)
                                         throws SystemException
Specified by:
moveQuantityFromReservedToBackOrder in interface ReservationDao
Throws:
SystemException

supplierReserve

public void supplierReserve(java.lang.String sellableItemId,
                            java.lang.String supplierId,
                            Quantity reservedQuantity,
                            RDate startDateTime)
                     throws SystemException
Specified by:
supplierReserve in interface ReservationDao
Throws:
SystemException

supplierRelease

public void supplierRelease(java.lang.String sellableItemId,
                            java.lang.String supplierId,
                            Quantity reservedQuantity,
                            RDate startDateTime)
                     throws SystemException
Specified by:
supplierRelease in interface ReservationDao
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28