com.atlassian.jira.web.action.admin.mail
Class MailServerActionSupport
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.admin.mail.MailServerActionSupport
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
- Direct Known Subclasses:
- AddMailServer, DeleteMailServer, UpdateMailServer, VerifyMailServerConnection
public class MailServerActionSupport
- extends JiraWebActionSupport
- See Also:
- Serialized Form
Field Summary |
protected Long |
id
|
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRedirectChecker, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doExecute, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface webwork.action.CommandDriven |
getCommandName, setCommand |
id
protected Long id
MailServerActionSupport
public MailServerActionSupport()
canManageSmtpMailServers
public boolean canManageSmtpMailServers()
canManagePopMailServers
public boolean canManagePopMailServers()
doView
public String doView()
doDefault
public String doDefault()
throws Exception
- Overrides:
doDefault
in class webwork.action.ActionSupport
- Throws:
Exception
isSmtp
protected boolean isSmtp(com.atlassian.mail.server.MailServer mailServer)
isPop
protected boolean isPop(com.atlassian.mail.server.MailServer mailServer)
doValidation
protected void doValidation()
- Overrides:
doValidation
in class webwork.action.ActionSupport
getPopMailServers
public List getPopMailServers()
throws com.atlassian.mail.MailException
- Throws:
com.atlassian.mail.MailException
getSmtpMailServers
public List getSmtpMailServers()
throws com.atlassian.mail.MailException
- Throws:
com.atlassian.mail.MailException
getId
public Long getId()
setId
public void setId(Long id)
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getTimeout
public Long getTimeout()
setTimeout
public void setTimeout(Long timeout)
getType
public String getType()
setType
public void setType(String type)
getTypes
public String[] getTypes()
getServerName
public String getServerName()
setServerName
public void setServerName(String serverName)
getJndiLocation
public String getJndiLocation()
setJndiLocation
public void setJndiLocation(String jndiLocation)
getUsername
public String getUsername()
setUsername
public void setUsername(String username)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getFrom
public String getFrom()
setFrom
public void setFrom(String from)
getPrefix
public String getPrefix()
setPrefix
public void setPrefix(String prefix)
getPort
public String getPort()
setPort
public void setPort(String port)
getProtocol
public String getProtocol()
setProtocol
public void setProtocol(String protocol)
isTlsRequired
public boolean isTlsRequired()
setTlsRequired
public void setTlsRequired(boolean tlsRequired)
isValidMailParameters
public boolean isValidMailParameters()
getSupportedClientProtocols
public com.atlassian.mail.MailProtocol[] getSupportedClientProtocols(String type)
getKeyForPrefix
public String getKeyForPrefix(String prefix)
Copyright © 2002-2011 Atlassian. All Rights Reserved.