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
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<ACEDescriptor>
protected List<TemplateItemDescriptor>
Fields inherited from class org.nuxeo.ecm.platform.content.template.factories.BaseContentFactory
session
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
template
-
acl
-
-
Constructor Details
-
SimpleTemplateBasedFactory
public SimpleTemplateBasedFactory()
-
-
Method Details
-
isTargetEmpty
-
createContentStructure
-
setProperties
-
setAcl
-
initFactory
public boolean initFactory(Map<String, String> options, List<ACEDescriptor> rootAcl, List<TemplateItemDescriptor> template)
-