com.ibm.commerce.promotion.commands

Interface ProcessExpiredPromotionsCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    ProcessExpiredPromotionsCmdImpl


    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

      • COPYRIGHT

        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
        Parameters:
        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.
        Parameters:
        numDays - Number of days the promotions can be expired for.