Class DataDictionarySession
- java.lang.Object
-
- com.flowable.platform.engine.impl.datadictionary.DataDictionarySession
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,DataDictionaryResolvedModel>
cachedModels
protected CommandContext
context
protected Map<String,DataDictionaryVariableDefinitions>
dataContractsByDefinition
-
Constructor Summary
Constructors Constructor Description DataDictionarySession(CommandContext context)
-
Method Summary
-
-
-
Field Detail
-
context
protected final CommandContext context
-
cachedModels
protected final Map<String,DataDictionaryResolvedModel> cachedModels
-
dataContractsByDefinition
protected final Map<String,DataDictionaryVariableDefinitions> dataContractsByDefinition
-
-
Constructor Detail
-
DataDictionarySession
public DataDictionarySession(CommandContext context)
-
-
Method Detail
-
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
public DataDictionaryResolvedModel resolveModel(String modelKey, String tenantId)
-
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
protected TypeRef getOrCreateTypeRef(TypeRef typeRef, String modelKey, String typeName)
-
resolveType
public DictionaryType resolveType(DataDictionaryVariableDefinition definition)
-
-