com.ibm.commerce.marketing.commands.elements

Class DisplayBrowsedCategoriesActionTaskCmdImpl

  • All Implemented Interfaces:
    DisplayBrowsedCategoriesActionTaskCmd, MarketingCampaignElementTaskCmd, 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 DisplayBrowsedCategoriesActionTaskCmdImpl
    extends MarketingCampaignElementTaskCmdImpl
    implements DisplayBrowsedCategoriesActionTaskCmd
    This command sets which recently viewed categories should be displayed in an e-Marketing Spot. The list of the recently viewed categories can is stored in the DMUSERBHVR database entry for the customer. The configuration in wc-admin-component.xml determines if the entries are persisted in the database, or if they just remain in the marketing cache.
    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

      • DisplayBrowsedCategoriesActionTaskCmdImpl

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

      • performExecute

        public void performExecute()
        This method sets which recently viewed categories should be displayed in an e-Marketing Spot.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class MarketingCampaignElementTaskCmdImpl
      • validateParameters

        public java.util.List validateParameters(java.util.Map elementParameters)
        This method validates that all the required name value pairs have been set for the campaign element. It checks for numberOfTimes.
        Specified by:
        validateParameters in interface MarketingCampaignElementTaskCmd
        Overrides:
        validateParameters in class MarketingCampaignElementTaskCmdImpl
        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.