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 java.lang.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  java.lang.Long create(MailServer mailServer)
           
abstract  void delete(java.lang.Long mailServerId)
           
abstract  PopMailServer getDefaultPopMailServer()
           
abstract  SMTPMailServer getDefaultSMTPMailServer()
           
abstract  MailServer getMailServer(java.lang.Long id)
           
abstract  MailServer getMailServer(java.lang.String name)
           
abstract  java.util.List getPopMailServers()
           
abstract  java.util.List getServerNames()
           
 alt.javax.mail.Session getSession(java.util.Properties props, javax.mail.Authenticator auth)
           
abstract  java.util.List getSmtpMailServers()
           
 void init(java.util.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(java.util.Map params)
Specified by:
init in interface MailServerManager

getMailServer

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

getMailServer

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

getServerNames

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

getSmtpMailServers

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

getPopMailServers

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

create

public abstract java.lang.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(java.lang.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 alt.javax.mail.Session getSession(java.util.Properties props,
                                         javax.mail.Authenticator auth)
Specified by:
getSession in interface MailServerManager


Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.