com.ibm.commerce.marketing.commands.elements

Class SearchCriteriaTargetTaskCmdImpl

  • All Implemented Interfaces:
    MarketingCampaignElementTaskCmd, SearchCriteriaTargetTaskCmd, 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 SearchCriteriaTargetTaskCmdImpl
    extends MarketingCampaignElementTaskCmdImpl
    implements SearchCriteriaTargetTaskCmd
    This command extends the CustomerFilterUserBehaviorTargetTaskCmd command to check if a customer's user behavior matches the specified criteria. The customer's behavior is stored in the DMUSERBHVR database table. This command has validation for the Current Page target when the "Customer is viewing search results" option is selected.
    See Also:
    Serialized Form
    • 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.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SearchCriteriaTargetTaskCmdImpl

        public SearchCriteriaTargetTaskCmdImpl()
    • Method Detail

      • validateParameters

        public java.util.List validateParameters(java.util.Map parameters)
        This method validates that all the required parameters have been set appropriately for the target as specified in the behavior rule. It checks for the searchTermList parameter.
        Specified by:
        validateParameters in interface MarketingCampaignElementTaskCmd
        Overrides:
        validateParameters in class MarketingCampaignElementTaskCmdImpl
        Parameters:
        parameters - 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.
      • performExecute

        public void performExecute()
        The method override the base implementation of performExecute, it calls the base performExecute first, then processes meta data to check the search filter conditions.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class MarketingCampaignElementTaskCmdImpl