Class 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

      Constructors 
      Constructor Description
      AgendaWebSocketEventReplyListener​(org.exoplatform.container.PortalContainer container, org.exoplatform.agenda.service.AgendaEventService agendaEventService, org.exoplatform.social.core.manager.IdentityManager identityManager, AgendaWebSocketService agendaWebSocketService)  
    • 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:
        onEvent in class org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.EventAttendee,​org.exoplatform.agenda.model.EventAttendee>
        Throws:
        Exception