|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.admin.actions.languages.ConfigureLanguageAction
public class ConfigureLanguageAction
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ConfigureLanguageAction()
|
Method Summary | |
---|---|
String |
doDefault()
Default webwork action execution method. |
String |
doView()
|
String |
execute()
|
String |
getGlobalDefaultLocale()
|
String |
getGlobalDefaultLocaleUserFriendly()
Returns the user-friendly version of the locale set as the global default |
List<com.atlassian.core.util.PairType> |
getInstalledLanguagesList()
|
boolean |
isCurrentGlobalLocale(String locale)
Determines if the given locale name is the same as the default global locale |
boolean |
isEditMode()
|
void |
setGlobalDefaultLocale(String globalDefaultLocale)
|
void |
validate()
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigureLanguageAction()
Method Detail |
---|
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class ConfluenceActionSupport
Exception
- if something goes wrongpublic String doView() throws Exception
Exception
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public List<com.atlassian.core.util.PairType> getInstalledLanguagesList()
public String getGlobalDefaultLocale()
public void setGlobalDefaultLocale(String globalDefaultLocale)
public String getGlobalDefaultLocaleUserFriendly()
public boolean isCurrentGlobalLocale(String locale)
locale
-
public boolean isEditMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |