com.funambol.client.test
Class CheckSyncSource

java.lang.Object
  extended by TrackableSyncSource
      extended by com.funambol.client.test.CheckSyncSource

public class CheckSyncSource
extends TrackableSyncSource


Constructor Summary
CheckSyncSource(java.lang.String name, java.lang.String type, java.lang.String remoteUri)
           
 
Method Summary
 int addItem(SyncItem item)
           
 void addItemFromOutside(SyncItem item)
           
 void beginSync(int syncMode)
           
 void deleteAllFromOutside()
           
protected  void deleteAllItems()
           
 int deleteItem(java.lang.String key)
           
 void deleteItemFromOutside(java.lang.String key)
           
 java.util.Enumeration getAddedItems()
           
 java.util.Hashtable getAllItems()
           
 int getAllItemsCount()
           
 java.util.Enumeration getAllItemsKeys()
           
 java.util.Enumeration getDeletedItems()
           
 SyncItem getItemContent(SyncItem item)
           
 java.util.Enumeration getUpdatedItems()
           
 int updateItem(SyncItem item)
           
 void updateItemFromOutside(SyncItem item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckSyncSource

public CheckSyncSource(java.lang.String name,
                       java.lang.String type,
                       java.lang.String remoteUri)
Method Detail

beginSync

public void beginSync(int syncMode)
               throws SyncException
Throws:
SyncException

addItem

public int addItem(SyncItem item)
            throws SyncException
Throws:
SyncException

updateItem

public int updateItem(SyncItem item)
               throws SyncException
Throws:
SyncException

deleteItem

public int deleteItem(java.lang.String key)
               throws SyncException
Throws:
SyncException

getAllItemsKeys

public java.util.Enumeration getAllItemsKeys()
                                      throws SyncException
Throws:
SyncException

getItemContent

public SyncItem getItemContent(SyncItem item)
                        throws SyncException
Throws:
SyncException

addItemFromOutside

public void addItemFromOutside(SyncItem item)
                        throws SyncException
Throws:
SyncException

updateItemFromOutside

public void updateItemFromOutside(SyncItem item)
                           throws SyncException
Throws:
SyncException

deleteItemFromOutside

public void deleteItemFromOutside(java.lang.String key)
                           throws SyncException
Throws:
SyncException

deleteAllFromOutside

public void deleteAllFromOutside()
                          throws SyncException
Throws:
SyncException

getAddedItems

public java.util.Enumeration getAddedItems()

getUpdatedItems

public java.util.Enumeration getUpdatedItems()

getDeletedItems

public java.util.Enumeration getDeletedItems()

getAllItems

public java.util.Hashtable getAllItems()

getAllItemsCount

public int getAllItemsCount()

deleteAllItems

protected void deleteAllItems()


Copyright © 2001-2009 Funambol.