com.funambol.email.engine.source
Class EmailImap
java.lang.Object
com.funambol.email.engine.source.EmailGeneric
com.funambol.email.engine.source.EmailImap
- All Implemented Interfaces:
- IEmailGeneric
public class EmailImap
- extends EmailGeneric
- implements IEmailGeneric
This class implements common methods of EmailIMAPSyncSource
version $Id: EmailImap.java,v 1.16 2007/01/31 15:28:39 gbmiglia Exp $
Fields inherited from class com.funambol.email.engine.source.EmailGeneric |
em |
Methods inherited from class com.funambol.email.engine.source.EmailGeneric |
checkMessageIDforDrafts, createSyncItem, createSyncItem, getDeletedSyncItemKeys, getNewSyncItemKeys, getSyncItemStateFromId, getUpdatedSyncItemKeys, insertDefaultFolder, insertInvalidItem, isEmailFromContent, isEmailFromKey, isValidItem, setOperationStatus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected com.funambol.framework.logging.FunambolLogger log
iem
protected ImapEntityManager iem
ess
protected EmailSyncSource ess
EmailImap
public EmailImap()
EmailImap
public EmailImap(EmailSyncSourceWrapper _essc)
throws com.funambol.framework.engine.source.SyncSourceException
- Parameters:
_essc
-
- Throws:
com.funambol.framework.engine.source.SyncSourceException
isSyncItemInFilterClause
public boolean isSyncItemInFilterClause(com.funambol.framework.engine.SyncItem syncItem)
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
isSyncItemInFilterClause
in interface IEmailGeneric
- Specified by:
isSyncItemInFilterClause
in class EmailGeneric
- Parameters:
syncItem
- SyncItem
- Returns:
- boolean
- Throws:
com.funambol.framework.engine.source.SyncSourceException
isSyncItemInFilterClause
public boolean isSyncItemInFilterClause(com.funambol.framework.engine.SyncItemKey syncItemKey)
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
isSyncItemInFilterClause
in interface IEmailGeneric
- Specified by:
isSyncItemInFilterClause
in class EmailGeneric
- Parameters:
syncItemKey
- SyncItemKey
- Returns:
- boolean
- Throws:
com.funambol.framework.engine.source.SyncSourceException
removeSyncItem
public void removeSyncItem(com.funambol.framework.engine.SyncItemKey syncItemKey,
java.sql.Timestamp s,
boolean engineSoftDelete)
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
removeSyncItem
in interface IEmailGeneric
- Specified by:
removeSyncItem
in class EmailGeneric
- Parameters:
syncItemKey
- SyncItemKeys
- TimestampengineSoftDelete
- boolean
- Throws:
com.funambol.framework.engine.source.SyncSourceException
getSyncItemFromId
public com.funambol.framework.engine.SyncItem getSyncItemFromId(com.funambol.framework.engine.SyncItemKey syncItemKey)
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
getSyncItemFromId
in interface IEmailGeneric
- Specified by:
getSyncItemFromId
in class EmailGeneric
- Parameters:
syncItemKey
- SyncItemKey
- Returns:
- SyncItem
- Throws:
com.funambol.framework.engine.source.SyncSourceException
- See Also:
SyncSource
getAllSyncItemKeys
public com.funambol.framework.engine.SyncItemKey[] getAllSyncItemKeys()
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
getAllSyncItemKeys
in interface IEmailGeneric
- Specified by:
getAllSyncItemKeys
in class EmailGeneric
- Returns:
- SyncItemKey[]
- Throws:
com.funambol.framework.engine.source.SyncSourceException
getAllSyncItemInfo
public java.util.HashMap getAllSyncItemInfo()
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
getAllSyncItemInfo
in interface IEmailGeneric
- Specified by:
getAllSyncItemInfo
in class EmailGeneric
- Returns:
- map with all Mail Server CrcSyncItemInfo
- Throws:
com.funambol.framework.engine.source.SyncSourceException
clearServerInfo
public void clearServerInfo()
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
clearServerInfo
in class EmailGeneric
- Throws:
com.funambol.framework.engine.source.SyncSourceException
getSyncItemKeysFromTwin
public com.funambol.framework.engine.SyncItemKey[] getSyncItemKeysFromTwin(com.funambol.framework.engine.SyncItem syncItem)
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
getSyncItemKeysFromTwin
in interface IEmailGeneric
- Specified by:
getSyncItemKeysFromTwin
in class EmailGeneric
- Parameters:
syncItem
- SyncItem
- Returns:
- SyncItemKey[]
- Throws:
com.funambol.framework.engine.source.SyncSourceException
addSyncItem
public com.funambol.framework.engine.SyncItem addSyncItem(com.funambol.framework.engine.SyncItem syncItem)
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
addSyncItem
in interface IEmailGeneric
- Specified by:
addSyncItem
in class EmailGeneric
- Parameters:
syncItem
- SyncItem
- Returns:
- SyncItem
- Throws:
com.funambol.framework.engine.source.SyncSourceException
updateSyncItem
public com.funambol.framework.engine.SyncItem updateSyncItem(com.funambol.framework.engine.SyncItem syncItem)
throws com.funambol.framework.engine.source.SyncSourceException
- Specified by:
updateSyncItem
in interface IEmailGeneric
- Specified by:
updateSyncItem
in class EmailGeneric
- Parameters:
syncItem
- SyncItem
- Returns:
- SyncItem
- Throws:
com.funambol.framework.engine.source.SyncSourceException
Copyright © 2005-2006 Funambol.