com.atlassian.jira.action.action
Class ActionDelete

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.action.JiraNonWebActionSupport
              extended bycom.atlassian.jira.action.issue.AbstractIssueAction
                  extended bycom.atlassian.jira.action.issue.AbstractIssueUpdateAction
                      extended bycom.atlassian.jira.action.action.ActionDelete
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, I18nHelper, webwork.action.IllegalArgumentAware, Serializable

public class ActionDelete
extends AbstractIssueUpdateAction

See Also:
Serialized Form

Field Summary
(package private)  org.ofbiz.core.entity.GenericValue action
           
(package private)  org.ofbiz.core.entity.GenericValue issue
           
 
Fields inherited from class com.atlassian.jira.action.issue.AbstractIssueUpdateAction
textAnalyzer
 
Fields inherited from class com.atlassian.jira.action.JiraNonWebActionSupport
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
 
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
ActionDelete(IssueUpdater issueUpdater)
           
 
Method Summary
protected  String doExecute()
          Performs this action
 org.ofbiz.core.entity.GenericValue getAction()
           
 org.ofbiz.core.entity.GenericValue getIssue()
          Override the superclass getIssue() method so that we always return the issue that is the parent of the action.
 void setAction(org.ofbiz.core.entity.GenericValue action)
           
 
Methods inherited from class com.atlassian.jira.action.issue.AbstractIssueUpdateAction
doUpdate, doUpdate, doUpdate, doUpdate, doUpdate, doUpdateWithChangelog, getOriginalIssue, setIssue
 
Methods inherited from class com.atlassian.jira.action.issue.AbstractIssueAction
doValidation
 
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, 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 webwork.action.CommandDriven
setCommand
 

Field Detail

action

org.ofbiz.core.entity.GenericValue action

issue

org.ofbiz.core.entity.GenericValue issue
Constructor Detail

ActionDelete

public ActionDelete(IssueUpdater issueUpdater)
Method Detail

doExecute

protected String doExecute()
                    throws IllegalStateException,
                           org.ofbiz.core.entity.GenericEntityException,
                           JiraException
Performs this action

Returns:
resultof this action
Throws:
PermissionException - if the user has not the permission to perform this action
IllegalStateException - if action was not set
org.ofbiz.core.entity.GenericEntityException - if cannot remove from store
JiraException - PermissionException if action type is not ActionConstants.TYPE_COMMENT or ActionConstants.TYPE_EMAIL, IndexException if re-indexing fails or updating changelog failed

getIssue

public org.ofbiz.core.entity.GenericValue getIssue()
Override the superclass getIssue() method so that we always return the issue that is the parent of the action.

Overrides:
getIssue in class AbstractIssueAction

getAction

public org.ofbiz.core.entity.GenericValue getAction()

setAction

public void setAction(org.ofbiz.core.entity.GenericValue action)


Copyright © 2002-2007 Atlassian. All Rights Reserved.