public class SimulatedPromotionEvaluationTaskCmdImpl extends TaskCommandImpl implements SimulatedPromotionEvaluationTaskCmd
| 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, GENERIC_USER_ID, ONE, SIMULATED_GENERIC_USER_ID, SIMULATED_ID, SIMULATED_ORDER_ID, ZERO| Constructor and Description |
|---|
SimulatedPromotionEvaluationTaskCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
PromotionArgument |
getEvaluationResult()
Gets the promotion evaluation result.
|
void |
performExecute()
This method evaluates the simulated order.
|
void |
setOrder(Order order)
Sets simulated order.
|
void |
setPromotionIDs(java.util.List<java.lang.String> aPromotionIDs)
Sets a list of promotion IDs that will be evaluated.
|
void |
setPromotionTemplateName(java.lang.String templateName)
Sets the promotion template name.
|
void |
setSimulatedConfiguration(java.util.Map<java.lang.String,java.lang.String> aSimulatedConfiguration)
Sets the optional simulated configurations.
|
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, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public SimulatedPromotionEvaluationTaskCmdImpl()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionAbstractECTargetableCommand.performExecute()public PromotionArgument getEvaluationResult()
SimulatedPromotionEvaluationTaskCmdgetEvaluationResult in interface SimulatedPromotionEvaluationTaskCmdSimulatedPromotionEvaluationTaskCmd.getEvaluationResult()public void setPromotionTemplateName(java.lang.String templateName)
SimulatedPromotionEvaluationTaskCmdsetPromotionTemplateName in interface SimulatedPromotionEvaluationTaskCmdtemplateName - The promotion template name to set.SimulatedPromotionEvaluationTaskCmd.setPromotionTemplateName(java.lang.String)public void setOrder(Order order)
SimulatedPromotionEvaluationTaskCmdsetOrder in interface SimulatedPromotionEvaluationTaskCmdorder - The simulated order object.SimulatedPromotionEvaluationTaskCmd.setOrder(com.ibm.commerce.marketing.promotion.dependency.Order)public void setSimulatedConfiguration(java.util.Map<java.lang.String,java.lang.String> aSimulatedConfiguration)
SimulatedPromotionEvaluationTaskCmdsetSimulatedConfiguration in interface SimulatedPromotionEvaluationTaskCmdSimulatedPromotionEvaluationTaskCmd.setSimulatedConfiguration(java.util.Map)public void setPromotionIDs(java.util.List<java.lang.String> aPromotionIDs)
SimulatedPromotionEvaluationTaskCmdsetPromotionIDs in interface SimulatedPromotionEvaluationTaskCmdaPromotionIDs - A list of promotion IDs.SimulatedPromotionEvaluationTaskCmd.setPromotionIDs(java.util.List)