Interface UserParameterService


public interface UserParameterService
Reads values of user parameters defined by the administrator.
  • Method Details

    • getValue

      Optional<UserParameterValue> getValue(String key, String userName)
      Returns the value of the parameter for the given user.
      Parameters:
      key - parameter key
      userName - login of the user whose value is read
      Returns:
      the value chosen by the user or the parameter's default value; empty when there is neither
      Throws:
      UserParameterNotFoundException - there is no parameter with this key
      UserParameterOutdatedException - the user's choice is no longer available or the values could not be refreshed