public class

ProjectActionSupport

extends JiraWebActionSupport
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.ProjectActionSupport
Known Direct Subclasses
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
Fields
protected final ProjectManager projectManager
[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
ProjectActionSupport(ProjectManager projectManager, PermissionManager permissionManager)
ProjectActionSupport()
Public Methods
Collection<Project> getBrowsableProjects()
Returns the projects that the current user is allowed to Browse.
Collection<GenericValue> getBrowseableProjects()
This method is deprecated. Use getBrowsableProjects() instead. Since v5.0.
Long getSelectedProjectId()
void setSelectedProject(Project project)
void setSelectedProject(GenericValue project)
[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 final ProjectManager projectManager

Public Constructors

public ProjectActionSupport (ProjectManager projectManager, PermissionManager permissionManager)

public ProjectActionSupport ()

Public Methods

public Collection<Project> getBrowsableProjects ()

Returns the projects that the current user is allowed to Browse.

Returns
  • the projects that the current user is allowed to Browse.

public Collection<GenericValue> getBrowseableProjects ()

This method is deprecated.
Use getBrowsableProjects() instead. Since v5.0.

Returns the projects that the current user is allowed to Browse.

Returns
  • the projects that the current user is allowed to Browse.

public Long getSelectedProjectId ()

public void setSelectedProject (Project project)

public void setSelectedProject (GenericValue project)