Class ConfigurationServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<PlatformEngineConfiguration>
com.flowable.platform.engine.impl.configuration.ConfigurationServiceImpl
- All Implemented Interfaces:
ConfigurationService
public class ConfigurationServiceImpl extends org.flowable.common.engine.impl.service.CommonEngineServiceImpl<PlatformEngineConfiguration> implements ConfigurationService
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ConfigurationServiceImpl(PlatformEngineConfiguration configuration)
-
Method Summary
Modifier and Type Method Description ConfigurationPropertyBuilder
createConfigurationPropertyBuilder(java.lang.String namespace, java.lang.String name)
Create a builder for a configuration property.ConfigurationPropertyQuery
createConfigurationPropertyQuery()
Create a query for configuration propertiesThemeBuilder
createThemeBuilder(java.lang.String themeName)
Create a theme builder for theme with the given nameThemeQuery
createThemeQuery()
Create a query for querying themesvoid
deleteTheme(java.lang.String themeId)
Delete the theme with the given id.java.lang.String
getDefaultThemeName(java.lang.String tenantId)
Get the default theme name for the given tenantjava.util.Map<java.lang.String,java.lang.String>
getLanguages()
The Locale mapping from browser Locale key to the key that should be used for Work and the Form enginevoid
setDefaultThemeName(java.lang.String themeName, java.lang.String tenantId)
Set the default theme name for the given tenantMethods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
-
Constructor Details
-
Method Details
-
getLanguages
public java.util.Map<java.lang.String,java.lang.String> getLanguages()Description copied from interface:ConfigurationService
The Locale mapping from browser Locale key to the key that should be used for Work and the Form engine- Specified by:
getLanguages
in interfaceConfigurationService
-
createThemeQuery
Description copied from interface:ConfigurationService
Create a query for querying themes- Specified by:
createThemeQuery
in interfaceConfigurationService
-
createThemeBuilder
Description copied from interface:ConfigurationService
Create a theme builder for theme with the given name- Specified by:
createThemeBuilder
in interfaceConfigurationService
- Parameters:
themeName
- the name of the theme
-
deleteTheme
public void deleteTheme(java.lang.String themeId)Description copied from interface:ConfigurationService
Delete the theme with the given id.- Specified by:
deleteTheme
in interfaceConfigurationService
- Parameters:
themeId
- the id of the theme that should be deleted
-
setDefaultThemeName
public void setDefaultThemeName(java.lang.String themeName, java.lang.String tenantId)Description copied from interface:ConfigurationService
Set the default theme name for the given tenant- Specified by:
setDefaultThemeName
in interfaceConfigurationService
- Parameters:
themeName
- the name of the default themetenantId
- the id of the tenant
-
getDefaultThemeName
public java.lang.String getDefaultThemeName(java.lang.String tenantId)Description copied from interface:ConfigurationService
Get the default theme name for the given tenant- Specified by:
getDefaultThemeName
in interfaceConfigurationService
- Parameters:
tenantId
- the id of the tenant- Returns:
- the name of the default theme
-
createConfigurationPropertyQuery
Description copied from interface:ConfigurationService
Create a query for configuration properties- Specified by:
createConfigurationPropertyQuery
in interfaceConfigurationService
-
createConfigurationPropertyBuilder
public ConfigurationPropertyBuilder createConfigurationPropertyBuilder(java.lang.String namespace, java.lang.String name)Description copied from interface:ConfigurationService
Create a builder for a configuration property.- Specified by:
createConfigurationPropertyBuilder
in interfaceConfigurationService
- Parameters:
namespace
- the mandatory namespace for the configurationname
- the mandatory name for the configuration
-