Class DataDictionarySession
java.lang.Object
com.flowable.platform.engine.impl.datadictionary.DataDictionarySession
- All Implemented Interfaces:
Session
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Map<String,
DataDictionaryResolvedModel> protected final CommandContext
protected final Map<String,
DataDictionaryVariableDefinitions> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected DataDictionaryDefinition
findDataDictionaryByParentDeploymentAndKey
(String modelKey, String tenantId, String parentDeploymentId) protected DictionaryType
findTypeReference
(DictionaryType type, Function<TypeRef, DictionaryType> refResolver) void
flush()
protected TypeRef
getOrCreateTypeRef
(TypeRef typeRef, String modelKey, String typeName) resolvedDataContractForScopeDefinition
(String scopeType, String scopeDefinitionId, String tenantId, Supplier<DataDictionaryVariableDefinitions> variableDefinitionsSupplier) protected DataDictionaryResolvedModel
resolveModel
(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 DictionaryType
resolveType
(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) -
findDataDictionaryByParentDeploymentAndKey
protected DataDictionaryDefinition findDataDictionaryByParentDeploymentAndKey(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()
-