public interface UiPreferencesService
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
getPreference(String username,
String key)
Returns the named preference for the specified user.
|
Map<String,com.fasterxml.jackson.databind.node.ObjectNode> |
getPreferences(String userName)
Returns an immutable copy of the preferences for the specified user.
|
Set<String> |
getUserNames()
Returns the list of user names that have user preferences available.
|
void |
setPreference(String username,
String key,
com.fasterxml.jackson.databind.node.ObjectNode value)
Sets or clears the named preference for the specified user.
|
Set<String> getUserNames()
Map<String,com.fasterxml.jackson.databind.node.ObjectNode> getPreferences(String userName)
userName
- user namecom.fasterxml.jackson.databind.node.ObjectNode getPreference(String username, String key)
username
- user namekey
- preference key