Class ValidateFormFieldsCmd
- java.lang.Object
-
- com.flowable.form.engine.impl.cmd.ValidateFormFieldsCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected ContainerFormFieldValidator
containerFormFieldValidator
protected FormInfo
formInfo
static String
PAYLOAD_DATETIME_VARIABLE_NAME
static String
PAYLOAD_HASH_VARIABLE_NAME
static String
PAYLOAD_VARIABLE_NAME
protected Map<String,Object>
values
-
Constructor Summary
Constructors Constructor Description ValidateFormFieldsCmd(FormInfo formInfo, Map<String,Object> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
execute(CommandContext commandContext)
protected Map<String,Object>
getNonSystemVariables(Map<String,Object> values, String outcomeVariableName)
protected boolean
isOutcomeVariable(String variableName, String outcomeVariableName)
protected boolean
isPayload(String variableName)
protected void
mergeFormTypes(String variableNamePrefix, Map<String,List<FormVariable>> nonMergedFormTypes, Map<String,List<FormVariable>> mergedFormTypes)
-
-
-
Field Detail
-
PAYLOAD_VARIABLE_NAME
public static final String PAYLOAD_VARIABLE_NAME
- See Also:
- Constant Field Values
-
PAYLOAD_HASH_VARIABLE_NAME
public static final String PAYLOAD_HASH_VARIABLE_NAME
- See Also:
- Constant Field Values
-
PAYLOAD_DATETIME_VARIABLE_NAME
public static final String PAYLOAD_DATETIME_VARIABLE_NAME
- See Also:
- Constant Field Values
-
containerFormFieldValidator
protected final ContainerFormFieldValidator containerFormFieldValidator
-
formInfo
protected FormInfo formInfo
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
mergeFormTypes
protected void mergeFormTypes(String variableNamePrefix, Map<String,List<FormVariable>> nonMergedFormTypes, Map<String,List<FormVariable>> mergedFormTypes)
-
getNonSystemVariables
protected Map<String,Object> getNonSystemVariables(Map<String,Object> values, String outcomeVariableName)
-
isPayload
protected boolean isPayload(String variableName)
-
-