public class ProcessMarketingTriggerEvaluateOrderActionCmdImpl extends ProcessMarketingTriggerActionCmdImpl implements ProcessMarketingTriggerActionCmd
Modifier and Type | Field and Description |
---|---|
protected static URLCommandTaskCmd | urlCmd
The class that implements the url commands methods.
|
Constructor and Description |
---|
ProcessMarketingTriggerEvaluateOrderActionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | addToExperimentRevenue(OrderType order, OrderItemType orderItem, Dmexplog experimentLogEntry, boolean clicked, java.util.Hashtable experimentTestElementViewRevenue, java.util.Hashtable experimentTestElementClickRevenue, StoreAccessBean sab)
This method updates the experiment statistics maps by incrementing the revenue associated with the test with the value or the order or order item.
|
protected void | addToExperimentRevenue(OrderType order, OrderItemType orderItem, Dmexplog experimentLogEntry, boolean clicked, java.util.Map experimentTestElementViewRevenue, java.util.Map experimentTestElementClickRevenue, StoreAccessBean sab)
This method updates the experiment statistics maps by incrementing the revenue associated with the test with the value or the order or order item.
|
protected boolean | checkCatalogEntry(java.lang.String catalogEntryId, java.util.List catalogEntries)
This method checks if a given catalog entry is in a list of catalog entries.
|
protected boolean | checkCatalogGroup(java.lang.String categoryId, java.util.List catalogGroups)
This method checks if a given catalog group is in a list of catalog groups.
|
protected boolean | checkCustomData(OrderType order, OrderItemType orderItem, Dmexplog experimentLogEntry, java.util.List catalogGroups, java.util.List catalogEntries)
This method should be overridden by a customization.
|
protected java.util.List | getParentCatalogEntriesOfCatalogEntry(CatalogFacadeClient catalogFacade, java.lang.String catalogEntryUniqueId, java.util.List existingParentCatalogEntryList)
This method gets the parent catalog entries of the specified catalog entry.
|
protected java.lang.String | getParentCatalogEntryOfCatalogEntry(CatalogFacadeClient catalogFacade, java.lang.String childCatalogEntryId)
This method gets the parent catalog entry of a child catalog entry.
|
protected java.util.List | getParentCategoriesOfCatalogEntry(CatalogFacadeClient catalogFacade, java.lang.String catalogEntryUniqueId, java.util.List existingParentCategoryList)
This method gets all the parent catalog groups of the specified catalog entry.
|
protected java.lang.String | getParentCategoryOfCatalogEntry(CatalogFacadeClient catalogFacade, java.lang.String childCatalogEntryId)
This method gets the parent category of a product catalog entry.
|
protected java.lang.String | getParentCategoryOfCategory(CatalogFacadeClient catalogFacade, java.lang.String childCategoryId)
This method gets the parent category of a category.
|
void | performExecute()
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.
|
void | processOrder(OrderType order)
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.
|
protected boolean | useAdjustmentByUsage(java.lang.String usage)
This method gets if an adjustment in an order should be used when calculating the revenue of the order.
|
protected static URLCommandTaskCmd urlCmd
public ProcessMarketingTriggerEvaluateOrderActionCmdImpl()
public void processOrder(OrderType order) throws java.lang.Exception
public void performExecute() throws java.lang.Exception
protected void addToExperimentRevenue(OrderType order, OrderItemType orderItem, Dmexplog experimentLogEntry, boolean clicked, java.util.Hashtable experimentTestElementViewRevenue, java.util.Hashtable experimentTestElementClickRevenue, StoreAccessBean sab) throws java.lang.Exception
protected void addToExperimentRevenue(OrderType order, OrderItemType orderItem, Dmexplog experimentLogEntry, boolean clicked, java.util.Map experimentTestElementViewRevenue, java.util.Map experimentTestElementClickRevenue, StoreAccessBean sab) throws java.lang.Exception
protected java.util.List getParentCategoriesOfCatalogEntry(CatalogFacadeClient catalogFacade, java.lang.String catalogEntryUniqueId, java.util.List existingParentCategoryList) throws CatalogGroupException
protected boolean checkCustomData(OrderType order, OrderItemType orderItem, Dmexplog experimentLogEntry, java.util.List catalogGroups, java.util.List catalogEntries)
protected boolean checkCatalogGroup(java.lang.String categoryId, java.util.List catalogGroups)
protected java.util.List getParentCatalogEntriesOfCatalogEntry(CatalogFacadeClient catalogFacade, java.lang.String catalogEntryUniqueId, java.util.List existingParentCatalogEntryList) throws CatalogEntryException
protected boolean checkCatalogEntry(java.lang.String catalogEntryId, java.util.List catalogEntries)
protected java.lang.String getParentCategoryOfCatalogEntry(CatalogFacadeClient catalogFacade, java.lang.String childCatalogEntryId) throws CatalogGroupException
protected java.lang.String getParentCategoryOfCategory(CatalogFacadeClient catalogFacade, java.lang.String childCategoryId) throws CatalogGroupException
protected java.lang.String getParentCatalogEntryOfCatalogEntry(CatalogFacadeClient catalogFacade, java.lang.String childCatalogEntryId) throws CatalogEntryException
protected boolean useAdjustmentByUsage(java.lang.String usage)