org.openmobileis.synchro.sync4j.client
Class Sync4jFODBSyncSource
java.lang.Object
org.openmobileis.synchro.sync4j.client.Sync4jFODBSyncSource
- public final class Sync4jFODBSyncSource
- extends java.lang.Object
Title: OpenMobileIS project source
Description: Default Sync4j Source
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sync4jFODBSyncSource
public Sync4jFODBSyncSource()
registerSynchroListener
public void registerSynchroListener(SynchroFODBReturnListener listener)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getSourceURI
public java.lang.String getSourceURI()
- Getter for property uri.
- Returns:
- Value of property uri.
setSourceURI
public void setSourceURI(java.lang.String sourceURI)
- Setter for property uri.
- Parameters:
sourceURI
- New value of property uri.
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getAllSyncItems
public SyncItem[] getAllSyncItems(java.security.Principal arg0)
throws SyncException
- Throws:
SyncException
getDeletedSyncItems
public SyncItem[] getDeletedSyncItems(java.security.Principal arg0,
java.util.Date arg1)
throws SyncException
- Throws:
SyncException
getNewSyncItems
public SyncItem[] getNewSyncItems(java.security.Principal arg0,
java.util.Date arg1)
throws SyncException
- Throws:
SyncException
getUpdatedSyncItems
public SyncItem[] getUpdatedSyncItems(java.security.Principal arg0,
java.util.Date arg1)
throws SyncException
- Throws:
SyncException
removeSyncItem
public void removeSyncItem(java.security.Principal arg0,
SyncItem syncItem)
throws SyncException
- Throws:
SyncException
setSyncItem
public SyncItem setSyncItem(java.security.Principal arg0,
SyncItem syncItem)
throws SyncException
- Throws:
SyncException
beginSync
public void beginSync(int arg0)
throws SyncException
- Throws:
SyncException
commitSync
public void commitSync()
throws SyncException
- Throws:
SyncException
convertActionStateToSyncItem
protected char convertActionStateToSyncItem(ActionDB action)
encodeActionInSyncItem
protected SyncItem encodeActionInSyncItem(ActionDB action)
throws SyncException
- Throws:
SyncException
getSyncItemForState
protected SyncItem[] getSyncItemForState(int state)
throws SyncException
- Throws:
SyncException
Copyright 2006 OpenMobileIS. All Rights Reserved.