com.funambol.email.inboxlistener.msdao
Class MailboxMSDAO

java.lang.Object
  extended by com.funambol.email.inboxlistener.msdao.MailboxMSDAOCommon
      extended by com.funambol.email.inboxlistener.msdao.MailboxMSDAO
All Implemented Interfaces:
IMailboxMSDAO

public class MailboxMSDAO
extends MailboxMSDAOCommon
implements IMailboxMSDAO

This class groups some utility methods for Mail Server invoking


Field Summary
 
Fields inherited from class com.funambol.email.inboxlistener.msdao.MailboxMSDAOCommon
log, msa, mstools, saveSender, saveSubject
 
Constructor Summary
MailboxMSDAO()
           
MailboxMSDAO(MailServerAccount _msa, boolean _saveSubject, boolean _saveSender)
          Creates a new MSTools with the given MSAccount
 
Method Summary
 SyncItemInfo[] getEmailsFromInbox(IMailServerWrapper mswf, java.util.HashMap localInfos)
          get messages from inbox folder This method returns all the items in the server inbox folder
 
Methods inherited from class com.funambol.email.inboxlistener.msdao.MailboxMSDAOCommon
closeConnection, createGUID, createInfo, createInfoList, getMaxEmailNumber, getMessages, isCorruptedEmail, isMessageIDPresent, isSentEmail, setMaxEmailNumber, setPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.funambol.email.inboxlistener.msdao.IMailboxMSDAO
closeConnection, getMaxEmailNumber, setMaxEmailNumber, setPassword
 

Constructor Detail

MailboxMSDAO

public MailboxMSDAO()

MailboxMSDAO

public MailboxMSDAO(MailServerAccount _msa,
                    boolean _saveSubject,
                    boolean _saveSender)
Creates a new MSTools with the given MSAccount

Parameters:
_msa - the DBAccount
Method Detail

getEmailsFromInbox

public SyncItemInfo[] getEmailsFromInbox(IMailServerWrapper mswf,
                                         java.util.HashMap localInfos)
                                  throws InboxListenerException
get messages from inbox folder This method returns all the items in the server inbox folder

Specified by:
getEmailsFromInbox in interface IMailboxMSDAO
Specified by:
getEmailsFromInbox in class MailboxMSDAOCommon
Parameters:
mswf - IMailServerWrapper
localInfos - map with all the loacal CrcSyncItemInfo
Returns:
CrcSyncItemInfo[]
Throws:
EntityException
InboxListenerException


Copyright © 2005-2006 Funambol.