Class PictureViewsGenerationListener
- java.lang.Object
-
- org.nuxeo.ecm.platform.picture.listener.PictureViewsGenerationListener
-
- All Implemented Interfaces:
PostCommitEventListener
public class PictureViewsGenerationListener extends Object implements PostCommitEventListener
Listener updating pre-filling the views of a Picture if the main Blob has changed.- Since:
- 5.5
- Author:
- Thomas Roger
-
-
Field Summary
Fields Modifier and Type Field Description static String
DISABLE_PICTURE_VIEWS_GENERATION_LISTENER
-
Constructor Summary
Constructors Constructor Description PictureViewsGenerationListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleEvent(Event event)
void
handleEvent(EventBundle events)
Handles the set of events that were raised during the life of an user operation.
-
-
-
Field Detail
-
DISABLE_PICTURE_VIEWS_GENERATION_LISTENER
public static final String DISABLE_PICTURE_VIEWS_GENERATION_LISTENER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PictureViewsGenerationListener
public PictureViewsGenerationListener()
-
-
Method Detail
-
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 interfacePostCommitEventListener
- Parameters:
events
- the events to handle
-
handleEvent
protected void handleEvent(Event event)
-
-