public class ConfluenceMailServerManager
extends com.atlassian.mail.server.managers.AbstractMailServerManager
Constructor and Description |
---|
ConfluenceMailServerManager() |
Modifier and Type | Method and Description |
---|---|
Long |
create(com.atlassian.mail.server.MailServer mailServer) |
void |
delete(Long mailServerId) |
void |
deleteAll() |
com.atlassian.mail.server.PopMailServer |
getDefaultPopMailServer() |
com.atlassian.mail.server.SMTPMailServer |
getDefaultSMTPMailServer() |
com.atlassian.mail.server.MailServer |
getMailServer(Long id) |
com.atlassian.mail.server.MailServer |
getMailServer(String name) |
List<com.atlassian.mail.server.PopMailServer> |
getPopMailServers() |
List<String> |
getServerNames() |
List<com.atlassian.mail.server.SMTPMailServer> |
getSmtpMailServers() |
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager) |
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
void |
update(com.atlassian.mail.server.MailServer mailServer) |
public com.atlassian.mail.server.MailServer getMailServer(Long id)
getMailServer
in interface com.atlassian.mail.server.MailServerManager
getMailServer
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public com.atlassian.mail.server.MailServer getMailServer(String name)
getMailServer
in interface com.atlassian.mail.server.MailServerManager
getMailServer
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public List<String> getServerNames()
getServerNames
in interface com.atlassian.mail.server.MailServerManager
getServerNames
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public List<com.atlassian.mail.server.SMTPMailServer> getSmtpMailServers()
getSmtpMailServers
in interface com.atlassian.mail.server.MailServerManager
getSmtpMailServers
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public List<com.atlassian.mail.server.PopMailServer> getPopMailServers()
getPopMailServers
in interface com.atlassian.mail.server.MailServerManager
getPopMailServers
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public Long create(com.atlassian.mail.server.MailServer mailServer)
create
in interface com.atlassian.mail.server.MailServerManager
create
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public void update(com.atlassian.mail.server.MailServer mailServer)
update
in interface com.atlassian.mail.server.MailServerManager
update
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public void delete(Long mailServerId)
delete
in interface com.atlassian.mail.server.MailServerManager
delete
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public void deleteAll()
public com.atlassian.mail.server.SMTPMailServer getDefaultSMTPMailServer()
getDefaultSMTPMailServer
in interface com.atlassian.mail.server.MailServerManager
getDefaultSMTPMailServer
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public com.atlassian.mail.server.PopMailServer getDefaultPopMailServer()
getDefaultPopMailServer
in interface com.atlassian.mail.server.MailServerManager
getDefaultPopMailServer
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
Copyright © 2003–2017 Atlassian. All rights reserved.