Interface ProcessExpiredPromotionsCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface ProcessExpiredPromotionsCmd
    extends TaskCommand
    This task command interface is to process expired promotions to either delete, deactivate, archive, or report expired promotions that have been expired for x number of days.
    • Field Detail


        static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The class name
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class name.
        See Also:
        Constant Field Values
    • Method Detail

      • setAction

        void setAction(java.lang.String action)
        Sets the action
        action - The action to take on the expired promotions. Valid actions are: deactivate, report, archive, delete
      • setNumberOfDays

        void setNumberOfDays(int numDays)
        Sets the number of days the promotions can be expired for. This is subtracted from current time.
        numDays - Number of days the promotions can be expired for.