com.atlassian.mail.server.managers
Class OFBizMailServerManager
java.lang.Object
com.atlassian.mail.server.managers.AbstractMailServerManager
com.atlassian.mail.server.managers.OFBizMailServerManager
- All Implemented Interfaces:
- MailServerManager
public class OFBizMailServerManager
- extends AbstractMailServerManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OFBizMailServerManager
public OFBizMailServerManager()
getMailServer
public MailServer getMailServer(java.lang.Long id)
throws MailException
- Specified by:
getMailServer
in interface MailServerManager
- Specified by:
getMailServer
in class AbstractMailServerManager
- Throws:
MailException
getMailServer
public MailServer getMailServer(java.lang.String name)
throws MailException
- Specified by:
getMailServer
in interface MailServerManager
- Specified by:
getMailServer
in class AbstractMailServerManager
- Throws:
MailException
getServerNames
public java.util.List getServerNames()
throws MailException
- Specified by:
getServerNames
in interface MailServerManager
- Specified by:
getServerNames
in class AbstractMailServerManager
- Throws:
MailException
getSmtpMailServers
public java.util.List getSmtpMailServers()
throws MailException
- Specified by:
getSmtpMailServers
in interface MailServerManager
- Specified by:
getSmtpMailServers
in class AbstractMailServerManager
- Throws:
MailException
getPopMailServers
public java.util.List getPopMailServers()
throws MailException
- Specified by:
getPopMailServers
in interface MailServerManager
- Specified by:
getPopMailServers
in class AbstractMailServerManager
- Throws:
MailException
create
public java.lang.Long create(MailServer mailServer)
throws MailException
- Specified by:
create
in interface MailServerManager
- Specified by:
create
in class AbstractMailServerManager
- Throws:
MailException
update
public void update(MailServer mailServer)
throws MailException
- Specified by:
update
in interface MailServerManager
- Specified by:
update
in class AbstractMailServerManager
- Throws:
MailException
delete
public void delete(java.lang.Long mailServerId)
throws MailException
- Specified by:
delete
in interface MailServerManager
- Specified by:
delete
in class AbstractMailServerManager
- Throws:
MailException
getDefaultSMTPMailServer
public SMTPMailServer getDefaultSMTPMailServer()
- Specified by:
getDefaultSMTPMailServer
in interface MailServerManager
- Specified by:
getDefaultSMTPMailServer
in class AbstractMailServerManager
getDefaultPopMailServer
public PopMailServer getDefaultPopMailServer()
- Specified by:
getDefaultPopMailServer
in interface MailServerManager
- Specified by:
getDefaultPopMailServer
in class AbstractMailServerManager
getMailServersByType
protected java.util.List getMailServersByType(java.lang.String serverType)
throws MailException
- Throws:
MailException
getMailServerGV
protected org.ofbiz.core.entity.GenericValue getMailServerGV(java.lang.Long id)
throws MailException
- Throws:
MailException
constructMailServer
protected MailServer constructMailServer(org.ofbiz.core.entity.GenericValue gv)
getMapFromColumns
protected java.util.Map getMapFromColumns(MailServer mailServer)
throws MailException
- Throws:
MailException
Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.