Class ThumbnailRemovalEntityListener
java.lang.Object
ch.tocco.nice2.dms.impl.entitylistener.ThumbnailRemovalEntityListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
Removes any existing thumbnails once a new binary gets set. Thus new thumbnails will be generated on requests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
entityChanging
(EntityChangedEvent event) Fired when any changes are made to an entity.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
-
ThumbnailRemovalEntityListener
-
-
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.
-