com.atlassian.confluence.setup.actions
Class AbstractSetupEmailAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by 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, Serializable
Direct Known Subclasses:
CreateMailServerAction, EditMailServerAction

public abstract class AbstractSetupEmailAction
extends ConfluenceActionSupport

See Also:
Serialized Form

Field Summary
protected  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
 
Constructor Summary
AbstractSetupEmailAction()
           
 
Method Summary
 String doDefault()
          Default webwork action execution method.
 String getEmailAddress()
           
 String getFromName()
           
 String getHostname()
           
 Long getId()
           
 List<HTMLPairType> getIncomingProtocolList()
           
 String getJndiName()
           
protected  com.atlassian.mail.server.MailServerManager getMailServerManager()
           
 String getName()
           
 String getPassword()
           
 String getPort()
           
 String getPrefix()
           
 String getProtocol()
           
 String getUserName()
           
 boolean isPermitted()
           
 boolean isTlsRequired()
           
 void setEmailAddress(String emailAddress)
           
 void setFromName(String fromName)
           
 void setHostname(String hostname)
           
 void setId(Long id)
           
 void setJndiName(String jndiName)
           
 void setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager)
           
 void setName(String name)
           
 void setPassword(String password)
           
 void setPort(String port)
           
 void setPrefix(String prefix)
           
 void setProtocol(String protocol)
           
 void setTlsRequired(boolean tls)
           
 void setUserName(String userName)
           
 void validate()
           
 
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, getDefaultTimeZone, 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, setTimeZoneManager, 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
 

Field Detail

protocol

protected String protocol
Constructor Detail

AbstractSetupEmailAction

public AbstractSetupEmailAction()
Method Detail

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 String getName()

setName

public void setName(String name)

getEmailAddress

public String getEmailAddress()

setEmailAddress

public void setEmailAddress(String emailAddress)

getFromName

public String getFromName()

setFromName

public void setFromName(String fromName)

getPrefix

public String getPrefix()

setPrefix

public void setPrefix(String prefix)

getUserName

public String getUserName()

setUserName

public void setUserName(String userName)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

doDefault

public String doDefault()
                 throws Exception
Description copied from class: ConfluenceActionSupport
Default webwork action execution method.

Overrides:
doDefault in class ConfluenceActionSupport
Returns:
the action result
Throws:
Exception - if something goes wrong

getHostname

public String getHostname()

getPort

public String getPort()

setPort

public void setPort(String port)

setHostname

public void setHostname(String hostname)

isTlsRequired

public boolean isTlsRequired()

setTlsRequired

public void setTlsRequired(boolean tls)

getJndiName

public String getJndiName()

setJndiName

public void setJndiName(String jndiName)

getId

public Long getId()

setId

public void setId(Long id)

setProtocol

public void setProtocol(String protocol)

getProtocol

public String getProtocol()

setMailServerManager

public void setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager)

getMailServerManager

protected com.atlassian.mail.server.MailServerManager getMailServerManager()

getIncomingProtocolList

public List<HTMLPairType> getIncomingProtocolList()


Copyright © 2003–2015 Atlassian. All rights reserved.