Package com.atlassian.confluence.user
Interface ConfluenceUserResolver
- All Known Subinterfaces:
UserAccessor
,UserAccessorInternal
- All Known Implementing Classes:
DefaultUserAccessor
,ReadOnlyUserAccessor
@Transactional(readOnly=true)
public interface ConfluenceUserResolver
Provides operations to resolve
ConfluenceUser
s.- Since:
- 7.16
-
Method Summary
Modifier and TypeMethodDescription@NonNull Optional<ConfluenceUser>
getExistingByApiUser
(User user) @Nullable ConfluenceUser
getExistingUserByKey
(com.atlassian.sal.api.user.UserKey key) @Nullable ConfluenceUser
getExistingUserByPerson
(Person person) @Nullable ConfluenceUser
getUserByKey
(com.atlassian.sal.api.user.UserKey key) @Nullable ConfluenceUser
getUserByName
(String name) @NonNull PageResponse<ConfluenceUser>
getUsers
(LimitedRequest limitedRequest) Get fully backed (active or disabled) Confluence Users.@NonNull List<ConfluenceUser>
getUsersByUserKeys
(List<com.atlassian.sal.api.user.UserKey> userKeys)
-
Method Details
-
getUserByKey
-
getUserByName
-
getUsersByUserKeys
-
getUsers
Get fully backed (active or disabled) Confluence Users. When both embedded Crowd tables and Confluence user tables have the same user, that user can be retrieved.This means, when embedded crowd has the user, but Confluence does not (unsynced, externally deleted, shadowed), the user is not retrievable.
This means, when embedded crowd has a user, but Confluence does not, the user is not retrievable.- Parameters:
limitedRequest
- the limited request for ConfluenceUser- Returns:
- a non-null page response of ConfluenceUser.
- Since:
- 8.4
-
getExistingUserByKey
-
getExistingUserByPerson
-
getExistingByApiUser
-