- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin
public class AgendaEventReminderListener
extends org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee>
A listener that will be triggered when a new response is sent to an event.
This will update user reminders switch his/her default reminders. If the user
changed the response on an event from 'Yes' or 'May be' to 'No', then all
user reminders on the event has to be deleted automatically. When the user
changes his reponse from 'No' or 'Needs action' (default) to 'Yes' or 'May
be', then the default user reminders has to be added automatically. This
listener is triggered synchronously to ensure that the Event gets all its
updates (including user reminders) before returning the Event entity on REST
endpoint in order to display the updated response + added/removed reminders.