Class DailyReminderComputingJob

  • All Implemented Interfaces:
    org.quartz.Job

    @DisallowConcurrentExecution
    public class DailyReminderComputingJob
    extends Object
    implements org.quartz.Job
    This Job will be executed to compute exact reminder date for events of next two days. This will ensure to treat all occurrences of recurrent events. Knowing that Occurrences aren't stored in database, the reminder date of occurrences couldn't be retrieved by a simple Query. In addition, Reminder Job (that will be executed each minute), has to be performant to be able to send reminders on time. The outcome of this job is to store the exact reminder date of upcoming events (including occurrences) the next two days.
    • Constructor Detail

      • DailyReminderComputingJob

        public DailyReminderComputingJob()
    • Method Detail

      • execute

        public void execute​(org.quartz.JobExecutionContext context)
                     throws org.quartz.JobExecutionException
        Specified by:
        execute in interface org.quartz.Job
        Throws:
        org.quartz.JobExecutionException
      • getAgendaEventReminderService

        public org.exoplatform.agenda.service.AgendaEventReminderService getAgendaEventReminderService()