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:
  • Constructor Details

    • UserPreferences

      public UserPreferences(com.opensymphony.module.propertyset.PropertySet propertySet)
      Deprecated.
    • UserPreferences

      public UserPreferences(com.opensymphony.module.propertyset.PropertySet propertySet, boolean bulkload)
      Deprecated.
  • Method Details

    • getLong

      public long getLong(String key)
      Deprecated.
      Specified by:
      getLong in interface Preferences
    • setLong

      public void setLong(String key, long i) throws com.atlassian.core.AtlassianCoreException
      Deprecated.
      Specified by:
      setLong in interface Preferences
      Throws:
      com.atlassian.core.AtlassianCoreException
    • getInt

      public int getInt(String key)
      Deprecated.
      Since:
      9.3
    • setInt

      public void setInt(String key, int i) throws com.atlassian.core.AtlassianCoreException
      Deprecated.
      Throws:
      com.atlassian.core.AtlassianCoreException
      Since:
      9.3
    • getString

      public String getString(String key)
      Deprecated.
      Specified by:
      getString in interface Preferences
    • setString

      public void setString(String key, String value) throws com.atlassian.core.AtlassianCoreException
      Deprecated.
      Specified by:
      setString in interface Preferences
      Throws:
      com.atlassian.core.AtlassianCoreException
    • getBoolean

      public boolean getBoolean(String key)
      Deprecated.
      Specified by:
      getBoolean in interface Preferences
    • setBoolean

      public void setBoolean(String key, boolean b) throws com.atlassian.core.AtlassianCoreException
      Deprecated.
      Specified by:
      setBoolean in interface Preferences
      Throws:
      com.atlassian.core.AtlassianCoreException
    • remove

      public void remove(String key) throws com.atlassian.core.AtlassianCoreException
      Deprecated.
      Specified by:
      remove in interface Preferences
      Throws:
      com.atlassian.core.AtlassianCoreException
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • 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 PropertySet
      pThat - Second PropertySet
      Returns:
      Are the two PropertySets identical