public class SimpleTemplateBasedFactory extends BaseContentFactory
Modifier and Type | Field and Description |
---|---|
protected List<ACEDescriptor> |
acl |
protected List<TemplateItemDescriptor> |
template |
session
Constructor and Description |
---|
SimpleTemplateBasedFactory() |
Modifier and Type | Method and 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) |
initSession
protected List<TemplateItemDescriptor> template
protected List<ACEDescriptor> acl
public SimpleTemplateBasedFactory()
protected boolean isTargetEmpty(DocumentModel eventDoc)
public void createContentStructure(DocumentModel eventDoc)
protected void setProperties(List<PropertyDescriptor> properties, DocumentModel doc)
protected void setAcl(List<ACEDescriptor> aces, DocumentRef ref)
public boolean initFactory(Map<String,String> options, List<ACEDescriptor> rootAcl, List<TemplateItemDescriptor> template)
Copyright © 2015 Nuxeo SA. All rights reserved.