test.mock.mail.server
Class MockMailServerManager

java.lang.Object
  extended bycom.atlassian.mail.server.managers.AbstractMailServerManager
      extended bycom.atlassian.mail.server.managers.OFBizMailServerManager
          extended bytest.mock.mail.server.MockMailServerManager
All Implemented Interfaces:
MailServerManager

public class MockMailServerManager
extends OFBizMailServerManager


Field Summary
 
Fields inherited from interface com.atlassian.mail.server.MailServerManager
SERVER_TYPES
 
Constructor Summary
MockMailServerManager()
           
 
Method Summary
 MailServer constructMailServer(org.ofbiz.core.entity.GenericValue gv)
           
 org.ofbiz.core.entity.GenericValue getMailServerGV(java.lang.Long id)
           
 java.util.Map getMapFromColumns(MailServer mailServer)
           
 alt.javax.mail.Session getSession(java.util.Properties props, javax.mail.Authenticator auth)
           
 
Methods inherited from class com.atlassian.mail.server.managers.OFBizMailServerManager
create, delete, getDefaultPopMailServer, getDefaultSMTPMailServer, getMailServer, getMailServer, getMailServersByType, getPopMailServers, getServerNames, getSmtpMailServers, update
 
Methods inherited from class com.atlassian.mail.server.managers.AbstractMailServerManager
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockMailServerManager

public MockMailServerManager()
Method Detail

getMapFromColumns

public java.util.Map getMapFromColumns(MailServer mailServer)
                                throws MailException
Throws:
MailException

getMailServerGV

public org.ofbiz.core.entity.GenericValue getMailServerGV(java.lang.Long id)
                                                   throws MailException
Throws:
MailException

constructMailServer

public MailServer constructMailServer(org.ofbiz.core.entity.GenericValue gv)

getSession

public alt.javax.mail.Session getSession(java.util.Properties props,
                                         javax.mail.Authenticator auth)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.