Package org.nuxeo.template.adapters
Class AbstractTemplateDocument
- java.lang.Object
-
- org.nuxeo.template.adapters.AbstractTemplateDocument
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TemplateBasedDocumentAdapterImpl
,TemplateSourceDocumentAdapterImpl
public abstract class AbstractTemplateDocument extends Object implements Serializable
Base class for shared code bewteen theTemplateBasedDocument
and theTemplateSourceDocument
.- Author:
- Tiry (tdelprat@nuxeo.com)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DocumentModel
adaptedDoc
protected static Log
log
-
Constructor Summary
Constructors Constructor Description AbstractTemplateDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doSave()
DocumentModel
getAdaptedDoc()
protected CoreSession
getSession()
DocumentModel
save()
-
-
-
Field Detail
-
adaptedDoc
protected DocumentModel adaptedDoc
-
-
Constructor Detail
-
AbstractTemplateDocument
public AbstractTemplateDocument()
-
-
Method Detail
-
getSession
protected CoreSession getSession()
-
getAdaptedDoc
public DocumentModel getAdaptedDoc()
-
doSave
protected void doSave()
-
save
public DocumentModel save()
-
-