public class OFBizMailServerManager
extends com.atlassian.mail.server.managers.AbstractMailServerManager
Modifier and Type | Class and Description |
---|---|
protected class |
OFBizMailServerManager.CacheHolder |
Constructor and Description |
---|
OFBizMailServerManager() |
Modifier and Type | Method and Description |
---|---|
protected com.atlassian.mail.server.MailServer |
constructMailServer(org.ofbiz.core.entity.GenericValue gv) |
Long |
create(com.atlassian.mail.server.MailServer mailServer) |
void |
delete(Long mailServerId) |
com.atlassian.mail.server.PopMailServer |
getDefaultPopMailServer() |
com.atlassian.mail.server.SMTPMailServer |
getDefaultSMTPMailServer() |
List<com.atlassian.mail.server.IncomingMailServer> |
getIncomingMailServers() |
com.atlassian.mail.server.MailServer |
getMailServer(Long id) |
com.atlassian.mail.server.MailServer |
getMailServer(String name) |
protected org.ofbiz.core.entity.GenericValue |
getMailServerGV(Long id) |
protected <T extends com.atlassian.mail.server.MailServer> |
getMailServersByType(Class<T> serverType) |
protected Map<String,Object> |
getMapFromColumns(com.atlassian.mail.server.MailServer mailServer) |
List<com.atlassian.mail.server.MSGraphIncomingMailServer> |
getMsGraphIncomingMailServers() |
List<com.atlassian.mail.server.PopMailServer> |
getPopMailServers() |
List<String> |
getServerNames() |
List<com.atlassian.mail.server.SMTPMailServer> |
getSmtpMailServers() |
static void |
invalidateCaches() |
void |
update(com.atlassian.mail.server.MailServer mailServer) |
getMailServerConfigurationHandler, getSession, init, isDefaultSMTPMailServerDefined, setMailServerConfigurationHandler
public com.atlassian.mail.server.MailServer getMailServer(Long id) throws com.atlassian.mail.MailException
getMailServer
in interface com.atlassian.mail.server.MailServerManager
getMailServer
in class com.atlassian.mail.server.managers.AbstractMailServerManager
com.atlassian.mail.MailException
public com.atlassian.mail.server.MailServer getMailServer(String name) throws com.atlassian.mail.MailException
getMailServer
in interface com.atlassian.mail.server.MailServerManager
getMailServer
in class com.atlassian.mail.server.managers.AbstractMailServerManager
com.atlassian.mail.MailException
public List<String> getServerNames() throws com.atlassian.mail.MailException
getServerNames
in interface com.atlassian.mail.server.MailServerManager
getServerNames
in class com.atlassian.mail.server.managers.AbstractMailServerManager
com.atlassian.mail.MailException
public List<com.atlassian.mail.server.SMTPMailServer> getSmtpMailServers()
getSmtpMailServers
in interface com.atlassian.mail.server.MailServerManager
getSmtpMailServers
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public List<com.atlassian.mail.server.PopMailServer> getPopMailServers()
getPopMailServers
in interface com.atlassian.mail.server.MailServerManager
getPopMailServers
in class com.atlassian.mail.server.managers.AbstractMailServerManager
public List<com.atlassian.mail.server.MSGraphIncomingMailServer> getMsGraphIncomingMailServers()
public List<com.atlassian.mail.server.IncomingMailServer> getIncomingMailServers()
public Long create(com.atlassian.mail.server.MailServer mailServer) throws com.atlassian.mail.MailException
create
in interface com.atlassian.mail.server.MailServerManager
create
in class com.atlassian.mail.server.managers.AbstractMailServerManager
com.atlassian.mail.MailException
public void update(com.atlassian.mail.server.MailServer mailServer) throws com.atlassian.mail.MailException
update
in interface com.atlassian.mail.server.MailServerManager
update
in class com.atlassian.mail.server.managers.AbstractMailServerManager
com.atlassian.mail.MailException
public void delete(Long mailServerId) throws com.atlassian.mail.MailException
delete
in interface com.atlassian.mail.server.MailServerManager
delete
in class com.atlassian.mail.server.managers.AbstractMailServerManager
com.atlassian.mail.MailException
@Nullable public com.atlassian.mail.server.SMTPMailServer getDefaultSMTPMailServer()
getDefaultSMTPMailServer
in interface com.atlassian.mail.server.MailServerManager
getDefaultSMTPMailServer
in class com.atlassian.mail.server.managers.AbstractMailServerManager
@Nullable public com.atlassian.mail.server.PopMailServer getDefaultPopMailServer()
getDefaultPopMailServer
in interface com.atlassian.mail.server.MailServerManager
getDefaultPopMailServer
in class com.atlassian.mail.server.managers.AbstractMailServerManager
protected <T extends com.atlassian.mail.server.MailServer> List<T> getMailServersByType(Class<T> serverType)
protected org.ofbiz.core.entity.GenericValue getMailServerGV(Long id) throws com.atlassian.mail.MailException
com.atlassian.mail.MailException
protected com.atlassian.mail.server.MailServer constructMailServer(org.ofbiz.core.entity.GenericValue gv)
protected Map<String,Object> getMapFromColumns(com.atlassian.mail.server.MailServer mailServer) throws com.atlassian.mail.MailException
com.atlassian.mail.MailException
public static void invalidateCaches()
Copyright © 2002-2024 Atlassian. All Rights Reserved.