Class PrincipalRenameListener
java.lang.Object
ch.tocco.nice2.userbase.impl.entitylistener.PrincipalRenameListener
- All Implemented Interfaces:
EntityFacadeListener,EntityListener,EventListener
Listens for changes of the principal name.
The contributed listeners are notified for change of the current username.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidentityChanging(EntityChangedEvent event) Fired when any changes are made to an entity.voidentityUpdated(EntityEvent event) Fired for updated entities after the transaction committed successfully.voidsetPrincipalRenameHandlers(List<PrincipalRenameHandler> handlers) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.persist.core.api.entity.events.EntityFacadeListener
entityCreating, entityDeleting, entityReceivedValues, entityRelationChanging, handleSessionOnlyEntityMethods inherited from interface ch.tocco.nice2.persist.core.api.entity.events.EntityListener
entityCreated, entityDeleted
-
Constructor Details
-
PrincipalRenameListener
-
-
Method Details
-
setPrincipalRenameHandlers
-
entityUpdated
Description copied from interface:EntityListenerFired for updated entities after the transaction committed successfully.- Specified by:
entityUpdatedin interfaceEntityListener
-
entityChanging
Description copied from interface:EntityFacadeListenerFired when any changes are made to an entity.- Specified by:
entityChangingin interfaceEntityFacadeListener- Parameters:
event- The event object.
-