com.atlassian.jira.action
Class JiraActionSupport

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware, java.io.Serializable
Direct Known Subclasses:
JiraNonWebActionSupport, JiraWebActionSupport

public abstract class JiraActionSupport
extends webwork.action.ActionSupport
implements webwork.action.CommandDriven

See Also:
Serialized Form

Field Summary
(package private)  ApplicationProperties applicationProperties
           
protected  org.apache.log4j.Category 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
protected JiraActionSupport()
           
 
Method Summary
 void addErrorMessages(webwork.dispatcher.ActionResult aResult)
           
 void addErrorMessages(java.util.Collection errorMessages)
           
 void addErrors(java.util.Map errors)
           
 java.lang.String execute()
           
 java.lang.String getActionName()
           
 ApplicationProperties getApplicationProperties()
           
 org.ofbiz.core.entity.GenericDelegator getDelegator()
           
 com.atlassian.core.util.LocaleUtils getLocaleUtils()
           
abstract  com.opensymphony.user.User getRemoteUser()
           
 java.lang.String getResult()
          Get a definitive result.
 java.lang.String getText(java.lang.String string)
           
 java.lang.String getUnescapedText(java.lang.String key)
           
 WatcherManager getWatcherManager()
           
 boolean hasAnyErrors()
           
 boolean isIndexing()
           
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, 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

log

protected final org.apache.log4j.Category log

applicationProperties

ApplicationProperties applicationProperties
Constructor Detail

JiraActionSupport

protected JiraActionSupport()
Method Detail

getRemoteUser

public abstract com.opensymphony.user.User getRemoteUser()

execute

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

getDelegator

public org.ofbiz.core.entity.GenericDelegator getDelegator()

getApplicationProperties

public ApplicationProperties getApplicationProperties()

getWatcherManager

public WatcherManager getWatcherManager()

getActionName

public final java.lang.String getActionName()
Returns:
The name of this action - the unqualified class name.

getResult

public java.lang.String getResult()
Get a definitive result. Returns error if there are error messages, otherwise success.


addErrorMessages

public void addErrorMessages(java.util.Collection errorMessages)

addErrors

public void addErrors(java.util.Map errors)

hasAnyErrors

public boolean hasAnyErrors()

addErrorMessages

public void addErrorMessages(webwork.dispatcher.ActionResult aResult)

isIndexing

public boolean isIndexing()

getLocaleUtils

public com.atlassian.core.util.LocaleUtils getLocaleUtils()

getText

public java.lang.String getText(java.lang.String string)

getUnescapedText

public java.lang.String getUnescapedText(java.lang.String key)


Copyright © 2002-2005 Atlassian. All Rights Reserved.