com.ibm.commerce.marketing.commands.elements

Class SpecifyTopSearchResultActionTaskCmdImpl

    • 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

      • SpecifyTopSearchResultActionTaskCmdImpl

        public SpecifyTopSearchResultActionTaskCmdImpl()
        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 search query, search term list, or parameter USER_USER_SEARCH_TERM, among these 3 input values, there must be at least one not empty.
        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.