com.ibm.commerce.marketing.runtime.util

Class RankingBrowsedProductCmdImpl

  • All Implemented Interfaces:
    BehaviorRuleTaskCmd, RankingBrowsedProductCmd, 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 RankingBrowsedProductCmdImpl
    extends BehaviorRuleTaskCmdImpl
    implements RankingBrowsedProductCmd
    The RankingBrowsedProductCmdImpl class is the implementation of RankingBrowsedProductCmd interface. It will be called when a customer browses a product under the specified category associated with a Display Top Browsed campaign element. It will call the method MarketingEngineCache.singleton().putRankingStatistic to persist the data to the DMRANKINGSTAT database table. Subsequently, the GenerateRankingPolicyCmd command will use these statistics to generate the Top Browsed ranking list.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • CLASS_NAME

        public static final java.lang.String CLASS_NAME
        The name of this class.
      • PARAM_PRODUCT_ID

        public static final java.lang.String PARAM_PRODUCT_ID
        Constant for trigger parameter "productId".
        See Also:
        Constant Field Values
      • PARAM_STORE_ID

        public static final java.lang.String PARAM_STORE_ID
        Constant for trigger parameter "storeId".
        See Also:
        Constant Field Values
    • Constructor Detail

      • RankingBrowsedProductCmdImpl

        public RankingBrowsedProductCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
        This method calls the method MarketingEngineCache.singleton().putRankingStatistic to persist the browse event to the DMRANKINGSTAT database table.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class BehaviorRuleTaskCmdImpl