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 Details

  • Constructor Details

    • CalendarJob

      public CalendarJob()
    • CalendarJob

      public CalendarJob(long eventId, String label, long tenantId)
  • 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 notify
      reminder - the current reminder
      Throws:
      com.logicaldoc.core.PersistenceException - Error in the data layer