com.atlassian.jira.web.action.admin.customfields
Class EditCustomFieldOptions

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.admin.customfields.AbstractEditConfigurationItemAction
                  extended by com.atlassian.jira.web.action.admin.customfields.EditCustomFieldOptions
All Implemented Interfaces:
ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class EditCustomFieldOptions
extends AbstractEditConfigurationItemAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
EditCustomFieldOptions(IssueManager issueManager, ReindexMessageManager reindexMessageManager)
           
 
Method Summary
 String doAdd()
           
 String doConfigureOption()
           
 String doDefault()
           
 String doDisable()
           
 String doEdit()
           
 String doEnable()
           
protected  String doExecute()
           
 String doMoveDown()
           
 String doMoveToFirst()
           
 String doMoveToLast()
           
 String doMoveUp()
           
 String doRemove()
           
 String doSort()
           
 String doUpdate()
           
protected  void doValidation()
           
 String getAddValue()
           
 Collection getAffectedIssues()
           
 int getButtonRowSize()
           
 Object getDefaultValues()
           
 Collection getDisplayOptions()
           
 String getDoActionUrl(Option option, String action)
           
 Collection getHlOptions()
           
 String getNewPositionTextBoxName(int optionId)
           
 String getNewPositionValue(int optionId)
           
 Options getOptions()
           
 Option getSelectedOption()
           
 Option getSelectedParentOption()
           
 Long getSelectedParentOptionId()
           
 String getSelectedParentOptionUrlPrefix(String action)
           
 String getSelectedParentOptionUrlPreifx()
           
 String getSelectedValue()
           
 String getUrlWithParent(String action)
           
 String getValue()
           
 boolean isCascadingSelect()
           
 boolean isDefaultValue(String value)
           
 void setAddValue(String addValue)
           
 void setConfirm(boolean confirm)
           
 void setCurrentOptions(String[] currentFields)
           
 void setSelectedParentOptionId(Long selectedParentOptionId)
           
 void setSelectedValue(String selectedValue)
           
 void setValue(String value)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.customfields.AbstractEditConfigurationItemAction
getCustomField, getFieldConfig, getFieldConfigId, setFieldConfigId
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

EditCustomFieldOptions

public EditCustomFieldOptions(IssueManager issueManager,
                              ReindexMessageManager reindexMessageManager)
Method Detail

doDefault

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

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doConfigureOption

public String doConfigureOption()

doAdd

public String doAdd()
             throws Exception
Throws:
Exception

doSort

public String doSort()
              throws Exception
Throws:
Exception

doMoveToFirst

public String doMoveToFirst()
                     throws Exception
Throws:
Exception

doMoveUp

public String doMoveUp()
                throws Exception
Throws:
Exception

doMoveDown

public String doMoveDown()
                  throws Exception
Throws:
Exception

doMoveToLast

public String doMoveToLast()
                    throws Exception
Throws:
Exception

getNewPositionTextBoxName

public String getNewPositionTextBoxName(int optionId)

getNewPositionValue

public String getNewPositionValue(int optionId)

doRemove

public String doRemove()
                throws Exception
Throws:
Exception

doDisable

public String doDisable()
                 throws Exception
Throws:
Exception

doEnable

public String doEnable()
                throws Exception
Throws:
Exception

doEdit

public String doEdit()
              throws Exception
Throws:
Exception

doUpdate

public String doUpdate()
                throws Exception
Throws:
Exception

doExecute

protected String doExecute()
                    throws Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
Exception

getAffectedIssues

public Collection getAffectedIssues()

getOptions

public Options getOptions()

getDisplayOptions

public Collection getDisplayOptions()

getSelectedOption

public Option getSelectedOption()

getSelectedParentOption

public Option getSelectedParentOption()

getDefaultValues

public Object getDefaultValues()

isDefaultValue

public boolean isDefaultValue(String value)

getButtonRowSize

public int getButtonRowSize()

isCascadingSelect

public boolean isCascadingSelect()

getSelectedParentOptionUrlPreifx

public String getSelectedParentOptionUrlPreifx()

getSelectedParentOptionUrlPrefix

public String getSelectedParentOptionUrlPrefix(String action)

getDoActionUrl

public String getDoActionUrl(Option option,
                             String action)

getUrlWithParent

public String getUrlWithParent(String action)

getAddValue

public String getAddValue()

setAddValue

public void setAddValue(String addValue)

getValue

public String getValue()

setValue

public void setValue(String value)

getSelectedValue

public String getSelectedValue()

setSelectedValue

public void setSelectedValue(String selectedValue)

getSelectedParentOptionId

public Long getSelectedParentOptionId()

setSelectedParentOptionId

public void setSelectedParentOptionId(Long selectedParentOptionId)

setConfirm

public void setConfirm(boolean confirm)

getHlOptions

public Collection getHlOptions()

setCurrentOptions

public void setCurrentOptions(String[] currentFields)


Copyright © 2002-2012 Atlassian. All Rights Reserved.