Package org.camunda.bpm.engine.impl.form
Class FormDataImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.form.FormDataImpl
-
- All Implemented Interfaces:
Serializable,FormData
- Direct Known Subclasses:
StartFormDataImpl,TaskFormDataImpl
public abstract class FormDataImpl extends Object implements FormData, Serializable
- Author:
- Tom Baeyens, Daniel Meyer
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CamundaFormRefcamundaFormRefprotected StringdeploymentIdprotected List<FormField>formFieldsprotected StringformKeyprotected List<FormProperty>formProperties
-
Constructor Summary
Constructors Constructor Description FormDataImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CamundaFormRefgetCamundaFormRef()User-defined reference to a form.StringgetDeploymentId()The deployment id of the process definition to which this form is relatedList<FormField>getFormFields()returns the form fields which make up this form.StringgetFormKey()User-defined reference to a form.List<FormProperty>getFormProperties()Properties containing the dynamic information that needs to be displayed in the form.voidsetCamundaFormRef(CamundaFormRef camundaFormRef)voidsetDeploymentId(String deploymentId)voidsetFormFields(List<FormField> formFields)voidsetFormKey(String formKey)voidsetFormProperties(List<FormProperty> formProperties)
-
-
-
Field Detail
-
formKey
protected String formKey
-
camundaFormRef
protected CamundaFormRef camundaFormRef
-
deploymentId
protected String deploymentId
-
formProperties
protected List<FormProperty> formProperties
-
-
Method Detail
-
getFormKey
public String getFormKey()
Description copied from interface:FormDataUser-defined reference to a form. In the Camunda Tasklist application, it is assumed that the form key specifies a resource in the deployment which is the template for the form. But users are free to use this property differently. A form can be referenced either through a form key or through aCamundaFormRef.- Specified by:
getFormKeyin interfaceFormData
-
setFormKey
public void setFormKey(String formKey)
-
getCamundaFormRef
public CamundaFormRef getCamundaFormRef()
Description copied from interface:FormDataUser-defined reference to a form. ACamundaFormRefcan specify any Camunda Form deployed to the engine with any deployment. It is also possible to specify a specific version of a deployed form. A form can be referenced either through a form key or through aCamundaFormRef.- Specified by:
getCamundaFormRefin interfaceFormData
-
setCamundaFormRef
public void setCamundaFormRef(CamundaFormRef camundaFormRef)
-
getDeploymentId
public String getDeploymentId()
Description copied from interface:FormDataThe deployment id of the process definition to which this form is related- Specified by:
getDeploymentIdin interfaceFormData
-
setDeploymentId
public void setDeploymentId(String deploymentId)
-
getFormProperties
public List<FormProperty> getFormProperties()
Description copied from interface:FormDataProperties containing the dynamic information that needs to be displayed in the form.- Specified by:
getFormPropertiesin interfaceFormData
-
setFormProperties
public void setFormProperties(List<FormProperty> formProperties)
-
getFormFields
public List<FormField> getFormFields()
Description copied from interface:FormDatareturns the form fields which make up this form.- Specified by:
getFormFieldsin interfaceFormData
-
-