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, I18nHelper, webwork.action.IllegalArgumentAware, Serializable
Direct Known Subclasses:
AbstractIssueAction, AbstractProjectEntityCreate, AbstractProjectEntityEdit, ComponentDelete, DataClean, DataExport, DataImport, ListenerCreate, ListenerDelete, ProjectCategoryCreate, ProjectCategoryDelete, ProjectCategoryEdit, ProjectCreate, ProjectDelete

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)  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 com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
JiraNonWebActionSupport()
           
 
Method Summary
 String doDefault()
           
 String execute()
           
 User getRemoteUser()
           
 boolean isDispatchEvent()
           
 void setDispatchEvent(boolean dispatchEvent)
           
 void setRemoteUser(User remoteUser)
           
 
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, doExecute, doValidation, 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

dispatchEvent

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


remoteUser

User remoteUser
The remote user running this action

Constructor Detail

JiraNonWebActionSupport

public JiraNonWebActionSupport()
Method Detail

execute

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

doDefault

public String doDefault()
                 throws Exception
Throws:
Exception

isDispatchEvent

public boolean isDispatchEvent()

setDispatchEvent

public void setDispatchEvent(boolean dispatchEvent)

getRemoteUser

public User getRemoteUser()
Specified by:
getRemoteUser in class JiraActionSupport

setRemoteUser

public void setRemoteUser(User remoteUser)


Copyright © 2002-2006 Atlassian. All Rights Reserved.