|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.user.ConfluenceUserPreferences
public class ConfluenceUserPreferences
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)
Deprecated. |
DateFormatter |
getDateFormatter(FormatSettingsManager formatSettingsManager,
LocaleManager localeManager)
|
java.util.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(java.lang.String timeZoneID)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfluenceUserPreferences()
public ConfluenceUserPreferences(com.opensymphony.module.propertyset.PropertySet properties)
properties - the PropertySet containing a user's preferences| Method Detail |
|---|
public TimeZone getTimeZone()
@Deprecated public DateFormatter getDateFormatter(FormatSettingsManager formatSettingsManager)
public DateFormatter getDateFormatter(FormatSettingsManager formatSettingsManager,
LocaleManager localeManager)
public void setTimeZone(java.lang.String timeZoneID)
throws com.atlassian.core.AtlassianCoreException
com.atlassian.core.AtlassianCoreExceptionpublic java.util.Locale getLocale()
public boolean isShowDifferencesInNotificationEmails()
@Deprecated public boolean isShowFullContentInNotificationEmails()
public boolean isWatchingOwnContent()
public com.atlassian.core.user.preferences.UserPreferences getWrappedPreferences()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||