Package org.nuxeo.template.listeners
Class TemplateInitListener
- java.lang.Object
-
- org.nuxeo.template.listeners.TemplateInitListener
-
- All Implemented Interfaces:
EventListener
public class TemplateInitListener extends Object implements EventListener
Listener to manage initialization :- of the TemplateSourceDocument : init the parameters
- of the other DocumentModels if they need to be automatically associated to a template
- Author:
- Tiry ([email protected])
-
-
Constructor Summary
Constructors Constructor Description TemplateInitListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleEvent(Event event)Handle the given event.protected booleanisBlobDirty(DocumentModel targetDoc)
-
-
-
Method Detail
-
handleEvent
public void handleEvent(Event event)
Description copied from interface:EventListenerHandle the given event. The listener can cancel the event by callingEvent.cancel()- Specified by:
handleEventin interfaceEventListener- Parameters:
event- the event
-
isBlobDirty
protected boolean isBlobDirty(DocumentModel targetDoc)
-
-