Package sonia.scm.user
Class UserModificationEvent
java.lang.Object
sonia.scm.event.AbstractHandlerEvent<User>
sonia.scm.user.UserEvent
sonia.scm.user.UserModificationEvent
- All Implemented Interfaces:
HandlerEvent<User>
,ModificationHandlerEvent<User>
@Event
public class UserModificationEvent
extends UserEvent
implements ModificationHandlerEvent<User>
Event which is fired whenever a user is modified.
- Since:
- 1.48
-
Constructor Summary
ConstructorsConstructorDescriptionUserModificationEvent
(HandlerEventType eventType, User item, User itemBeforeModification) Constructs a newUserModificationEvent
. -
Method Summary
Modifier and TypeMethodDescriptionReturns item, before it was modified.Methods inherited from class sonia.scm.event.AbstractHandlerEvent
equals, getEventType, getItem, getOldItem, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface sonia.scm.event.HandlerEvent
getEventType, getItem, getOldItem
-
Constructor Details
-
UserModificationEvent
Constructs a newUserModificationEvent
.- Parameters:
eventType
- type of eventitem
- changed useritemBeforeModification
- changed user before it was modified
-
-
Method Details
-
getItemBeforeModification
Description copied from interface:ModificationHandlerEvent
Returns item, before it was modified.- Specified by:
getItemBeforeModification
in interfaceModificationHandlerEvent<User>
-