Class AbstractEditFieldLayoutItem

java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.admin.issuefields.AbstractEditFieldLayoutItem
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, Action, CommandDriven, IllegalArgumentAware
Direct Known Subclasses:
EditDefaultFieldLayoutItem, EditFieldLayoutItem

public abstract class AbstractEditFieldLayoutItem extends JiraWebActionSupport
See Also:
  • Field Details

  • Constructor Details

  • 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
    • getRedirectURI

      protected abstract String getRedirectURI()
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getPosition

      public Integer getPosition()
      Zero-relative position of the field
    • setPosition

      public void setPosition(Integer position)
    • getFieldId

      public String getFieldId()
    • setFieldId

      public void setFieldId(String fieldId)
    • getFieldLayout

      protected abstract EditableFieldLayout getFieldLayout()
    • store

      protected abstract void store()
    • getFieldName

      public String getFieldName()
    • isFieldLocked

      public boolean isFieldLocked()