org.openmobileis.database.fastobjectdb.synchro.server.sync4j
Class FODBSync4JSource

org.openmobileis.database.fastobjectdb.synchro.server.sync4j.FODBSync4JSource
Direct Known Subclasses:
TestFODBSync4JSource

public abstract class FODBSync4JSource

Author:
Administrateur TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
protected static java.lang.String MIMETYPE
           
 
Constructor Summary
FODBSync4JSource()
           
FODBSync4JSource(java.lang.String arg0)
           
FODBSync4JSource(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2)
           
 
Method Summary
 sync4j.framework.engine.SyncItem[] getAllSyncItems(java.security.Principal principal)
           
 sync4j.framework.engine.SyncItemKey[] getDeletedSyncItemKeys(java.security.Principal arg0, java.sql.Timestamp arg1)
           
 sync4j.framework.engine.SyncItem[] getDeletedSyncItems(java.security.Principal principal, java.sql.Timestamp since)
           
 sync4j.framework.engine.SyncItemKey[] getNewSyncItemKeys(java.security.Principal arg0, java.sql.Timestamp arg1)
           
 sync4j.framework.engine.SyncItem[] getNewSyncItems(java.security.Principal principal, java.sql.Timestamp since)
           
protected abstract  sync4j.framework.engine.SyncItem getSyncItem(java.security.Principal principal, java.lang.String itemId)
          Get the SyncItem with the given itemId for the given principal
 sync4j.framework.engine.SyncItem getSyncItemFromId(java.security.Principal principal, sync4j.framework.engine.SyncItemKey syncItemKey)
           
 sync4j.framework.engine.SyncItem getSyncItemFromTwin(java.security.Principal arg0, sync4j.framework.engine.SyncItem arg1)
           
protected abstract  sync4j.framework.engine.SyncItem[] getSyncItems(java.security.Principal principal, java.lang.String type, java.sql.Timestamp since)
          Get the SyncItem[] in accord with the given parameters
 sync4j.framework.engine.SyncItem[] getSyncItemsFromIds(java.security.Principal principal, sync4j.framework.engine.SyncItemKey[] syncItemsKeys)
           
 sync4j.framework.engine.SyncItem[] getSyncItemsFromTwins(java.security.Principal arg0, sync4j.framework.engine.SyncItem[] arg1)
           
 sync4j.framework.engine.SyncItemKey[] getUpdatedSyncItemKeys(java.security.Principal arg0, java.sql.Timestamp arg1)
           
 sync4j.framework.engine.SyncItem[] getUpdatedSyncItems(java.security.Principal principal, java.sql.Timestamp since)
           
 void removeSyncItem(java.security.Principal arg0, sync4j.framework.engine.SyncItem arg1)
           
 void removeSyncItems(java.security.Principal principal, sync4j.framework.engine.SyncItem[] syncItems)
           
 sync4j.framework.engine.SyncItem setSyncItem(java.security.Principal arg0, sync4j.framework.engine.SyncItem arg1)
           
 sync4j.framework.engine.SyncItem[] setSyncItems(java.security.Principal principal, sync4j.framework.engine.SyncItem[] syncItems)
           
 

Field Detail

MIMETYPE

protected static final java.lang.String MIMETYPE
Constructor Detail

FODBSync4JSource

public FODBSync4JSource()

FODBSync4JSource

public FODBSync4JSource(java.lang.String arg0,
                        java.lang.String arg1,
                        java.lang.String arg2)
Parameters:
arg0 -  
arg1 -  
arg2 -  

FODBSync4JSource

public FODBSync4JSource(java.lang.String arg0)
Parameters:
arg0 -  
Method Detail

getAllSyncItems

public sync4j.framework.engine.SyncItem[] getAllSyncItems(java.security.Principal principal)
                                                   throws sync4j.framework.engine.source.SyncSourceException

getDeletedSyncItemKeys

public sync4j.framework.engine.SyncItemKey[] getDeletedSyncItemKeys(java.security.Principal arg0,
                                                                    java.sql.Timestamp arg1)
                                                             throws sync4j.framework.engine.source.SyncSourceException

getDeletedSyncItems

public sync4j.framework.engine.SyncItem[] getDeletedSyncItems(java.security.Principal principal,
                                                              java.sql.Timestamp since)
                                                       throws sync4j.framework.engine.source.SyncSourceException

getNewSyncItemKeys

public sync4j.framework.engine.SyncItemKey[] getNewSyncItemKeys(java.security.Principal arg0,
                                                                java.sql.Timestamp arg1)
                                                         throws sync4j.framework.engine.source.SyncSourceException

getNewSyncItems

public sync4j.framework.engine.SyncItem[] getNewSyncItems(java.security.Principal principal,
                                                          java.sql.Timestamp since)
                                                   throws sync4j.framework.engine.source.SyncSourceException

getSyncItemFromId

public sync4j.framework.engine.SyncItem getSyncItemFromId(java.security.Principal principal,
                                                          sync4j.framework.engine.SyncItemKey syncItemKey)
                                                   throws sync4j.framework.engine.source.SyncSourceException

getSyncItemsFromIds

public sync4j.framework.engine.SyncItem[] getSyncItemsFromIds(java.security.Principal principal,
                                                              sync4j.framework.engine.SyncItemKey[] syncItemsKeys)
                                                       throws sync4j.framework.engine.source.SyncSourceException

getUpdatedSyncItems

public sync4j.framework.engine.SyncItem[] getUpdatedSyncItems(java.security.Principal principal,
                                                              java.sql.Timestamp since)
                                                       throws sync4j.framework.engine.source.SyncSourceException

removeSyncItem

public void removeSyncItem(java.security.Principal arg0,
                           sync4j.framework.engine.SyncItem arg1)
                    throws sync4j.framework.engine.source.SyncSourceException

removeSyncItems

public void removeSyncItems(java.security.Principal principal,
                            sync4j.framework.engine.SyncItem[] syncItems)
                     throws sync4j.framework.engine.source.SyncSourceException

setSyncItem

public sync4j.framework.engine.SyncItem setSyncItem(java.security.Principal arg0,
                                                    sync4j.framework.engine.SyncItem arg1)
                                             throws sync4j.framework.engine.source.SyncSourceException

setSyncItems

public sync4j.framework.engine.SyncItem[] setSyncItems(java.security.Principal principal,
                                                       sync4j.framework.engine.SyncItem[] syncItems)
                                                throws sync4j.framework.engine.source.SyncSourceException

getSyncItemFromTwin

public sync4j.framework.engine.SyncItem getSyncItemFromTwin(java.security.Principal arg0,
                                                            sync4j.framework.engine.SyncItem arg1)
                                                     throws sync4j.framework.engine.source.SyncSourceException

getSyncItemsFromTwins

public sync4j.framework.engine.SyncItem[] getSyncItemsFromTwins(java.security.Principal arg0,
                                                                sync4j.framework.engine.SyncItem[] arg1)
                                                         throws sync4j.framework.engine.source.SyncSourceException

getUpdatedSyncItemKeys

public sync4j.framework.engine.SyncItemKey[] getUpdatedSyncItemKeys(java.security.Principal arg0,
                                                                    java.sql.Timestamp arg1)
                                                             throws sync4j.framework.engine.source.SyncSourceException

getSyncItems

protected abstract sync4j.framework.engine.SyncItem[] getSyncItems(java.security.Principal principal,
                                                                   java.lang.String type,
                                                                   java.sql.Timestamp since)
                                                            throws sync4j.framework.engine.source.SyncSourceException
Get the SyncItem[] in accord with the given parameters
Parameters:
principal - Principal
type - String
since - Timestamp
Returns:
SyncItem[]
Throws:
SyncSourceException -  

getSyncItem

protected abstract sync4j.framework.engine.SyncItem getSyncItem(java.security.Principal principal,
                                                                java.lang.String itemId)
                                                         throws sync4j.framework.engine.source.SyncSourceException
Get the SyncItem with the given itemId for the given principal
Parameters:
principal - Principal
itemId - String
Returns:
SyncItem
Throws:
SyncSourceException -  


Copyright 2005 e-Care. All Rights Reserved.