public class

SelectProjectSecuritySchemeStep2

extends AbstractSchemeAwareAction
implements ProjectAware
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.scheme.AbstractSchemeAwareAction
           ↳ com.atlassian.jira.web.action.admin.issuesecurity.SelectProjectSecuritySchemeStep2

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[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
SelectProjectSecuritySchemeStep2(IssueSecuritySchemeManager issueSecuritySchemeManager, IssueSecurityLevelManager issueSecurityLevelManager)
Public Methods
List getAffectedIssues(Long levelId)
Get all issues that are part of this project and have this security level
static String getLevelPrefix()
Long getNewSchemeId()
Map getNewSecurityLevels()
Get the list of Security Levels for the new scheme
Long getOrigSchemeId()
Map getOriginalSecurityLevels()
Get the list of Security Levels for the original scheme
Project getProject()
Long getProjectId()
String getRedirectURL()
SchemeManager getSchemeManager()
IssueSecurityLevelScheme getSecurityScheme(Long schemeId)
List getTotalAffectedIssues()
Get all issues that are part of this project and have security set on them
void setNewSchemeId(Long newSchemeId)
void setOrigSchemeId(Long origSchemeId)
void setProjectId(Long projectId)
Protected Methods
String doExecute()
[Expand]
Inherited Methods
From class com.atlassian.jira.scheme.AbstractSchemeAwareAction
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.action.admin.notification.ProjectAware
From interface com.atlassian.jira.web.action.admin.notification.SchemeAware
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Public Constructors

public SelectProjectSecuritySchemeStep2 (IssueSecuritySchemeManager issueSecuritySchemeManager, IssueSecurityLevelManager issueSecurityLevelManager)

Public Methods

public List getAffectedIssues (Long levelId)

Get all issues that are part of this project and have this security level

Parameters
levelId The security level
Returns
  • A List containing all affected issues

public static String getLevelPrefix ()

public Long getNewSchemeId ()

public Map getNewSecurityLevels ()

Get the list of Security Levels for the new scheme

Returns
  • A Map containing the levels

public Long getOrigSchemeId ()

public Map getOriginalSecurityLevels ()

Get the list of Security Levels for the original scheme

Returns
  • A Map containing the levels

public Project getProject ()

Throws
GenericEntityException

public Long getProjectId ()

public String getRedirectURL ()

Throws
GenericEntityException

public SchemeManager getSchemeManager ()

public IssueSecurityLevelScheme getSecurityScheme (Long schemeId)

Throws
GenericEntityException

public List getTotalAffectedIssues ()

Get all issues that are part of this project and have security set on them

Returns
  • A List containing all affected issues

public void setNewSchemeId (Long newSchemeId)

public void setOrigSchemeId (Long origSchemeId)

public void setProjectId (Long projectId)

Protected Methods

protected String doExecute ()

Throws
Exception