com.atlassian.jira.action
Class JiraNonWebActionSupport

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.action.JiraNonWebActionSupport
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware, java.io.Serializable
Direct Known Subclasses:
AbstractIssueAction, AbstractProjectEntityCreate, AbstractProjectEntityEdit, ComponentDelete, DataClean, DataExport, DataImport, ListenerCreate, ListenerDelete, ProjectCategoryCreate, ProjectCategoryDelete, ProjectCategoryEdit, ProjectCreate, ProjectDelete, ServiceCreate

public class JiraNonWebActionSupport
extends JiraActionSupport

The superclass for all non-web actions in JIRA.

See Also:
Serialized Form

Field Summary
(package private)  boolean dispatchEvent
          Whether or not to dispatch an event for this action
(package private)  com.opensymphony.user.User remoteUser
          The remote user running this action
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
applicationProperties, 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
JiraNonWebActionSupport()
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String execute()
           
 com.opensymphony.user.User getRemoteUser()
           
 boolean isDispatchEvent()
           
 void setDispatchEvent(boolean dispatchEvent)
           
 void setRemoteUser(com.opensymphony.user.User remoteUser)
           
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getText, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doExecute, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, 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 webwork.action.CommandDriven
setCommand
 

Field Detail

dispatchEvent

boolean dispatchEvent
Whether or not to dispatch an event for this action


remoteUser

com.opensymphony.user.User remoteUser
The remote user running this action

Constructor Detail

JiraNonWebActionSupport

public JiraNonWebActionSupport()
Method Detail

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface webwork.action.Action
Overrides:
execute in class JiraActionSupport
Throws:
java.lang.Exception

doDefault

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

isDispatchEvent

public boolean isDispatchEvent()

setDispatchEvent

public void setDispatchEvent(boolean dispatchEvent)

getRemoteUser

public com.opensymphony.user.User getRemoteUser()
Specified by:
getRemoteUser in class JiraActionSupport

setRemoteUser

public void setRemoteUser(com.opensymphony.user.User remoteUser)


Copyright © 2002-2005 Atlassian. All Rights Reserved.