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
entityCreated
(EntityEvent event) Fired for newly created entities after the transaction committed successfully.void
entityDeleted
(EntityEvent event) Fired for deleted entities after the transaction committed successfully.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
-
Constructor Details
-
PrincipalRenameListener
-
-
Method Details
-
setPrincipalRenameHandlers
-
entityCreated
Description copied from interface:EntityListener
Fired for newly created entities after the transaction committed successfully.- Specified by:
entityCreated
in interfaceEntityListener
-
entityUpdated
Description copied from interface:EntityListener
Fired for updated entities after the transaction committed successfully.- Specified by:
entityUpdated
in interfaceEntityListener
-
entityDeleted
Description copied from interface:EntityListener
Fired for deleted entities after the transaction committed successfully.- Specified by:
entityDeleted
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.
-