Class X_AD_Schedule

    • Constructor Detail

      • X_AD_Schedule

        public X_AD_Schedule​(Properties ctx,
                             int AD_Schedule_ID,
                             String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        4 - System
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAD_Schedule_ID

        public void setAD_Schedule_ID​(int AD_Schedule_ID)
        Set Schedule.
        Specified by:
        setAD_Schedule_ID in interface I_AD_Schedule
        Parameters:
        AD_Schedule_ID - Schedule
      • setAD_Schedule_UU

        public void setAD_Schedule_UU​(String AD_Schedule_UU)
        Set AD_Schedule_UU.
        Specified by:
        setAD_Schedule_UU in interface I_AD_Schedule
        Parameters:
        AD_Schedule_UU - AD_Schedule_UU
      • setCronPattern

        public void setCronPattern​(String CronPattern)
        Set Cron Scheduling Pattern.
        Specified by:
        setCronPattern in interface I_AD_Schedule
        Parameters:
        CronPattern - Cron pattern to define when the process should be invoked.
      • getCronPattern

        public String getCronPattern()
        Get Cron Scheduling Pattern.
        Specified by:
        getCronPattern in interface I_AD_Schedule
        Returns:
        Cron pattern to define when the process should be invoked.
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_AD_Schedule
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_AD_Schedule
        Returns:
        Optional short description of the record
      • setFrequency

        public void setFrequency​(int Frequency)
        Set Frequency.
        Specified by:
        setFrequency in interface I_AD_Schedule
        Parameters:
        Frequency - Frequency of events
      • getFrequency

        public int getFrequency()
        Get Frequency.
        Specified by:
        getFrequency in interface I_AD_Schedule
        Returns:
        Frequency of events
      • setFrequencyType

        public void setFrequencyType​(String FrequencyType)
        Set Frequency Type.
        Specified by:
        setFrequencyType in interface I_AD_Schedule
        Parameters:
        FrequencyType - Frequency of event
      • setIsIgnoreProcessingTime

        public void setIsIgnoreProcessingTime​(boolean IsIgnoreProcessingTime)
        Set Ignore Processing Time.
        Specified by:
        setIsIgnoreProcessingTime in interface I_AD_Schedule
        Parameters:
        IsIgnoreProcessingTime - Do not include processing time for the DateNextRun calculation
      • isIgnoreProcessingTime

        public boolean isIgnoreProcessingTime()
        Get Ignore Processing Time.
        Specified by:
        isIgnoreProcessingTime in interface I_AD_Schedule
        Returns:
        Do not include processing time for the DateNextRun calculation
      • setIsSystemSchedule

        public void setIsSystemSchedule​(boolean IsSystemSchedule)
        Set System Schedule.
        Specified by:
        setIsSystemSchedule in interface I_AD_Schedule
        Parameters:
        IsSystemSchedule - Schedule Just For System
      • isSystemSchedule

        public boolean isSystemSchedule()
        Get System Schedule.
        Specified by:
        isSystemSchedule in interface I_AD_Schedule
        Returns:
        Schedule Just For System
      • setMonthDay

        public void setMonthDay​(int MonthDay)
        Set Day of the Month.
        Specified by:
        setMonthDay in interface I_AD_Schedule
        Parameters:
        MonthDay - Day of the month 1 to 28/29/30/31
      • getMonthDay

        public int getMonthDay()
        Get Day of the Month.
        Specified by:
        getMonthDay in interface I_AD_Schedule
        Returns:
        Day of the month 1 to 28/29/30/31
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_AD_Schedule
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_AD_Schedule
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setRunOnlyOnIP

        public void setRunOnlyOnIP​(String RunOnlyOnIP)
        Set Run only on IP.
        Specified by:
        setRunOnlyOnIP in interface I_AD_Schedule
        Parameters:
        RunOnlyOnIP - Run only on IP
      • setScheduleType

        public void setScheduleType​(String ScheduleType)
        Set Schedule Type.
        Specified by:
        setScheduleType in interface I_AD_Schedule
        Parameters:
        ScheduleType - Type of schedule
      • setWeekDay

        public void setWeekDay​(String WeekDay)
        Set Day of the Week.
        Specified by:
        setWeekDay in interface I_AD_Schedule
        Parameters:
        WeekDay - Day of the Week