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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
entityChanging
(EntityChangedEvent event) Fired when any changes are made to an entity.void
entityUpdated
(EntityEvent event) Fired for updated entities after the transaction committed successfully.void
setPrincipalRenameHandlers
(List<PrincipalRenameHandler> handlers) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.entity.events.EntityFacadeListener
entityCreating, entityDeleting, entityReceivedValues, entityRelationChanging, handleSessionOnlyEntity
Methods 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:EntityListener
Fired for updated entities after the transaction committed successfully.- Specified by:
entityUpdated
in interfaceEntityListener
-
entityChanging
Description copied from interface:EntityFacadeListener
Fired when any changes are made to an entity.- Specified by:
entityChanging
in interfaceEntityFacadeListener
- Parameters:
event
- The event object.
-