Class EditMailServerAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.setup.actions.AbstractSetupEmailAction
-
- com.atlassian.confluence.admin.actions.mail.EditMailServerAction
-
- All Implemented Interfaces:
WebInterface
,MessageHolderAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
public class EditMailServerAction extends AbstractSetupEmailAction
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.setup.actions.AbstractSetupEmailAction
AbstractSetupEmailAction.FormData
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.setup.actions.AbstractSetupEmailAction
BASIC_AUTH_KEY, OAUTH_FLOW_SESSION_KEY, protocol
-
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, systemInformationService, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description EditMailServerAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
buildRedirect(String flowId)
String
doDefaultInternal()
protected String
executeInternal()
Executed on form saveString
getActionName()
Returns the internationalised name of the current action.List<HTMLPairType>
getAuthorizationList()
void
validate()
-
Methods inherited from class com.atlassian.confluence.setup.actions.AbstractSetupEmailAction
doDefault, execute, getApplicationProperties, getAuthorization, getAuthorize, getEmailAddress, getFlowId, getFromName, getHostname, getId, getIncomingProtocolList, getJndiName, getMailServer, getMailServerManager, getName, getOAuth2Service, getPassword, getPort, getPrefix, getProtocol, getTestConnection, getToken, getUserName, isPermitted, isTlsRequired, setApplicationProperties, setAuthorization, setAuthorize, setEmailAddress, setFlowId, setFromName, setHostname, setId, setJndiName, setMailServerManager, setName, setoAuth2Service, setPassword, setPort, setPrefix, setProtocol, setTestConnection, setTlsRequired, setToken, setUserName, validateJNDIScheme
-
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getAccessMode, getActionName, getAuthenticatedUser, getBootstrapManager, getBootstrapStatusProvider, getCancel, getCancelResult, getConfluenceAccessManager, getContentUiSupport, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocBean, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, useSkipAccessCheck, withServletRequestSupplier
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
-
-
-
-
Method Detail
-
validate
public void validate()
- Specified by:
validate
in interfaceMessageHolderAware
- Specified by:
validate
in interfacecom.opensymphony.xwork2.Validateable
- Overrides:
validate
in classAbstractSetupEmailAction
-
getActionName
public String getActionName()
Description copied from class:ConfluenceActionSupport
Returns the internationalised name of the current action.- Overrides:
getActionName
in classConfluenceActionSupport
-
doDefaultInternal
public String doDefaultInternal() throws Exception
- Specified by:
doDefaultInternal
in classAbstractSetupEmailAction
- Throws:
Exception
-
getAuthorizationList
public List<HTMLPairType> getAuthorizationList()
- Overrides:
getAuthorizationList
in classAbstractSetupEmailAction
-
executeInternal
protected String executeInternal() throws Exception
Executed on form save- Specified by:
executeInternal
in classAbstractSetupEmailAction
- Throws:
Exception
-
buildRedirect
public String buildRedirect(String flowId)
- Specified by:
buildRedirect
in classAbstractSetupEmailAction
-
-