Package org.jbpm.designer.taskforms
Class TaskFormTemplateManager
- java.lang.Object
-
- org.jbpm.designer.taskforms.TaskFormTemplateManager
-
public class TaskFormTemplateManager extends Object
Manager for task form templates.
-
-
Field Summary
Fields Modifier and Type Field Description static String
TASKFORMS_PATH
-
Constructor Summary
Constructors Constructor Description TaskFormTemplateManager(org.uberfire.backend.vfs.Path myPath, BPMNFormBuilderManager formBuilderManager, IDiagramProfile profile, Asset processAsset, String templatesPath, org.eclipse.bpmn2.Definitions def, String taskId, String formType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
generatePlatformForms(TaskFormInfo tfi)
void
generateTemplates()
void
generateUserTaskForm(org.eclipse.bpmn2.UserTask utask, org.eclipse.bpmn2.Process process, List<org.eclipse.bpmn2.Property> processProperties)
String
getAssetName()
String
getPackageName()
List<TaskFormInfo>
getTaskFormInformationList()
String
getTemplatesPath()
void
processTemplates()
String
readFile(String pathname)
void
setAssetName(String assetName)
void
setPackageName(String packageName)
void
setTaskFormInformationList(List<TaskFormInfo> taskFormInformationList)
void
setTemplatesPath(String templatesPath)
-
-
-
Field Detail
-
TASKFORMS_PATH
public static final String TASKFORMS_PATH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TaskFormTemplateManager
public TaskFormTemplateManager(org.uberfire.backend.vfs.Path myPath, BPMNFormBuilderManager formBuilderManager, IDiagramProfile profile, Asset processAsset, String templatesPath, org.eclipse.bpmn2.Definitions def, String taskId, String formType)
-
-
Method Detail
-
processTemplates
public void processTemplates()
-
generateUserTaskForm
public void generateUserTaskForm(org.eclipse.bpmn2.UserTask utask, org.eclipse.bpmn2.Process process, List<org.eclipse.bpmn2.Property> processProperties)
-
generateTemplates
public void generateTemplates()
-
generatePlatformForms
protected void generatePlatformForms(TaskFormInfo tfi) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
readFile
public String readFile(String pathname) throws IOException
- Throws:
IOException
-
getTaskFormInformationList
public List<TaskFormInfo> getTaskFormInformationList()
-
getTemplatesPath
public String getTemplatesPath()
-
setTemplatesPath
public void setTemplatesPath(String templatesPath)
-
getAssetName
public String getAssetName()
-
setAssetName
public void setAssetName(String assetName)
-
setTaskFormInformationList
public void setTaskFormInformationList(List<TaskFormInfo> taskFormInformationList)
-
getPackageName
public String getPackageName()
-
setPackageName
public void setPackageName(String packageName)
-
-