com.ibm.commerce.marketing.commands.elements

Interface BehaviorRuleTaskCmd

  • All Superinterfaces:
    com.ibm.websphere.command.Command, java.io.Serializable
    All Known Subinterfaces:
    RankingBrowsedProductCmd
    All Known Implementing Classes:
    BehaviorRuleTaskCmdImpl, RankingBrowsedProductCmdImpl


    public interface BehaviorRuleTaskCmd
    extends com.ibm.websphere.command.Command
    This command should be implemented by customizations that want to do custom processing when a behavior rule is matched. The task command will be passed the definition of the rule that matched, as well as the current request parameters.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String defaultCommandClassName
      Default implementation class for this command.
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setParentCategoriesOfCategory(java.util.List categories)
      This method sets the list of parent categories of the current category being viewed.
      void setParentCategoriesOfProduct(java.util.List categories)
      This method sets the list of parent categories of the current product being viewed.
      void setReferralUrl(java.lang.String referralUrl)
      This method sets referral URL associated with the current request.
      void setTriggerParameters(java.util.Map triggerParameters)
      This method sets the trigger parameters associated with the current request.
      void setUserBehaviorRule(UserBehaviorRule userBehaviorRule)
      This method sets the behavior rule that was matched.
      • Methods inherited from interface com.ibm.websphere.command.Command

        execute, isReadyToCallExecute, reset
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        Default implementation class for this command.
    • Method Detail

      • setTriggerParameters

        void setTriggerParameters(java.util.Map triggerParameters)
        This method sets the trigger parameters associated with the current request.
        Parameters:
        triggerParameters - A Map containing the trigger parameters.
      • setUserBehaviorRule

        void setUserBehaviorRule(UserBehaviorRule userBehaviorRule)
        This method sets the behavior rule that was matched.
        Parameters:
        userBehaviorRule - The behavior rule business object.
      • setReferralUrl

        void setReferralUrl(java.lang.String referralUrl)
        This method sets referral URL associated with the current request.
        Parameters:
        referralUrl - The referral URL associated with the current request.
      • setParentCategoriesOfProduct

        void setParentCategoriesOfProduct(java.util.List categories)
        This method sets the list of parent categories of the current product being viewed.
        Parameters:
        categories - A List of category IDs as strings.
      • setParentCategoriesOfCategory

        void setParentCategoriesOfCategory(java.util.List categories)
        This method sets the list of parent categories of the current category being viewed.
        Parameters:
        categories - A List of category IDs as strings.