com.retek.component.inventory.impl.command
Class ATPCalculateQuantityValuesSellableItemCommand

java.lang.Object
  extended bycom.retek.commons.domain.core.Command
      extended bycom.retek.component.inventory.impl.command.ATPCalculateQuantityValuesSellableItemCommand
Direct Known Subclasses:
AtpCalculateQuantityValuesPackCommand, AtpCalculateQuantityValuesSkuCommand

public abstract class ATPCalculateQuantityValuesSellableItemCommand
extends Command


Field Summary
protected  java.util.Map atpValuesMap
           
protected  RDate reserveFromDate
           
 
Constructor Summary
ATPCalculateQuantityValuesSellableItemCommand()
           
 
Method Summary
protected  AtpValues calculateAtpValuesForSellableItem(SellableItem sellableItem, Inventory inventory)
           
protected abstract  AtpValues createATPValuesForDirectShip(SellableItem sellableItem)
           
protected  void doExecute()
           
 AtpValues getAtpValues()
           
 java.util.Map getAtpValuesMap()
           
protected  InventoryManager getInventoryManager()
           
protected  java.util.Set getItemIds(java.util.Set items)
           
protected  DistributedReference getOrganizationRef()
           
protected  Quantity getQuantityConvertedFromStandardToSellingUOM(SellableItem sellableItem, Quantity quantityInStandardUom)
           
 void setAllowNegativeFutureQty(boolean allowNegativeFutureQty)
           
 void setOrganizationRef(DistributedReference organizationRef)
           
 void setReserveFromDate(RDate reserveFromDate)
           
protected  void setSellableItem(SellableItem singleSellableItem)
           
protected  void setSellableItems(java.util.Set sellableItems)
           
 
Methods inherited from class com.retek.commons.domain.core.Command
addPostExecutionRule, addPreExecutionRule, execute, getContext, isExecuted, processRules, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

atpValuesMap

protected java.util.Map atpValuesMap

reserveFromDate

protected RDate reserveFromDate
Constructor Detail

ATPCalculateQuantityValuesSellableItemCommand

public ATPCalculateQuantityValuesSellableItemCommand()
Method Detail

doExecute

protected void doExecute()
                  throws SystemException,
                         BusinessException
Specified by:
doExecute in class Command
Throws:
SystemException
BusinessException

setOrganizationRef

public void setOrganizationRef(DistributedReference organizationRef)

getOrganizationRef

protected DistributedReference getOrganizationRef()

setReserveFromDate

public void setReserveFromDate(RDate reserveFromDate)

setAllowNegativeFutureQty

public void setAllowNegativeFutureQty(boolean allowNegativeFutureQty)

setSellableItem

protected void setSellableItem(SellableItem singleSellableItem)

setSellableItems

protected void setSellableItems(java.util.Set sellableItems)

getAtpValues

public AtpValues getAtpValues()

getAtpValuesMap

public java.util.Map getAtpValuesMap()

createATPValuesForDirectShip

protected abstract AtpValues createATPValuesForDirectShip(SellableItem sellableItem)
                                                   throws SystemException,
                                                          BusinessException
Throws:
SystemException
BusinessException

calculateAtpValuesForSellableItem

protected AtpValues calculateAtpValuesForSellableItem(SellableItem sellableItem,
                                                      Inventory inventory)
                                               throws SystemException,
                                                      BusinessException
Throws:
SystemException
BusinessException

getQuantityConvertedFromStandardToSellingUOM

protected Quantity getQuantityConvertedFromStandardToSellingUOM(SellableItem sellableItem,
                                                                Quantity quantityInStandardUom)
                                                         throws SystemException,
                                                                BusinessException
Throws:
SystemException
BusinessException

getItemIds

protected java.util.Set getItemIds(java.util.Set items)

getInventoryManager

protected InventoryManager getInventoryManager()
                                        throws SystemException
Throws:
SystemException


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