public interface SimulatedPromotionEvaluationTaskCmd extends TaskCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
Default implementation class for this command.
|
static long |
GENERIC_USER_ID
The generic user ID -1002.
|
static java.math.BigDecimal |
ONE
The constant - ONE.
|
static java.lang.Long |
SIMULATED_GENERIC_USER_ID
The generic user ID to use.
|
static long |
SIMULATED_ID
The ID constant uses for simulated order and order item.
|
static java.lang.Long |
SIMULATED_ORDER_ID
The simulated order ID.
|
static java.math.BigDecimal |
ZERO
The constant - ZERO.
|
| Modifier and Type | Method and Description |
|---|---|
PromotionArgument |
getEvaluationResult()
Gets the promotion evaluation result.
|
void |
setOrder(Order aOrder)
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 aTemplateName)
Sets the promotion template name.
|
void |
setSimulatedConfiguration(java.util.Map<java.lang.String,java.lang.String> aSimulatedConfiguration)
Sets the optional simulated configurations.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersstatic final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final long SIMULATED_ID
static final java.lang.Long SIMULATED_ORDER_ID
static final long GENERIC_USER_ID
static final java.lang.Long SIMULATED_GENERIC_USER_ID
static final java.math.BigDecimal ZERO
static final java.math.BigDecimal ONE
void setPromotionTemplateName(java.lang.String aTemplateName)
aTemplateName - The promotion template name to set.void setPromotionIDs(java.util.List<java.lang.String> aPromotionIDs)
aPromotionIDs - A list of promotion IDs.void setOrder(Order aOrder)
aOrder - The simulated order object.void setSimulatedConfiguration(java.util.Map<java.lang.String,java.lang.String> aSimulatedConfiguration)
aSimulatedComponents - A map of optional simulated configurations.PromotionArgument getEvaluationResult()