public class ConfluenceUserPreferences extends Object
Constructor and Description |
---|
ConfluenceUserPreferences()
No-args constructor is used for anonymous user preferences
|
ConfluenceUserPreferences(com.opensymphony.module.propertyset.PropertySet properties) |
Modifier and Type | Method and Description |
---|---|
DateFormatter |
getDateFormatter(FormatSettingsManager formatSettingsManager)
Deprecated.
|
DateFormatter |
getDateFormatter(FormatSettingsManager formatSettingsManager,
LocaleManager localeManager) |
Locale |
getLocale()
Returns the user's preferred locale, or null if the site default locale should be used.
|
TimeZone |
getTimeZone() |
com.atlassian.core.user.preferences.UserPreferences |
getWrappedPreferences() |
boolean |
isShowDifferencesInNotificationEmails() |
boolean |
isShowFullContentInNotificationEmails()
Deprecated.
|
boolean |
isWatchingOwnContent() |
void |
setTimeZone(String timeZoneID) |
public ConfluenceUserPreferences()
public ConfluenceUserPreferences(com.opensymphony.module.propertyset.PropertySet properties)
properties
- the PropertySet containing a user's preferencespublic TimeZone getTimeZone()
@Deprecated public DateFormatter getDateFormatter(FormatSettingsManager formatSettingsManager)
public DateFormatter getDateFormatter(FormatSettingsManager formatSettingsManager, LocaleManager localeManager)
public void setTimeZone(String timeZoneID) throws com.atlassian.core.AtlassianCoreException
com.atlassian.core.AtlassianCoreException
public Locale getLocale()
public boolean isShowDifferencesInNotificationEmails()
@Deprecated public boolean isShowFullContentInNotificationEmails()
public boolean isWatchingOwnContent()
public com.atlassian.core.user.preferences.UserPreferences getWrappedPreferences()
Copyright © 2003–2015 Atlassian. All rights reserved.