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
FieldsModifier and TypeFieldDescriptionprotected static com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateRegexMatchExpression(String outputValue) protected voiddeepCopyJsonVariables(Map<String, Object> variableMap) extractVariables(String elementId, String elementType, String scopeId, String scopeDefinitionId, String scopeType, Map<String, Object> submittedValues, FlowableFormModel formModel) voidfillOutputMappings(String elementId, String elementType, String scopeDefinitionId, String scopeType, Map<String, Object> allowedOutputMap, Map<String, Object> blockedOutputMap) protected voidprotected voidfillScopedVariableInMap(String scopedValue, Map<String, Object> scopedVariablesMap) protected voidprotected voidfilterAllowedScopedVariables(Object variableObject, Map<String, Object> allowedOutputMap, String fullVariableName, boolean variableNameMatched) protected voidfilterBlockedScopedVariables(Object variableObject, Map<String, Object> blockedOutputMap, String fullVariableName, boolean variableNameMatched) voidfilterVariablesWithOutputMapping(Map<String, Object> variableMap, Map<String, Object> allowedOutputMap, Map<String, Object> blockedOutputMap) getCmmnExtensionElementValues(List<ExtensionElement> extensionElements) getExtensionElementValues(List<ExtensionElement> extensionElements) protected booleanhasMatchingAllowedScope(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:
extractVariablesin interfaceSubmittedVariablesExtractor
-
filterVariablesWithOutputMapping
public void filterVariablesWithOutputMapping(Map<String, Object> variableMap, Map<String, Object> allowedOutputMap, Map<String, Object> blockedOutputMap) - Specified by:
filterVariablesWithOutputMappingin interfaceSubmittedVariablesExtractor
-
fillOutputMappings
public void fillOutputMappings(String elementId, String elementType, String scopeDefinitionId, String scopeType, Map<String, Object> allowedOutputMap, Map<String, Object> blockedOutputMap) - Specified by:
fillOutputMappingsin interfaceSubmittedVariablesExtractor
-
filterAllowedScopedVariables
-
filterBlockedScopedVariables
-
hasMatchingAllowedScope
-
fillScopedVariablesInMap
-
fillScopedVariableInMap
-
deepCopyJsonVariables
-
fillPrefixValues
-
createRegexMatchExpression
-
getExtensionElementValues
-
getCmmnExtensionElementValues
-