Class DefaultFormHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.form.handler.DefaultFormHandler
-
- All Implemented Interfaces:
FormHandler
- Direct Known Subclasses:
DefaultStartFormHandler,DefaultTaskFormHandler
public class DefaultFormHandler extends Object implements FormHandler
- Author:
- Tom Baeyens, Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>ALLOWED_FORM_REF_BINDINGSprotected StringbusinessKeyFieldIdprotected StringdeploymentIdstatic StringFORM_FIELD_ELEMENTstatic StringFORM_PROPERTY_ELEMENTstatic StringFORM_REF_BINDING_DEPLOYMENTstatic StringFORM_REF_BINDING_LATESTstatic StringFORM_REF_BINDING_VERSIONprotected List<FormFieldHandler>formFieldHandlersprotected List<FormPropertyHandler>formPropertyHandlers
-
Constructor Summary
Constructors Constructor Description DefaultFormHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfireFormPropertyHistoryEvents(org.camunda.bpm.engine.variable.VariableMap properties, VariableScope variableScope)StringgetBusinessKeyFieldId()StringgetDeploymentId()List<FormPropertyHandler>getFormPropertyHandlers()protected FormTypesgetFormTypes()protected voidinitializeFormFields(FormDataImpl taskFormData, ExecutionEntity execution)protected voidinitializeFormProperties(FormDataImpl formData, ExecutionEntity execution)voidparseConfiguration(Element activityElement, DeploymentEntity deployment, ProcessDefinitionEntity processDefinition, BpmnParse bpmnParse)protected voidparseFormData(BpmnParse bpmnParse, ExpressionManager expressionManager, Element extensionElement)protected voidparseFormField(Element formField, BpmnParse bpmnParse, ExpressionManager expressionManager)protected voidparseFormFields(Element formData, BpmnParse bpmnParse, ExpressionManager expressionManager)protected voidparseFormProperties(BpmnParse bpmnParse, ExpressionManager expressionManager, Element extensionElement)protected voidparseProperties(Element formField, FormFieldHandler formFieldHandler, BpmnParse bpmnParse, ExpressionManager expressionManager)protected voidparseValidation(Element formField, FormFieldHandler formFieldHandler, BpmnParse bpmnParse, ExpressionManager expressionManager)voidsetBusinessKeyFieldId(String businessKeyFieldId)voidsetDeploymentId(String deploymentId)voidsetFormPropertyHandlers(List<FormPropertyHandler> formPropertyHandlers)voidsubmitFormVariables(org.camunda.bpm.engine.variable.VariableMap properties, VariableScope variableScope)
-
-
-
Field Detail
-
FORM_FIELD_ELEMENT
public static final String FORM_FIELD_ELEMENT
- See Also:
- Constant Field Values
-
FORM_PROPERTY_ELEMENT
public static final String FORM_PROPERTY_ELEMENT
- See Also:
- Constant Field Values
-
FORM_REF_BINDING_DEPLOYMENT
public static final String FORM_REF_BINDING_DEPLOYMENT
- See Also:
- Constant Field Values
-
FORM_REF_BINDING_LATEST
public static final String FORM_REF_BINDING_LATEST
- See Also:
- Constant Field Values
-
FORM_REF_BINDING_VERSION
public static final String FORM_REF_BINDING_VERSION
- See Also:
- Constant Field Values
-
deploymentId
protected String deploymentId
-
businessKeyFieldId
protected String businessKeyFieldId
-
formPropertyHandlers
protected List<FormPropertyHandler> formPropertyHandlers
-
formFieldHandlers
protected List<FormFieldHandler> formFieldHandlers
-
-
Method Detail
-
parseConfiguration
public void parseConfiguration(Element activityElement, DeploymentEntity deployment, ProcessDefinitionEntity processDefinition, BpmnParse bpmnParse)
- Specified by:
parseConfigurationin interfaceFormHandler
-
parseFormData
protected void parseFormData(BpmnParse bpmnParse, ExpressionManager expressionManager, Element extensionElement)
-
parseFormFields
protected void parseFormFields(Element formData, BpmnParse bpmnParse, ExpressionManager expressionManager)
-
parseFormField
protected void parseFormField(Element formField, BpmnParse bpmnParse, ExpressionManager expressionManager)
-
parseProperties
protected void parseProperties(Element formField, FormFieldHandler formFieldHandler, BpmnParse bpmnParse, ExpressionManager expressionManager)
-
parseValidation
protected void parseValidation(Element formField, FormFieldHandler formFieldHandler, BpmnParse bpmnParse, ExpressionManager expressionManager)
-
getFormTypes
protected FormTypes getFormTypes()
-
parseFormProperties
protected void parseFormProperties(BpmnParse bpmnParse, ExpressionManager expressionManager, Element extensionElement)
-
initializeFormProperties
protected void initializeFormProperties(FormDataImpl formData, ExecutionEntity execution)
-
initializeFormFields
protected void initializeFormFields(FormDataImpl taskFormData, ExecutionEntity execution)
-
submitFormVariables
public void submitFormVariables(org.camunda.bpm.engine.variable.VariableMap properties, VariableScope variableScope)- Specified by:
submitFormVariablesin interfaceFormHandler
-
fireFormPropertyHistoryEvents
protected void fireFormPropertyHistoryEvents(org.camunda.bpm.engine.variable.VariableMap properties, VariableScope variableScope)
-
getDeploymentId
public String getDeploymentId()
-
setDeploymentId
public void setDeploymentId(String deploymentId)
-
getFormPropertyHandlers
public List<FormPropertyHandler> getFormPropertyHandlers()
-
setFormPropertyHandlers
public void setFormPropertyHandlers(List<FormPropertyHandler> formPropertyHandlers)
-
getBusinessKeyFieldId
public String getBusinessKeyFieldId()
-
setBusinessKeyFieldId
public void setBusinessKeyFieldId(String businessKeyFieldId)
-
-