Class AbstractSelectProjectScheme

All Implemented Interfaces:
ErrorCollection, I18nHelper, ProjectAware, SchemeAware, HttpServletVariables, AuthorizationSupport, Serializable, Action, CommandDriven, IllegalArgumentAware
Direct Known Subclasses:
SelectProjectIssueSecurityScheme, SelectProjectPermissionScheme, SelectProjectScheme, SelectProjectWorkflowScheme

public abstract class AbstractSelectProjectScheme extends AbstractProjectAndSchemeAwareAction
See Also:
  • Constructor Details

    • AbstractSelectProjectScheme

      public AbstractSelectProjectScheme()
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Description copied from class: ActionSupport
      "default" command
      Overrides:
      doDefault in class ActionSupport
      Throws:
      Exception
    • doValidation

      protected void doValidation()
      Description copied from class: ActionSupport
      Subclasses may override this method to provide validation of input data. The execute() method should call validate() in the beginning of its code (which will delegate to this method), so as to check input data before doing the actual processing.

      If any application errors arise these should be registered by calling addErrorMessage or addError .

      If the validation is dependent on whether a command has been issued, and what that command is, then the isCommand() method should be used.

      Overrides:
      doValidation in class ActionSupport
    • doExecute

      protected String doExecute() throws Exception
      Overrides:
      doExecute in class ActionSupport
      Throws:
      Exception
    • getRedirectURL

      public String getRedirectURL()
      Specified by:
      getRedirectURL in class AbstractSchemeAwareAction
    • getProjectReturnUrl

      protected String getProjectReturnUrl()
    • hasPermission

      protected boolean hasPermission()
    • getSchemes

      public Collection<org.ofbiz.core.entity.GenericValue> getSchemes() throws org.ofbiz.core.entity.GenericEntityException
      Throws:
      org.ofbiz.core.entity.GenericEntityException
    • getSchemeIds

      public String[] getSchemeIds()
    • setSchemeIds

      public void setSchemeIds(String[] schemeIds)