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

Class ProcessMarketingTriggerEvaluateOrderActionCmdImpl

  • 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
    Direct Known Subclasses:
    ProcessMarketingTriggerEvaluateOrder2ActionCmdImpl


    public class ProcessMarketingTriggerEvaluateOrderActionCmdImpl
    extends ProcessMarketingTriggerActionCmdImpl
    implements ProcessMarketingTriggerActionCmd
    This command evaluates if an order was influenced by any eMarketing Spots that were displayed to a customer. It attempts to correlate an order that was placed by a customer to the data that was displayed to the customer in the eMarketing Spots in the store. For all the data that was displayed to the customer (within the defined session length for the corresponding experiment), the order items are checked to see if they can be associated with the eMarketing Spot data.
    • If the eMarketing Spot data was a product, then did the customer purchase any item under the product. If so, then associate the order item with the test element.
    • If the eMarketing Spot data was an item, then did the customer purchase the item. If so, then associate the order item with the test element.
    • If the eMarketing Spot data was a category, then did the customer purchase any item under the category. If so, then associate the order item with the test element.
    • If the eMarketing Spot data was a marketing content, and the marketing content is associated with a product, then did the customer purchase any item under the product. If so, then associate the order item with the test element.
    • If the eMarketing Spot data was a marketing content, and the marketing content is associated with a category, then did the customer purchase any item under the category. If so, then associate the order item with the test element.
    • If the eMarketing Spot data was a marketing content, and the marketing content not is associated with a category or product, then associate the content with the test element.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProcessMarketingTriggerEvaluateOrderActionCmdImpl

        public ProcessMarketingTriggerEvaluateOrderActionCmdImpl()
    • Method Detail

      • processOrder

        public void processOrder(OrderType order)
                          throws java.lang.Exception
        This method attempts to correlate an order that was placed by a customer to the data that was displayed to the customer in the eMarketing Spots in the store.
        Parameters:
        order - The order business object.
        Throws:
        java.lang.Exception
      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        This method attempts to correlate an order that was placed by a customer to the data that was displayed to the customer in the eMarketing Spots in the store.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class ProcessMarketingTriggerActionCmdImpl
        Throws:
        java.lang.Exception