com.atlassian.mail.server.managers
Class AbstractMailServerManager

java.lang.Object
  extended by com.atlassian.mail.server.managers.AbstractMailServerManager
All Implemented Interfaces:
MailServerManager
Direct Known Subclasses:
OFBizMailServerManager, XMLMailServerManager

public abstract class AbstractMailServerManager
extends Object
implements MailServerManager

Created by IntelliJ IDEA. User: Administrator Date: Dec 9, 2002 Time: 2:30:39 PM To change this template use Options | File Templates.


Field Summary
 
Fields inherited from interface com.atlassian.mail.server.MailServerManager
SERVER_TYPES
 
Constructor Summary
AbstractMailServerManager()
           
 
Method Summary
abstract  Long create(MailServer mailServer)
           
abstract  void delete(Long mailServerId)
           
abstract  PopMailServer getDefaultPopMailServer()
           
abstract  SMTPMailServer getDefaultSMTPMailServer()
           
abstract  MailServer getMailServer(Long id)
           
abstract  MailServer getMailServer(String name)
           
abstract  List getPopMailServers()
           
abstract  List getServerNames()
           
 Session getSession(Properties props, Authenticator auth)
           
abstract  List getSmtpMailServers()
           
 void init(Map params)
           
abstract  void update(MailServer mailServer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMailServerManager

public AbstractMailServerManager()
Method Detail

init

public void init(Map params)
Specified by:
init in interface MailServerManager

getMailServer

public abstract MailServer getMailServer(Long id)
                                  throws MailException
Specified by:
getMailServer in interface MailServerManager
Throws:
MailException

getMailServer

public abstract MailServer getMailServer(String name)
                                  throws MailException
Specified by:
getMailServer in interface MailServerManager
Throws:
MailException

getServerNames

public abstract List getServerNames()
                             throws MailException
Specified by:
getServerNames in interface MailServerManager
Throws:
MailException

getSmtpMailServers

public abstract List getSmtpMailServers()
                                 throws MailException
Specified by:
getSmtpMailServers in interface MailServerManager
Throws:
MailException

getPopMailServers

public abstract List getPopMailServers()
                                throws MailException
Specified by:
getPopMailServers in interface MailServerManager
Throws:
MailException

create

public abstract Long create(MailServer mailServer)
                     throws MailException
Specified by:
create in interface MailServerManager
Throws:
MailException

update

public abstract void update(MailServer mailServer)
                     throws MailException
Specified by:
update in interface MailServerManager
Throws:
MailException

delete

public abstract void delete(Long mailServerId)
                     throws MailException
Specified by:
delete in interface MailServerManager
Throws:
MailException

getDefaultSMTPMailServer

public abstract SMTPMailServer getDefaultSMTPMailServer()
                                                 throws MailException
Specified by:
getDefaultSMTPMailServer in interface MailServerManager
Throws:
MailException

getDefaultPopMailServer

public abstract PopMailServer getDefaultPopMailServer()
                                               throws MailException
Specified by:
getDefaultPopMailServer in interface MailServerManager
Throws:
MailException

getSession

public Session getSession(Properties props,
                          Authenticator auth)
Specified by:
getSession in interface MailServerManager


Atlassian Mail is developed by Atlassian Software Systems.