public interface ExtendedPreferences
extends com.atlassian.core.user.preferences.Preferences
Modifier and Type | Method and Description |
---|---|
boolean |
containsValue(String key)
Checks if key exists (defaults doesn't count)
|
boolean |
equals(Object other)
Preferences objects are equal iff they are preferences for the same user.
|
String |
getText(String key) |
String |
getUserKey()
Returns the user's key, or
null if the preferences are for an anonymous user. |
int |
hashCode()
Returns a hash code based on the user's key, or
0 if the preferences are for an anonymous user. |
void |
setText(String key,
String value) |
void setText(String key, String value) throws com.atlassian.core.AtlassianCoreException
com.atlassian.core.AtlassianCoreException
boolean containsValue(String key)
key
- key to be checkedString getUserKey()
null
if the preferences are for an anonymous user.null
if the preferences are for an anonymous user.boolean equals(Object other)
Copyright © 2002-2019 Atlassian. All Rights Reserved.