com.atlassian.jira.plugins.mail.webwork
Class ViewMailServers
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.plugins.mail.webwork.MailServerActionSupport
com.atlassian.jira.plugins.mail.webwork.ViewMailServers
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class ViewMailServers
- extends MailServerActionSupport
- See Also:
- Serialized Form
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.plugins.mail.webwork.MailServerActionSupport |
canManagePopMailServers, canManageSmtpMailServers, doDefault, doValidation, doView, getActiveTab, getDescription, getFrom, getId, getJndiLocation, getKeyForPrefix, getMailservertype, getName, getPassword, getPasswordSet, getPopMailServers, getPort, getPrefix, getProtocol, getServerName, getSmtpMailServers, getSupportedClientProtocols, getTimeout, getType, getTypes, getUsername, isChangePassword, isNoemail, isPop, isSmtp, isTlsRequired, isValidMailParameters, setChangePassword, setDescription, setFrom, setId, setJndiLocation, setMailservertype, setName, setNoemail, setPassword, setPort, setPrefix, setProtocol, setServerName, setTimeout, setTlsRequired, setType, setUsername |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, 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 |
OUTGOING_MAIL_TAB
public static final String OUTGOING_MAIL_TAB
- See Also:
- Constant Field Values
INCOMING_MAIL_TAB
public static final String INCOMING_MAIL_TAB
- See Also:
- Constant Field Values
OUTGOING_MAIL_ACTION
public static final String OUTGOING_MAIL_ACTION
- See Also:
- Constant Field Values
INCOMING_MAIL_ACTION
public static final String INCOMING_MAIL_ACTION
- See Also:
- Constant Field Values
ViewMailServers
public ViewMailServers(ServiceManager serviceManager,
ConstantsManager constantsManager,
ProjectManager projectManager,
com.atlassian.plugin.PluginAccessor pluginAccessor)
getComponentClassManager
@Nonnull
protected ComponentClassManager getComponentClassManager()
getInvalidPopSettingsMessage
public String getInvalidPopSettingsMessage()
getMailHandlers
public Collection<JiraServiceContainer> getMailHandlers()
getRelatedProject
@Nullable
public Project getRelatedProject(JiraServiceContainer service)
getRelatedProjectKey
@Nullable
public String getRelatedProjectKey(JiraServiceContainer service)
getRelatedIssueId
@Nullable
public String getRelatedIssueId(JiraServiceContainer service)
getRelatedIssueType
@Nullable
public IssueConstant getRelatedIssueType(JiraServiceContainer service)
isHandlerUsingObsoleteSettings
public boolean isHandlerUsingObsoleteSettings(JiraServiceContainer service)
getServiceParams
@Nonnull
public Collection<Pair<String,String>> getServiceParams(JiraServiceContainer service)
getServer
@Nullable
public com.atlassian.mail.server.MailServer getServer(JiraServiceContainer service)
getServerName
@Nullable
public String getServerName(JiraServiceContainer service)
getServerDescription
@Nonnull
public String getServerDescription(JiraServiceContainer service)
getFileServiceDirectory
@Nonnull
public String getFileServiceDirectory(JiraServiceContainer service)
getHandlerType
public String getHandlerType(JiraServiceContainer service)
getEsc
public org.apache.velocity.tools.generic.EscapeTool getEsc()
getHelpPath
public HelpUtil.HelpPath getHelpPath(String key)
Copyright © 2002-2012 Atlassian. All Rights Reserved.