public class BaseTemplateAction extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected org.jboss.seam.faces.FacesMessages |
facesMessages |
protected static org.apache.commons.logging.Log |
log |
protected Map<String,String> |
messages |
protected NavigationContext |
navigationContext |
protected TemplateInput |
newInput |
protected List<TemplateInput> |
templateEditableInputs |
Constructor and Description |
---|
BaseTemplateAction() |
Modifier and Type | Method and Description |
---|---|
String |
addTemplateInput() |
boolean |
canAddTemplateInputs() |
boolean |
canResetParameters() |
boolean |
canUpdateTemplateInputs(String templateName) |
List<TemplateSourceDocument> |
getAvailableOfficeTemplates(String targetType) |
TemplateSourceDocument |
getCurrentDocumentAsTemplateSourceDocument() |
List<RenditionDefinition> |
getRenditions() |
DocumentModel |
resolveTemplateById(String uuid) |
protected static final org.apache.commons.logging.Log log
@In(create=true) protected transient NavigationContext navigationContext
@In(create=true, required=false) protected transient CoreSession documentManager
@In(create=true, required=false) protected org.jboss.seam.faces.FacesMessages facesMessages
protected List<TemplateInput> templateEditableInputs
protected TemplateInput newInput
public BaseTemplateAction()
public boolean canAddTemplateInputs()
public boolean canUpdateTemplateInputs(String templateName)
public boolean canResetParameters()
public TemplateSourceDocument getCurrentDocumentAsTemplateSourceDocument()
public DocumentModel resolveTemplateById(String uuid)
public List<RenditionDefinition> getRenditions()
public List<TemplateSourceDocument> getAvailableOfficeTemplates(String targetType)
public String addTemplateInput()
Copyright © 2018 Nuxeo. All rights reserved.