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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEvent(Event event) Handle the given event.protected booleanisBlobDirty(DocumentModel targetDoc)
-
Constructor Details
-
TemplateInitListener
public TemplateInitListener()
-
-
Method Details
-
handleEvent
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
-