Interface ConfigurationService
- All Known Implementing Classes:
ConfigurationServiceImpl
public interface ConfigurationService
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and Type Method Description ConfigurationPropertyBuildercreateConfigurationPropertyBuilder(java.lang.String namespace, java.lang.String name)Create a builder for a configuration property.ConfigurationPropertyQuerycreateConfigurationPropertyQuery()Create a query for configuration propertiesThemeBuildercreateThemeBuilder(java.lang.String themeName)Create a theme builder for theme with the given nameThemeQuerycreateThemeQuery()Create a query for querying themesvoiddeleteTheme(java.lang.String themeId)Delete the theme with the given id.java.lang.StringgetDefaultThemeName(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 enginevoidsetDefaultThemeName(java.lang.String themeName, java.lang.String tenantId)Set the default theme name for the given tenant
-
Method Details
-
getLanguages
java.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 engine -
createThemeQuery
ThemeQuery createThemeQuery()Create a query for querying themes -
createThemeBuilder
Create a theme builder for theme with the given name- Parameters:
themeName- the name of the theme
-
deleteTheme
void deleteTheme(java.lang.String themeId)Delete the theme with the given id.- Parameters:
themeId- the id of the theme that should be deleted
-
setDefaultThemeName
void setDefaultThemeName(java.lang.String themeName, java.lang.String tenantId)Set the default theme name for the given tenant- Parameters:
themeName- the name of the default themetenantId- the id of the tenant
-
getDefaultThemeName
java.lang.String getDefaultThemeName(java.lang.String tenantId)Get the default theme name for the given tenant- Parameters:
tenantId- the id of the tenant- Returns:
- the name of the default theme
-
createConfigurationPropertyQuery
ConfigurationPropertyQuery createConfigurationPropertyQuery()Create a query for configuration properties -
createConfigurationPropertyBuilder
ConfigurationPropertyBuilder createConfigurationPropertyBuilder(java.lang.String namespace, java.lang.String name)Create a builder for a configuration property.- Parameters:
namespace- the mandatory namespace for the configurationname- the mandatory name for the configuration
-