public class UpdateThumbnailListener extends Object implements PostCommitEventListener
Modifier and Type | Field and Description |
---|---|
static String |
THUMBNAIL_UPDATED |
Constructor and Description |
---|
UpdateThumbnailListener() |
Modifier and Type | Method and Description |
---|---|
void |
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) |
public static final String THUMBNAIL_UPDATED
public UpdateThumbnailListener()
protected void processDoc(CoreSession session, DocumentModel doc)
public void handleEvent(EventBundle events)
PostCommitEventListener
The events are fired as a BundleEvent
after the transaction is committed.
handleEvent
in interface PostCommitEventListener
events
- the events to handleCopyright © 2015 Nuxeo SA. All rights reserved.