com.atlassian.mail.server.managers
Class AbstractMailServerManager
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMailServerManager
public AbstractMailServerManager()
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