Interface ConfigurationService

All Known Implementing Classes:
ConfigurationServiceImpl

public interface ConfigurationService
The Configuration Service manages all custom configuration options.
  • Method Details

    • getValue

      Optional<Object> getValue(String attribute)
      Retrieve a specific value from all custom attributes.
      Parameters:
      attribute - the attribute key
      Returns:
      the attribute value or nothing if the attribute does not exist
    • 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