Class UpdateThumbnailListener

java.lang.Object
org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener
All Implemented Interfaces:
PostCommitEventListener

public class UpdateThumbnailListener extends Object implements PostCommitEventListener
Thumbnail listener handling creation and update of thumbnail preview on main blob update, for documents holding the schema "file".
Since:
5.7
  • Field Details

  • Constructor Details

    • UpdateThumbnailListener

      public UpdateThumbnailListener()
  • Method Details

    • processDoc

      protected void processDoc(CoreSession session, DocumentModel doc)
    • handleEvent

      public void handleEvent(EventBundle events)
      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 interface PostCommitEventListener
      Parameters:
      events - the events to handle