@Name(value="templateBasedActions") @Scope(value=CONVERSATION) public class TemplateBasedActionBean extends BaseTemplateAction
Constructor and Description |
---|
TemplateBasedActionBean() |
canAddTemplateInputs, canUpdateTemplateInputs, getAvailableOfficeTemplates, getCurrentDocumentAsTemplateSourceDocument, getRenditions, resolveTemplateById
public List<TemplateInput> getTemplateInputs()
public void setTemplateInputs(List<TemplateInput> templateInputs)
@Observer(value={"documentSelectionChanged","changeableDocumentCreated","documentChanged"}, create=false) @BypassInterceptors public void reset()
public List<TemplateInput> getTemplateEditableInputs() throws Exception
Exception
public void setTemplateEditableInputs(List<TemplateInput> templateEditableInputs)
public TemplateInput getNewInput()
public void setNewInput(TemplateInput newInput)
public boolean canResetParameters() throws ClientException
canResetParameters
in class BaseTemplateAction
ClientException
public boolean canDetachTemplate(String templateName) throws ClientException
ClientException
public String getTemplateIdToAssociate()
public void setTemplateIdToAssociate(String templateIdToAssociate)
public void associateDocumentToTemplate() throws ClientException
ClientException
public boolean canRenderAndStore()
public String getEditableTemplateName()
public void setEditableTemplateName(String editableTemplateName)
public List<TemplateSourceDocument> getBindableTemplatesForDocument() throws ClientException
ClientException
public List<javax.faces.model.SelectItem> getBindableTemplatesForDocumentAsSelectItems() throws ClientException
ClientException
@Factory(value="currentTemplateBasedDocument", scope=EVENT) public TemplateBasedDocument getCurrentDocumentAsTemplateBasedDocument()
@Factory(value="associatedRenderableTemplates", scope=EVENT) public List<TemplateSourceDocument> getRenderableTemplates() throws Exception
Exception
Copyright © 2015 Nuxeo SA. All rights reserved.