|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SyncException | |
---|---|
com.funambol.syncml.client | |
com.funambol.syncml.spds |
Uses of SyncException in com.funambol.syncml.client |
---|
Methods in com.funambol.syncml.client that throw SyncException | |
---|---|
int |
FileSyncSource.addItem(SyncItem item)
Add an item to the local store. |
abstract int |
BaseSyncSource.addItem(SyncItem item)
Add a new SyncItem to this source backend. |
int |
ConfigSyncSource.addItem(SyncItem item)
|
int |
TrackableSyncSource.addItem(SyncItem item)
The purpose of this implementation is simply to notify the tracker. |
int |
TwoPhasesFileSyncSource.addItem(SyncItem item)
Add an item to the local store. |
void |
FileSyncSource.beginSync(int syncMode)
|
void |
BaseSyncSource.beginSync(int syncMode)
Called after SyncManager preparation and initialization just before start the synchronization of the SyncSource. |
void |
ConfigSyncSource.beginSync(int syncMode)
|
void |
TrackableSyncSource.beginSync(int syncMode)
|
void |
TwoPhasesFileSyncSource.beginSync(int syncMode)
|
SyncItem |
FileSyncSource.createSyncItem(java.lang.String key,
java.lang.String type,
char state,
java.lang.String parent,
long size)
|
int |
FileSyncSource.deleteItem(java.lang.String key)
Delete an item from the local store. |
abstract int |
BaseSyncSource.deleteItem(java.lang.String key)
Delete a SyncItem stored in the source backend. |
int |
ConfigSyncSource.deleteItem(java.lang.String key)
|
int |
TrackableSyncSource.deleteItem(java.lang.String key)
The purpose of this implementation is simply to notify the tracker. |
void |
BaseSyncSource.endSync()
Called just before committing the synchronization process by the SyncManager. |
void |
ConfigSyncSource.endSync()
|
void |
TrackableSyncSource.endSync()
|
void |
TwoPhasesFileSyncSource.endSync()
|
protected java.util.Hashtable |
CacheTracker.getAllFilesFingerprint()
Create an hashtable with all files and their fingerprints |
protected java.util.Enumeration |
FileSyncSource.getAllItemsKeys()
|
protected java.util.Enumeration |
ConfigSyncSource.getAllItemsKeys()
|
protected SyncItem |
FileSyncSource.getItemContent(SyncItem item)
TODO: is this still needed? This is still kind of strange, we don't really need to get the item content any longer but we just need to create a proper item from which the content can be read |
protected abstract SyncItem |
BaseSyncSource.getItemContent(SyncItem item)
This function gets the item content in the backend database and returns a complete item. |
protected SyncItem |
ConfigSyncSource.getItemContent(SyncItem item)
|
protected abstract SyncItem |
TrackableSyncSource.getItemContent(SyncItem item)
|
protected SyncItem |
TwoPhasesFileSyncSource.getItemContent(SyncItem item)
TODO: is this still needed? This is still kind of strange, we don't really need to get the item content any longer but we just need to create a proper item from which the content can be read |
SyncItem |
BaseSyncSource.getNextDeletedItem()
Returns a SyncItem containing the key of the first/next deleted item of the store (locally removed after the last sync, but not yet deleted on server) |
SyncItem |
TrackableSyncSource.getNextDeletedItem()
|
SyncItem |
TwoPhasesFileSyncSource.getNextDeletedItem()
|
SyncItem |
BaseSyncSource.getNextItem()
Returns the next item of the store. |
SyncItem |
TrackableSyncSource.getNextItem()
|
SyncItem |
BaseSyncSource.getNextNewItem()
Returns the next new item of the store (not yet sent to the server) |
SyncItem |
TrackableSyncSource.getNextNewItem()
|
SyncItem |
BaseSyncSource.getNextUpdatedItem()
Returns the first/next updated item of the store (changed from the last sync) |
SyncItem |
TrackableSyncSource.getNextUpdatedItem()
|
protected abstract void |
BaseSyncSource.initAllItems()
In a concrete implementation, this function should search the database for all the items present and store their keys. |
protected abstract void |
BaseSyncSource.initDelItems()
In a real implementation, this function should search the database for the deleted items present and store their keys. |
protected abstract void |
BaseSyncSource.initNewItems()
In a concrete implementation, this function should search the database for the new items present and store their keys. |
protected abstract void |
BaseSyncSource.initUpdItems()
In a real implementation, this function should search the database for the modified items present and store their keys. |
void |
BaseSyncSource.setItemStatus(java.lang.String key,
int status)
Tell the SyncSource the status returned by the server for an Item previously sent. |
void |
TrackableSyncSource.setItemStatus(java.lang.String key,
int status)
|
void |
TwoPhasesFileSyncSource.setItemStatus(java.lang.String key,
int status)
|
int |
FileSyncSource.updateItem(SyncItem item)
Update an item in the local store. |
abstract int |
BaseSyncSource.updateItem(SyncItem item)
Update a given SyncItem stored in the source backend. |
int |
ConfigSyncSource.updateItem(SyncItem item)
|
int |
TrackableSyncSource.updateItem(SyncItem item)
The purpose of this implementation is simply to notify the tracker. |
int |
TwoPhasesFileSyncSource.updateItem(SyncItem item)
Update an item in the local store. |
protected void |
TwoPhasesFileSyncSource.uploadItems()
|
Uses of SyncException in com.funambol.syncml.spds |
---|
Subclasses of SyncException in com.funambol.syncml.spds | |
---|---|
class |
AuthenticationException
This exception represents the base exception for synchronization related error conditions. |
class |
CompressedSyncException
Exception related to the compressed sync error |
class |
ReadResponseException
Manages the Transport agent read errors when sync'ing |
class |
WriteRequestException
Manages the Transport agent write errors when sync'ing |
Methods in com.funambol.syncml.spds that throw SyncException | |
---|---|
int |
SyncSource.addItem(SyncItem item)
Add a new SyncItem to this source backend. |
void |
SyncSource.beginSync(int syncMode)
Called after SyncManager preparation and initialization just before start the synchronization of the SyncSource. |
SyncItem |
SyncSource.createSyncItem(java.lang.String key,
java.lang.String type,
char state,
java.lang.String parent,
long size)
Creates a SyncItem that the sync engine can use to store an incoming item. |
int |
SyncSource.deleteItem(java.lang.String key)
Delete a SyncItem stored in the source backend. |
void |
SyncSource.endSync()
Called just before committing the synchronization process by the SyncManager. |
SyncItem |
SyncSource.getNextDeletedItem()
Returns a SyncItem containing the key of the first/next deleted item of the store (locally removed after the last sync, but not yet deleted on server) |
SyncItem |
SyncSource.getNextItem()
Returns the next item of the store (for slow sync). |
SyncItem |
SyncSource.getNextNewItem()
Returns the first/next new item of the store. |
SyncItem |
SyncSource.getNextUpdatedItem()
Returns the first/next updated item of the store (changed from the last sync) |
protected boolean |
SyncManager.processModifications(ChunkedString modifications)
Processes the modifications from the received response from server |
void |
SyncSource.setItemStatus(java.lang.String key,
int status)
Tell the SyncSource the status returned by the server for an Item previously sent. |
void |
SyncManager.sync(SyncSource source)
Synchronizes synchronization source, using the preferred sync mode defined for that SyncSource. |
void |
SyncManager.sync(SyncSource source,
boolean askServerDevInf)
Synchronizes synchronization source, using the preferred sync mode defined for that SyncSource. |
void |
SyncManager.sync(SyncSource src,
int syncMode)
Synchronizes synchronization source |
void |
SyncManager.sync(SyncSource src,
int syncMode,
boolean askServerDevInf)
Synchronizes synchronization source |
int |
SyncSource.updateItem(SyncItem item)
Update a given SyncItem stored in the source backend. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |