Package org.exoplatform.agenda.listener
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 beforeAgendaEventReminderService.getReminderComputingPeriod()(in days). In fact this listener will ensure that the processing made inDailyReminderComputingJobis applied on all events, even those that are created the same day.
-
-
Constructor Summary
Constructors Constructor Description AgendaEventReminderComputingListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.agenda.service.AgendaEventReminderServicegetAgendaEventReminderService()org.exoplatform.agenda.service.AgendaEventServicegetAgendaEventService()voidonEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.AgendaEventModification,Object> event)
-
-
-
Method Detail
-
onEvent
public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.AgendaEventModification,Object> event) throws Exception
-
getAgendaEventReminderService
public org.exoplatform.agenda.service.AgendaEventReminderService getAgendaEventReminderService()
-
getAgendaEventService
public org.exoplatform.agenda.service.AgendaEventService getAgendaEventService()
-
-