Class FormFieldHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.form.handler.FormFieldHandler
-
public class FormFieldHandler extends Object
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
businessKey
protected Expression
defaultValueExpression
protected String
id
protected Expression
label
protected Map<String,String>
properties
protected AbstractFormFieldType
type
protected List<FormFieldValidationConstraintHandler>
validationHandlers
-
Constructor Summary
Constructors Constructor Description FormFieldHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormField
createFormField(ExecutionEntity executionEntity)
Expression
getDefaultValueExpression()
String
getId()
Expression
getLabel()
Map<String,String>
getProperties()
FormType
getType()
List<FormFieldValidationConstraintHandler>
getValidationHandlers()
void
handleSubmit(VariableScope variableScope, VariableMap values, VariableMap allValues)
boolean
isBusinessKey()
void
setBusinessKey(boolean businessKey)
void
setDefaultValueExpression(Expression defaultValue)
void
setId(String id)
void
setLabel(Expression name)
void
setProperties(Map<String,String> properties)
void
setType(AbstractFormFieldType formType)
void
setValidationHandlers(List<FormFieldValidationConstraintHandler> validationHandlers)
-
-
-
Field Detail
-
id
protected String id
-
label
protected Expression label
-
type
protected AbstractFormFieldType type
-
defaultValueExpression
protected Expression defaultValueExpression
-
validationHandlers
protected List<FormFieldValidationConstraintHandler> validationHandlers
-
businessKey
protected boolean businessKey
-
-
Method Detail
-
createFormField
public FormField createFormField(ExecutionEntity executionEntity)
-
handleSubmit
public void handleSubmit(VariableScope variableScope, VariableMap values, VariableMap allValues)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getLabel
public Expression getLabel()
-
setLabel
public void setLabel(Expression name)
-
setType
public void setType(AbstractFormFieldType formType)
-
getType
public FormType getType()
-
getDefaultValueExpression
public Expression getDefaultValueExpression()
-
setDefaultValueExpression
public void setDefaultValueExpression(Expression defaultValue)
-
getValidationHandlers
public List<FormFieldValidationConstraintHandler> getValidationHandlers()
-
setValidationHandlers
public void setValidationHandlers(List<FormFieldValidationConstraintHandler> validationHandlers)
-
setBusinessKey
public void setBusinessKey(boolean businessKey)
-
isBusinessKey
public boolean isBusinessKey()
-
-