com.atlassian.confluence.user
Class ConfluenceUserPreferences

java.lang.Object
  extended bycom.atlassian.confluence.user.ConfluenceUserPreferences

public class ConfluenceUserPreferences
extends Object

Provides strongly-typed accessors for Confluence user preferences. Use the no-args constructor for sensible defaults for anonymous user preferences.


Constructor Summary
ConfluenceUserPreferences()
          No-args constructor is used for anonymous user preferences
ConfluenceUserPreferences(com.opensymphony.module.propertyset.PropertySet properties)
           
 
Method Summary
 DateFormatter getDateFormatter(FormatSettingsManager formatSettingsManager)
           
 TimeZone getTimeZone()
           
 void setTimeZone(String timeZoneID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceUserPreferences

public ConfluenceUserPreferences()
No-args constructor is used for anonymous user preferences


ConfluenceUserPreferences

public ConfluenceUserPreferences(com.opensymphony.module.propertyset.PropertySet properties)
Parameters:
properties - the PropertySet containing a user's preferences
Method Detail

getTimeZone

public TimeZone getTimeZone()

getDateFormatter

public DateFormatter getDateFormatter(FormatSettingsManager formatSettingsManager)

setTimeZone

public void setTimeZone(String timeZoneID)
                 throws AtlassianCoreException
Throws:
AtlassianCoreException


Confluence is developed by Atlassian.