com.funambol.email.inboxlistener.engine
Class MailboxDBDAO
java.lang.Object
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.
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 |
MailboxDBDAO
public MailboxDBDAO()
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.