Interface ConfluenceUserResolver

All Known Subinterfaces:
UserAccessor, UserAccessorInternal
All Known Implementing Classes:
DefaultUserAccessor, ReadOnlyUserAccessor

@Transactional(readOnly=true) public interface ConfluenceUserResolver
Provides operations to resolve ConfluenceUsers.
Since:
7.16
  • Method Details

    • getUserByKey

      @Nullable ConfluenceUser getUserByKey(com.atlassian.sal.api.user.UserKey key)
    • getUserByName

      @Nullable ConfluenceUser getUserByName(String name)
    • getUsersByUserKeys

      @NonNull List<ConfluenceUser> getUsersByUserKeys(List<com.atlassian.sal.api.user.UserKey> userKeys)
    • getUsers

      @NonNull PageResponse<ConfluenceUser> getUsers(LimitedRequest limitedRequest)
      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

      @Nullable ConfluenceUser getExistingUserByKey(com.atlassian.sal.api.user.UserKey key)
    • getExistingUserByPerson

      @Nullable ConfluenceUser getExistingUserByPerson(Person person)
    • getExistingByApiUser

      @NonNull Optional<ConfluenceUser> getExistingByApiUser(User user)