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.
|
defaultCommandClassName
Constructor and Description |
---|
CreateSimulatedOrderTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
Order |
getOrder()
Gets the created Order 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.
|
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.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
AbstractECTargetableCommand.performExecute()
public void setCatalogEntryMap(java.util.Map<java.lang.String,java.math.BigDecimal> aCatalogEntryMap)
setCatalogEntryMap
in interface CreateSimulatedOrderTaskCmd
aCatalogEntryMap
- The Map object.CreateSimulatedOrderTaskCmd.setCatalogEntryMap(java.util.Map)
public void setOrderId(long orderId)
CreateSimulatedOrderTaskCmd
setOrderId
in interface CreateSimulatedOrderTaskCmd
orderId
- The order ID.CreateSimulatedOrderTaskCmd.setOrderId(long)
public void setStoreKey(StoreKey storeKey)
CreateSimulatedOrderTaskCmd
setStoreKey
in interface CreateSimulatedOrderTaskCmd
storeKey
- The StoreKey object to set.CreateSimulatedOrderTaskCmd.setStoreKey(com.ibm.commerce.marketing.promotion.dependency.StoreKey)
public Order getOrder()
CreateSimulatedOrderTaskCmd
getOrder
in interface CreateSimulatedOrderTaskCmd
CreateSimulatedOrderTaskCmd.getOrder()
public void setOwnerKey(CustomerKey customerKey)
CreateSimulatedOrderTaskCmd
setOwnerKey
in interface CreateSimulatedOrderTaskCmd
customerKey
- The CustomerKey object to set.CreateSimulatedOrderTaskCmd.setOwnerKey(com.ibm.commerce.marketing.promotion.dependency.CustomerKey)