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 void
handleEvent(Event event)
Handle the given event.protected boolean
isBlobDirty(DocumentModel targetDoc)
-
-
-
Method Detail
-
handleEvent
public void handleEvent(Event event)
Description copied from interface:EventListener
Handle the given event. The listener can cancel the event by callingEvent.cancel()
- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-
isBlobDirty
protected boolean isBlobDirty(DocumentModel targetDoc)
-
-