com.atlassian.jira.action
Class JiraNonWebActionSupport

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.action.JiraNonWebActionSupport
All Implemented Interfaces:
SafeAction, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
AbstractIssueAction, AbstractProjectEntityCreate, AbstractProjectEntityEdit, ListenerCreate, ListenerDelete

public class JiraNonWebActionSupport
extends JiraActionSupport
implements SafeAction

The superclass for all non-web actions in JIRA.

This implements SafeAction and hence can receive any arbitrary map of parameters.

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
JiraNonWebActionSupport()
           
 
Method Summary
 String doDefault()
           
 String execute()
           
 com.atlassian.crowd.embedded.api.User getLoggedInUser()
           
 boolean isDispatchEvent()
           
 void setDispatchEvent(boolean dispatchEvent)
           
 void setRemoteUser(com.atlassian.crowd.embedded.api.User remoteUser)
          Deprecated. This method should not be used. Since v4.3
 
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, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doExecute, doValidation, 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

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
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
Exception

isDispatchEvent

public boolean isDispatchEvent()

setDispatchEvent

public void setDispatchEvent(boolean dispatchEvent)

getLoggedInUser

public com.atlassian.crowd.embedded.api.User getLoggedInUser()
Specified by:
getLoggedInUser in class JiraActionSupport
Returns:
The logged in user.

setRemoteUser

public void setRemoteUser(com.atlassian.crowd.embedded.api.User remoteUser)
Deprecated. This method should not be used. Since v4.3

Parameters:
remoteUser - The Remote User


Copyright © 2002-2012 Atlassian. All Rights Reserved.