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 StringcamundaFormDefinitionBindingprotected ExpressioncamundaFormDefinitionKeyprotected ExpressioncamundaFormDefinitionVersionprotected StringdeploymentIdstatic StringFORM_FIELD_ELEMENTstatic StringFORM_PROPERTY_ELEMENTstatic StringFORM_REF_BINDING_DEPLOYMENTstatic StringFORM_REF_BINDING_LATESTstatic StringFORM_REF_BINDING_VERSIONprotected List<FormFieldHandler>formFieldHandlersprotected ExpressionformKeyprotected List<FormPropertyHandler>formPropertyHandlers
-
Constructor Summary
Constructors Constructor Description DefaultFormHandler()
-
Method Summary
-
-
-
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
-
formKey
protected Expression formKey
-
camundaFormDefinitionKey
protected Expression camundaFormDefinitionKey
-
camundaFormDefinitionBinding
protected String camundaFormDefinitionBinding
-
camundaFormDefinitionVersion
protected Expression camundaFormDefinitionVersion
-
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)
-
getFormKey
public Expression getFormKey()
-
getCamundaFormDefinitionKey
public Expression getCamundaFormDefinitionKey()
-
getCamundaFormDefinitionBinding
public String getCamundaFormDefinitionBinding()
-
getCamundaFormDefinitionVersion
public Expression getCamundaFormDefinitionVersion()
-
-