Class CalendarEventNotifier
- java.lang.Object
-
- org.silverpeas.core.notification.system.CDIAfterSuccessfulTransactionResourceEventListener<T>
-
- org.silverpeas.core.calendar.notification.AbstractNotifier<CalendarEventLifeCycleEvent>
-
- org.silverpeas.core.calendar.notification.CalendarEventNotifier
-
- All Implemented Interfaces:
ResourceEventListener<CalendarEventLifeCycleEvent>
public class CalendarEventNotifier extends AbstractNotifier<CalendarEventLifeCycleEvent>
Notifier to the attendees of a calendar event about a change in the lifecycle of this event.- Author:
- mmoquillon
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.notification.system.CDIAfterSuccessfulTransactionResourceEventListener
logger
-
-
Constructor Summary
Constructors Constructor Description CalendarEventNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCreation(CalendarEventLifeCycleEvent event)
An event on the creation of a resource has be listened.void
onDeletion(CalendarEventLifeCycleEvent event)
An event on the deletion of a resource has be listened.void
onUpdate(CalendarEventLifeCycleEvent event)
An event on the update of a resource has be listened.-
Methods inherited from class org.silverpeas.core.calendar.notification.AbstractNotifier
attendeesIn, concernedAttendeesIn, ownerOf
-
Methods inherited from class org.silverpeas.core.notification.system.CDIAfterSuccessfulTransactionResourceEventListener
onEvent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.notification.system.ResourceEventListener
dispatchEvent, isEnabled, onMove, onRecovery, onRemoving, onUnlock
-
-
-
-
Method Detail
-
onCreation
public void onCreation(CalendarEventLifeCycleEvent event)
Description copied from interface:ResourceEventListener
An event on the creation of a resource has be listened. By default, this method does nothing.- Parameters:
event
- the event on the creation of a resource.
-
onUpdate
public void onUpdate(CalendarEventLifeCycleEvent event)
Description copied from interface:ResourceEventListener
An event on the update of a resource has be listened. By default, this method does nothing.- Parameters:
event
- the event on the update of a resource.
-
onDeletion
public void onDeletion(CalendarEventLifeCycleEvent event) throws Exception
Description copied from interface:ResourceEventListener
An event on the deletion of a resource has be listened. A deleted resource is nonexistent and nonrecoverable. By default, this method does nothing.- Parameters:
event
- the event on the deletion of a resource.- Throws:
Exception
- if an error occurs while treating the event.
-
-