org.openmobileis.synchro.sync4j.server
Class FODBSync4JSource
java.lang.Object
AbstractSyncSource
org.openmobileis.synchro.sync4j.server.FODBSync4JSource
- Direct Known Subclasses:
- TestFODBSync4JSource
- public abstract class FODBSync4JSource
- extends AbstractSyncSource
- Author:
- Administrateur
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
- See Also:
- Serialized Form
Field Summary |
protected static java.lang.String |
MIMETYPE
|
Method Summary |
SyncItem[] |
getAllSyncItems(java.security.Principal principal)
|
SyncItemKey[] |
getDeletedSyncItemKeys(java.security.Principal arg0,
java.sql.Timestamp arg1)
|
SyncItem[] |
getDeletedSyncItems(java.security.Principal principal,
java.sql.Timestamp since)
|
SyncItemKey[] |
getNewSyncItemKeys(java.security.Principal arg0,
java.sql.Timestamp arg1)
|
SyncItem[] |
getNewSyncItems(java.security.Principal principal,
java.sql.Timestamp since)
|
protected abstract SyncItem |
getSyncItem(java.security.Principal principal,
java.lang.String itemId)
Get the SyncItem with the given itemId for the given principal |
SyncItem |
getSyncItemFromId(java.security.Principal principal,
SyncItemKey syncItemKey)
|
SyncItem |
getSyncItemFromTwin(java.security.Principal arg0,
SyncItem arg1)
|
protected abstract SyncItem[] |
getSyncItems(java.security.Principal principal,
java.lang.String type,
java.sql.Timestamp since)
Get the SyncItem[] in accord with the given parameters |
SyncItem[] |
getSyncItemsFromIds(java.security.Principal principal,
SyncItemKey[] syncItemsKeys)
|
SyncItem[] |
getSyncItemsFromTwins(java.security.Principal arg0,
SyncItem[] arg1)
|
SyncItemKey[] |
getUpdatedSyncItemKeys(java.security.Principal arg0,
java.sql.Timestamp arg1)
|
SyncItem[] |
getUpdatedSyncItems(java.security.Principal principal,
java.sql.Timestamp since)
|
void |
removeSyncItem(java.security.Principal arg0,
SyncItem arg1)
|
void |
removeSyncItems(java.security.Principal principal,
SyncItem[] syncItems)
|
SyncItem |
setSyncItem(java.security.Principal arg0,
SyncItem arg1)
|
SyncItem[] |
setSyncItems(java.security.Principal principal,
SyncItem[] syncItems)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIMETYPE
protected static final java.lang.String MIMETYPE
- See Also:
- Constant Field Values
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
-
getAllSyncItems
public SyncItem[] getAllSyncItems(java.security.Principal principal)
throws SyncSourceException
- Throws:
SyncSourceException
getDeletedSyncItemKeys
public SyncItemKey[] getDeletedSyncItemKeys(java.security.Principal arg0,
java.sql.Timestamp arg1)
throws SyncSourceException
- Throws:
SyncSourceException
getDeletedSyncItems
public SyncItem[] getDeletedSyncItems(java.security.Principal principal,
java.sql.Timestamp since)
throws SyncSourceException
- Throws:
SyncSourceException
getNewSyncItemKeys
public SyncItemKey[] getNewSyncItemKeys(java.security.Principal arg0,
java.sql.Timestamp arg1)
throws SyncSourceException
- Throws:
SyncSourceException
getNewSyncItems
public SyncItem[] getNewSyncItems(java.security.Principal principal,
java.sql.Timestamp since)
throws SyncSourceException
- Throws:
SyncSourceException
getSyncItemFromId
public SyncItem getSyncItemFromId(java.security.Principal principal,
SyncItemKey syncItemKey)
throws SyncSourceException
- Throws:
SyncSourceException
getSyncItemsFromIds
public SyncItem[] getSyncItemsFromIds(java.security.Principal principal,
SyncItemKey[] syncItemsKeys)
throws SyncSourceException
- Throws:
SyncSourceException
getUpdatedSyncItems
public SyncItem[] getUpdatedSyncItems(java.security.Principal principal,
java.sql.Timestamp since)
throws SyncSourceException
- Throws:
SyncSourceException
removeSyncItem
public void removeSyncItem(java.security.Principal arg0,
SyncItem arg1)
throws SyncSourceException
- Throws:
SyncSourceException
removeSyncItems
public void removeSyncItems(java.security.Principal principal,
SyncItem[] syncItems)
throws SyncSourceException
- Throws:
SyncSourceException
setSyncItem
public SyncItem setSyncItem(java.security.Principal arg0,
SyncItem arg1)
throws SyncSourceException
- Throws:
SyncSourceException
setSyncItems
public SyncItem[] setSyncItems(java.security.Principal principal,
SyncItem[] syncItems)
throws SyncSourceException
- Throws:
SyncSourceException
getSyncItemFromTwin
public SyncItem getSyncItemFromTwin(java.security.Principal arg0,
SyncItem arg1)
throws SyncSourceException
- Throws:
SyncSourceException
getSyncItemsFromTwins
public SyncItem[] getSyncItemsFromTwins(java.security.Principal arg0,
SyncItem[] arg1)
throws SyncSourceException
- Throws:
SyncSourceException
getUpdatedSyncItemKeys
public SyncItemKey[] getUpdatedSyncItemKeys(java.security.Principal arg0,
java.sql.Timestamp arg1)
throws SyncSourceException
- Throws:
SyncSourceException
getSyncItems
protected abstract SyncItem[] getSyncItems(java.security.Principal principal,
java.lang.String type,
java.sql.Timestamp since)
throws SyncSourceException
- Get the SyncItem[] in accord with the given parameters
- Parameters:
principal
- Principaltype
- Stringsince
- Timestamp
- Returns:
- SyncItem[]
- Throws:
SyncSourceException
getSyncItem
protected abstract SyncItem getSyncItem(java.security.Principal principal,
java.lang.String itemId)
throws SyncSourceException
- Get the SyncItem with the given itemId for the given principal
- Parameters:
principal
- PrincipalitemId
- String
- Returns:
- SyncItem
- Throws:
SyncSourceException
Copyright 2006 OpenMobileIS. All Rights Reserved.