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 CommonEngineServiceImpl<PlatformEngineConfiguration>
implements ConfigurationService
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConfigurationPropertyBuilder(String namespace, String name) Create a builder for a configuration property.Create a query for configuration propertiescreateDataTableFavoriteConfigurationBuilder(String favoriteKey) Create a data table favorite configuration builder with the given favorite key.Create a query for querying data table configurations.Create a system configuration builder with the given type.Create a query for querying system configuration.createThemeBuilder(String themeName) Create a theme builder for theme with the given nameCreate a query for querying themescreateUpdateConfigurationPropertyBuilder(String configurationId) Create an update builder for a configuration property.createUpdateDataTableFavoriteConfigurationBuilder(String favoriteKey, String configurationId) Create an update data table favorite configuration builder with the given key and configuration id.createUpdateSystemConfigurationBuilder(String configurationId) Create an update system configuration builder with the given configuration idvoiddeleteConfigurationProperty(String configurationId) Delete the configuration property with the given id.voiddeleteDataTableFavoriteConfiguration(String configurationId) Delete the favorite with the given id.voiddeleteSystemConfiguration(String configurationId) Delete the system configuration with the given id.voiddeleteTheme(String themeId) Delete the theme with the given id.getDefaultThemeName(String tenantId) Get the default theme name for the given tenantThe Locale mapping from browser Locale key to the key that should be used for Work and the Form enginevoidsetDefaultThemeName(String themeName, String tenantId) Set the default theme name for the given tenantvoidAdd an identity link of the given type between the configuration with the given id and the user.Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
ConfigurationServiceImpl
-
-
Method Details
-
getLanguages
Description copied from interface:ConfigurationServiceThe Locale mapping from browser Locale key to the key that should be used for Work and the Form engine- Specified by:
getLanguagesin interfaceConfigurationService
-
createThemeQuery
Description copied from interface:ConfigurationServiceCreate a query for querying themes- Specified by:
createThemeQueryin interfaceConfigurationService
-
createThemeBuilder
Description copied from interface:ConfigurationServiceCreate a theme builder for theme with the given name- Specified by:
createThemeBuilderin interfaceConfigurationService- Parameters:
themeName- the name of the theme
-
deleteTheme
Description copied from interface:ConfigurationServiceDelete the theme with the given id.- Specified by:
deleteThemein interfaceConfigurationService- Parameters:
themeId- the id of the theme that should be deleted
-
setDefaultThemeName
Description copied from interface:ConfigurationServiceSet the default theme name for the given tenant- Specified by:
setDefaultThemeNamein interfaceConfigurationService- Parameters:
themeName- the name of the default themetenantId- the id of the tenant
-
getDefaultThemeName
Description copied from interface:ConfigurationServiceGet the default theme name for the given tenant- Specified by:
getDefaultThemeNamein interfaceConfigurationService- Parameters:
tenantId- the id of the tenant- Returns:
- the name of the default theme
-
createDataTableFavoriteConfigurationQuery
Description copied from interface:ConfigurationServiceCreate a query for querying data table configurations.- Specified by:
createDataTableFavoriteConfigurationQueryin interfaceConfigurationService
-
createDataTableFavoriteConfigurationBuilder
public DataTableFavoriteConfigurationBuilder createDataTableFavoriteConfigurationBuilder(String favoriteKey) Description copied from interface:ConfigurationServiceCreate a data table favorite configuration builder with the given favorite key.- Specified by:
createDataTableFavoriteConfigurationBuilderin interfaceConfigurationService- Parameters:
favoriteKey- the key of the favorite
-
createUpdateDataTableFavoriteConfigurationBuilder
public DataTableFavoriteConfigurationBuilder createUpdateDataTableFavoriteConfigurationBuilder(String favoriteKey, String configurationId) Description copied from interface:ConfigurationServiceCreate an update data table favorite configuration builder with the given key and configuration id.- Specified by:
createUpdateDataTableFavoriteConfigurationBuilderin interfaceConfigurationService- Parameters:
favoriteKey- the key of the configurationconfigurationId- the id of the configuration
-
deleteDataTableFavoriteConfiguration
Description copied from interface:ConfigurationServiceDelete the favorite with the given id.- Specified by:
deleteDataTableFavoriteConfigurationin interfaceConfigurationService- Parameters:
configurationId- the id of the favorite that should be deleted
-
createSystemConfigurationQuery
Description copied from interface:ConfigurationServiceCreate a query for querying system configuration.- Specified by:
createSystemConfigurationQueryin interfaceConfigurationService
-
createSystemConfigurationBuilder
Description copied from interface:ConfigurationServiceCreate a system configuration builder with the given type.- Specified by:
createSystemConfigurationBuilderin interfaceConfigurationService- Parameters:
type- the type of the system configuration
-
createUpdateSystemConfigurationBuilder
Description copied from interface:ConfigurationServiceCreate an update system configuration builder with the given configuration id- Specified by:
createUpdateSystemConfigurationBuilderin interfaceConfigurationService- Parameters:
configurationId- the id of the configuration
-
deleteSystemConfiguration
Description copied from interface:ConfigurationServiceDelete the system configuration with the given id.- Specified by:
deleteSystemConfigurationin interfaceConfigurationService- Parameters:
configurationId- the id of the system configuration that should be deleted
-
createConfigurationPropertyQuery
Description copied from interface:ConfigurationServiceCreate a query for configuration properties- Specified by:
createConfigurationPropertyQueryin interfaceConfigurationService
-
createConfigurationPropertyBuilder
public ConfigurationPropertyBuilder createConfigurationPropertyBuilder(String namespace, String name) Description copied from interface:ConfigurationServiceCreate a builder for a configuration property. Using this builder will always create a new property.- Specified by:
createConfigurationPropertyBuilderin interfaceConfigurationService- Parameters:
namespace- the mandatory namespace for the configurationname- the mandatory name for the configuration
-
createUpdateConfigurationPropertyBuilder
public ConfigurationPropertyBuilder createUpdateConfigurationPropertyBuilder(String configurationId) Description copied from interface:ConfigurationServiceCreate an update builder for a configuration property. Using this builder will always update the configuration property for the given id.- Specified by:
createUpdateConfigurationPropertyBuilderin interfaceConfigurationService- Parameters:
configurationId- the id of the configuration that should be updated
-
deleteConfigurationProperty
Description copied from interface:ConfigurationServiceDelete the configuration property with the given id.- Specified by:
deleteConfigurationPropertyin interfaceConfigurationService
-
setOwner
Description copied from interface:ConfigurationServiceAdd an identity link of the given type between the configuration with the given id and the user.- Specified by:
setOwnerin interfaceConfigurationService- Parameters:
configurationId- the id of the configurationuserId- the id of the user
-