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

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.admin.customfields.EditCustomFieldOptions
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, java.io.Serializable

public class EditCustomFieldOptions
extends JiraWebActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request
 
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(CollectionReorderer reorderer, CustomFieldManager customFieldManager, IssueManager issueManager)
           
 
Method Summary
 java.lang.String doAdd()
           
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
 java.lang.String doMoveDown()
           
 java.lang.String doMoveUp()
           
 java.lang.String doRemove()
           
protected  void doValidation()
           
 java.lang.String getAddValue()
           
 java.util.Collection getAffectedIssues()
           
 CustomField getCustomField()
           
 CustomFieldEditHelper getCustomFieldHelper()
           
 java.lang.Object getDefaultValues()
           
 java.util.Collection getDisplayOptions()
           
 java.lang.String getDoActionUrl(Option option, java.lang.String action)
           
 java.lang.Long getId()
           
 Options getOptions()
           
 Option getSelectedOption()
           
 Option getSelectedParentOption()
           
 java.lang.Long getSelectedParentOptionId()
           
 java.lang.String getSelectedParentOptionUrlPreifx()
           
 java.lang.String getSelectedValue()
           
 java.lang.String getUrlWithParent(java.lang.String action)
           
 boolean isCascadingSelect()
           
 boolean isDefaultValue(java.lang.String value)
           
 void setAddValue(java.lang.String addValue)
           
 void setConfirm(boolean confirm)
           
 void setId(java.lang.Long id)
           
 void setSelectedParentOptionId(java.lang.Long selectedParentOptionId)
           
 void setSelectedValue(java.lang.String selectedValue)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, getConstantsManager, getCustomFieldHtml, getCustomFieldXML, getDefaultAssignee, getDefaultResourceBundle, getField, getLocale, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getText, getText, getText, getText, getText, getUserFullName, getUserPreferences, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, 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
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Constructor Detail

EditCustomFieldOptions

public EditCustomFieldOptions(CollectionReorderer reorderer,
                              CustomFieldManager customFieldManager,
                              IssueManager issueManager)
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Throws:
java.lang.Exception

doValidation

protected void doValidation()

doAdd

public java.lang.String doAdd()
                       throws java.lang.Exception
Throws:
java.lang.Exception

doMoveUp

public java.lang.String doMoveUp()
                          throws java.lang.Exception
Throws:
java.lang.Exception

doMoveDown

public java.lang.String doMoveDown()
                            throws java.lang.Exception
Throws:
java.lang.Exception

doRemove

public java.lang.String doRemove()
                          throws java.lang.Exception
Throws:
java.lang.Exception

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getAffectedIssues

public java.util.Collection getAffectedIssues()

getOptions

public Options getOptions()

getDisplayOptions

public java.util.Collection getDisplayOptions()

getSelectedOption

public Option getSelectedOption()

getSelectedParentOption

public Option getSelectedParentOption()

getCustomField

public CustomField getCustomField()

getDefaultValues

public java.lang.Object getDefaultValues()

isDefaultValue

public boolean isDefaultValue(java.lang.String value)

isCascadingSelect

public boolean isCascadingSelect()

getCustomFieldHelper

public CustomFieldEditHelper getCustomFieldHelper()

getSelectedParentOptionUrlPreifx

public java.lang.String getSelectedParentOptionUrlPreifx()

getDoActionUrl

public java.lang.String getDoActionUrl(Option option,
                                       java.lang.String action)

getUrlWithParent

public java.lang.String getUrlWithParent(java.lang.String action)

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)

getAddValue

public java.lang.String getAddValue()

setAddValue

public void setAddValue(java.lang.String addValue)

getSelectedValue

public java.lang.String getSelectedValue()

setSelectedValue

public void setSelectedValue(java.lang.String selectedValue)

getSelectedParentOptionId

public java.lang.Long getSelectedParentOptionId()

setSelectedParentOptionId

public void setSelectedParentOptionId(java.lang.Long selectedParentOptionId)

setConfirm

public void setConfirm(boolean confirm)


Copyright © 2002-2005 Atlassian. All Rights Reserved.