com.ibm.commerce.marketing.commands.elements

Class ReplaceOrAddSearchCriteriaActionTaskCmdImpl

    • 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.
    • Constructor Detail

      • ReplaceOrAddSearchCriteriaActionTaskCmdImpl

        public ReplaceOrAddSearchCriteriaActionTaskCmdImpl()
        This method is the default constructor. It currently performs no actions.
    • Method Detail

      • performExecute

        public void performExecute()
        This method sets which products should be displayed in an e-Marketing Spot by searching upon search terms specified by the element parameters.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class MarketingCampaignElementTaskCmdImpl
      • validateParameters

        public java.util.List validateParameters(java.util.Map parameters)
        This method validates that all the required name value pairs have been set for the campaign element. It checks for "order by" parameters, filter parameters, among these 2 group of parameters, there must be at least one valid.
        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.