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 boolean
equals(Object o)
Deprecated.boolean
getBoolean(String key)
Deprecated.long
getLong(String key)
Deprecated.String
getString(String key)
Deprecated.int
hashCode()
Deprecated.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 returnedvoid
remove(String key)
Deprecated.void
setBoolean(String key, boolean b)
Deprecated.void
setLong(String key, long i)
Deprecated.void
setString(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:
getLong
in interfacePreferences
-
setLong
public void setLong(String key, long i) throws com.atlassian.core.AtlassianCoreException
Deprecated.- Specified by:
setLong
in interfacePreferences
- Throws:
com.atlassian.core.AtlassianCoreException
-
getString
public String getString(String key)
Deprecated.- Specified by:
getString
in interfacePreferences
-
setString
public void setString(String key, String value) throws com.atlassian.core.AtlassianCoreException
Deprecated.- Specified by:
setString
in interfacePreferences
- Throws:
com.atlassian.core.AtlassianCoreException
-
getBoolean
public boolean getBoolean(String key)
Deprecated.- Specified by:
getBoolean
in interfacePreferences
-
setBoolean
public void setBoolean(String key, boolean b) throws com.atlassian.core.AtlassianCoreException
Deprecated.- Specified by:
setBoolean
in interfacePreferences
- Throws:
com.atlassian.core.AtlassianCoreException
-
remove
public void remove(String key) throws com.atlassian.core.AtlassianCoreException
Deprecated.- Specified by:
remove
in 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
-
-