com.funambol.email.inboxlistener.msdao
Class MailboxMSDAO
java.lang.Object
com.funambol.email.inboxlistener.msdao.MailboxMSDAOCommon
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailboxMSDAO
public MailboxMSDAO()
MailboxMSDAO
public MailboxMSDAO(MailServerAccount _msa,
boolean _saveSubject,
boolean _saveSender)
- Creates a new MSTools with the given MSAccount
- Parameters:
_msa
- the DBAccount
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
- IMailServerWrapperlocalInfos
- map with all the loacal CrcSyncItemInfo
- Returns:
- CrcSyncItemInfo[]
- Throws:
EntityException
InboxListenerException
createInfo
protected SyncItemInfo createInfo(javax.mail.Message message,
java.util.HashMap localInfos)
throws javax.mail.MessagingException
- Specified by:
createInfo
in class MailboxMSDAOCommon
- Throws:
javax.mail.MessagingException
Copyright © 2005-2006 Funambol.