public class

OFBizMailServerManager

extends AbstractMailServerManager
java.lang.Object
   ↳ com.atlassian.mail.server.managers.AbstractMailServerManager
     ↳ com.atlassian.mail.server.managers.OFBizMailServerManager

Class Overview

This was taken from atlassian-mail and placed into its now rightful home of JIRA.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.mail.server.MailServerManager
Public Constructors
OFBizMailServerManager()
Public Methods
Long create(MailServer mailServer)
void delete(Long mailServerId)
@Nullable PopMailServer getDefaultPopMailServer()
@Nullable SMTPMailServer getDefaultSMTPMailServer()
MailServer getMailServer(String name)
MailServer getMailServer(Long id)
List<PopMailServer> getPopMailServers()
List<String> getServerNames()
List<SMTPMailServer> getSmtpMailServers()
void update(MailServer mailServer)
Protected Methods
MailServer constructMailServer(GenericValue gv)
GenericValue getMailServerGV(Long id)
<T extends MailServer> List<T> getMailServersByType(Class<T> serverType)
Map<StringObject> getMapFromColumns(MailServer mailServer)
[Expand]
Inherited Methods
From class com.atlassian.mail.server.managers.AbstractMailServerManager
From class java.lang.Object
From interface com.atlassian.mail.server.MailServerManager

Public Constructors

public OFBizMailServerManager ()

Public Methods

public Long create (MailServer mailServer)

Throws
MailException

public void delete (Long mailServerId)

Throws
MailException

@Nullable public PopMailServer getDefaultPopMailServer ()

@Nullable public SMTPMailServer getDefaultSMTPMailServer ()

public MailServer getMailServer (String name)

Throws
MailException

public MailServer getMailServer (Long id)

Throws
MailException

public List<PopMailServer> getPopMailServers ()

public List<String> getServerNames ()

Throws
MailException

public List<SMTPMailServer> getSmtpMailServers ()

public void update (MailServer mailServer)

Throws
MailException

Protected Methods

protected MailServer constructMailServer (GenericValue gv)

protected GenericValue getMailServerGV (Long id)

Throws
MailException

protected List<T> getMailServersByType (Class<T> serverType)

protected Map<StringObject> getMapFromColumns (MailServer mailServer)

Throws
MailException