public class ConfluenceUserSettingsService extends Object implements com.atlassian.sal.api.usersettings.UserSettingsService
UserSettingsService
.Modifier and Type | Class and Description |
---|---|
static class |
ConfluenceUserSettingsService.PrefixStrippingFunction |
Constructor and Description |
---|
ConfluenceUserSettingsService(UserAccessor userAccessor) |
Modifier and Type | Method and Description |
---|---|
static void |
checkArgumentKey(String key) |
static void |
checkArgumentValue(String value) |
com.atlassian.sal.api.usersettings.UserSettings |
getUserSettings(String userName) |
com.atlassian.sal.api.usersettings.UserSettings |
getUserSettings(com.atlassian.sal.api.user.UserKey userKey) |
void |
updateUserSettings(String userName,
com.google.common.base.Function<com.atlassian.sal.api.usersettings.UserSettingsBuilder,com.atlassian.sal.api.usersettings.UserSettings> updateFunction) |
void |
updateUserSettings(com.atlassian.sal.api.user.UserKey userKey,
com.google.common.base.Function<com.atlassian.sal.api.usersettings.UserSettingsBuilder,com.atlassian.sal.api.usersettings.UserSettings> userSettingsBuilderUserSettingsFunction) |
public ConfluenceUserSettingsService(UserAccessor userAccessor)
public com.atlassian.sal.api.usersettings.UserSettings getUserSettings(String userName)
getUserSettings
in interface com.atlassian.sal.api.usersettings.UserSettingsService
@Nullable public com.atlassian.sal.api.usersettings.UserSettings getUserSettings(com.atlassian.sal.api.user.UserKey userKey)
getUserSettings
in interface com.atlassian.sal.api.usersettings.UserSettingsService
public void updateUserSettings(String userName, com.google.common.base.Function<com.atlassian.sal.api.usersettings.UserSettingsBuilder,com.atlassian.sal.api.usersettings.UserSettings> updateFunction)
updateUserSettings
in interface com.atlassian.sal.api.usersettings.UserSettingsService
public void updateUserSettings(com.atlassian.sal.api.user.UserKey userKey, com.google.common.base.Function<com.atlassian.sal.api.usersettings.UserSettingsBuilder,com.atlassian.sal.api.usersettings.UserSettings> userSettingsBuilderUserSettingsFunction)
updateUserSettings
in interface com.atlassian.sal.api.usersettings.UserSettingsService
public static void checkArgumentKey(String key)
public static void checkArgumentValue(String value)
Copyright © 2003–2017 Atlassian. All rights reserved.