com.funambol.email.inboxlistener.engine
Class MailboxMSDAO

java.lang.Object
  extended bycom.funambol.email.inboxlistener.engine.MailboxMSDAO

public class MailboxMSDAO
extends java.lang.Object

This class groups some utility methods for Mail Server invoking


Constructor Summary
MailboxMSDAO(MSAccount _msa, MailboxAccount _mba)
          Creates a new MSTools with the given MSAccount
 
Method Summary
 void closeConnection(IMailServerWrapper mswf)
          close the Mail Server Connection
 CrcSyncItemInfo[] getEmailsFromInbox(IMailServerWrapper mswf, java.util.HashMap localInfos)
          get messages from inbox folder This method returns all the items in the server inbox folder
 void setMaxEmailNumber(int _maxEmailNumber)
           
 void setPassword(java.lang.String _password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailboxMSDAO

public MailboxMSDAO(MSAccount _msa,
                    MailboxAccount _mba)
Creates a new MSTools with the given MSAccount

Parameters:
_msa - the DBAccount
Method Detail

setMaxEmailNumber

public void setMaxEmailNumber(int _maxEmailNumber)

setPassword

public void setPassword(java.lang.String _password)

getEmailsFromInbox

public CrcSyncItemInfo[] 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

Parameters:
mswf - IMailServerWrapper
localInfos - map with all the loacal CrcSyncItemInfo
Returns:
CrcSyncItemInfo[]
Throws:
EntityException
InboxListenerException

closeConnection

public void closeConnection(IMailServerWrapper mswf)
                     throws InboxListenerException
close the Mail Server Connection

Throws:
InboxListenerException


Copyright © 2003-2006 Funambol.