Class AgendaEventReminderComputingListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.AgendaEventModification,Object>
org.exoplatform.agenda.listener.AgendaEventReminderComputingListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class AgendaEventReminderComputingListener extends org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.AgendaEventModification,Object>
This listener will persist occurrences of recurrent event, that will trigger its reminders before AgendaEventReminderService.getReminderComputingPeriod() (in days). In fact this listener will ensure that the processing made in DailyReminderComputingJob is applied on all events, even those that are created the same day.
  • Constructor Details

    • AgendaEventReminderComputingListener

      public AgendaEventReminderComputingListener()
  • Method Details

    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.AgendaEventModification,Object> event) throws Exception
      Specified by:
      onEvent in class org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.AgendaEventModification,Object>
      Throws:
      Exception
    • getAgendaEventReminderService

      public org.exoplatform.agenda.service.AgendaEventReminderService getAgendaEventReminderService()
    • getAgendaEventService

      public org.exoplatform.agenda.service.AgendaEventService getAgendaEventService()