com.atlassian.core.user.preferences
Class UserPreferences

java.lang.Object
  extended by com.atlassian.core.user.preferences.UserPreferences
All Implemented Interfaces:
Preferences, java.io.Serializable

public class UserPreferences
extends java.lang.Object
implements Preferences, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
UserPreferences()
           
UserPreferences(com.opensymphony.module.propertyset.PropertySet propertySet)
           
UserPreferences(com.opensymphony.module.propertyset.PropertySet propertySet, boolean bulkload)
           
UserPreferences(com.opensymphony.user.User pUser)
           
UserPreferences(com.opensymphony.user.User pUser, boolean bulkload)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 boolean getBoolean(java.lang.String key)
           
 long getLong(java.lang.String key)
           
 java.lang.String getString(java.lang.String key)
           
 int hashCode()
           
 void remove(java.lang.String key)
           
 void setBoolean(java.lang.String key, boolean b)
           
 void setLong(java.lang.String key, long i)
           
 void setString(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPreferences

public UserPreferences()

UserPreferences

public UserPreferences(com.opensymphony.user.User pUser)

UserPreferences

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

UserPreferences

public UserPreferences(com.opensymphony.module.propertyset.PropertySet propertySet,
                       boolean bulkload)

UserPreferences

public UserPreferences(com.opensymphony.user.User pUser,
                       boolean bulkload)
Method Detail

getLong

public long getLong(java.lang.String key)
Specified by:
getLong in interface Preferences

setLong

public void setLong(java.lang.String key,
                    long i)
             throws AtlassianCoreException
Specified by:
setLong in interface Preferences
Throws:
AtlassianCoreException

getString

public java.lang.String getString(java.lang.String key)
Specified by:
getString in interface Preferences

setString

public void setString(java.lang.String key,
                      java.lang.String value)
               throws AtlassianCoreException
Specified by:
setString in interface Preferences
Throws:
AtlassianCoreException

getBoolean

public boolean getBoolean(java.lang.String key)
Specified by:
getBoolean in interface Preferences

setBoolean

public void setBoolean(java.lang.String key,
                       boolean b)
                throws AtlassianCoreException
Specified by:
setBoolean in interface Preferences
Throws:
AtlassianCoreException

remove

public void remove(java.lang.String key)
            throws AtlassianCoreException
Specified by:
remove in interface Preferences
Throws:
AtlassianCoreException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.