Class ClearContentUriCacheEntityListener
java.lang.Object
ch.tocco.nice2.dms.impl.entitylistener.ClearContentUriCacheEntityListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
Listener that clears the
ContentUriCache
when any ContentTreeNode
's path changes-
Constructor Summary
ConstructorDescriptionClearContentUriCacheEntityListener
(ContentUriCache contentUriCache, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
entityChanging
(EntityChangedEvent event) Fired when any changes are made to an entity.void
entityDeleting
(EntityFacadeEvent event) Fired when an entity is being deleted.void
Fired when a relation of an entity has been changed.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, entityReceivedValues, handleSessionOnlyEntity
-
Constructor Details
-
ClearContentUriCacheEntityListener
public ClearContentUriCacheEntityListener(ContentUriCache contentUriCache, SecurityManager securityManager)
-
-
Method Details
-
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.
-
entityRelationChanging
Description copied from interface:EntityFacadeListener
Fired when a relation of an entity has been changed.- Specified by:
entityRelationChanging
in interfaceEntityFacadeListener
- Parameters:
event
- The event object.
-
entityDeleting
Description copied from interface:EntityFacadeListener
Fired when an entity is being deleted.- Specified by:
entityDeleting
in interfaceEntityFacadeListener
- Parameters:
event
- The event Object
-