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
Modifier and TypeFieldDescriptionprotected static com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
createRegexMatchExpression
(String outputValue) protected void
deepCopyJsonVariables
(Map<String, Object> variableMap) 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
protected void
fillScopedVariableInMap
(String scopedValue, Map<String, Object> scopedVariablesMap) protected void
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) getCmmnExtensionElementValues
(List<ExtensionElement> extensionElements) getExtensionElementValues
(List<ExtensionElement> extensionElements) protected boolean
hasMatchingAllowedScope
(Object variableObject, String fullVariableName, String fullAllowedOutput)
-
Field Details
-
objectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
SubmittedHierarchyVariablesExtractor
public SubmittedHierarchyVariablesExtractor()
-
-
Method Details
-
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
-
filterBlockedScopedVariables
-
hasMatchingAllowedScope
-
fillScopedVariablesInMap
-
fillScopedVariableInMap
-
deepCopyJsonVariables
-
fillPrefixValues
-
createRegexMatchExpression
-
getExtensionElementValues
-
getCmmnExtensionElementValues
-