com.retek.component.inventory.impl
Class InventoryCommandFactory

java.lang.Object
  extended bycom.retek.commons.domain.core.CommandFactory
      extended bycom.retek.component.inventory.impl.InventoryCommandFactory

public class InventoryCommandFactory
extends CommandFactory


Field Summary
 
Fields inherited from class com.retek.commons.domain.core.CommandFactory
commandProperties
 
Method Summary
static AtpCalculateDatesCommand createAtpCalculateDatesCommand(java.util.Set items, DistributedReference organizationRef, java.util.Map atpValuesMap, RDate reserveFromDate, boolean allowNegativeFutureAvailQty, DistributedContext context)
           
static AtpCalculateDatesPackCommand createAtpCalculateDatesPackCommand(java.util.Set items, DistributedReference organizationRef, java.util.Map atpValuesMap, RDate reserveFromDate, DistributedContext context)
           
static AtpCalculateDatesSkuCommand createAtpCalculateDatesSkuCommand(java.util.Set items, DistributedReference organizationRef, java.util.Map atpValuesMap, RDate setReserveFromDate, DistributedContext context)
           
static AtpCalculateQuantityCommand createAtpCalculateQuantityCommand(Inventory inventory, Quantity futureAvailQty)
           
static AtpCalculateQuantityValuesCommand createAtpCalculateQuantityValuesCommand(java.util.Set sellableItemSet, DistributedReference organizationRef, RDate reserveFromDate, boolean allowNegativeFutureAvailQty, DistributedContext context)
           
static AtpCalculateQuantityValuesPackCommand createAtpCalculateQuantityValuesPackCommand(java.util.Set packs, DistributedReference organizationRef, RDate reserveFromDate, boolean allowNegativeFutureAvailQty, DistributedContext context)
           
static AtpCalculateQuantityValuesSkuCommand createAtpCalculateQuantityValuesSkuCommand(java.util.Set activeInventoriableSkus, DistributedReference organizationRef, boolean allowNegativeFutureAvailQty, DistributedContext context)
           
static AtpCalculateValuesCommand createAtpCalculateValuesCommand(SellableItem item, RDate reserveFromDate, DistributedContext ctx, DistributedReference organizationRef)
           
static InventoryQtyAddCommand createInventoryQtyAddCommand(InventoryQtyBucketDto inventoryQtyBucketDto, InventoryQty inventoryQty)
           
static InventoryQtyReadCommand createInventoryReadCommand(InventoryQtyType inventoryQtyType)
           
static InventoryQtySubmitCommand createInventorySubmitCommand(InventoryQtyDto inventoryQtyDto)
           
static PackWarehouseReserveCommand createPackWarehouseReserveCommand(Pack pack, Store virtualStore, Country country, java.lang.String shipToZipCode, PackReservationValues packReservationValues, DistributedContext context, boolean isPersonalized, boolean isGifting)
           
static MoveQuantityFromReservedToBackorderCommand createQuantityMoveCommand(java.lang.String skuId, Store virtualStore, Quantity qtyToMove, IntegrationReference warehouseIntegarionRef)
           
static RemoteMoveQuantityFromReservedToBackorderCommand createRemoteMoveQuantityFromReservedToBackorderCommand(java.lang.String skuId, DistributedReference vStoreRef, Quantity quantityToMove, IntegrationReference warehouseIntegarionRef, DistributedContext context)
           
static RemotePackComponentWarehouseReserveCommand createRemotePackComponentWarehouseReserveCommand(DistributedReference virtualStoreRef, DistributedReference countryRef, java.lang.String shipToZipCode, java.util.Set skuResValues, boolean isPersonalized, boolean isGifting, DistributedContext context)
           
static RemotePackReleaseCommand createRemotePackReleaseCommand(java.lang.String packId, DistributedReference vStoreRef, PackReservationValues packReservationValues, DistributedContext context)
           
static RemotePackReserveCommandInterface createRemotePackReserveCommand(java.lang.String packId, DistributedReference vStoreRef, Quantity quantityToReserve, RDate reserveFromDate, DistributedContext context)
           
static RemoteReserveCommandInterface createRemoteReserveCommand(java.lang.String skuId, DistributedReference vStoreRef, Quantity quantityToReserve, RDate reserveFromDate, boolean directShipSkuSegregation, DistributedContext context)
           
static RemoteSkuWarehouseReserveCommand createRemoteSkuWarehouseReserveCommand(java.lang.String skuId, DistributedReference virtualStoreRef, DistributedReference countryRef, java.lang.String shipToZipCode, Quantity warehouseQuantityToReserve, boolean isPersonalized, boolean isGifting, DistributedContext context)
           
static ReservationPackReleaseCommand createReservationPackReleaseCommand(Pack pack, Store virtualStore, PackReservationValues packRsvValues)
           
static ReservationPackReserveCommand createReservationPackReserveCommand(Pack pack, Store virtualStore, Quantity quantityToReserve, RDate reserveFromDate)
           
static ReservationReleaseCommand createReservationReleaseCommand(Sku sku, Store virtualStore, Quantity reservationReleaseQuantity, Quantity backorderedReleaseQuantity, DistributedContext context)
           
static ReservationReleaseFromSupplierCommand createReservationReleaseFromSupplierCommand(Sku sku, Supplier supplier, Store virtualStore, Quantity reservationReleaseQuantity, RDate supplierStartDate, DistributedContext context)
           
static ReservationReserveCommand createReservationReserveCommand(Sku sku, Store virtualStore, Quantity quantityToReserve, RDate reserveFromDate, boolean directShipSkuSegregation, DistributedContext context)
           
static ReservationWarehouseCancelCommand createReservationWarehouseCancelCommand(SellableItem sellableItem, Warehouse virtualWarehouse, Quantity warehouseChangeQty, DistributedContext context)
           
static ReservationWarehouseReleaseCommand createReservationWarehouseReleaseCommand(SellableItem sellableItem, Store virtualStore, Warehouse virtualWarehouse, Quantity warehouseReleaseQuantity, DistributedContext context)
           
static SkuAvailableForReservationCommand createSkuAvailableForReservationCommand(Quantity atpQuantity, Quantity futureAvailQty, boolean inventoriable, Quantity requestedQuantity)
           
static SupplierInventoryQuantityCommand createSupplierInventoryQuantityCommand(Quantity revisedQuantityAvailable, Quantity shippedQuantity, Quantity reservedQuantity)
           
static WarehouseReserveCommand createWarehouseReserveCommand(SellableItem sellableItem, Store virtualStore, Country country, java.lang.String shipToZipCode, Quantity warehouseReservationQuantity, boolean isPersonalized, boolean isGifting, DistributedContext context)
           
protected static InventoryCommandFactory getInstance()
           
protected  java.lang.String getPropertyFilename()
           
protected  void logError(java.lang.String message, java.lang.Throwable throwable)
           
 
Methods inherited from class com.retek.commons.domain.core.CommandFactory
createCommand, load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

protected static InventoryCommandFactory getInstance()
                                              throws SystemException
Throws:
SystemException

getPropertyFilename

protected java.lang.String getPropertyFilename()
Specified by:
getPropertyFilename in class CommandFactory

logError

protected void logError(java.lang.String message,
                        java.lang.Throwable throwable)
Specified by:
logError in class CommandFactory

createAtpCalculateValuesCommand

public static AtpCalculateValuesCommand createAtpCalculateValuesCommand(SellableItem item,
                                                                        RDate reserveFromDate,
                                                                        DistributedContext ctx,
                                                                        DistributedReference organizationRef)
                                                                 throws SystemException
Throws:
SystemException

createAtpCalculateQuantityValuesCommand

public static AtpCalculateQuantityValuesCommand createAtpCalculateQuantityValuesCommand(java.util.Set sellableItemSet,
                                                                                        DistributedReference organizationRef,
                                                                                        RDate reserveFromDate,
                                                                                        boolean allowNegativeFutureAvailQty,
                                                                                        DistributedContext context)
                                                                                 throws SystemException
Throws:
SystemException

createAtpCalculateDatesCommand

public static AtpCalculateDatesCommand createAtpCalculateDatesCommand(java.util.Set items,
                                                                      DistributedReference organizationRef,
                                                                      java.util.Map atpValuesMap,
                                                                      RDate reserveFromDate,
                                                                      boolean allowNegativeFutureAvailQty,
                                                                      DistributedContext context)
                                                               throws SystemException
Throws:
SystemException

createAtpCalculateDatesSkuCommand

public static AtpCalculateDatesSkuCommand createAtpCalculateDatesSkuCommand(java.util.Set items,
                                                                            DistributedReference organizationRef,
                                                                            java.util.Map atpValuesMap,
                                                                            RDate setReserveFromDate,
                                                                            DistributedContext context)
                                                                     throws SystemException
Throws:
SystemException

createAtpCalculateDatesPackCommand

public static AtpCalculateDatesPackCommand createAtpCalculateDatesPackCommand(java.util.Set items,
                                                                              DistributedReference organizationRef,
                                                                              java.util.Map atpValuesMap,
                                                                              RDate reserveFromDate,
                                                                              DistributedContext context)
                                                                       throws SystemException
Throws:
SystemException

createAtpCalculateQuantityCommand

public static AtpCalculateQuantityCommand createAtpCalculateQuantityCommand(Inventory inventory,
                                                                            Quantity futureAvailQty)
                                                                     throws SystemException
Throws:
SystemException

createAtpCalculateQuantityValuesPackCommand

public static AtpCalculateQuantityValuesPackCommand createAtpCalculateQuantityValuesPackCommand(java.util.Set packs,
                                                                                                DistributedReference organizationRef,
                                                                                                RDate reserveFromDate,
                                                                                                boolean allowNegativeFutureAvailQty,
                                                                                                DistributedContext context)
                                                                                         throws SystemException
Throws:
SystemException

createAtpCalculateQuantityValuesSkuCommand

public static AtpCalculateQuantityValuesSkuCommand createAtpCalculateQuantityValuesSkuCommand(java.util.Set activeInventoriableSkus,
                                                                                              DistributedReference organizationRef,
                                                                                              boolean allowNegativeFutureAvailQty,
                                                                                              DistributedContext context)
                                                                                       throws SystemException
Throws:
SystemException

createInventorySubmitCommand

public static InventoryQtySubmitCommand createInventorySubmitCommand(InventoryQtyDto inventoryQtyDto)
                                                              throws SystemException
Throws:
SystemException

createInventoryReadCommand

public static InventoryQtyReadCommand createInventoryReadCommand(InventoryQtyType inventoryQtyType)
                                                          throws SystemException
Throws:
SystemException

createReservationReserveCommand

public static ReservationReserveCommand createReservationReserveCommand(Sku sku,
                                                                        Store virtualStore,
                                                                        Quantity quantityToReserve,
                                                                        RDate reserveFromDate,
                                                                        boolean directShipSkuSegregation,
                                                                        DistributedContext context)
                                                                 throws SystemException
Throws:
SystemException

createReservationPackReserveCommand

public static ReservationPackReserveCommand createReservationPackReserveCommand(Pack pack,
                                                                                Store virtualStore,
                                                                                Quantity quantityToReserve,
                                                                                RDate reserveFromDate)
                                                                         throws SystemException
Throws:
SystemException

createReservationReleaseCommand

public static ReservationReleaseCommand createReservationReleaseCommand(Sku sku,
                                                                        Store virtualStore,
                                                                        Quantity reservationReleaseQuantity,
                                                                        Quantity backorderedReleaseQuantity,
                                                                        DistributedContext context)
                                                                 throws SystemException
Throws:
SystemException

createReservationReleaseFromSupplierCommand

public static ReservationReleaseFromSupplierCommand createReservationReleaseFromSupplierCommand(Sku sku,
                                                                                                Supplier supplier,
                                                                                                Store virtualStore,
                                                                                                Quantity reservationReleaseQuantity,
                                                                                                RDate supplierStartDate,
                                                                                                DistributedContext context)
                                                                                         throws SystemException
Throws:
SystemException

createReservationPackReleaseCommand

public static ReservationPackReleaseCommand createReservationPackReleaseCommand(Pack pack,
                                                                                Store virtualStore,
                                                                                PackReservationValues packRsvValues)
                                                                         throws SystemException
Throws:
SystemException

createInventoryQtyAddCommand

public static InventoryQtyAddCommand createInventoryQtyAddCommand(InventoryQtyBucketDto inventoryQtyBucketDto,
                                                                  InventoryQty inventoryQty)
                                                           throws SystemException
Throws:
SystemException

createRemoteReserveCommand

public static RemoteReserveCommandInterface createRemoteReserveCommand(java.lang.String skuId,
                                                                       DistributedReference vStoreRef,
                                                                       Quantity quantityToReserve,
                                                                       RDate reserveFromDate,
                                                                       boolean directShipSkuSegregation,
                                                                       DistributedContext context)
                                                                throws SystemException
Throws:
SystemException

createRemotePackReserveCommand

public static RemotePackReserveCommandInterface createRemotePackReserveCommand(java.lang.String packId,
                                                                               DistributedReference vStoreRef,
                                                                               Quantity quantityToReserve,
                                                                               RDate reserveFromDate,
                                                                               DistributedContext context)
                                                                        throws SystemException
Throws:
SystemException

createRemotePackReleaseCommand

public static RemotePackReleaseCommand createRemotePackReleaseCommand(java.lang.String packId,
                                                                      DistributedReference vStoreRef,
                                                                      PackReservationValues packReservationValues,
                                                                      DistributedContext context)
                                                               throws SystemException
Throws:
SystemException

createRemoteMoveQuantityFromReservedToBackorderCommand

public static RemoteMoveQuantityFromReservedToBackorderCommand createRemoteMoveQuantityFromReservedToBackorderCommand(java.lang.String skuId,
                                                                                                                      DistributedReference vStoreRef,
                                                                                                                      Quantity quantityToMove,
                                                                                                                      IntegrationReference warehouseIntegarionRef,
                                                                                                                      DistributedContext context)
                                                                                                               throws SystemException
Throws:
SystemException

createReservationWarehouseReleaseCommand

public static ReservationWarehouseReleaseCommand createReservationWarehouseReleaseCommand(SellableItem sellableItem,
                                                                                          Store virtualStore,
                                                                                          Warehouse virtualWarehouse,
                                                                                          Quantity warehouseReleaseQuantity,
                                                                                          DistributedContext context)
                                                                                   throws SystemException
Throws:
SystemException

createReservationWarehouseCancelCommand

public static ReservationWarehouseCancelCommand createReservationWarehouseCancelCommand(SellableItem sellableItem,
                                                                                        Warehouse virtualWarehouse,
                                                                                        Quantity warehouseChangeQty,
                                                                                        DistributedContext context)
                                                                                 throws SystemException
Throws:
SystemException

createSupplierInventoryQuantityCommand

public static SupplierInventoryQuantityCommand createSupplierInventoryQuantityCommand(Quantity revisedQuantityAvailable,
                                                                                      Quantity shippedQuantity,
                                                                                      Quantity reservedQuantity)
                                                                               throws SystemException
Throws:
SystemException

createQuantityMoveCommand

public static MoveQuantityFromReservedToBackorderCommand createQuantityMoveCommand(java.lang.String skuId,
                                                                                   Store virtualStore,
                                                                                   Quantity qtyToMove,
                                                                                   IntegrationReference warehouseIntegarionRef)
                                                                            throws SystemException
Throws:
SystemException

createSkuAvailableForReservationCommand

public static SkuAvailableForReservationCommand createSkuAvailableForReservationCommand(Quantity atpQuantity,
                                                                                        Quantity futureAvailQty,
                                                                                        boolean inventoriable,
                                                                                        Quantity requestedQuantity)
                                                                                 throws SystemException
Throws:
SystemException

createWarehouseReserveCommand

public static WarehouseReserveCommand createWarehouseReserveCommand(SellableItem sellableItem,
                                                                    Store virtualStore,
                                                                    Country country,
                                                                    java.lang.String shipToZipCode,
                                                                    Quantity warehouseReservationQuantity,
                                                                    boolean isPersonalized,
                                                                    boolean isGifting,
                                                                    DistributedContext context)
                                                             throws SystemException
Throws:
SystemException

createPackWarehouseReserveCommand

public static PackWarehouseReserveCommand createPackWarehouseReserveCommand(Pack pack,
                                                                            Store virtualStore,
                                                                            Country country,
                                                                            java.lang.String shipToZipCode,
                                                                            PackReservationValues packReservationValues,
                                                                            DistributedContext context,
                                                                            boolean isPersonalized,
                                                                            boolean isGifting)
                                                                     throws SystemException
Throws:
SystemException

createRemotePackComponentWarehouseReserveCommand

public static RemotePackComponentWarehouseReserveCommand createRemotePackComponentWarehouseReserveCommand(DistributedReference virtualStoreRef,
                                                                                                          DistributedReference countryRef,
                                                                                                          java.lang.String shipToZipCode,
                                                                                                          java.util.Set skuResValues,
                                                                                                          boolean isPersonalized,
                                                                                                          boolean isGifting,
                                                                                                          DistributedContext context)
                                                                                                   throws SystemException
Throws:
SystemException

createRemoteSkuWarehouseReserveCommand

public static RemoteSkuWarehouseReserveCommand createRemoteSkuWarehouseReserveCommand(java.lang.String skuId,
                                                                                      DistributedReference virtualStoreRef,
                                                                                      DistributedReference countryRef,
                                                                                      java.lang.String shipToZipCode,
                                                                                      Quantity warehouseQuantityToReserve,
                                                                                      boolean isPersonalized,
                                                                                      boolean isGifting,
                                                                                      DistributedContext context)
                                                                               throws SystemException
Throws:
SystemException


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