public class ProcessMarketingTriggerEvaluateOrder2ActionCmdImpl extends ProcessMarketingTriggerEvaluateOrderActionCmdImpl implements ProcessMarketingTriggerActionCmd
ProcessMarketingTriggerEvaluateOrderActionCmdImpl
command. It first calls that command to evaluate if the order was influenced by any experiments.
Then this command checks if there are any Display Best Sellers campaign elements.
These elements are identified by having the rankingBasedOnOrders
element name-value pair.
For the categories specified in those campaign elements, this command checks if the items purchased
in this order are in the specified categories. If they are, then the data is recorded
in the DMRANKINGSTAT database table. Subsequently, the GenerateRankingPolicyCmd
command will use these statistics to generate the Best Sellers ranking list.Constructor and Description |
---|
ProcessMarketingTriggerEvaluateOrder2ActionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
processOrder(OrderType order)
This method checks if there are any Display Best Sellers campaign elements.
|
performExecute
getIncludeSalesTax, setIncludeSalesTax, validate
getChangeBusinessObjectMediator, getChangeControlBusinessObjectMediator
getActionExpression, getNoun, isGeneric, isReadyToCallExecute, reset, setActionExpression, setNoun, setPersistentObjects
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, 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
setIncludeSalesTax
isGeneric, setActionExpression, setNoun, setPersistentObjects, validate
public ProcessMarketingTriggerEvaluateOrder2ActionCmdImpl()
public void processOrder(OrderType order) throws java.lang.Exception
rankingBasedOnOrders
element name-value pair.
For the categories specified in those campaign elements, this command checks if the items purchased
in this order are in the specified categories. If they are, then the data is recorded
in the DMRANKINGSTAT database table. Subsequently, the GenerateRankingPolicyCmd
command will use these statistics to generate the Best Sellers ranking list.processOrder
in class ProcessMarketingTriggerEvaluateOrderActionCmdImpl
order
- The order business object.java.lang.Exception