Package com.logicaldoc.calendar
Class CalendarJob
java.lang.Object
com.logicaldoc.core.job.AbstractJob
com.logicaldoc.calendar.CalendarJob
- All Implemented Interfaces:
- org.quartz.Job
public class CalendarJob
extends com.logicaldoc.core.job.AbstractJob
A job to handle the reminders of the calendar events
- Since:
- 8.7.4
- Author:
- Marco Meschieri - LogicalDOC
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute(org.quartz.JobExecutionContext executionContext) voidnotifyEvent(Event event, Reminder reminder) Notifies an event by creating the system messages and emails.Methods inherited from class com.logicaldoc.core.job.AbstractJobgetDescription, getGroup, getName, getTenantId, setDescription, setGroup, setName, setTenantId
- 
Field Details- 
REMINDER_DATE- See Also:
 
- 
REMINDER_ID- See Also:
 
- 
EVENT_ID- See Also:
 
- 
EVENT- See Also:
 
- 
NAME_PREFIX- See Also:
 
- 
GROUPThe group under which the Job will be scheduled- See Also:
 
 
- 
- 
Constructor Details- 
CalendarJobpublic CalendarJob()
- 
CalendarJob
 
- 
- 
Method Details- 
executepublic void execute(org.quartz.JobExecutionContext executionContext) throws org.quartz.JobExecutionException - Throws:
- org.quartz.JobExecutionException
 
- 
notifyEventpublic void notifyEvent(Event event, Reminder reminder) throws com.logicaldoc.core.PersistenceException Notifies an event by creating the system messages and emails. It also create future occurrences if the case.- Parameters:
- event- the event to notify
- reminder- the current reminder
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
 
-