com.funambol.email.items.dao
Class PopEntityDAO
java.lang.Object
com.funambol.email.items.dao.EntityDAO
com.funambol.email.items.dao.PopEntityDAO
- public class PopEntityDAO
- extends EntityDAO
This class implements methods to access data
in Mail Server datastore.
Field Summary |
protected java.util.logging.Logger |
log
|
Method Summary |
javax.mail.Message[] |
getAllItems(com.sun.mail.pop3.POP3Folder f,
java.lang.String idFilter,
java.util.Date timeFilter)
gets all Messages |
EISMessage |
getItemByMessageID(com.sun.mail.pop3.POP3Folder f,
java.lang.String FID,
java.lang.String message_id)
serch a document using the header Message-ID |
javax.mail.Message |
getItemByUID(com.sun.mail.pop3.POP3Folder f,
java.lang.String uid)
serch a document using UID
for POP3 protocol UID is String |
void |
removeItem(com.sun.mail.pop3.POP3Folder f,
java.lang.String uid)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected java.util.logging.Logger log
PopEntityDAO
public PopEntityDAO()
getAllItems
public javax.mail.Message[] getAllItems(com.sun.mail.pop3.POP3Folder f,
java.lang.String idFilter,
java.util.Date timeFilter)
throws EntityException
- gets all Messages
- Parameters:
f
- POP3FolderidFilter
- StringtimeFilter
- Date
- Returns:
- Message[]
- Throws:
EntityException
removeItem
public void removeItem(com.sun.mail.pop3.POP3Folder f,
java.lang.String uid)
throws EntityException
- Parameters:
f
- IMAPFolderuid
- long
- Throws:
EntityException
getItemByUID
public javax.mail.Message getItemByUID(com.sun.mail.pop3.POP3Folder f,
java.lang.String uid)
throws EntityException
- serch a document using UID
for POP3 protocol UID is String
- Parameters:
f
- POP3Folderuid
- String
- Returns:
- Message
- Throws:
EntityException
getItemByMessageID
public EISMessage getItemByMessageID(com.sun.mail.pop3.POP3Folder f,
java.lang.String FID,
java.lang.String message_id)
throws EntityException
- serch a document using the header Message-ID
- Parameters:
f
- POP3FolderFID
- Stringmessage_id
- String
- Returns:
- EISMessage
- Throws:
EntityException
Copyright © 2003-2006 Funambol.