|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwebwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
public abstract class JiraActionSupport
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper |
|---|
I18nHelper.BeanFactory |
| Field Summary | |
|---|---|
protected org.apache.log4j.Logger |
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(Collection errorMessages)
|
void |
addErrors(Map errors)
|
void |
addIllegalArgumentException(String fieldName,
IllegalArgumentException e)
Override this method from ActionSupport. |
String |
execute()
|
String |
getActionName()
|
ApplicationProperties |
getApplicationProperties()
|
ResourceBundle |
getDefaultResourceBundle()
|
org.ofbiz.core.entity.GenericDelegator |
getDelegator()
|
JiraLocaleUtils |
getJiraLocaleUtils()
|
Locale |
getLocale()
override default getLocale() to use the locale specified by the user |
abstract User |
getRemoteUser()
|
String |
getResult()
Get a definitive result. |
String |
getText(String string)
|
String |
getText(String string,
Object parameters)
A parameterised i18n'zed message |
String |
getText(String string,
Object value1,
Object value2,
Object value3,
Object value4,
Object value5,
Object value6)
|
String |
getText(String key,
String value1)
A parameterised i18n'zed message with one string parameters |
String |
getText(String string,
String param1,
String param2)
A parameterised i18n'zed message with two string parameters |
String |
getText(String string,
String param1,
String param2,
String param3)
A parameterised i18n'zed message with two string parameters |
String |
getText(String key,
String value1,
String value2,
String value3,
String value4)
|
String |
getText(String string,
String value1,
String value2,
String value3,
String value4,
String value5,
String value6,
String value7,
String value8,
String value9)
|
protected String |
getText0(String key)
Special accessor for the ActionSupport.getText(String) method as we override that method here :-( |
String |
getUnescapedText(String key)
|
com.atlassian.core.user.preferences.Preferences |
getUserPreferences()
|
WatcherManager |
getWatcherManager()
|
boolean |
hasAnyErrors()
|
boolean |
isEnterprise()
|
boolean |
isIndexing()
|
boolean |
isProfessional()
|
boolean |
isProfessionalOrEnterprise()
|
boolean |
isStandard()
|
protected void |
removeKeyOrAddError(Map params,
String key,
String messageKey)
Checks if descriptorParams contains key and removes it, otherwise adds the error message with the given message key. |
| Methods inherited from class webwork.action.ActionSupport |
|---|
addError, addErrorMessage, doDefault, 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 |
|---|
protected final org.apache.log4j.Logger log
| Constructor Detail |
|---|
protected JiraActionSupport()
| Method Detail |
|---|
public abstract User getRemoteUser()
public String execute()
throws Exception
execute in interface webwork.action.Actionexecute in class webwork.action.ActionSupportExceptionpublic org.ofbiz.core.entity.GenericDelegator getDelegator()
public ApplicationProperties getApplicationProperties()
public WatcherManager getWatcherManager()
public final String getActionName()
getActionName in class webwork.action.ActionSupportpublic String getResult()
Action.ERROR if there are error messages,
otherwise Action.SUCCESS.
Action.ERROR or Action.SUCCESSpublic void addErrorMessages(Collection errorMessages)
public void addErrors(Map errors)
public boolean hasAnyErrors()
public void addErrorMessages(webwork.dispatcher.ActionResult aResult)
public boolean isIndexing()
public JiraLocaleUtils getJiraLocaleUtils()
public String getText(String string)
getText in interface I18nHelpergetText in class webwork.action.ActionSupport
public String getText(String key,
String value1,
String value2,
String value3,
String value4)
getText in interface I18nHelper
public String getText(String string,
Object value1,
Object value2,
Object value3,
Object value4,
Object value5,
Object value6)
getText in interface I18nHelper
public String getText(String string,
String value1,
String value2,
String value3,
String value4,
String value5,
String value6,
String value7,
String value8,
String value9)
getText in interface I18nHelper
public String getText(String string,
Object parameters)
getText in interface I18nHelperparameters - A single object, or array of objects, or list of objects
public String getText(String key,
String value1)
getText in interface I18nHelper
public String getText(String string,
String param1,
String param2)
getText in interface I18nHelperpublic ResourceBundle getDefaultResourceBundle()
getDefaultResourceBundle in interface I18nHelper
public String getText(String string,
String param1,
String param2,
String param3)
getText in interface I18nHelperpublic Locale getLocale()
getLocale in interface I18nHelpergetLocale in class webwork.action.ActionSupportpublic com.atlassian.core.user.preferences.Preferences getUserPreferences()
public String getUnescapedText(String key)
getUnescapedText in interface I18nHelperprotected String getText0(String key)
ActionSupport.getText(String) method as we override that method here :-(
public void addIllegalArgumentException(String fieldName,
IllegalArgumentException e)
addIllegalArgumentException in interface webwork.action.IllegalArgumentAwareaddIllegalArgumentException in class webwork.action.ActionSupportpublic final boolean isEnterprise()
public final boolean isProfessionalOrEnterprise()
public final boolean isProfessional()
public final boolean isStandard()
protected void removeKeyOrAddError(Map params,
String key,
String messageKey)
params - the map of parameterskey - the param key to remove.messageKey - the error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||