com.atlassian.mail.server
Interface MailServerManager

All Known Implementing Classes:
AbstractMailServerManager, OFBizMailServerManager, XMLMailServerManager

public interface MailServerManager


Field Summary
static String[] SERVER_TYPES
          This class allows MailServers to be created, updated and deleted.
 
Method Summary
 Long create(MailServer mailServer)
           
 void delete(Long mailServerId)
           
 PopMailServer getDefaultPopMailServer()
           
 SMTPMailServer getDefaultSMTPMailServer()
           
 MailServer getMailServer(Long id)
           
 MailServer getMailServer(String name)
           
 List getPopMailServers()
           
 List getServerNames()
           
 Session getSession(Properties props, Authenticator auth)
           
 List getSmtpMailServers()
           
 void init(Map params)
           
 void update(MailServer mailServer)
           
 

Field Detail

SERVER_TYPES

static final String[] SERVER_TYPES
This class allows MailServers to be created, updated and deleted. It also allows MailServers to be retrieved by id and name

Method Detail

getMailServer

MailServer getMailServer(Long id)
                         throws MailException
Throws:
MailException

getMailServer

MailServer getMailServer(String name)
                         throws MailException
Throws:
MailException

create

Long create(MailServer mailServer)
            throws MailException
Throws:
MailException

update

void update(MailServer mailServer)
            throws MailException
Throws:
MailException

delete

void delete(Long mailServerId)
            throws MailException
Throws:
MailException

getServerNames

List getServerNames()
                    throws MailException
Throws:
MailException

getSmtpMailServers

List getSmtpMailServers()
                        throws MailException
Throws:
MailException

getPopMailServers

List getPopMailServers()
                       throws MailException
Throws:
MailException

getDefaultSMTPMailServer

SMTPMailServer getDefaultSMTPMailServer()
                                        throws MailException
Throws:
MailException

getDefaultPopMailServer

PopMailServer getDefaultPopMailServer()
                                      throws MailException
Throws:
MailException

getSession

Session getSession(Properties props,
                   Authenticator auth)
                   throws MailException
Throws:
MailException

init

void init(Map params)


Atlassian Mail is developed by Atlassian Software Systems.