public class

ViewUserProjectRoles

extends JiraWebActionSupport
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.admin.roles.ViewUserProjectRoles
Known Direct Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
Fields
protected Collection<Project> currentVisibleProjects
protected String name
protected ProjectFactory projectFactory
protected ProjectManager projectManager
protected ProjectRoleService projectRoleService
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
ViewUserProjectRoles(ProjectManager projectManager, ProjectRoleService projectRoleService, ProjectFactory projectFactory, CrowdService crowdService)
Public Methods
String doDefault()
Collection<GenericValue> getAllProjectCategories()
Collection<ProjectRole> getAllProjectRoles()
Collection getAllProjectsForCategory(GenericValue projectCategory)
Collection<Project> getCurrentVisibleProjects()
String getName()
int getProjectRoleColumnWidth()
ApplicationUser getProjectRoleEditUser()
String getReturnUrl()
String getUserInProjectRoleOtherType(ProjectRole projectRole, Project project)
Map getVisibleProjectsByCategory()
boolean isRoleForProjectSelected(ProjectRole role, Project project)
boolean isUserInProjectRoleTypeUser(ProjectRole projectRole, Project project)
void setName(String name)
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Fields

protected Collection<Project> currentVisibleProjects

protected String name

protected ProjectFactory projectFactory

protected ProjectManager projectManager

protected ProjectRoleService projectRoleService

Public Constructors

public ViewUserProjectRoles (ProjectManager projectManager, ProjectRoleService projectRoleService, ProjectFactory projectFactory, CrowdService crowdService)

Public Methods

public String doDefault ()

Throws
Exception

public Collection<GenericValue> getAllProjectCategories ()

public Collection<ProjectRole> getAllProjectRoles ()

public Collection getAllProjectsForCategory (GenericValue projectCategory)

public Collection<Project> getCurrentVisibleProjects ()

public String getName ()

public int getProjectRoleColumnWidth ()

public ApplicationUser getProjectRoleEditUser ()

public String getReturnUrl ()

public String getUserInProjectRoleOtherType (ProjectRole projectRole, Project project)

public Map getVisibleProjectsByCategory ()

public boolean isRoleForProjectSelected (ProjectRole role, Project project)

public boolean isUserInProjectRoleTypeUser (ProjectRole projectRole, Project project)

public void setName (String name)