public interface ConfigurationService
Modifier and Type | Method and Description |
---|---|
ConfigurationPropertyBuilder |
createConfigurationPropertyBuilder(String namespace,
String name)
Create a builder for a configuration property.
|
ConfigurationPropertyQuery |
createConfigurationPropertyQuery()
Create a query for configuration properties
|
DataTableFavoriteConfigurationBuilder |
createDataTableFavoriteConfigurationBuilder(String favoriteKey)
Create a data table favorite configuration builder with the given favorite key.
|
DataTableFavoriteConfigurationQuery |
createDataTableFavoriteConfigurationQuery()
Create a query for querying data table configurations.
|
SystemConfigurationBuilder |
createSystemConfigurationBuilder(String type)
Create a system configuration builder with the given type.
|
SystemConfigurationQuery |
createSystemConfigurationQuery()
Create a query for querying system configuration.
|
ThemeBuilder |
createThemeBuilder(String themeName)
Create a theme builder for theme with the given name
|
ThemeQuery |
createThemeQuery()
Create a query for querying themes
|
ConfigurationPropertyBuilder |
createUpdateConfigurationPropertyBuilder(String configurationId)
Create an update builder for a configuration property.
|
DataTableFavoriteConfigurationBuilder |
createUpdateDataTableFavoriteConfigurationBuilder(String favoriteKey,
String configurationId)
Create an update data table favorite configuration builder with the given key and configuration id.
|
SystemConfigurationBuilder |
createUpdateSystemConfigurationBuilder(String configurationId)
Create an update system configuration builder with the given configuration id
|
void |
deleteDataTableFavoriteConfiguration(String configurationId)
Delete the favorite with the given id.
|
void |
deleteSystemConfiguration(String configurationId)
Delete the system configuration with the given id.
|
void |
deleteTheme(String themeId)
Delete the theme with the given id.
|
String |
getDefaultThemeName(String tenantId)
Get the default theme name for the given tenant
|
Map<String,String> |
getLanguages()
The Locale mapping from browser Locale key to the key that should be used for Work and the Form engine
|
void |
setDefaultThemeName(String themeName,
String tenantId)
Set the default theme name for the given tenant
|
void |
setOwner(String configurationId,
String userId)
Add an identity link of the given type between the configuration with the given id and the user.
|
Map<String,String> getLanguages()
ThemeQuery createThemeQuery()
ThemeBuilder createThemeBuilder(String themeName)
themeName
- the name of the themevoid deleteTheme(String themeId)
themeId
- the id of the theme that should be deletedvoid setDefaultThemeName(String themeName, String tenantId)
themeName
- the name of the default themetenantId
- the id of the tenantString getDefaultThemeName(String tenantId)
tenantId
- the id of the tenantDataTableFavoriteConfigurationQuery createDataTableFavoriteConfigurationQuery()
DataTableFavoriteConfigurationBuilder createDataTableFavoriteConfigurationBuilder(String favoriteKey)
favoriteKey
- the key of the favoriteDataTableFavoriteConfigurationBuilder createUpdateDataTableFavoriteConfigurationBuilder(String favoriteKey, String configurationId)
favoriteKey
- the key of the configurationconfigurationId
- the id of the configurationvoid deleteDataTableFavoriteConfiguration(String configurationId)
configurationId
- the id of the favorite that should be deletedSystemConfigurationQuery createSystemConfigurationQuery()
SystemConfigurationBuilder createSystemConfigurationBuilder(String type)
type
- the type of the system configurationSystemConfigurationBuilder createUpdateSystemConfigurationBuilder(String configurationId)
configurationId
- the id of the configurationvoid deleteSystemConfiguration(String configurationId)
configurationId
- the id of the system configuration that should be deletedConfigurationPropertyQuery createConfigurationPropertyQuery()
ConfigurationPropertyBuilder createConfigurationPropertyBuilder(String namespace, String name)
namespace
- the mandatory namespace for the configurationname
- the mandatory name for the configurationConfigurationPropertyBuilder createUpdateConfigurationPropertyBuilder(String configurationId)
configurationId
- the id of the configuration that should be updated