Class ReplacementNotifier
- java.lang.Object
-
- org.silverpeas.core.notification.system.CDIAfterSuccessfulTransactionResourceEventListener<ReplacementEvent>
-
- org.silverpeas.core.workflow.engine.notification.ReplacementNotifier
-
- All Implemented Interfaces:
ResourceEventListener<ReplacementEvent>
public class ReplacementNotifier extends CDIAfterSuccessfulTransactionResourceEventListener<ReplacementEvent>
Notifier to the concerned users about an event occurring on a replacement. For example, about the creation of a replacement between them or the deletion of an existing replacement.- Author:
- mmoquillon
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.notification.system.CDIAfterSuccessfulTransactionResourceEventListener
logger
-
-
Constructor Summary
Constructors Constructor Description ReplacementNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCreation(ReplacementEvent event)
An event on the creation of a resource has be listened.void
onDeletion(ReplacementEvent event)
An event on the deletion of a resource has be listened.void
onUpdate(ReplacementEvent event)
An event on the update of a resource has be listened.-
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, onRemoving, onUnlock
-
-
-
-
Method Detail
-
onDeletion
public void onDeletion(ReplacementEvent event)
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.
-
onUpdate
public void onUpdate(ReplacementEvent 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.
-
onCreation
public void onCreation(ReplacementEvent 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.
-
-