com.atlassian.confluence.setup.actions
Class AbstractSetupEmailAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.setup.actions.AbstractSetupEmailAction
- All Implemented Interfaces:
- WebInterface, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
- Direct Known Subclasses:
- CreateMailServerAction, EditMailServerAction
public abstract class AbstractSetupEmailAction
- extends ConfluenceActionSupport
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
protocol
|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, 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 |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, execute, 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 |
protocol
protected java.lang.String protocol
AbstractSetupEmailAction
public AbstractSetupEmailAction()
isPermitted
public final boolean isPermitted()
- Overrides:
isPermitted
in class ConfluenceActionSupport
validate
public void validate()
- Specified by:
validate
in interface MessageHolderAware
- Specified by:
validate
in interface com.opensymphony.xwork.Validateable
- Overrides:
validate
in class com.opensymphony.xwork.ActionSupport
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getEmailAddress
public java.lang.String getEmailAddress()
setEmailAddress
public void setEmailAddress(java.lang.String emailAddress)
getFromName
public java.lang.String getFromName()
setFromName
public void setFromName(java.lang.String fromName)
getPrefix
public java.lang.String getPrefix()
setPrefix
public void setPrefix(java.lang.String prefix)
getUserName
public java.lang.String getUserName()
setUserName
public void setUserName(java.lang.String userName)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
doDefault
public java.lang.String doDefault()
throws java.lang.Exception
- Description copied from class:
ConfluenceActionSupport
- Default webwork action execution method.
- Overrides:
doDefault
in class ConfluenceActionSupport
- Returns:
- the action result
- Throws:
java.lang.Exception
- if something goes wrong
getHostnameAndPort
protected java.lang.String[] getHostnameAndPort()
getHostname
public java.lang.String getHostname()
setHostname
public void setHostname(java.lang.String hostname)
getJndiName
public java.lang.String getJndiName()
setJndiName
public void setJndiName(java.lang.String jndiName)
getId
public java.lang.Long getId()
setId
public void setId(java.lang.Long id)
setProtocol
public void setProtocol(java.lang.String protocol)
getProtocol
public java.lang.String getProtocol()
setMailServerManager
public void setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager)
getMailServerManager
protected com.atlassian.mail.server.MailServerManager getMailServerManager()
getIncomingProtocolList
public java.util.List<HTMLPairType> getIncomingProtocolList()
Copyright © 2003-2014 Atlassian. All Rights Reserved.