|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.rest.v2.preference.CurrentUserPreferencesResource
public class CurrentUserPreferencesResource
Provide preferences of the currently logged in user.
Constructor Summary | |
---|---|
CurrentUserPreferencesResource(JiraAuthenticationContext jiraAuthenticationContext,
UserPreferencesManager userPreferencesManager)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrentUserPreferencesResource(JiraAuthenticationContext jiraAuthenticationContext, UserPreferencesManager userPreferencesManager)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |