com.sybase.persistence
Class SynchronizationManager

java.lang.Object
  extended by com.sybase.persistence.SynchronizationManager

public class SynchronizationManager
extends java.lang.Object


Constructor Summary
SynchronizationManager()
           
 
Method Summary
static java.lang.String formmatPackageName(java.lang.String text)
          Sybase internal use only.
static SynchronizationManager getInstance()
          Sybase internal use only.
 void synchronizeApplication(Connection conn, java.lang.String mobileBusinessObject)
          Executes a data synchronization for a single SUP mobile business object.
 void synchronizeApplication(Connection conn, java.lang.String mobileBusinessObject, PushConfiguration pushConfig, boolean doPlayback)
          Executes a data synchronization for a single SUP mobile business object.
 void synchronizeApplication(Connection conn, java.lang.String mobileBusinessObject, PushConfiguration pushConfig, boolean doPlayback, SyncStatusListener syncStatusListener)
          Executes a data synchronization for a single SUP mobile business object.
 void synchronizeApplication(Connection conn, java.lang.String mobileBusinessObject, SyncStatusListener syncStatusListener)
          Executes a data synchronization for a single SUP mobile business object.
 void synchronizeApplications(Connection conn, java.lang.String[] mobileBusinessObjects)
          Executes a data synchronization for a single SUP mobile business object.
 void synchronizeApplications(Connection conn, java.lang.String[] mobileBusinessObjects, PushConfiguration pushConfig, boolean doPlayback, SyncStatusListener syncStatusListener)
          Executes a data synchronization for a single SUP mobile business object.
 void synchronizeApplications(Connection conn, java.lang.String[] mobileBusinessObjects, SyncStatusListener syncStatusListener)
          Executes a data synchronization for a single SUP mobile business object.
 void synchronizeApplications(SynchronizationParameters syncParameters)
          Executes a data synchronization for a single SUP mobile business object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizationManager

public SynchronizationManager()
Method Detail

getInstance

public static SynchronizationManager getInstance()
Sybase internal use only.


formmatPackageName

public static java.lang.String formmatPackageName(java.lang.String text)
Sybase internal use only.


synchronizeApplication

public void synchronizeApplication(Connection conn,
                                   java.lang.String mobileBusinessObject)
Executes a data synchronization for a single SUP mobile business object.

Parameters:
conn - the Connection used for synchronization
mobileBusinessObject - A string array of the names of SUP mobile business objects to synchronize.

synchronizeApplication

public void synchronizeApplication(Connection conn,
                                   java.lang.String mobileBusinessObject,
                                   SyncStatusListener syncStatusListener)
Executes a data synchronization for a single SUP mobile business object.

Parameters:
conn - the Connection used for synchronization
mobileBusinessObject - A string array of the names of SUP mobile business objects to synchronize.
syncStatusListener - The SyncStatusListener for sync status notification

synchronizeApplication

public void synchronizeApplication(Connection conn,
                                   java.lang.String mobileBusinessObject,
                                   PushConfiguration pushConfig,
                                   boolean doPlayback)
Executes a data synchronization for a single SUP mobile business object.

Parameters:
conn - the Connection used for synchronization
mobileBusinessObject - A string array of the names of SUP mobile business objects to synchronize.
pushConfig - object to control registering or unregistering to receive push synchronization messages.
doPlayback - True will cause the synchronization to playback/execute the associated SUP mobile business object. False will just synchronize the data in the server's consolidated database without executing/playing back the SUP mobile business object. Default is true.

synchronizeApplication

public void synchronizeApplication(Connection conn,
                                   java.lang.String mobileBusinessObject,
                                   PushConfiguration pushConfig,
                                   boolean doPlayback,
                                   SyncStatusListener syncStatusListener)
Executes a data synchronization for a single SUP mobile business object.

Parameters:
conn - the Connection used for synchronization
mobileBusinessObject - A string array of the names of SUP mobile business objects to synchronize.
pushConfig - object to control registering or unregistering to receive push synchronization messages.
doPlayback - True will cause the synchronization to playback/execute the associated SUP mobile business object. False will just synchronize the data in the server's consolidated database without executing/playing back the SUP mobile business object. Default is true.
syncStatusListener - The SyncStatusListener for sync status notification

synchronizeApplications

public void synchronizeApplications(Connection conn,
                                    java.lang.String[] mobileBusinessObjects)
Executes a data synchronization for a single SUP mobile business object.

Parameters:
conn - the Connection used for synchronization
mobileBusinessObjects - A string array of the names of SUP mobile business objects to synchronize.

synchronizeApplications

public void synchronizeApplications(Connection conn,
                                    java.lang.String[] mobileBusinessObjects,
                                    SyncStatusListener syncStatusListener)
Executes a data synchronization for a single SUP mobile business object.

Parameters:
conn - the Connection used for synchronization
mobileBusinessObjects - A string array of the names of SUP mobile business objects to synchronize.
syncStatusListener - The SyncStatusListener for sync status notification

synchronizeApplications

public void synchronizeApplications(Connection conn,
                                    java.lang.String[] mobileBusinessObjects,
                                    PushConfiguration pushConfig,
                                    boolean doPlayback,
                                    SyncStatusListener syncStatusListener)
Executes a data synchronization for a single SUP mobile business object.

Parameters:
conn - the Connection used for synchronization
mobileBusinessObjects - A string array of the names of SUP mobile business objects to synchronize.
pushConfig - object to control registering or unregistering to receive push synchronization messages.
doPlayback - True will cause the synchronization to playback/execute the associated SUP mobile business object. False will just synchronize the data in the server's consolidated database without executing/playing back the SUP mobile business object. Default is true.
syncStatusListener - The SyncStatusListener for sync status notification

synchronizeApplications

public void synchronizeApplications(SynchronizationParameters syncParameters)
Executes a data synchronization for a single SUP mobile business object.

Parameters:
syncParameters - is used to give the required parameters