Class SimpleTemplateBasedFactory
- java.lang.Object
-
- org.nuxeo.ecm.platform.content.template.factories.BaseContentFactory
-
- org.nuxeo.ecm.platform.content.template.factories.SimpleTemplateBasedFactory
-
- All Implemented Interfaces:
ContentFactory
- Direct Known Subclasses:
SimpleTemplateBasedRootFactory
public class SimpleTemplateBasedFactory extends BaseContentFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ACEDescriptor>
acl
protected List<TemplateItemDescriptor>
template
-
Fields inherited from class org.nuxeo.ecm.platform.content.template.factories.BaseContentFactory
session
-
-
Constructor Summary
Constructors Constructor Description SimpleTemplateBasedFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createContentStructure(DocumentModel eventDoc)
boolean
initFactory(Map<String,String> options, List<ACEDescriptor> rootAcl, List<TemplateItemDescriptor> template)
protected boolean
isTargetEmpty(DocumentModel eventDoc)
protected void
setAcl(List<ACEDescriptor> aces, DocumentRef ref)
protected void
setProperties(List<PropertyDescriptor> properties, DocumentModel doc)
-
Methods inherited from class org.nuxeo.ecm.platform.content.template.factories.BaseContentFactory
initSession
-
-
-
-
Field Detail
-
template
protected List<TemplateItemDescriptor> template
-
acl
protected List<ACEDescriptor> acl
-
-
Method Detail
-
isTargetEmpty
protected boolean isTargetEmpty(DocumentModel eventDoc)
-
createContentStructure
public void createContentStructure(DocumentModel eventDoc)
-
setProperties
protected void setProperties(List<PropertyDescriptor> properties, DocumentModel doc)
-
setAcl
protected void setAcl(List<ACEDescriptor> aces, DocumentRef ref)
-
initFactory
public boolean initFactory(Map<String,String> options, List<ACEDescriptor> rootAcl, List<TemplateItemDescriptor> template)
-
-