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.
-
-
Constructor Summary
Constructors Constructor Description AgendaWebSocketEventReplyListener(org.exoplatform.container.PortalContainer container, org.exoplatform.agenda.service.AgendaEventService agendaEventService, org.exoplatform.social.core.manager.IdentityManager identityManager, AgendaWebSocketService agendaWebSocketService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee> event)
-
-
-
Constructor Detail
-
AgendaWebSocketEventReplyListener
public AgendaWebSocketEventReplyListener(org.exoplatform.container.PortalContainer container, org.exoplatform.agenda.service.AgendaEventService agendaEventService, org.exoplatform.social.core.manager.IdentityManager identityManager, AgendaWebSocketService agendaWebSocketService)
-
-
Method Detail
-
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
-
-