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 TypeMethodDescriptionvoid
execute
(org.quartz.JobExecutionContext executionContext) void
notifyEvent
(Event event, Reminder reminder) Notifies an event by creating the system messages and emails.
-
Field Details
-
Constructor Details
-
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
-