@PublicApi
public interface UserPreferencesManager
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Deprecated.
These objects are flyweights so there is no longer any point in them being cached. This method
no longer does anything. Since v6.2.
|
ExtendedPreferences |
getExtendedPreferences(ApplicationUser user)
Returns The user preferences for a user.
|
com.atlassian.core.user.preferences.Preferences |
getPreferences(ApplicationUser user)
Deprecated.
Use
getExtendedPreferences(ApplicationUser) instead. Since v6.0. |
ExtendedPreferences getExtendedPreferences(ApplicationUser user)
user
is null
, then the preferences will be for an anonymous user and reflect only the
system's default settings. The preferences for the anonymous user cannot be modified directly.com.atlassian.core.user.preferences.Preferences getPreferences(ApplicationUser user)
getExtendedPreferences(ApplicationUser)
instead. Since v6.0.user
is null
, then the preferences will be for an anonymous user and reflect only the
system's default settings. The preferences for the anonymous user cannot be modified directly.
Although not declared as such to avoid breaking API use of this method, the returned preferences
object is guaranteed to implement ExtendedPreferences
.void clearCache()
Copyright © 2002-2015 Atlassian. All Rights Reserved.