public class

EditPermissions

extends SchemeAwarePermissionAction
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.permission.SchemeAwarePermissionAction
             ↳ com.atlassian.jira.web.action.admin.permission.EditPermissions

Class Overview

This class is used to display all permissions for a particular permission scheme. It is used for the Edit Permissions page

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
EditPermissions(PermissionManager permissionManager, ProjectPermissionSchemeHelper helper)
Public Methods
Collection<ProjectPermission> getAttachmentsPermissions()
Collection<ProjectPermission> getCommentsPermissions()
String getI18nUsersGroupsRolesHeader()
Collection<ProjectPermission> getIssuePermissions()
Collection<ProjectPermission> getOtherPermissions()
List getPermissions(String permissionKey)
Get all Generic Value permission records for a particular scheme and permission Id
Collection<ProjectPermission> getProjectPermissions()
SchemeManager getSchemeManager()
Collection<ProjectPermission> getTimeTrackingPermissions()
List<Project> getUsedIn()
Collection<ProjectPermission> getVotersAndWatchersPermissions()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.admin.permission.SchemeAwarePermissionAction
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.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 EditPermissions (PermissionManager permissionManager, ProjectPermissionSchemeHelper helper)

Public Methods

public Collection<ProjectPermission> getAttachmentsPermissions ()

public Collection<ProjectPermission> getCommentsPermissions ()

public String getI18nUsersGroupsRolesHeader ()

public Collection<ProjectPermission> getIssuePermissions ()

public Collection<ProjectPermission> getOtherPermissions ()

public List getPermissions (String permissionKey)

Get all Generic Value permission records for a particular scheme and permission Id

Parameters
permissionKey The key of the permission
Returns
  • List of (GenericValue) permissions
Throws
GenericEntityException
GenericEntityException

public Collection<ProjectPermission> getProjectPermissions ()

public SchemeManager getSchemeManager ()

public Collection<ProjectPermission> getTimeTrackingPermissions ()

public List<Project> getUsedIn ()

public Collection<ProjectPermission> getVotersAndWatchersPermissions ()