com.atlassian.confluence.mail.actions
Class AbstractMailAccountAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.spaces.actions.AbstractSpaceAction
              extended by com.atlassian.confluence.mail.actions.AbstractMailAccountAction
All Implemented Interfaces:
WebInterface, SpaceAdministrative, Spaced, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, Serializable
Direct Known Subclasses:
AddMailAccountAction, EditMailAccountAction

public abstract class AbstractMailAccountAction
extends AbstractSpaceAction
implements SpaceAdministrative

See Also:
Serialized Form

Field Summary
protected  String confirm
           
protected  String description
           
protected  String hostname
           
protected  MailAccountManager mailAccountManager
           
protected  String name
           
protected  String password
           
protected  MailPollResult pollResult
           
protected  int port
           
protected  String protocol
           
protected  boolean secure
           
protected  String testConnection
           
protected  String username
           
 
Fields inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
key, notificationManager, originalSpace, space, spaceManager, wikiStyleRenderer
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, 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
AbstractMailAccountAction()
           
 
Method Summary
protected  MailAccount createMailAccountFromFormData()
           
 String getConfirm()
           
 String getDescription()
           
 String getHostname()
           
 String getName()
           
 String getPassword()
           
 MailPollResult getPollResult()
           
 int getPort()
           
 String getProtocol()
           
 String getTestConnection()
           
 String getUsername()
           
abstract  boolean isEditAction()
           
 boolean isSecure()
           
 void setConfirm(String confirm)
           
 void setDescription(String description)
           
 void setHostname(String hostname)
           
 void setMailAccountManager(MailAccountManager mailAccountManager)
           
 void setName(String name)
           
 void setPassword(String password)
           
 void setPollResult(MailPollResult pollResult)
           
 void setPort(int port)
           
 void setProtocol(String protocol)
           
 void setSecure(boolean secure)
           
 void setTestConnection(String testConnection)
           
 void setUsername(String username)
           
 void validate()
           
 
Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
getKey, getPermissionTypes, getSpace, getSpaceKey, getSubscribableName, isAdminUser, isPermitted, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setWikiStyleRenderer
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, 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
 

Field Detail

mailAccountManager

protected MailAccountManager mailAccountManager

name

protected String name

description

protected String description

hostname

protected String hostname

protocol

protected String protocol

username

protected String username

password

protected String password

port

protected int port

secure

protected boolean secure

confirm

protected String confirm

testConnection

protected String testConnection

pollResult

protected MailPollResult pollResult
Constructor Detail

AbstractMailAccountAction

public AbstractMailAccountAction()
Method Detail

validate

public void validate()
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

setMailAccountManager

public void setMailAccountManager(MailAccountManager mailAccountManager)

isEditAction

public abstract boolean isEditAction()

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getHostname

public String getHostname()

setHostname

public void setHostname(String hostname)

getProtocol

public String getProtocol()

setProtocol

public void setProtocol(String protocol)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getPort

public int getPort()

setPort

public void setPort(int port)

isSecure

public boolean isSecure()

setSecure

public void setSecure(boolean secure)

getConfirm

public String getConfirm()

setConfirm

public void setConfirm(String confirm)

getTestConnection

public String getTestConnection()

setTestConnection

public void setTestConnection(String testConnection)

getPollResult

public MailPollResult getPollResult()

setPollResult

public void setPollResult(MailPollResult pollResult)

createMailAccountFromFormData

protected MailAccount createMailAccountFromFormData()


Copyright © 2003-2011 Atlassian. All Rights Reserved.