Class AbstractSchemeAwareAction

java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.scheme.AbstractSchemeAwareAction
All Implemented Interfaces:
ErrorCollection, I18nHelper, SchemeAware, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
AbstractAddScheme, AbstractCopyScheme, AbstractDeleteScheme, AbstractEditScheme, AbstractProjectAndSchemeAwareAction, AbstractViewSchemes, SchemeAwareIssueSecurityAction, SchemeAwareNotificationAction, SchemeAwarePermissionAction, SelectProjectSecuritySchemeStep2

public abstract class AbstractSchemeAwareAction extends JiraWebActionSupport implements SchemeAware
See Also:
  • Constructor Details

    • AbstractSchemeAwareAction

      public AbstractSchemeAwareAction()
  • Method Details

    • getSchemeManager

      public abstract SchemeManager getSchemeManager()
    • getRedirectURL

      public abstract String getRedirectURL() throws org.ofbiz.core.entity.GenericEntityException
      Throws:
      org.ofbiz.core.entity.GenericEntityException
    • getSchemeId

      public Long getSchemeId()
      Gets the scheme Id for the permission scheme
      Specified by:
      getSchemeId in interface SchemeAware
      Returns:
      The scheme Id
    • setSchemeId

      public void setSchemeId(Long schemeId)
      Sets the schemeId of the permission scheme
      Specified by:
      setSchemeId in interface SchemeAware
      Parameters:
      schemeId - The value to be set
    • getScheme

      public org.ofbiz.core.entity.GenericValue getScheme() throws org.ofbiz.core.entity.GenericEntityException
      Deprecated.
      Gets the permission scheme
      Specified by:
      getScheme in interface SchemeAware
      Returns:
      The permission scheme of the current action
      Throws:
      org.ofbiz.core.entity.GenericEntityException
    • getSchemeObject

      public Scheme getSchemeObject() throws DataAccessException
      Throws:
      DataAccessException
    • doNameValidation

      public void doNameValidation(String name, String mode)
    • formatSecurityTypeParameter

      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