Class SubmittedHierarchyVariablesExtractor
- java.lang.Object
-
- com.flowable.platform.common.form.SubmittedHierarchyVariablesExtractor
-
- All Implemented Interfaces:
SubmittedVariablesExtractor
public class SubmittedHierarchyVariablesExtractor extends Object implements SubmittedVariablesExtractor
Extracts BE expressions from the submitted variable names
-
-
Field Summary
Fields Modifier and Type Field Description protected static com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description SubmittedHierarchyVariablesExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createRegexMatchExpression(String outputValue)
protected void
deepCopyJsonVariables(Map<String,Object> variableMap)
Map<String,Object>
extractVariables(String elementId, String elementType, String scopeId, String scopeDefinitionId, String scopeType, Map<String,Object> submittedValues, FlowableFormModel formModel)
void
fillOutputMappings(String elementId, String elementType, String scopeDefinitionId, String scopeType, Map<String,Object> allowedOutputMap, Map<String,Object> blockedOutputMap)
protected void
fillPrefixValues(List<String> prefixList, Map<String,Object> outputMap)
protected void
fillScopedVariableInMap(String scopedValue, Map<String,Object> scopedVariablesMap)
protected void
fillScopedVariablesInMap(List<String> scopedValues, Map<String,Object> scopedVariablesMap)
protected void
filterAllowedScopedVariables(Object variableObject, Map<String,Object> allowedOutputMap, String fullVariableName, boolean variableNameMatched)
protected void
filterBlockedScopedVariables(Object variableObject, Map<String,Object> blockedOutputMap, String fullVariableName, boolean variableNameMatched)
void
filterVariablesWithOutputMapping(Map<String,Object> variableMap, Map<String,Object> allowedOutputMap, Map<String,Object> blockedOutputMap)
protected List<String>
getCmmnExtensionElementValues(List<ExtensionElement> extensionElements)
protected List<String>
getExtensionElementValues(List<ExtensionElement> extensionElements)
protected boolean
hasMatchingAllowedScope(Object variableObject, String fullVariableName, String fullAllowedOutput)
-
-
-
Method Detail
-
extractVariables
public Map<String,Object> extractVariables(String elementId, String elementType, String scopeId, String scopeDefinitionId, String scopeType, Map<String,Object> submittedValues, FlowableFormModel formModel)
- Specified by:
extractVariables
in interfaceSubmittedVariablesExtractor
-
filterVariablesWithOutputMapping
public void filterVariablesWithOutputMapping(Map<String,Object> variableMap, Map<String,Object> allowedOutputMap, Map<String,Object> blockedOutputMap)
- Specified by:
filterVariablesWithOutputMapping
in interfaceSubmittedVariablesExtractor
-
fillOutputMappings
public void fillOutputMappings(String elementId, String elementType, String scopeDefinitionId, String scopeType, Map<String,Object> allowedOutputMap, Map<String,Object> blockedOutputMap)
- Specified by:
fillOutputMappings
in interfaceSubmittedVariablesExtractor
-
filterAllowedScopedVariables
protected void filterAllowedScopedVariables(Object variableObject, Map<String,Object> allowedOutputMap, String fullVariableName, boolean variableNameMatched)
-
filterBlockedScopedVariables
protected void filterBlockedScopedVariables(Object variableObject, Map<String,Object> blockedOutputMap, String fullVariableName, boolean variableNameMatched)
-
hasMatchingAllowedScope
protected boolean hasMatchingAllowedScope(Object variableObject, String fullVariableName, String fullAllowedOutput)
-
fillScopedVariablesInMap
protected void fillScopedVariablesInMap(List<String> scopedValues, Map<String,Object> scopedVariablesMap)
-
fillScopedVariableInMap
protected void fillScopedVariableInMap(String scopedValue, Map<String,Object> scopedVariablesMap)
-
fillPrefixValues
protected void fillPrefixValues(List<String> prefixList, Map<String,Object> outputMap)
-
getExtensionElementValues
protected List<String> getExtensionElementValues(List<ExtensionElement> extensionElements)
-
getCmmnExtensionElementValues
protected List<String> getCmmnExtensionElementValues(List<ExtensionElement> extensionElements)
-
-