Package org.exoplatform.agenda.listener
Class AgendaWebSocketEventReplyListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee>
org.exoplatform.agenda.listener.AgendaWebSocketEventReplyListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class AgendaWebSocketEventReplyListener
extends org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee>
A listener that will be triggered synchronously after saving user reply to an
event to transmit modifications to the end user himself via WebSocket. This
will allow to update listed events when the response changed switch filters
used to display event in UI.
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionAgendaWebSocketEventReplyListener(org.exoplatform.container.PortalContainer container, org.exoplatform.agenda.service.AgendaEventService agendaEventService, org.exoplatform.social.core.manager.IdentityManager identityManager, AgendaWebSocketService agendaWebSocketService) -
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.EventAttendee, org.exoplatform.agenda.model.EventAttendee> event) Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
AgendaWebSocketEventReplyListener
public AgendaWebSocketEventReplyListener(org.exoplatform.container.PortalContainer container, org.exoplatform.agenda.service.AgendaEventService agendaEventService, org.exoplatform.social.core.manager.IdentityManager identityManager, AgendaWebSocketService agendaWebSocketService)
-
-
Method Details
-
onEvent
public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.EventAttendee, org.exoplatform.agenda.model.EventAttendee> event) throws Exception- Specified by:
onEventin classorg.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee> - Throws:
Exception
-