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, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class EditCustomFieldOptions
extends AbstractEditConfigurationItemAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, savedFilters, selectedProject
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
EditCustomFieldOptions(IssueManager issueManager)
           
 
Method Summary
 String doAdd()
           
 String doConfigureOption()
           
 String doDefault()
           
protected  String doExecute()
           
 String doMoveDown()
           
 String doMoveToFirst()
           
 String doMoveToLast()
           
 String doMoveUp()
           
 String doRemove()
           
 String doSort()
           
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)
           
 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)
           
 
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
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, 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
setCommand
 

Constructor Detail

EditCustomFieldOptions

public EditCustomFieldOptions(IssueManager issueManager)
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

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)

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-2009 Atlassian. All Rights Reserved.