Example #1
0
    /*
     * Return the next SyncItem of all.
     * It is used in case of slow or refresh sync
     * and retrieve the entire data source content.
     */
SyncItem* LOSyncSource::getNextItem() { 
    if (getUseSlowSync()) {
        setUseAdd(true);
        return getNextNewItem();
    } else {
        return NULL;
    }
}
//get first/next new item
SyncItem* WebOsCalendarSyncSource::getFirstNewItem()
{
	LOG.info("=========== GET FIRST NEW ITEM CALLED ==================");
	if(!mGetChangesCalled)
	{
		getChanges();
	}
	return getNextNewItem();
}
Example #3
0
SyncItem* LOSyncSource::getFirstNewItem() {
   return getNextNewItem();
}
SyncItem* MappingTestSyncSource::getFirstNewItem() {
   return getNextNewItem();
}
Example #5
0
/**
 * Return the first new SyncItem. It is used in case of fast sync
 * and retrieve the new data source content.
 */
SyncItem* CacheSyncSource::getFirstNewItem() {    
    fillItemModifications();   
    return getNextNewItem();    

}