com.atlassian.jira.action.component
Class ComponentEdit

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

Deprecated. Use ProjectComponentService.update(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.util.ErrorCollection, com.atlassian.jira.bc.project.component.MutableProjectComponent) or ProjectComponentManager.update(com.atlassian.jira.bc.project.component.MutableProjectComponent) instead. Since v5.0.

public class ComponentEdit
extends AbstractProjectEntityEdit

This class updates the component details

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
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()
          Deprecated.  
 
Method Summary
protected  String doExecute()
          Deprecated. Update the name of the component and store.
 String getLead()
          Deprecated.  
 void setLead(String lead)
          Deprecated.  
 
Methods inherited from class com.atlassian.jira.action.project.AbstractProjectEntityEdit
doValidation, getDescription, getEntity, getName, getProject, setDescription, setEntity, setName, setProject
 
Methods inherited from class com.atlassian.jira.action.JiraNonWebActionSupport
doDefault, execute, getLoggedInUser, isDispatchEvent, setDispatchEvent, setRemoteUser
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, getActionName, getApplicationProperties, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, 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 webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

ComponentEdit

public ComponentEdit()
Deprecated. 
Method Detail

doExecute

protected String doExecute()
Deprecated. 
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

getLead

public String getLead()
Deprecated. 

setLead

public void setLead(String lead)
Deprecated. 


Copyright © 2002-2012 Atlassian. All Rights Reserved.