com.ibm.commerce.marketing.facade.server.commands

Class ProcessMarketingTriggerEvaluateOrder2ActionCmdImpl

  • All Implemented Interfaces:
    AbstractProcessNounActionCmd, ProcessMarketingTriggerActionCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ProcessMarketingTriggerEvaluateOrder2ActionCmdImpl
    extends ProcessMarketingTriggerEvaluateOrderActionCmdImpl
    implements ProcessMarketingTriggerActionCmd
    This command extends the function from the 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.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProcessMarketingTriggerEvaluateOrder2ActionCmdImpl

        public ProcessMarketingTriggerEvaluateOrder2ActionCmdImpl()
    • Method Detail

      • processOrder

        public void processOrder(OrderType order)
                          throws java.lang.Exception
        This method 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.
        Overrides:
        processOrder in class ProcessMarketingTriggerEvaluateOrderActionCmdImpl
        Parameters:
        order - The order business object.
        Throws:
        java.lang.Exception