@javax.inject.Named class UsersImplementation extends java.lang.Object
Type | Name and description |
---|---|
com.atlassian.jira.user.ApplicationUser |
loggedInUser |
com.atlassian.jira.user.ApplicationUser |
loggedInUser |
Constructor and description |
---|
UsersImplementation(com.atlassian.jira.user.util.UserManager userManager, com.atlassian.jira.security.JiraAuthenticationContext authenticationContext, com.atlassian.jira.bc.user.UserService userService, com.atlassian.jira.security.PermissionManager permissionManager, com.atlassian.jira.security.GlobalPermissionManager globalPermissionManager, com.atlassian.jira.security.roles.ProjectRoleManager projectRoleManager, com.atlassian.jira.security.groups.GroupManager groupManager, com.atlassian.jira.user.UserPropertyManager userPropertyManager, com.atlassian.jira.ofbiz.OfBizDelegator ofBizDelegator) |
Type Params | Return Type | Name and description |
---|---|---|
|
com.atlassian.jira.user.ApplicationUser |
activate(com.atlassian.jira.user.ApplicationUser user) |
|
boolean |
canAdminister(com.atlassian.jira.user.ApplicationUser self, com.atlassian.jira.project.Project project) |
|
boolean |
canCreateIssues(com.atlassian.jira.user.ApplicationUser self, com.atlassian.jira.project.Project project) |
|
boolean |
canView(com.atlassian.jira.user.ApplicationUser self, com.atlassian.jira.project.Project project) |
|
boolean |
canView(com.atlassian.jira.user.ApplicationUser self, com.atlassian.jira.issue.Issue issue) |
|
com.atlassian.jira.user.ApplicationUser |
create(java.lang.String username, java.lang.String emailAddress, java.lang.String displayName, groovy.lang.Closure<?> specification) |
|
com.atlassian.jira.user.ApplicationUser |
deactivate(com.atlassian.jira.user.ApplicationUser user) |
|
void |
delete(com.atlassian.jira.user.ApplicationUser user) |
|
com.atlassian.jira.user.ApplicationUser |
getByKey(java.lang.String userKey) |
|
com.atlassian.jira.user.ApplicationUser |
getByName(java.lang.String username) |
|
java.sql.Timestamp |
getCreatedDate(com.atlassian.jira.user.ApplicationUser user) |
|
com.atlassian.jira.user.ApplicationUser |
getLoggedInUser() |
|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(com.atlassian.jira.user.ApplicationUser user) |
|
java.sql.Timestamp |
getUpdatedDate(com.atlassian.jira.user.ApplicationUser user) |
|
boolean |
hasPermission(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.security.plugin.ProjectPermissionKey projectPermissionKey, com.atlassian.jira.project.Project project) |
|
boolean |
hasPermission(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.security.plugin.ProjectPermissionKey projectPermissionKey, com.atlassian.jira.issue.Issue issue) |
|
boolean |
hasPermission(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.permission.GlobalPermissionKey globalPermissionKey) |
|
boolean |
isAdmin(com.atlassian.jira.user.ApplicationUser self) |
|
boolean |
isMemberOfGroup(com.atlassian.jira.user.ApplicationUser applicationUser, com.atlassian.crowd.embedded.api.Group group) |
|
boolean |
isMemberOfGroup(com.atlassian.jira.user.ApplicationUser applicationUser, java.lang.String groupName) |
|
boolean |
isMemberOfRole(com.atlassian.jira.user.ApplicationUser user, java.lang.String projectRoleName, com.atlassian.jira.project.Project project) |
|
boolean |
isMemberOfRole(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.security.roles.ProjectRole projectRole, com.atlassian.jira.project.Project project) |
|
boolean |
isSystemAdmin(com.atlassian.jira.user.ApplicationUser self) |
<T> |
T |
runAnonymously(java.util.concurrent.Callable<T> callable) |
<T> |
T |
runAs(java.lang.String username, java.util.concurrent.Callable<T> callable) |
<T> |
T |
runAs(com.atlassian.jira.user.ApplicationUser applicationUser, java.util.concurrent.Callable<T> callable) |
|
void |
setLoggedInUser(java.lang.String username) |
|
void |
setLoggedInUser(com.atlassian.jira.user.ApplicationUser applicationUser) |
|
com.atlassian.jira.user.ApplicationUser |
update(com.atlassian.jira.user.ApplicationUser user, groovy.lang.Closure<?> specification) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation