public abstract class

AbstractSchemeAwareAction

extends JiraWebActionSupport
implements SchemeAware
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.scheme.AbstractSchemeAwareAction
Known Direct Subclasses
Known Indirect Subclasses

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
AbstractSchemeAwareAction()
Public Methods
void doNameValidation(String name, String mode)
String formatSecurityTypeParameter(String type, String parameter)
This method is moving logic that used to be in the jsp to the server.
abstract String getRedirectURL()
GenericValue getScheme()
This method is deprecated. use getSchemeObject()
Long getSchemeId()
Gets the scheme Id for the permission scheme
abstract SchemeManager getSchemeManager()
Scheme getSchemeObject()
void setSchemeId(Long schemeId)
Sets the schemeId of the permission scheme
[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.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 AbstractSchemeAwareAction ()

Public Methods

public void doNameValidation (String name, String mode)

public String formatSecurityTypeParameter (String type, String parameter)

This method is moving logic that used to be in the jsp to the server. Basically if the parameter is blank, we show nothing except in the case of the group

public abstract String getRedirectURL ()

Throws
GenericEntityException

public GenericValue getScheme ()

This method is deprecated.
use getSchemeObject()

Gets the permission scheme

Returns
  • The permission scheme of the current action
Throws
org.ofbiz.core.entity.GenericEntityException
GenericEntityException

public Long getSchemeId ()

Gets the scheme Id for the permission scheme

Returns
  • The scheme Id

public abstract SchemeManager getSchemeManager ()

public Scheme getSchemeObject ()

public void setSchemeId (Long schemeId)

Sets the schemeId of the permission scheme

Parameters
schemeId The value to be set