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 Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.AbstractJob
getDescription, getGroup, getName, getTenantId, setDescription, setGroup, setName, setTenantId 
- 
Field Details
- 
REMINDER_DATE
- See Also:
 
 - 
REMINDER_ID
- See Also:
 
 - 
EVENT_ID
- See Also:
 
 - 
NAME_PREFIX
- See Also:
 
 - 
GROUP
The group under which the Job will be scheduled- See Also:
 
 
 - 
 - 
Constructor Details
- 
CalendarJob
public CalendarJob() - 
CalendarJob
 
 - 
 - 
Method Details
- 
execute
public void execute(org.quartz.JobExecutionContext executionContext) throws org.quartz.JobExecutionException - Throws:
 org.quartz.JobExecutionException
 - 
notifyEvent
public 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 notifyreminder- the current reminder- Throws:
 com.logicaldoc.core.PersistenceException- Error in the data layer
 
 -