Package pro.taskana.common.api
Interface ConfigurationService
-
- All Known Implementing Classes:
ConfigurationServiceImpl
public interface ConfigurationServiceThe Configuration Service manages all custom configuration options.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>getAllCustomAttributes()Retrieve all custom attributes from the database.Optional<Object>getValue(String attribute)Retrieve a specific value from all custom attributes.voidsetAllCustomAttributes(Map<String,?> customAttributes)Override all custom attributes with the provided one.
-
-
-
Method Detail
-
getAllCustomAttributes
Map<String,Object> getAllCustomAttributes()
Retrieve all custom attributes from the database.- Returns:
- the custom attributes from the database
-
setAllCustomAttributes
void setAllCustomAttributes(Map<String,?> customAttributes)
Override all custom attributes with the provided one.- Parameters:
customAttributes- the new custom attributes which should be persisted
-
-