com.atlassian.jira.action.component
Class ComponentEdit

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.action.JiraNonWebActionSupport
              extended bycom.atlassian.jira.action.project.AbstractProjectEntityEdit
                  extended bycom.atlassian.jira.action.component.ComponentEdit
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, I18nHelper, webwork.action.IllegalArgumentAware, Serializable

public class ComponentEdit
extends AbstractProjectEntityEdit

This class updates the component details

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.action.JiraNonWebActionSupport
 
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
ComponentEdit()
           
 
Method Summary
protected  String doExecute()
          Update the name of the component and store.
 String getLead()
           
 void setLead(String lead)
           
 
Methods inherited from class com.atlassian.jira.action.project.AbstractProjectEntityEdit
doValidation, flushAffectedIssues, getDescription, getEntity, getName, getProject, setDescription, setEntity, setName, setProject
 
Methods inherited from class com.atlassian.jira.action.JiraNonWebActionSupport
doDefault, execute, getRemoteUser, isDispatchEvent, setDispatchEvent, setRemoteUser
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, 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 webwork.action.CommandDriven
setCommand
 

Constructor Detail

ComponentEdit

public ComponentEdit()
Method Detail

doExecute

protected String doExecute()
                    throws Exception
Update the name of the component and store. Flush all affected issues from the cache so that the new name is picked up

Overrides:
doExecute in class AbstractProjectEntityEdit
Returns:
String to indicate result of action
Throws:
Exception

getLead

public String getLead()

setLead

public void setLead(String lead)


Copyright © 2002-2006 Atlassian. All Rights Reserved.