Package de.xima.fc.gui.bean.project
Class FormExportBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class FormExportBean extends AProjectDetailsBean
Bean for configuring the print export of projects- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.bean.AEntityDetailsBean
entity
-
-
Constructor Summary
Constructors Constructor Description FormExportBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
applyProcessingConfiguration()
List<String>
completeActionName(String queryString)
List<String>
completeResourceName(String queryString)
String
getActionName()
Map<String,String>
getAllLanguages()
List<Status>
getAllStates()
Deprecated.List<WorkflowTask>
getAllTasks()
List<javax.faces.model.SelectItem>
getAllTemplates()
EFormExportFormat
getExportFormat()
String
getFormResourceName()
String
getLanguage()
String
getPersistData()
FileProvidingWrapper
getSelectedTemplate()
Status
getState()
Deprecated.org.primefaces.model.DefaultStreamedContent
getStreamedContent()
WorkflowTask
getTask()
protected void
init(IEntityContext ec, Projekt project)
void
initByDesigner(Long formVersionId, Long wfVersionId)
AJAX listener callback invoked when the blank form dialog is opened from the button in the form and workflow designer.void
initByExternal()
AJAX listener callback invoked when the form summary dialog is opened from the button in the form overview outside of the designer.boolean
isCreateNewAction()
boolean
isKeepPlaceholder()
boolean
isOverrideExistingAction()
boolean
isOverrideExistingResource()
boolean
isSaveAsFormResource()
boolean
isUsesNewWorkflow()
void
setActionName(String actionName)
void
setCreateNewAction(boolean createNewAction)
void
setExportFormat(EFormExportFormat exportFormat)
void
setFormResourceName(String formResourceName)
void
setKeepPlaceholder(boolean keepPlaceholder)
void
setLanguage(String language)
void
setOverrideExistingAction(boolean overrideExistingAction)
void
setOverrideExistingResource(boolean overrideExistingResource)
void
setPersistData(String persistData)
void
setSaveAsFormResource(boolean saveAsFormResource)
void
setSelectedTemplate(FileProvidingWrapper selectedTemplate)
void
setState(Status state)
Deprecated.void
setTask(WorkflowTask task)
void
updateAllStates()
Deprecated.void
updateAllTemplates()
Deprecated.void
updateModel()
Deprecated.void
updateResourceName()
void
validateResourceName(javax.faces.context.FacesContext context, javax.faces.component.UIComponent comp, Object value)
-
Methods inherited from class de.xima.fc.gui.bean.project.AProjectDetailsBean
getCurrentProjectBean, getDao, getProject, getSessionBean, reloadProject, save, setCurrentProjectBean, setEntity, setEntity, setProject, setProject, setSessionBean
-
Methods inherited from class de.xima.fc.gui.bean.AEntityDetailsBean
getEntity
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msg
-
-
-
-
Method Detail
-
applyProcessingConfiguration
public void applyProcessingConfiguration()
-
getStreamedContent
public org.primefaces.model.DefaultStreamedContent getStreamedContent()
-
getActionName
public String getActionName()
-
getAllStates
@Deprecated public List<Status> getAllStates()
Deprecated.
-
getAllTasks
public List<WorkflowTask> getAllTasks()
-
getAllTemplates
public List<javax.faces.model.SelectItem> getAllTemplates()
-
getExportFormat
public EFormExportFormat getExportFormat()
-
getFormResourceName
public String getFormResourceName()
-
getLanguage
public String getLanguage()
-
getPersistData
public String getPersistData()
-
getSelectedTemplate
public FileProvidingWrapper getSelectedTemplate()
-
getState
@Deprecated public Status getState()
Deprecated.
-
getTask
public WorkflowTask getTask()
-
initByDesigner
public void initByDesigner(Long formVersionId, Long wfVersionId)
AJAX listener callback invoked when the blank form dialog is opened from the button in the form and workflow designer.- Parameters:
formVersionId
- ID of theFormVersion
currently loaded in the designer.wfVersionId
- ID of theWorkflowVersion
currently loaded in the designer.
-
initByExternal
public void initByExternal()
AJAX listener callback invoked when the form summary dialog is opened from the button in the form overview outside of the designer.
-
isCreateNewAction
public boolean isCreateNewAction()
-
isKeepPlaceholder
public boolean isKeepPlaceholder()
-
isOverrideExistingAction
public boolean isOverrideExistingAction()
-
isOverrideExistingResource
public boolean isOverrideExistingResource()
-
isSaveAsFormResource
public boolean isSaveAsFormResource()
-
isUsesNewWorkflow
public boolean isUsesNewWorkflow()
-
setActionName
public void setActionName(String actionName)
-
setCreateNewAction
public void setCreateNewAction(boolean createNewAction)
-
setExportFormat
public void setExportFormat(EFormExportFormat exportFormat)
-
setFormResourceName
public void setFormResourceName(String formResourceName)
-
setKeepPlaceholder
public void setKeepPlaceholder(boolean keepPlaceholder)
-
setLanguage
public void setLanguage(String language)
-
setOverrideExistingAction
public void setOverrideExistingAction(boolean overrideExistingAction)
-
setOverrideExistingResource
public void setOverrideExistingResource(boolean overrideExistingResource)
-
setPersistData
public void setPersistData(String persistData)
-
setSaveAsFormResource
public void setSaveAsFormResource(boolean saveAsFormResource)
-
setSelectedTemplate
public void setSelectedTemplate(FileProvidingWrapper selectedTemplate)
-
setState
@Deprecated public void setState(Status state)
Deprecated.
-
setTask
public void setTask(WorkflowTask task)
-
updateAllStates
@Deprecated public void updateAllStates()
Deprecated.
-
updateAllTemplates
@Deprecated public void updateAllTemplates()
Deprecated.
-
updateModel
@Deprecated public void updateModel()
Deprecated.
-
updateResourceName
public void updateResourceName()
-
validateResourceName
public void validateResourceName(javax.faces.context.FacesContext context, javax.faces.component.UIComponent comp, Object value)
-
init
protected void init(IEntityContext ec, Projekt project)
- Overrides:
init
in classAEntityDetailsBean<Projekt>
-
-