com.ibm.commerce.marketing.commands.elements

Class CustomerSearchesTriggerTaskCmdImpl

    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String CLASSNAME
        The name of this class.
      • PARAM_SEARCH_TERM_LIST

        public static final java.lang.String PARAM_SEARCH_TERM_LIST
        The parameter that identifies the values of the searchTerm parameter. This is used in the behavior rule to detect the occurrence of the event.
        See Also:
        Constant Field Values
      • PARAM_COMPARISON

        public static final java.lang.String PARAM_COMPARISON
        The parameter that identifies the comparison to use when checking the main parameter. This is used in the behavior rule to detect the occurrence of the event.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CustomerSearchesTriggerTaskCmdImpl

        public CustomerSearchesTriggerTaskCmdImpl()
    • Method Detail

      • validateParameters

        public java.util.List validateParameters(java.util.Map elementParameters)
        This method validates that all the required parameters have been set appropriately for the wait for search trigger. It calls the validateDates method to validate the optional date parameters. It checks for the existence of searchTerm, numberOfTimes, and comparison. If comparison is not equal to "any", then the searchTerm must be specified.
        Specified by:
        validateParameters in interface MarketingCampaignElementTaskCmd
        Overrides:
        validateParameters in class CustomerFilterUserBehaviorTargetTaskCmdImpl
        Parameters:
        elementParameters - The name value pairs for this element.
        Returns:
        This method returns a list of ApplicationError exceptions that contains any validation errors. The list may be empty or be null.