com.funambol.email.inboxlistener.engine
Class MailboxDBDAO

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

public class MailboxDBDAO
extends java.lang.Object

Contains methods to access to the tables with the information about Mail Server Mailbox.


Constructor Summary
MailboxDBDAO(DBAccount _dba, MailboxAccount _mba, MSAccount _msa)
           
 
Method Summary
 java.util.HashMap getItems()
          Get the Items from DB
 boolean hasNewMessages(CrcSyncItemInfo[] serverInfos, java.util.HashMap localInfos)
           
 void setItems(CrcSyncItemInfo[] infos)
          Set the ServerItems into DB
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailboxDBDAO

public MailboxDBDAO(DBAccount _dba,
                    MailboxAccount _mba,
                    MSAccount _msa)
Method Detail

setItems

public void setItems(CrcSyncItemInfo[] infos)
              throws InboxListenerException
Set the ServerItems into DB

Throws:
InboxListenerException

hasNewMessages

public boolean hasNewMessages(CrcSyncItemInfo[] serverInfos,
                              java.util.HashMap localInfos)
                       throws InboxListenerException
Throws:
InboxListenerException

getItems

public java.util.HashMap getItems()
                           throws InboxListenerException
Get the Items from DB

Returns:
map with all local CrcSyncItemInfo
Throws:
InboxListenerException


Copyright © 2003-2006 Funambol.