Class CalendarJob

  • All Implemented Interfaces:
    org.quartz.Job

    public class CalendarJob
    extends com.logicaldoc.core.job.Job
    A job to handle the reminders of the calendar events
    Since:
    8.7.4
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • CalendarJob

        public CalendarJob()
      • CalendarJob

        public CalendarJob​(long eventId,
                           String label,
                           long tenantId)
    • Method Detail

      • 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 Exception
        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:
        Exception - error connecting to the mail server