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,
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 |
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()
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()
public boolean isWatchingOwnContent()
public com.atlassian.core.user.preferences.UserPreferences getWrappedPreferences()
Copyright © 2003–2019 Atlassian. All rights reserved.