Modifier and Type | Method and Description |
---|---|
ApplicationUser |
Activity.getUser() |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
MinimalAuditEntry.getUser() |
Modifier and Type | Method and Description |
---|---|
AuditEntryBuilder |
AuditEntryBuilder.user(ApplicationUser value) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
RememberMeService.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.
|
ApplicationUser |
AuthenticationContext.getCurrentUser() |
Modifier and Type | Method and Description |
---|---|
Optional<ApplicationUser> |
Authentication.getUser() |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
Comment.getAuthor() |
ApplicationUser |
Comment.getResolver()
Retrieves the
user who resolved the comment. |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
CommitDiscussionParticipant.getUser() |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
SuggestPullRequestsRequest.getUser()
Suggestions will be based on push activity for the given user.
|
Constructor and Description |
---|
Builder(ApplicationUser user,
Date changesSince)
Constructs a builder for creating
SuggestPullRequestsRequest objects. |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ApplicationEvent.getUser() |
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
CommitDiscussionParticipantsUpdatedEvent.getAddedParticipants() |
Set<ApplicationUser> |
CommitDiscussionParticipantsUpdatedEvent.getRemovedParticipants() |
Constructor and Description |
---|
CommitDiscussionParticipantsUpdatedEvent(Object source,
CommitDiscussion discussion,
Set<ApplicationUser> added,
Set<ApplicationUser> removed) |
CommitDiscussionParticipantsUpdatedEvent(Object source,
CommitDiscussion discussion,
Set<ApplicationUser> added,
Set<ApplicationUser> removed) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
PermissionEvent.getAffectedUser() |
ApplicationUser |
PermissionModifiedEvent.getAffectedUser() |
ApplicationUser |
PermissionRevokedEvent.getAffectedUser() |
ApplicationUser |
PermissionGrantedEvent.getAffectedUser() |
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
PullRequestParticipantsUpdatedEvent.getAddedParticipants() |
Set<ApplicationUser> |
PullRequestReviewersUpdatedEvent.getAddedReviewers() |
Set<ApplicationUser> |
PullRequestParticipantsUpdatedEvent.getRemovedParticipants() |
Set<ApplicationUser> |
PullRequestReviewersUpdatedEvent.getRemovedReviewers() |
Set<ApplicationUser> |
PullRequestOpenRequestedEvent.getReviewers()
Retrieves a set containing the
users who have been specified as reviewers for the pull request
that is about to be created. |
Constructor and Description |
---|
PullRequestOpenRequestedEvent(Object source,
PullRequest pullRequest,
Set<ApplicationUser> reviewers,
CancelState cancelState) |
PullRequestParticipantsUpdatedEvent(Object source,
PullRequest pullRequest,
Set<ApplicationUser> added,
Set<ApplicationUser> removed) |
PullRequestParticipantsUpdatedEvent(Object source,
PullRequest pullRequest,
Set<ApplicationUser> added,
Set<ApplicationUser> removed) |
PullRequestReviewersUpdatedEvent(Object source,
PullRequest pullRequest,
Set<ApplicationUser> added,
Set<ApplicationUser> removed) |
PullRequestReviewersUpdatedEvent(Object source,
PullRequest pullRequest,
Set<ApplicationUser> added,
Set<ApplicationUser> removed) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
RepositoryRefsChangedEvent.getUser()
Retrieves the user who triggered the ref changes, if available.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
UserCleanupEvent.getDeletedUser() |
ApplicationUser |
UserErasedEvent.getUpdatedUser() |
ApplicationUser |
UserAttributeChangedEvent.getUpdatedUser() |
Constructor and Description |
---|
UserAvatarUpdatedEvent(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) |
Modifier and Type | Method and Description |
---|---|
Optional<ApplicationUser> |
Job.getInitiator() |
Optional<ApplicationUser> |
JobCreationRequest.getInitiator() |
Modifier and Type | Method and Description |
---|---|
JobCreationRequest.Builder |
JobCreationRequest.Builder.initiator(ApplicationUser value) |
Modifier and Type | Method and Description |
---|---|
void |
LicenseService.validateCanLicenseUser(ApplicationUser user,
Permission permission)
Validate if the given user can be licensed without violating license limits
|
Modifier and Type | Method and Description |
---|---|
Iterable<ApplicationUser> |
SoyMailMessageRequest.getRecipients() |
Modifier and Type | Method and Description |
---|---|
SoyMailMessageRequest.Builder |
SoyMailMessageRequest.Builder.recipients(Iterable<ApplicationUser> value) |
Modifier and Type | Method and Description |
---|---|
NavBuilder.Profile |
NavBuilder.user(ApplicationUser user)
/users/SLUG or /bots/SLUG
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
PermittedUser.getUser()
Retrieves the user to which the permission has been granted.
|
ApplicationUser |
PermissionRequest.getUser() |
Modifier and Type | Method and Description |
---|---|
Page<ApplicationUser> |
PermissionAdminService.findLicensedUsersWithoutProjectPermission(Project project,
String filter,
PageRequest pageRequest)
|
Page<ApplicationUser> |
PermissionAdminService.findLicensedUsersWithoutRepositoryPermission(Repository repository,
String filter,
PageRequest pageRequest)
|
Page<ApplicationUser> |
PermissionAdminService.findUsersWithoutGlobalPermission(String filter,
PageRequest pageRequest)
Retrieves a page of
active users who have not been explicitly
granted any global permission |
Page<ApplicationUser> |
PermissionService.getGrantedUsers(Permission permission,
PageRequest request)
Get the users which are granted a permission
|
Set<ApplicationUser> |
SetPermissionRequest.getUsers() |
Modifier and Type | Method and Description |
---|---|
Permission |
PermissionService.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 is
active 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 of
|
boolean |
PermissionService.hasProjectPermission(ApplicationUser user,
int projectId,
Permission permission) |
boolean |
PermissionService.hasProjectPermission(ApplicationUser user,
Project project,
Permission permission)
Will return true if the user is
active 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 is publicly accessible and the permission is
implied as a result
the given user is directly granted administration rights
A group the given user is a member of is granted administration 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 is
active 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 is publicly accessible and the permission
is implied as a result
the given user is directly granted administration rights
A group the given user is a member of is granted administration rights
This method will always return false if the user given is null as
anonymous users cannot be granted permissions by definition. |
boolean |
PermissionService.hasUserPermission(ApplicationUser user,
ApplicationUser targetUser,
Permission permission) |
boolean |
PermissionService.hasUserPermission(ApplicationUser user,
int targetUserId,
Permission permission) |
boolean |
PermissionService.hasUserPermission(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.
|
SetPermissionRequest.Builder |
SetPermissionRequest.Builder.user(ApplicationUser user) |
PermissionRequest.Builder |
PermissionRequest.Builder.user(ApplicationUser value) |
void |
PermissionValidationService.validateForUser(ApplicationUser targetUser,
Permission permission)
Validate that the current user has the specified permission for the target user.
|
Modifier and Type | Method and Description |
---|---|
SetPermissionRequest.Builder |
SetPermissionRequest.Builder.users(Iterable<ApplicationUser> users) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
PersonalProject.getOwner()
Retrieves the
user to whom this personal project belongs. |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
PullRequestParticipant.getUser() |
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
PullRequestReviewersUpdatedActivity.getAddedReviewers() |
Set<ApplicationUser> |
PullRequestReviewersUpdatedActivity.getRemovedReviewers() |
Set<ApplicationUser> |
InvalidPullRequestParticipantsException.getValidParticipants() |
Set<ApplicationUser> |
InvalidPullRequestReviewersException.getValidReviewers() |
Page<ApplicationUser> |
PullRequestService.searchUsers(PullRequestParticipantSearchRequest searchRequest,
PageRequest pageRequest)
Finds
users who have participated in pull requests based on the provided
search request . |
Constructor and Description |
---|
InvalidPullRequestParticipantsException(KeyedMessage message,
PullRequestRole role,
Map<String,KeyedMessage> errorsByParticipantName,
Set<ApplicationUser> validParticipants) |
InvalidPullRequestReviewersException(KeyedMessage message,
Map<String,KeyedMessage> reviewerErrorsByName,
Set<ApplicationUser> validReviewers) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
RepositoryCloneLinksRequest.getUser() |
Modifier and Type | Method and Description |
---|---|
Page<Repository> |
RepositoryService.findByOwner(ApplicationUser owner,
PageRequest pageRequest)
Retrieves a page of
repositories owned by the specified user . |
RepositoryCloneLinksRequest.Builder |
RepositoryCloneLinksRequest.Builder.user(ApplicationUser value) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
AbstractMergeCommandParameters.getAuthor() |
ApplicationUser |
EditFileCommandParameters.getAuthor() |
ApplicationUser |
AbstractMergeCommandParameters.getCommitter() |
Modifier and Type | Method and Description |
---|---|
B |
AbstractMergeCommandParameters.AbstractBuilder.author(ApplicationUser value) |
EditFileCommandParameters.Builder |
EditFileCommandParameters.Builder.author(ApplicationUser value) |
B |
AbstractMergeCommandParameters.AbstractBuilder.committer(ApplicationUser value) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
AbstractRefCommandParameters.getAuthor() |
Modifier and Type | Method and Description |
---|---|
B |
AbstractRefCommandParameters.AbstractRefBuilder.author(ApplicationUser value) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
Task.getAuthor() |
Modifier and Type | Method and Description |
---|---|
ZoneId |
UserTimeZoneSupplier.getTimeZone(ApplicationUser user) |
Modifier and Type | Interface and Description |
---|---|
interface |
DetailedUser
Extends a
ApplicationUser with additional details relating to the directory backing the user. |
interface |
ServiceUser
Represents a registered service user.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
UserService.findUserByEmail(String value)
|
ApplicationUser |
UserService.findUserByNameOrEmail(String value)
|
ApplicationUser |
UserErasureRequest.getUpdatedUser() |
ApplicationUser |
UserService.getUserById(int id)
Retrieves a
ApplicationUser by its ID . |
ApplicationUser |
UserService.getUserById(int id,
boolean inactive)
Retrieves a
ApplicationUser by its ID . |
ApplicationUser |
UserService.getUserByName(String username)
|
ApplicationUser |
UserService.getUserByName(String username,
boolean inactive)
Retrieves a
ApplicationUser by its username , optionally returning the user even
if it has been removed from the underlying user store. |
ApplicationUser |
UserService.getUserBySlug(String slug)
|
ApplicationUser |
UserService.updateUser(String displayName,
String emailAddress)
Updates the
display name and e-mail address for the current user. |
Modifier and Type | Method and Description |
---|---|
Page<ApplicationUser> |
UserService.findUsers(PageRequest pageRequest)
|
Page<ApplicationUser> |
UserService.findUsersByGroup(String groupName,
PageRequest pageRequest)
Retrieves a page of
active users which are members of the specified group. |
Page<ApplicationUser> |
UserService.findUsersByName(String username,
PageRequest pageRequest)
|
Set<ApplicationUser> |
UserService.getUsersById(Set<Integer> ids)
|
Set<ApplicationUser> |
UserService.getUsersById(Set<Integer> ids,
boolean inactive)
Retrieves a set of
ApplicationUser s by their IDs , optionally including users who
have been removed from the underlying user store. |
Set<ApplicationUser> |
UserService.getUsersByName(Set<String> usernames)
|
Set<ApplicationUser> |
UserService.getUsersByName(Set<String> usernames,
boolean inactive)
Retrieves a set of
ApplicationUser s by their usernames , optionally including users
who have been removed from the underlying user store. |
Page<ApplicationUser> |
UserService.search(UserSearchRequest request,
PageRequest pageRequest)
|
Modifier and Type | Method and Description |
---|---|
protected T |
AbstractApplicationUserVisitor.defaultValue(ApplicationUser user)
Convenience method that allows implementors to provide a single fallback return value
|
void |
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) |
CacheableAvatarSupplier |
UserService.getAvatar(ApplicationUser user,
int size)
Retrieves the current avatar for the specified user at a requested size.
|
DetailedUser |
UserAdminService.getUserDetails(ApplicationUser user)
|
static int |
ApplicationUserEquality.hashCode(ApplicationUser user) |
EscalatedSecurityContext |
SecurityService.impersonating(ApplicationUser user,
String reason)
Creates a custom security context that is authenticated as
user 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 provided
supplier . |
void |
UserService.updateAvatar(ApplicationUser user,
String uri)
Updates the specified user's avatar, replacing it with the one contained in the provided data URI.
|
Void |
AbstractVoidApplicationUserVisitor.visit(ApplicationUser user) |
T |
ApplicationUserVisitor.visit(ApplicationUser user) |
T |
AbstractApplicationUserVisitor.visit(ApplicationUser user) |
Constructor and Description |
---|
Builder(ApplicationUser updatedUser,
String originalUsername) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
Watcher.getUser() |
Modifier and Type | Method and Description |
---|---|
Optional<ApplicationUser> |
AbstractWatcherRequest.getUser()
If provided, determines which user is the subject of this request
|
Modifier and Type | Method and Description |
---|---|
B |
AbstractWatcherRequest.AbstractBuilder.user(ApplicationUser value) |
Copyright © 2019 Atlassian. All rights reserved.