Uses of Interface
com.atlassian.bitbucket.user.ApplicationUser
Package
Description
-
Uses of ApplicationUser in com.atlassian.bitbucket.activity
-
Uses of ApplicationUser in com.atlassian.bitbucket.auth
Modifier and TypeMethodDescriptionRememberMeService.authenticate
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Attempts to authenticate a request using the remember-me cookie provided on the request.AuthenticationContext.getCurrentUser()
-
Uses of ApplicationUser in com.atlassian.bitbucket.comment
Modifier and TypeMethodDescriptionComment.getAuthor()
CommentSearchRequest.getAuthor()
CommentSearchRequest.getPendingAuthor()
Limitspending
comments to those posted by the specified author.Comment.getResolver()
Retrieves theuser
who resolved the comment.CommentThread.getResolver()
Modifier and TypeMethodDescriptionCommentSearchRequest.Builder.author
(ApplicationUser value) CommentSearchRequest.Builder.pendingAuthor
(ApplicationUser value) -
Uses of ApplicationUser in com.atlassian.bitbucket.commit
-
Uses of ApplicationUser in com.atlassian.bitbucket.content
Modifier and TypeMethodDescriptionEditFileRequest.getAuthor()
The author of the commit, if provided. -
Uses of ApplicationUser in com.atlassian.bitbucket.dashboard
Modifier and TypeMethodDescriptionSuggestPullRequestsRequest.getUser()
Suggestions will be based on push activity for the given user.ModifierConstructorDescriptionBuilder
(ApplicationUser user, Date changesSince) Constructs a builder for creatingSuggestPullRequestsRequest
objects. -
Uses of ApplicationUser in com.atlassian.bitbucket.event
-
Uses of ApplicationUser in com.atlassian.bitbucket.event.commit
Modifier and TypeMethodDescriptionCommitDiscussionParticipantsUpdatedEvent.getAddedParticipants()
CommitDiscussionParticipantsUpdatedEvent.getRemovedParticipants()
ModifierConstructorDescriptionCommitDiscussionParticipantsUpdatedEvent
(Object source, CommitDiscussion discussion, Set<ApplicationUser> added, Set<ApplicationUser> removed) -
Uses of ApplicationUser in com.atlassian.bitbucket.event.permission
Modifier and TypeMethodDescriptionPermissionEvent.getAffectedUser()
PermissionGrantedEvent.getAffectedUser()
PermissionModifiedEvent.getAffectedUser()
PermissionRevokedEvent.getAffectedUser()
ModifierConstructorDescriptionprotected
AbstractGlobalPermissionModificationEvent
(Object source, Permission oldValue, Permission newValue, String affectedGroup, ApplicationUser affectedUser) protected
AbstractProjectPermissionModificationEvent
(Object source, Permission oldValue, Permission newValue, Project project, String affectedGroup, ApplicationUser affectedUser) protected
AbstractRepositoryPermissionModificationEvent
(Object source, Permission oldValue, Permission newValue, Repository repository, String affectedGroup, ApplicationUser affectedUser) protected
GlobalPermissionEvent
(Object source, Permission permission, String affectedGroup, ApplicationUser affectedUser) GlobalPermissionGrantedEvent
(Object source, Permission permission, String affectedGroup, ApplicationUser affectedUser) GlobalPermissionGrantRequestedEvent
(Object source, Permission permission, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) GlobalPermissionModificationRequestedEvent
(Object source, Permission oldValue, Permission newValue, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) GlobalPermissionModifiedEvent
(Object source, Permission oldValue, Permission newValue, String affectedGroup, ApplicationUser affectedUser) GlobalPermissionRevocationRequestedEvent
(Object source, Permission permission, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) GlobalPermissionRevokedEvent
(Object source, Permission permission, String affectedGroup, ApplicationUser affectedUser) protected
PermissionEvent
(Object source, Permission permission, String affectedGroup, ApplicationUser affectedUser) protected
ProjectPermissionEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser) ProjectPermissionGrantedEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser) ProjectPermissionGrantRequestedEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) ProjectPermissionModificationRequestedEvent
(Object source, Permission oldValue, Permission newValue, Project project, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) ProjectPermissionModifiedEvent
(Object source, Permission oldValue, Permission newValue, Project project, String affectedGroup, ApplicationUser affectedUser) ProjectPermissionRevocationRequestedEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) ProjectPermissionRevokedEvent
(Object source, Permission permission, Project project, String affectedGroup, ApplicationUser affectedUser) protected
RepositoryPermissionEvent
(Object source, Permission permission, Repository repository, String affectedGroup, ApplicationUser affectedUser) RepositoryPermissionGrantedEvent
(Object source, Permission permission, Repository repository, String affectedGroup, ApplicationUser affectedUser) RepositoryPermissionGrantRequestedEvent
(Object source, Permission permission, Repository repository, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) RepositoryPermissionModificationRequestedEvent
(Object source, Permission oldValue, Permission newValue, Repository repository, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) RepositoryPermissionModifiedEvent
(Object source, Permission oldValue, Permission newValue, Repository repository, String affectedGroup, ApplicationUser affectedUser) RepositoryPermissionRevocationRequestedEvent
(Object source, Permission permission, Repository repository, String affectedGroup, ApplicationUser affectedUser, CancelState cancelState) RepositoryPermissionRevokedEvent
(Object source, Permission permission, Repository repository, String affectedGroup, ApplicationUser affectedUser) -
Uses of ApplicationUser in com.atlassian.bitbucket.event.pull
Modifier and TypeMethodDescriptionPullRequestParticipantsUpdatedEvent.getAddedParticipants()
PullRequestReviewersUpdatedEvent.getAddedReviewers()
PullRequestParticipantsUpdatedEvent.getRemovedParticipants()
PullRequestReviewersUpdatedEvent.getRemovedReviewers()
PullRequestOpenRequestedEvent.getReviewers()
Retrieves a set containing theusers
who have been specified as reviewers for the pull request that is about to be created.ModifierConstructorDescriptionPullRequestOpenRequestedEvent
(Object source, PullRequest pullRequest, Set<ApplicationUser> reviewers, CancelState cancelState) PullRequestParticipantsUpdatedEvent
(Object source, PullRequest pullRequest, Set<ApplicationUser> added, Set<ApplicationUser> removed) PullRequestReviewersUpdatedEvent
(Object source, PullRequest pullRequest, Set<ApplicationUser> added, Set<ApplicationUser> removed) -
Uses of ApplicationUser in com.atlassian.bitbucket.event.repository
Modifier and TypeMethodDescriptionRepositoryRefsChangedEvent.getUser()
Retrieves the user who triggered the ref changes, if available. -
Uses of ApplicationUser in com.atlassian.bitbucket.event.user
Modifier and TypeMethodDescriptionUserCleanupEvent.getDeletedUser()
UserAttributeChangedEvent.getUpdatedUser()
UserErasedEvent.getUpdatedUser()
ModifierConstructorDescriptionUserAvatarUpdatedEvent
(Object source, ApplicationUser updatedUser) UserCleanupEvent
(Object source, ApplicationUser deletedUser) UserErasedEvent
(Object source, long duration, String originalUsername, ApplicationUser updatedUser) UserTimeZoneChangedEvent
(Object source, ApplicationUser updatedUser, String oldZoneId, String newZoneId) -
Uses of ApplicationUser in com.atlassian.bitbucket.job
-
Uses of ApplicationUser in com.atlassian.bitbucket.license
Modifier and TypeMethodDescriptionvoid
LicenseService.validateCanLicenseUser
(ApplicationUser user, Permission permission) Validate if the given user can be licensed without violating license limits -
Uses of ApplicationUser in com.atlassian.bitbucket.mail
Modifier and TypeMethodDescriptionSoyMailMessageRequest.Builder.recipients
(Iterable<ApplicationUser> value) -
Uses of ApplicationUser in com.atlassian.bitbucket.permission
Modifier and TypeMethodDescriptionPermissionRequest.getUser()
PermittedUser.getUser()
Retrieves the user to which the permission has been granted.Modifier and TypeMethodDescriptionPermissionAdminService.findLicensedUsersWithoutProjectPermission
(Project project, String filter, PageRequest pageRequest) PermissionAdminService.findLicensedUsersWithoutRepositoryPermission
(Repository repository, String filter, PageRequest pageRequest) PermissionAdminService.findUsersWithoutGlobalPermission
(String filter, PageRequest pageRequest) Retrieves a page ofactive
users who have not been explicitly granted any global permissionPermissionService.getGrantedUsers
(Permission permission, PageRequest request) Get the users which are granted a permissionSetPermissionRequest.getUsers()
Modifier and TypeMethodDescriptionPermissionService.getHighestGlobalPermission
(ApplicationUser user) Get the highest global permission for a user.boolean
PermissionService.hasAnyUserPermission
(ApplicationUser user, Permission permission) boolean
PermissionService.hasGlobalPermission
(ApplicationUser user, Permission permission) Will return true if the user isactive
and one of the following conditions is met: permission is granted directly for the given user permission is granted to a group the given user is a member ofboolean
PermissionService.hasProjectPermission
(ApplicationUser user, int projectId, Permission permission) boolean
PermissionService.hasProjectPermission
(ApplicationUser user, Project project, Permission permission) Will return true if the user isactive
and one of the following conditions is met: permission is granted directly for the given user on the given project permission is granted for all logged in users on the given project permission is granted to a group the given user is a member of on the given project The given user is directly granted a permission on at least one repository within the given project and the given permission is implied as a result A group the given user is a member of is granted a permission on at least one repository within the given project and the given permission is implied as a result The given project ispublicly accessible
and the permission is implied as a result the given user is directly grantedadministration rights
A group the given user is a member of is grantedadministration rights
boolean
PermissionService.hasRepositoryPermission
(ApplicationUser user, int repositoryId, Permission permission) boolean
PermissionService.hasRepositoryPermission
(ApplicationUser user, Repository repository, Permission permission) Will return true if the user isactive
and one of the following conditions is met: permission is granted directly for the given user on the given repository permission is granted to a group the given user is a member of on the given repository The given user is directly granted a permission on the containing project and the given permission is implied as a result A group the given user is a member of is granted a permission on the containing project and the given permission is implied as a result All logged in users are granted a permission to the containing project and the given permission is implied as a result The given repository ispublicly accessible
and the permission is implied as a result the given user is directly grantedadministration rights
A group the given user is a member of is grantedadministration rights
This method will always returnfalse
if theuser
given isnull
as anonymous users cannot be granted permissions by definition.boolean
PermissionService.hasUserPermission
(ApplicationUser user, int targetUserId, Permission permission) boolean
PermissionService.hasUserPermission
(ApplicationUser targetUser, Permission permission) boolean
PermissionService.hasUserPermission
(ApplicationUser user, ApplicationUser targetUser, Permission permission) void
PermissionAdminService.revokeAllGlobalPermissions
(ApplicationUser user) Revoke all global permissions for the given user.void
PermissionAdminService.revokeAllProjectPermissions
(Project project, ApplicationUser user) Revoke all project permissions for the given user.void
PermissionAdminService.revokeAllRepositoryPermissions
(Repository repository, ApplicationUser user) Revoke all repository permissions for the given user.void
PermissionAdminService.revokeAllUserPermissions
(ApplicationUser user) Revoke all permissions from a user.PermissionRequest.Builder.user
(ApplicationUser value) SetPermissionRequest.Builder.user
(ApplicationUser user) void
PermissionValidationService.validateForUser
(ApplicationUser targetUser, Permission permission) Validate that the current user has the specified permission for the target user.Modifier and TypeMethodDescriptionSetPermissionRequest.Builder.users
(Iterable<ApplicationUser> users) -
Uses of ApplicationUser in com.atlassian.bitbucket.project
-
Uses of ApplicationUser in com.atlassian.bitbucket.pull
Modifier and TypeMethodDescriptionPullRequestReviewersUpdatedActivity.getAddedReviewers()
PullRequestReviewersUpdatedActivity.getRemovedReviewers()
InvalidPullRequestParticipantsException.getValidParticipants()
InvalidPullRequestReviewersException.getValidReviewers()
PullRequestService.searchUsers
(PullRequestParticipantSearchRequest searchRequest, PageRequest pageRequest) Findsusers
who have participated in pull requests based on the providedsearch request
.ModifierConstructorDescriptionInvalidPullRequestParticipantsException
(KeyedMessage message, PullRequestRole role, Map<String, KeyedMessage> errorsByParticipantName, Set<ApplicationUser> validParticipants) InvalidPullRequestReviewersException
(KeyedMessage message, Map<String, KeyedMessage> reviewerErrorsByName, Set<ApplicationUser> validReviewers) -
Uses of ApplicationUser in com.atlassian.bitbucket.pull.automerge
-
Uses of ApplicationUser in com.atlassian.bitbucket.pull.reviewer
Modifier and TypeMethodDescriptionReviewerGroup.getUsers()
ReviewerGroupCreateRequest.getUsers()
ReviewerGroupUpdateRequest.getUsers()
Modifier and TypeMethodDescriptionReviewerGroupCreateRequest.Builder.users
(ApplicationUser... values) ReviewerGroupUpdateRequest.Builder.users
(ApplicationUser... values) Modifier and TypeMethodDescriptionReviewerGroupCreateRequest.Builder.users
(Iterable<ApplicationUser> values) ReviewerGroupUpdateRequest.Builder.users
(Iterable<ApplicationUser> values) -
Uses of ApplicationUser in com.atlassian.bitbucket.repository
Modifier and TypeMethodDescriptionRepositoryService.findByOwner
(ApplicationUser owner, PageRequest pageRequest) Retrieves a page ofrepositories
owned by the specifieduser
.RepositoryCloneLinksRequest.Builder.user
(ApplicationUser value) -
Uses of ApplicationUser in com.atlassian.bitbucket.scm
Modifier and TypeMethodDescriptionAbstractMergeCommandParameters.getAuthor()
EditFileCommandParameters.getAuthor()
AbstractMergeCommandParameters.getCommitter()
EditFileCommandParameters.getCommitter()
RevertCommandParameters.getCommitter()
Modifier and TypeMethodDescriptionAbstractMergeCommandParameters.AbstractBuilder.author
(ApplicationUser value) EditFileCommandParameters.Builder.author
(ApplicationUser value) AbstractMergeCommandParameters.AbstractBuilder.committer
(ApplicationUser value) EditFileCommandParameters.Builder.committer
(ApplicationUser value) RevertCommandParameters.Builder.committer
(ApplicationUser value) -
Uses of ApplicationUser in com.atlassian.bitbucket.scm.ref
Modifier and TypeMethodDescriptionAbstractRefCommandParameters.AbstractRefBuilder.author
(ApplicationUser value) -
Uses of ApplicationUser in com.atlassian.bitbucket.timezone
-
Uses of ApplicationUser in com.atlassian.bitbucket.user
Modifier and TypeInterfaceDescriptioninterface
Extends aApplicationUser
with additional details relating to the directory backing the user.interface
Represents a registered service user.Modifier and TypeMethodDescriptionUserService.findUserByEmail
(String value) UserService.findUserByNameOrEmail
(String value) UserErasureRequest.getUpdatedUser()
UserService.getUserById
(int id) Retrieves aApplicationUser
by itsID
.UserService.getUserById
(int id, boolean inactive) Retrieves aApplicationUser
by itsID
.UserService.getUserByName
(String username) UserService.getUserByName
(String username, boolean inactive) Retrieves aApplicationUser
by itsusername
, optionally returning the user even if it has been removed from the underlying user store.UserService.getUserBySlug
(String slug) UserService.updateUser
(String displayName, String emailAddress) Deprecated.in 9.4 for removal in 10.0.UserService.updateUser
(String displayName, String emailAddress, String currentPassword) Updates thedisplay name
ande-mail address
for the current user.Modifier and TypeMethodDescriptionUserService.findUsers
(PageRequest pageRequest) UserService.findUsersByGroup
(String groupName, PageRequest pageRequest) Retrieves a page ofactive
users which are members of the specified group.UserService.findUsersByName
(String username, PageRequest pageRequest) UserService.getUsersById
(Set<Integer> ids) UserService.getUsersById
(Set<Integer> ids, boolean inactive) Retrieves a set ofApplicationUser
s by theirIDs
, optionally including users who have been removed from the underlying user store.UserService.getUsersByName
(Set<String> usernames) UserService.getUsersByName
(Set<String> usernames, boolean inactive) Retrieves a set ofApplicationUser
s by theirusernames
, optionally including users who have been removed from the underlying user store.UserService.search
(UserSearchRequest request, PageRequest pageRequest) Modifier and TypeMethodDescriptionprotected T
AbstractApplicationUserVisitor.defaultValue
(ApplicationUser user) Convenience method that allows implementors to provide a single fallback return valuevoid
UserService.deleteAvatar
(ApplicationUser user) Delete the avatar associated with a user.protected void
AbstractVoidApplicationUserVisitor.doVisit
(ApplicationUser user) static boolean
ApplicationUserEquality.equals
(ApplicationUser user, Object object) UserService.getAvatar
(ApplicationUser user, int size) Retrieves the current avatar for the specified user at a requested size.UserAdminService.getUserDetails
(ApplicationUser user) static int
ApplicationUserEquality.hashCode
(ApplicationUser user) SecurityService.impersonating
(ApplicationUser user, String reason) Creates a custom security context that is authenticated asuser
that can be used to perform operations.boolean
UserService.isUserActive
(ApplicationUser user) Retrieves the active state of the user.boolean
UserService.isUserActive
(ApplicationUser user, boolean checkDirectory) Retrieves the active state of the user.boolean
UserService.isUserInGroup
(ApplicationUser user, String groupName) Retrieves a flag indicating whether the specified user is a member of the specified group.void
UserService.updateAvatar
(ApplicationUser user, AvatarSupplier supplier) Updates the specified user's avatar, replacing it with the one contained in the providedsupplier
.void
UserService.updateAvatar
(ApplicationUser user, String uri) Updates the specified user's avatar, replacing it with the one contained in the provided data URI.AbstractApplicationUserVisitor.visit
(ApplicationUser user) AbstractVoidApplicationUserVisitor.visit
(ApplicationUser user) ApplicationUserVisitor.visit
(ApplicationUser user) -
Uses of ApplicationUser in com.atlassian.bitbucket.watcher
Modifier and TypeMethodDescriptionAbstractWatcherRequest.getUser()
If provided, determines which user is the subject of this requestModifier and TypeMethodDescriptionAbstractWatcherRequest.AbstractBuilder.user
(ApplicationUser value)