Class DataDictionarySession
java.lang.Object
com.flowable.platform.engine.impl.datadictionary.DataDictionarySession
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Session
public class DataDictionarySession
extends Object
implements org.flowable.common.engine.impl.interceptor.Session
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map
<String, DataDictionaryResolvedModel> protected final org.flowable.common.engine.impl.interceptor.CommandContext
protected final Map
<String, DataDictionaryVariableDefinitions> -
Constructor Summary
ConstructorsConstructorDescriptionDataDictionarySession
(org.flowable.common.engine.impl.interceptor.CommandContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected DataDictionaryDefinition
findDataDictionaryDefinition
(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
protected final org.flowable.common.engine.impl.interceptor.CommandContext context -
cachedModels
-
dataContractsByDefinition
-
-
Constructor Details
-
DataDictionarySession
public DataDictionarySession(org.flowable.common.engine.impl.interceptor.CommandContext context)
-
-
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()- Specified by:
flush
in interfaceorg.flowable.common.engine.impl.interceptor.Session
-
close
public void close()- Specified by:
close
in interfaceorg.flowable.common.engine.impl.interceptor.Session
-