org.camunda.bpm.engine.impl.form.handler
Class DefaultFormHandler

java.lang.Object
  extended by 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
protected  String businessKeyFieldId
           
protected  String deploymentId
           
static String FORM_FIELD_ELEMENT
           
static String FORM_PROPERTY_ELEMENT
           
protected  List<FormFieldHandler> formFieldHandlers
           
protected  List<FormPropertyHandler> formPropertyHandlers
           
 
Constructor Summary
DefaultFormHandler()
           
 
Method Summary
protected  void fireFormPropertyHistoryEvents(org.camunda.bpm.engine.variable.VariableMap properties, VariableScope variableScope)
           
 String getBusinessKeyFieldId()
           
 String getDeploymentId()
           
 List<FormPropertyHandler> getFormPropertyHandlers()
           
protected  FormTypes getFormTypes()
           
protected  void initializeFormFields(FormDataImpl taskFormData, ExecutionEntity execution)
           
protected  void initializeFormProperties(FormDataImpl formData, ExecutionEntity execution)
           
 void parseConfiguration(Element activityElement, DeploymentEntity deployment, ProcessDefinitionEntity processDefinition, BpmnParse bpmnParse)
           
protected  void parseFormData(BpmnParse bpmnParse, ExpressionManager expressionManager, Element extensionElement)
           
protected  void parseFormField(Element formField, BpmnParse bpmnParse, ExpressionManager expressionManager)
           
protected  void parseFormFields(Element formData, BpmnParse bpmnParse, ExpressionManager expressionManager)
           
protected  void parseFormProperties(BpmnParse bpmnParse, ExpressionManager expressionManager, Element extensionElement)
           
protected  void parseProperties(Element formField, FormFieldHandler formFieldHandler, BpmnParse bpmnParse, ExpressionManager expressionManager)
           
protected  void parseValidation(Element formField, FormFieldHandler formFieldHandler, BpmnParse bpmnParse, ExpressionManager expressionManager)
           
 void setBusinessKeyFieldId(String businessKeyFieldId)
           
 void setDeploymentId(String deploymentId)
           
 void setFormPropertyHandlers(List<FormPropertyHandler> formPropertyHandlers)
           
 void submitFormVariables(org.camunda.bpm.engine.variable.VariableMap properties, VariableScope variableScope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

deploymentId

protected String deploymentId

businessKeyFieldId

protected String businessKeyFieldId

formPropertyHandlers

protected List<FormPropertyHandler> formPropertyHandlers

formFieldHandlers

protected List<FormFieldHandler> formFieldHandlers
Constructor Detail

DefaultFormHandler

public DefaultFormHandler()
Method Detail

parseConfiguration

public void parseConfiguration(Element activityElement,
                               DeploymentEntity deployment,
                               ProcessDefinitionEntity processDefinition,
                               BpmnParse bpmnParse)
Specified by:
parseConfiguration in interface FormHandler

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:
submitFormVariables in interface FormHandler

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)


Copyright © 2017 camunda services GmbH. All rights reserved.