com.ibm.commerce.marketing.commands.marketingspot

Interface OrderCategoryTaskCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, MarketingSpotCommandBaseTaskCmd, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Subinterfaces:
    OrderCategoryRandomTaskCmd
    All Known Implementing Classes:
    OrderCategoryRandomTaskCmdImpl


    public interface OrderCategoryTaskCmd
    extends MarketingSpotCommandBaseTaskCmd
    The interface to all commands used to provide an ordering of eMarketingSpot category data. The eMarketingSpot bean uses implementations of this interface to determine the final ordering of categories that are displayed in the eMarketingSpot. All custom implementations of categories ordering for eMarketingSpots must implement this interface.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.util.ArrayList getCategories()
      Gets the ordered categories.
      void setCategories(java.util.ArrayList categories)
      Sets the categories to order.
      • Methods inherited from interface com.ibm.websphere.command.CacheableCommand

        executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

        getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
      • Methods inherited from interface com.ibm.websphere.command.Command

        execute, isReadyToCallExecute, reset
      • Methods inherited from interface com.ibm.websphere.command.CommandCaller

        unionDependencies
    • Field Detail

      • COPYRIGHT

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

      • setCategories

        void setCategories(java.util.ArrayList categories)
        Sets the categories to order.
        Parameters:
        categories - the array of category objects the eMarketingSpot
      • getCategories

        java.util.ArrayList getCategories()
        Gets the ordered categories.
        Returns:
        the array of categories ordered by the command.