Package org.exoplatform.agenda.listener
Class AgendaCalendarSharedListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.CalendarShare,Long>
org.exoplatform.agenda.listener.AgendaCalendarSharedListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.services.listener.ListenerBase<org.exoplatform.agenda.model.CalendarShare,Long>
public class AgendaCalendarSharedListener
extends org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.CalendarShare,Long>
Sends the "a calendar was shared with you" notification once a share is
recorded (EXO-90357). Glue only, the shape of
AgendaEventReplyListener:
the share service broadcasts, this hands the record to the notification
framework, which decides the channels from the colleague's settings.-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionAgendaCalendarSharedListener(org.exoplatform.container.ExoContainer container) Builds the listener. -
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.CalendarShare, Long> event) Dispatches the notification of a recorded share.voidsendCalendarSharedNotification(org.exoplatform.agenda.model.CalendarShare share) Hands a share to the notification framework.Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.services.listener.ListenerBase
getName
-
Constructor Details
-
AgendaCalendarSharedListener
public AgendaCalendarSharedListener(org.exoplatform.container.ExoContainer container) Builds the listener.- Parameters:
container- the portal container the notification runs in
-
-
Method Details