Class ViewProjectRoles

java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.admin.roles.ViewProjectRoles
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

@Path("secure/project/ViewProjectRoles.jspa") @Produces("text/html") public class ViewProjectRoles extends JiraWebActionSupport
See Also:
  • Field Details

    • projectRoleService

      protected ProjectRoleService projectRoleService
    • pluginAccessor

      protected com.atlassian.plugin.PluginAccessor pluginAccessor
  • Constructor Details

    • ViewProjectRoles

      public ViewProjectRoles(ProjectRoleService projectRoleService, com.atlassian.plugin.PluginAccessor pluginAccessor)
  • Method Details

    • doExecute

      @GET public String doExecute() throws Exception
      Overrides:
      doExecute in class webwork.action.ActionSupport
      Throws:
      Exception
    • doAddRole

      @POST public String doAddRole() throws Exception
      Throws:
      Exception
    • validateName

      protected void validateName()
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getRoles

      public Collection getRoles()
    • getProjectRole

      public ProjectRole getProjectRole()
    • setProjectRoleId

      public void setProjectRoleId(Long projectRoleId)
    • setId

      public void setId(Long projectRoleId)
    • getProjectRoleId

      public Long getProjectRoleId()
    • getRoleActorTypes

      public List getRoleActorTypes()
    • getConfigurationUrl

      public String getConfigurationUrl(String roleActorType)
    • getTableWidthForRoleActorTypes

      public int getTableWidthForRoleActorTypes(int percentToDivide)