Class UserPreferences
- java.lang.Object
-
- com.atlassian.core.user.preferences.UserPreferences
-
- All Implemented Interfaces:
Preferences,Serializable
@Deprecated public class UserPreferences extends Object implements Preferences, Serializable
Deprecated.since 8.8 no replacement- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserPreferences()Deprecated.UserPreferences(com.opensymphony.module.propertyset.PropertySet propertySet)Deprecated.UserPreferences(com.opensymphony.module.propertyset.PropertySet propertySet, boolean bulkload)Deprecated.UserPreferences(com.opensymphony.user.User pUser)Deprecated.UserPreferences(com.opensymphony.user.User pUser, boolean bulkload)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.booleangetBoolean(String key)Deprecated.longgetLong(String key)Deprecated.StringgetString(String key)Deprecated.inthashCode()Deprecated.static booleanidentical(com.opensymphony.module.propertyset.PropertySet pThis, com.opensymphony.module.propertyset.PropertySet pThat)Deprecated.Check to see if the two propertySet contain the same values and types NOTE If both PropertySets are null then true is returnedvoidremove(String key)Deprecated.voidsetBoolean(String key, boolean b)Deprecated.voidsetLong(String key, long i)Deprecated.voidsetString(String key, String value)Deprecated.
-
-
-
Constructor Detail
-
UserPreferences
public UserPreferences()
Deprecated.
-
UserPreferences
public UserPreferences(com.opensymphony.user.User pUser)
Deprecated.
-
UserPreferences
public UserPreferences(com.opensymphony.module.propertyset.PropertySet propertySet)
Deprecated.
-
UserPreferences
public UserPreferences(com.opensymphony.module.propertyset.PropertySet propertySet, boolean bulkload)Deprecated.
-
UserPreferences
public UserPreferences(com.opensymphony.user.User pUser, boolean bulkload)Deprecated.
-
-
Method Detail
-
getLong
public long getLong(String key)
Deprecated.- Specified by:
getLongin interfacePreferences
-
setLong
public void setLong(String key, long i) throws com.atlassian.core.AtlassianCoreException
Deprecated.- Specified by:
setLongin interfacePreferences- Throws:
com.atlassian.core.AtlassianCoreException
-
getString
public String getString(String key)
Deprecated.- Specified by:
getStringin interfacePreferences
-
setString
public void setString(String key, String value) throws com.atlassian.core.AtlassianCoreException
Deprecated.- Specified by:
setStringin interfacePreferences- Throws:
com.atlassian.core.AtlassianCoreException
-
getBoolean
public boolean getBoolean(String key)
Deprecated.- Specified by:
getBooleanin interfacePreferences
-
setBoolean
public void setBoolean(String key, boolean b) throws com.atlassian.core.AtlassianCoreException
Deprecated.- Specified by:
setBooleanin interfacePreferences- Throws:
com.atlassian.core.AtlassianCoreException
-
remove
public void remove(String key) throws com.atlassian.core.AtlassianCoreException
Deprecated.- Specified by:
removein interfacePreferences- Throws:
com.atlassian.core.AtlassianCoreException
-
identical
public static boolean identical(com.opensymphony.module.propertyset.PropertySet pThis, com.opensymphony.module.propertyset.PropertySet pThat)Deprecated.Check to see if the two propertySet contain the same values and types NOTE If both PropertySets are null then true is returned- Parameters:
pThis- First PropertySetpThat- Second PropertySet- Returns:
- Are the two PropertySets identical
-
-