Class ReplacementEvent
- java.lang.Object
-
- org.silverpeas.core.notification.system.AbstractResourceEvent<Replacement>
-
- org.silverpeas.core.workflow.engine.user.ReplacementEvent
-
- All Implemented Interfaces:
Serializable
,ResourceEvent<Replacement>
public class ReplacementEvent extends AbstractResourceEvent<Replacement>
Event about the replacements of users in a given workflow. Such events are fired when an operation was performed on a replacement such as the creation, the deletion, and so on.- Author:
- mmoquillon
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.silverpeas.core.notification.system.ResourceEvent
ResourceEvent.Type
-
-
Constructor Summary
Constructors Constructor Description ReplacementEvent(ResourceEvent.Type type, Replacement... states)
Constructs a new event about a given replacement.
-
Method Summary
-
Methods inherited from class org.silverpeas.core.notification.system.AbstractResourceEvent
equals, getParameters, getParameterValue, getTransition, getType, hashCode, putParameter
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.notification.system.ResourceEvent
isOnCreation, isOnDeletion, isOnRemoving, isOnUpdate
-
-
-
-
Constructor Detail
-
ReplacementEvent
public ReplacementEvent(ResourceEvent.Type type, Replacement... states)
Constructs a new event about a given replacement.- Parameters:
type
- the type of the event reflecting the cause of it (creation, deletion, ...)states
- the replacement concerned by the event as it was before the cause of that event and once the cause was done. If there is no state before the cause, then just passe the state after (case of the creation). If there is no state after the cause, then just passe the state before (case of the deletion).
-
-