Package org.camunda.bpm.engine.impl.form
Class FormDataImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.form.FormDataImpl
-
- All Implemented Interfaces:
java.io.Serializable,FormData
- Direct Known Subclasses:
StartFormDataImpl,TaskFormDataImpl
public abstract class FormDataImpl extends java.lang.Object implements FormData, java.io.Serializable
- Author:
- Tom Baeyens, Daniel Meyer
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CamundaFormRefcamundaFormRefprotected java.lang.StringdeploymentIdprotected java.util.List<FormField>formFieldsprotected java.lang.StringformKeyprotected java.util.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.java.lang.StringgetDeploymentId()The deployment id of the process definition to which this form is relatedjava.util.List<FormField>getFormFields()returns the form fields which make up this form.java.lang.StringgetFormKey()User-defined reference to a form.java.util.List<FormProperty>getFormProperties()Properties containing the dynamic information that needs to be displayed in the form.voidsetCamundaFormRef(CamundaFormRef camundaFormRef)voidsetDeploymentId(java.lang.String deploymentId)voidsetFormFields(java.util.List<FormField> formFields)voidsetFormKey(java.lang.String formKey)voidsetFormProperties(java.util.List<FormProperty> formProperties)
-
-
-
Field Detail
-
formKey
protected java.lang.String formKey
-
camundaFormRef
protected CamundaFormRef camundaFormRef
-
deploymentId
protected java.lang.String deploymentId
-
formProperties
protected java.util.List<FormProperty> formProperties
-
formFields
protected java.util.List<FormField> formFields
-
-
Method Detail
-
getFormKey
public java.lang.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(java.lang.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 java.lang.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(java.lang.String deploymentId)
-
getFormProperties
public java.util.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(java.util.List<FormProperty> formProperties)
-
getFormFields
public java.util.List<FormField> getFormFields()
Description copied from interface:FormDatareturns the form fields which make up this form.- Specified by:
getFormFieldsin interfaceFormData
-
setFormFields
public void setFormFields(java.util.List<FormField> formFields)
-
-