public class CreateSimulatedOrderTaskCmdImpl extends TaskCommandImpl implements CreateSimulatedOrderTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CreateSimulatedOrderTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.math.BigDecimal> | getCatalogEntryMap()
Gets the Map object that contains the CatalogEntry ID and its quantity information for building the simulated order input.
|
Order | getOrder()
Gets the created Order object.
|
protected long | getOrderId()
Gets the Order ID.
|
protected CustomerKey | getOwnerKey()
Gets the Owner key object.
|
protected StoreKey | getStoreKey()
Gets the StoreKey object.
|
void | performExecute()
This method calls the CreateSimulatedOrderItemTaskCmd to create simulated OrderItems and compose them into the simulated order.
|
void | setCatalogEntryMap(java.util.Map<java.lang.String,java.math.BigDecimal> aCatalogEntryMap)
This implementation only support ItemBean or PackageBean type of CatalogEntry.
|
protected void | setOrder(Order order)
Sets the Order object.
|
void | setOrderId(long orderId)
Sets the order ID for the simulated order.
|
void | setOwnerKey(CustomerKey customerKey)
Sets the CustomerKey object of the owner of the simulated order.
|
void | setStoreKey(StoreKey storeKey)
Sets the StoreKey object.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void performExecute() throws ECException
protected java.util.Map<java.lang.String,java.math.BigDecimal> getCatalogEntryMap()
public void setCatalogEntryMap(java.util.Map<java.lang.String,java.math.BigDecimal> aCatalogEntryMap)
protected long getOrderId()
public void setOrderId(long orderId)
protected StoreKey getStoreKey()
public void setStoreKey(StoreKey storeKey)
public Order getOrder()
protected void setOrder(Order order)
protected CustomerKey getOwnerKey()
public void setOwnerKey(CustomerKey customerKey)