Class DataObjectDataDictionarySession
java.lang.Object
com.flowable.dataobject.engine.impl.runtime.datasource.DataObjectDataDictionarySession
- All Implemented Interfaces:
Session
Session to deal with and cache data dictionary related aspects of Service Registry Models.
Mainly to compute and cache effective field mappings for a data object model with a reference
to a data dictionary type.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
A delegate data object model, which is used to hold enriched field mappings derived from the data dictionary information. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected List<ServiceRegistryFieldMapping>
enrichFieldMappingsWithDataDictionary
(List<ServiceRegistryFieldMapping> existingDataObjectFields, Map<String, TypeProperty> properties) void
flush()
protected DataObjectEngineConfiguration
getOrComputeDataObjectModelWithEffectiveFieldsMappings
(String dataObjectDefinitionId, ServiceRegistryDataObjectModel dataObjectModel, String tenantId) getOrLoadDataDictionaryType
(String dataObjectDefinitionId, ServiceRegistryDataObjectModel dataObjectModel, String tenantId) protected static String
getParentDeploymentId
(String dataObjectDefinitionDeploymentId, DataObjectEngineConfiguration configuration) protected PlatformEngineConfigurationApi
getPlatformEngineConfiguration
(AbstractEngineConfiguration configuration) protected String
toServiceRegistryType
(String dataDictionaryType)
-
Field Details
-
effectiveFieldMappings
-
-
Constructor Details
-
DataObjectDataDictionarySession
public DataObjectDataDictionarySession()
-
-
Method Details
-
getOrComputeDataObjectModelWithEffectiveFieldsMappings
public ServiceRegistryDataObjectModel getOrComputeDataObjectModelWithEffectiveFieldsMappings(String dataObjectDefinitionId, ServiceRegistryDataObjectModel dataObjectModel, String tenantId) -
enrichFieldMappingsWithDataDictionary
protected List<ServiceRegistryFieldMapping> enrichFieldMappingsWithDataDictionary(List<ServiceRegistryFieldMapping> existingDataObjectFields, Map<String, TypeProperty> properties) -
getOrLoadDataDictionaryType
public DictionaryType getOrLoadDataDictionaryType(String dataObjectDefinitionId, ServiceRegistryDataObjectModel dataObjectModel, String tenantId) -
getParentDeploymentId
protected static String getParentDeploymentId(String dataObjectDefinitionDeploymentId, DataObjectEngineConfiguration configuration) -
toServiceRegistryType
-
getDataObjectEngineConfiguration
-
getPlatformEngineConfiguration
protected PlatformEngineConfigurationApi getPlatformEngineConfiguration(AbstractEngineConfiguration configuration) -
flush
public void flush() -
close
public void close()
-