@Component public class BambooUserSettingsService extends Object implements com.atlassian.sal.api.usersettings.UserSettingsService
Modifier and Type | Class and Description |
---|---|
static class |
BambooUserSettingsService.PrefixStrippingFunction |
Constructor and Description |
---|
BambooUserSettingsService(bucket.user.UserAccessor userAccessor,
com.atlassian.sal.api.user.UserManager userManager) |
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> updateFunction) |
@Autowired public BambooUserSettingsService(bucket.user.UserAccessor userAccessor, com.atlassian.sal.api.user.UserManager userManager)
public com.atlassian.sal.api.usersettings.UserSettings getUserSettings(String userName)
getUserSettings
in interface com.atlassian.sal.api.usersettings.UserSettingsService
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> updateFunction)
updateUserSettings
in interface com.atlassian.sal.api.usersettings.UserSettingsService
public static void checkArgumentKey(String key)
public static void checkArgumentValue(String value)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.