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