|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.email.engine.cache.CrcCachedSyncSourceHelper
This class includes the common methods for the OpenSource CrcCachedSyncSource and the Enterprise CrcCachedSyncSource.
Constructor Summary | |
CrcCachedSyncSourceHelper()
|
Method Summary | |
static char |
getSyncItemStateFromId(com.funambol.framework.engine.SyncItemKey syncItemKey,
int syncMode,
java.util.ArrayList newItemKeys,
java.util.ArrayList deletedItemKeys,
java.util.ArrayList updatedItemKeys)
|
static boolean |
isItemInArray(CrcSyncItemInfo[] items,
CrcSyncItemInfo item)
Checks if item is included in array of items |
static java.util.ArrayList |
setDeletedItemKeys(CrcSyncItemInfo[] localItems,
CrcSyncItemInfo[] serverItems)
Creates deleted items id array |
static java.util.ArrayList |
setNewItemKeys(CrcSyncItemInfo[] localItems,
CrcSyncItemInfo[] serverItems)
Creates new items id array |
static java.util.ArrayList |
setUpdatedItemKeys(CrcSyncItemInfo[] localItems,
CrcSyncItemInfo[] serverItems)
Creates updated items id array |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CrcCachedSyncSourceHelper()
Method Detail |
public static char getSyncItemStateFromId(com.funambol.framework.engine.SyncItemKey syncItemKey, int syncMode, java.util.ArrayList newItemKeys, java.util.ArrayList deletedItemKeys, java.util.ArrayList updatedItemKeys) throws com.funambol.framework.engine.source.SyncSourceException
syncItemKey
- SyncItemKey
com.funambol.framework.engine.source.SyncSourceException
public static java.util.ArrayList setNewItemKeys(CrcSyncItemInfo[] localItems, CrcSyncItemInfo[] serverItems)
public static java.util.ArrayList setDeletedItemKeys(CrcSyncItemInfo[] localItems, CrcSyncItemInfo[] serverItems)
public static java.util.ArrayList setUpdatedItemKeys(CrcSyncItemInfo[] localItems, CrcSyncItemInfo[] serverItems)
public static boolean isItemInArray(CrcSyncItemInfo[] items, CrcSyncItemInfo item)
items
- items arrayitem
- item to find
true
if the item is includedfalse
if the item is not included
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |