com.funambol.email.inboxlistener.engine
Class MailboxDBDAO

java.lang.Object
  extended by com.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()
           
 
Method Summary
 java.util.HashMap getItems(java.lang.String username, java.lang.String protocol)
          Get the Items from DB
 boolean hasNewMessages(SyncItemInfo[] serverInfos, java.util.HashMap localInfos)
           
 void setItems(java.lang.String username, java.lang.String protocol, SyncItemInfo[] 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()
Method Detail

setItems

public void setItems(java.lang.String username,
                     java.lang.String protocol,
                     SyncItemInfo[] infos)
              throws InboxListenerException
Set the ServerItems into DB

Throws:
InboxListenerException

hasNewMessages

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

getItems

public java.util.HashMap getItems(java.lang.String username,
                                  java.lang.String protocol)
                           throws InboxListenerException
Get the Items from DB

Returns:
map with all local CrcSyncItemInfo
Throws:
InboxListenerException


Copyright © 2005-2006 Funambol.