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 CamundaFormRef
camundaFormRef
protected String
deploymentId
protected List<FormField>
formFields
protected String
formKey
protected List<FormProperty>
formProperties
-
Constructor Summary
Constructors Constructor Description FormDataImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CamundaFormRef
getCamundaFormRef()
User-defined reference to a form.String
getDeploymentId()
The deployment id of the process definition to which this form is relatedList<FormField>
getFormFields()
returns the form fields which make up this form.String
getFormKey()
User-defined reference to a form.List<FormProperty>
getFormProperties()
Properties containing the dynamic information that needs to be displayed in the form.void
setCamundaFormRef(CamundaFormRef camundaFormRef)
void
setDeploymentId(String deploymentId)
void
setFormFields(List<FormField> formFields)
void
setFormKey(String formKey)
void
setFormProperties(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:FormData
User-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:
getFormKey
in interfaceFormData
-
setFormKey
public void setFormKey(String formKey)
-
getCamundaFormRef
public CamundaFormRef getCamundaFormRef()
Description copied from interface:FormData
User-defined reference to a form. ACamundaFormRef
can 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:
getCamundaFormRef
in interfaceFormData
-
setCamundaFormRef
public void setCamundaFormRef(CamundaFormRef camundaFormRef)
-
getDeploymentId
public String getDeploymentId()
Description copied from interface:FormData
The deployment id of the process definition to which this form is related- Specified by:
getDeploymentId
in interfaceFormData
-
setDeploymentId
public void setDeploymentId(String deploymentId)
-
getFormProperties
public List<FormProperty> getFormProperties()
Description copied from interface:FormData
Properties containing the dynamic information that needs to be displayed in the form.- Specified by:
getFormProperties
in interfaceFormData
-
setFormProperties
public void setFormProperties(List<FormProperty> formProperties)
-
getFormFields
public List<FormField> getFormFields()
Description copied from interface:FormData
returns the form fields which make up this form.- Specified by:
getFormFields
in interfaceFormData
-
-