public class CurrentUserPreferencesResource extends Object
Constructor and Description |
---|
CurrentUserPreferencesResource(JiraAuthenticationContext jiraAuthenticationContext,
UserPreferencesManager userPreferencesManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getPreference(String key)
Returns preference of the currently logged in user.
|
javax.ws.rs.core.Response |
removePreference(String key)
Removes preference of the currently logged in user.
|
javax.ws.rs.core.Response |
setPreference(String key,
String value)
Sets preference of the currently logged in user.
|
public CurrentUserPreferencesResource(JiraAuthenticationContext jiraAuthenticationContext, UserPreferencesManager userPreferencesManager)
public javax.ws.rs.core.Response getPreference(String key)
key
- - key of the preference to be returned.public javax.ws.rs.core.Response setPreference(String key, String value) throws com.atlassian.core.AtlassianCoreException
key
- - key of the preference to be set.value
- - value of the preference to be set.com.atlassian.core.AtlassianCoreException
public javax.ws.rs.core.Response removePreference(String key) throws com.atlassian.core.AtlassianCoreException
key
- - key of the preference to be removed.com.atlassian.core.AtlassianCoreException
Copyright © 2002-2018 Atlassian. All Rights Reserved.
View cookie preferences