Class DataDictionarySession
java.lang.Object
com.flowable.platform.engine.impl.datadictionary.DataDictionarySession
- All Implemented Interfaces:
Session
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<String,DataDictionaryResolvedModel> protected final CommandContextprotected final Map<String,DataDictionaryVariableDefinitions> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected DataDictionaryDefinitionfindDataDictionaryDefinition(String modelKey, String tenantId, String parentDeploymentId) protected DictionaryTypefindTypeReference(DictionaryType type, Function<TypeRef, DictionaryType> refResolver) voidflush()protected TypeRefgetOrCreateTypeRef(TypeRef typeRef, String modelKey, String typeName) resolvedDataContractForScopeDefinition(String scopeType, String scopeDefinitionId, String tenantId, Supplier<DataDictionaryVariableDefinitions> variableDefinitionsSupplier) protected DataDictionaryResolvedModelresolveModel(String cacheKey, DataDictionaryDefinition definition, DataDictionaryModel model, Function<TypeRef, DictionaryType> externalRefResolver) resolveModel(String modelKey, String tenantId) resolveModel(String modelKey, String tenantId, String parentDeploymentId) protected Map<String,TypeProperty> resolveProperties(Map<String, TypeProperty> typeProperties, DataDictionaryModel model, Function<TypeRef, DictionaryType> refResolver) protected DictionaryTyperesolveType(DictionaryType type, DataDictionaryModel model, Function<TypeRef, DictionaryType> refResolver) resolveType(DataDictionaryVariableDefinition definition)
-
Field Details
-
context
-
cachedModels
-
dataContractsByDefinition
-
-
Constructor Details
-
DataDictionarySession
-
-
Method Details
-
resolvedDataContractForScopeDefinition
public DataDictionaryVariableDefinitions resolvedDataContractForScopeDefinition(String scopeType, String scopeDefinitionId, String tenantId, Supplier<DataDictionaryVariableDefinitions> variableDefinitionsSupplier) -
resolveModel
public DataDictionaryResolvedModel resolveModel(String modelKey, String tenantId, String parentDeploymentId) -
findDataDictionaryDefinition
protected DataDictionaryDefinition findDataDictionaryDefinition(String modelKey, String tenantId, String parentDeploymentId) -
resolveModel
-
resolveModel
protected DataDictionaryResolvedModel resolveModel(String cacheKey, DataDictionaryDefinition definition, DataDictionaryModel model, Function<TypeRef, DictionaryType> externalRefResolver) -
resolveType
protected DictionaryType resolveType(DictionaryType type, DataDictionaryModel model, Function<TypeRef, DictionaryType> refResolver) -
resolveProperties
protected Map<String,TypeProperty> resolveProperties(Map<String, TypeProperty> typeProperties, DataDictionaryModel model, Function<TypeRef, DictionaryType> refResolver) -
findTypeReference
protected DictionaryType findTypeReference(DictionaryType type, Function<TypeRef, DictionaryType> refResolver) -
getOrCreateTypeRef
-
resolveType
-
flush
public void flush() -
close
public void close()
-