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, org.exoplatform.services.listener.ListenerBase<org.exoplatform.agenda.model.AgendaEventModification,Object>

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.
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.agenda.service.AgendaEventReminderService
     
    org.exoplatform.agenda.service.AgendaEventService
     
    void
    onEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.AgendaEventModification,Object> event)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.services.listener.ListenerBase

    getName
  • 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
      Throws:
      Exception
    • getAgendaEventReminderService

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

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