Class DailyReminderComputingJob

java.lang.Object
org.exoplatform.agenda.job.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 Details

    • DailyReminderComputingJob

      public DailyReminderComputingJob()
  • Method Details

    • 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()