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.CommandContextprotected final Map<String, DataDictionaryVariableDefinitions> -
Constructor Summary
ConstructorsConstructorDescriptionDataDictionarySession(org.flowable.common.engine.impl.interceptor.CommandContext context) -
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
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:
flushin interfaceorg.flowable.common.engine.impl.interceptor.Session
-
close
public void close()- Specified by:
closein interfaceorg.flowable.common.engine.impl.interceptor.Session
-