|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface UserPreferencesManager
A simple manager for retrieving, caching and updating user preferences objects.
Method Summary | |
---|---|
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. |
com.atlassian.core.user.preferences.Preferences |
getPreferences(com.atlassian.crowd.embedded.api.User user)
Deprecated. Use getExtendedPreferences(ApplicationUser) instead. Since v6.0. |
Method Detail |
---|
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
.
com.atlassian.core.user.preferences.Preferences getPreferences(com.atlassian.crowd.embedded.api.User 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |