Class OrderContentRandomTaskCmdImpl

  • All Implemented Interfaces:
    MarketingSpotCommandBaseTaskCmd, OrderContentRandomTaskCmd, OrderContentTaskCmd,,,,,,

    public class OrderContentRandomTaskCmdImpl
    extends MarketingSpotCommandBaseTaskCmdImpl
    implements OrderContentRandomTaskCmd
    The default implementation of OrderContentRandomTaskCmd. This implementation will provide a weighted-random ordering of marketing content. The weighted-random algorithm will randomly select an ordering, giving those items with a higher priority a greater chance of being selected first. The marketing content priority is set to the priority of the associated activity.
    See Also:
    Serialized Form
    • Field Detail


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

        public static final java.lang.String CLASSNAME
        The name of this class.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrderContentRandomTaskCmdImpl

        public OrderContentRandomTaskCmdImpl()
    • Method Detail

      • setMarketingContent

        public void setMarketingContent(java.util.ArrayList content)
        Sets the marketing content to order.
        Specified by:
        setMarketingContent in interface OrderContentTaskCmd
        content - the array of marketing content objects to order.
      • getMarketingContent

        public java.util.ArrayList getMarketingContent()
        Gets the ordered marketing content.
        Specified by:
        getMarketingContent in interface OrderContentTaskCmd
        the array of marketing content ordered by the command.
      • performExecute

        public void performExecute()
        Performs the ordering of the items passed.
        Specified by:
        performExecute in interface
        performExecute in class MarketingSpotCommandBaseTaskCmdImpl
        See Also: