Package org.nuxeo.template.listeners
Class TemplateInitListener
java.lang.Object
org.nuxeo.template.listeners.TemplateInitListener
- All Implemented Interfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(Event event) Handle the given event.protected boolean
isBlobDirty
(DocumentModel targetDoc)
-
Constructor Details
-
TemplateInitListener
public TemplateInitListener()
-
-
Method Details
-
handleEvent
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
-