Package org.exoplatform.agenda.job
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 Summary
Constructors Constructor Description DailyReminderComputingJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(org.quartz.JobExecutionContext context)org.exoplatform.agenda.service.AgendaEventReminderServicegetAgendaEventReminderService()
-
-
-
Method Detail
-
execute
public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException- Specified by:
executein interfaceorg.quartz.Job- Throws:
org.quartz.JobExecutionException
-
getAgendaEventReminderService
public org.exoplatform.agenda.service.AgendaEventReminderService getAgendaEventReminderService()
-
-