Interface UserParameterService
public interface UserParameterService
Reads values of user parameters defined by the administrator.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the parameter for the given user.
-
Method Details
-
getValue
Returns the value of the parameter for the given user.- Parameters:
key- parameter keyuserName- 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 keyUserParameterOutdatedException- the user's choice is no longer available or the values could not be refreshed
-