com.atlassian.jira.action.component
Class ComponentEdit

java.lang.Object
  |
  +--webwork.action.ActionSupport
        |
        +--com.atlassian.jira.action.JiraActionSupport
              |
              +--com.atlassian.jira.action.JiraNonWebActionSupport
                    |
                    +--com.atlassian.jira.action.project.AbstractProjectEntityEdit
                          |
                          +--com.atlassian.jira.action.component.ComponentEdit
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware, java.io.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.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
ComponentEdit()
           
 
Method Summary
protected  java.lang.String doExecute()
          Update the name of the component and store.
 
Methods inherited from class com.atlassian.jira.action.project.AbstractProjectEntityEdit
doValidation, flushAffectedIssues, getEntity, getName, getProject, 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, getActionName, getApplicationProperties, getDelegator, getResult, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getText, 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 webwork.action.CommandDriven
setCommand
 

Constructor Detail

ComponentEdit

public ComponentEdit()
Method Detail

doExecute

protected java.lang.String doExecute()
                              throws java.lang.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:
java.lang.Exception


Copyright © 2002-2003 Atlassian. All Rights Reserved.