public class CrowdUserSettingsService extends Object implements com.atlassian.sal.api.usersettings.UserSettingsService
Constructor and Description |
---|
CrowdUserSettingsService(ApplicationService applicationService,
ApplicationFactory applicationFactory) |
Modifier and Type | Method and Description |
---|---|
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) |
public CrowdUserSettingsService(ApplicationService applicationService, ApplicationFactory applicationFactory)
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
Copyright © 2020 Atlassian. All rights reserved.