Class UpdateThumbnailListener
java.lang.Object
org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener
- All Implemented Interfaces:
PostCommitEventListener
Thumbnail listener handling creation and update of thumbnail preview on main blob update, for documents holding the
schema "file".
- Since:
- 5.7
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(EventBundle events) Handles the set of events that were raised during the life of an user operation.protected void
processDoc
(CoreSession session, DocumentModel doc)
-
Field Details
-
THUMBNAIL_UPDATED
- See Also:
-
thumbnailHelper
-
-
Constructor Details
-
UpdateThumbnailListener
public UpdateThumbnailListener()
-
-
Method Details
-
processDoc
-
handleEvent
Description copied from interface:PostCommitEventListener
Handles the set of events that were raised during the life of an user operation.The events are fired as a
BundleEvent
after the transaction is committed.- Specified by:
handleEvent
in interfacePostCommitEventListener
- Parameters:
events
- the events to handle
-