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, 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 SimulatedPromotionEvaluationTaskCmdImpl()
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 PromotionArgument getEvaluationResult()
SimulatedPromotionEvaluationTaskCmd
getEvaluationResult
in interface SimulatedPromotionEvaluationTaskCmd
SimulatedPromotionEvaluationTaskCmd.getEvaluationResult()
public void setPromotionTemplateName(java.lang.String templateName)
SimulatedPromotionEvaluationTaskCmd
setPromotionTemplateName
in interface SimulatedPromotionEvaluationTaskCmd
templateName
- The promotion template name to set.SimulatedPromotionEvaluationTaskCmd.setPromotionTemplateName(java.lang.String)
public void setOrder(Order order)
SimulatedPromotionEvaluationTaskCmd
setOrder
in interface SimulatedPromotionEvaluationTaskCmd
order
- 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)
SimulatedPromotionEvaluationTaskCmd
setSimulatedConfiguration
in interface SimulatedPromotionEvaluationTaskCmd
SimulatedPromotionEvaluationTaskCmd.setSimulatedConfiguration(java.util.Map)
public void setPromotionIDs(java.util.List<java.lang.String> aPromotionIDs)
SimulatedPromotionEvaluationTaskCmd
setPromotionIDs
in interface SimulatedPromotionEvaluationTaskCmd
aPromotionIDs
- A list of promotion IDs.SimulatedPromotionEvaluationTaskCmd.setPromotionIDs(java.util.List)