com.atlassian.mail.server
Interface MailServerManager
- All Known Implementing Classes:
- AbstractMailServerManager
- public interface MailServerManager
|
Field Summary |
static java.lang.String[] |
SERVER_TYPES
This class allows MailServers to be created, updated and deleted. |
SERVER_TYPES
public static final java.lang.String[] SERVER_TYPES
- This class allows MailServers to be created, updated and deleted.
It also allows MailServers to be retrieved by id and name
getMailServer
public MailServer getMailServer(java.lang.Long id)
throws MailException
- Throws:
MailException
getMailServer
public MailServer getMailServer(java.lang.String name)
throws MailException
- Throws:
MailException
create
public java.lang.Long create(MailServer mailServer)
throws MailException
- Throws:
MailException
update
public void update(MailServer mailServer)
throws MailException
- Throws:
MailException
delete
public void delete(java.lang.Long mailServerId)
throws MailException
- Throws:
MailException
getServerNames
public java.util.List getServerNames()
throws MailException
- Throws:
MailException
getSmtpMailServers
public java.util.List getSmtpMailServers()
throws MailException
- Throws:
MailException
getPopMailServers
public java.util.List getPopMailServers()
throws MailException
- Throws:
MailException
getDefaultSMTPMailServer
public SMTPMailServer getDefaultSMTPMailServer()
throws MailException
- Throws:
MailException
getDefaultPopMailServer
public PopMailServer getDefaultPopMailServer()
throws MailException
- Throws:
MailException
getSession
public alt.javax.mail.Session getSession(java.util.Properties props,
javax.mail.Authenticator auth)
throws MailException
- Throws:
MailException
init
public void init(java.util.Map params)
Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.