Class DeleteIssueSecurityLevel

All Implemented Interfaces:
ErrorCollection, I18nHelper, SchemeAware, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class DeleteIssueSecurityLevel extends SchemeAwareIssueSecurityAction
See Also:
  • Constructor Details

  • Method Details

    • doDefault

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

      protected String doExecute() throws Exception
      Swap the security level on all issues to the chosen level. If no level is chosen then the security will be set to null. The issue cache is flushed and the security level record is removed
      Overrides:
      doExecute in class webwork.action.ActionSupport
      Throws:
      Exception
    • getAffectedIssues

      public List<org.ofbiz.core.entity.GenericValue> getAffectedIssues()
    • getLevelId

      public Long getLevelId()
    • setLevelId

      public void setLevelId(Long levelId)
    • getIssueSecurityName

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

      public String getRedirectURL()
      Overrides:
      getRedirectURL in class SchemeAwareIssueSecurityAction
    • getOtherLevels

      public Map getOtherLevels()
      Return all other security levels in this scheme
    • getSwapLevel

      public Long getSwapLevel()
    • setSwapLevel

      public void setSwapLevel(Long swapLevel)