Package com.atlassian.confluence.user
Interface UserPreferencesAccessor
- All Known Subinterfaces:
UserAccessor
,UserAccessorInternal
- All Known Implementing Classes:
DefaultUserAccessor
,ReadOnlyUserAccessor
@Transactional(readOnly=true)
public interface UserPreferencesAccessor
Provides operations to access a user's
ConfluenceUserPreferences
and UserPreferences
.- Since:
- 7.16
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserPreferencesAccessor
forUserAccessor
(Supplier<UserAccessor> userAccessorRef) Deprecated, for removal: This API element is subject to removal in a future version.since 8.0@NonNull ConfluenceUserPreferences
getConfluenceUserPreferences
(@Nullable com.atlassian.user.User user)
-
Method Details
-
getConfluenceUserPreferences
@NonNull ConfluenceUserPreferences getConfluenceUserPreferences(@Nullable com.atlassian.user.User user) -
forUserAccessor
@Deprecated(since="8.0", forRemoval=true) static UserPreferencesAccessor forUserAccessor(Supplier<UserAccessor> userAccessorRef) Deprecated, for removal: This API element is subject to removal in a future version.since 8.0Useful backwards-compatibility factory method for dealing with legacy code that deals in lazy references to aUserAccessor
.
-