com.sybase.persistence
Class DatabaseClass

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

public class DatabaseClass
extends java.lang.Object

This is an utility class containing methods to invoke generated database class methods.


Field Summary
protected  DatabaseMetaData __md
           
protected  ReflectionManager __rm
           
 
Constructor Summary
DatabaseClass()
          Sybase internal use only.
 
Method Summary
 void cancelPendingOperations()
          Cancel all the pending (unsubmitted) operations of the packages.
 void createDatabase()
          Create Database for the package
 void dropDatabase()
          Delete Database for the package
 DatabaseClass finishInit()
          Sybase internal use only.
static DatabaseClass getInstance(DatabaseMetaData md, ReflectionManager rm)
          Sybase internal use only.
 DatabaseMetaData getMd()
          Sybase internal use only.
 ReflectionManager getRm()
          Sybase internal use only.
 void initialSync()
          Sybase internal use only.
 void loginToSync(java.lang.String username, java.lang.String password)
          Login to the server.
 void resume()
          Request the server to start delivering messages to the device again.
 void setMd(DatabaseMetaData _md)
          Sybase internal use only.
 void setRm(ReflectionManager _rm)
          Sybase internal use only.
 void submitPendingOperations()
          Submit all the pending (unsubmitted) operations of the packages.
 void subscribe()
          Subscribe to the server
 void suspend()
          Request the server stop delivering messages to the device
 void synchronize()
          Synchronize the package
 void unsubscribe()
          Unsubscribe the package from server
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__md

protected DatabaseMetaData __md

__rm

protected ReflectionManager __rm
Constructor Detail

DatabaseClass

public DatabaseClass()
Sybase internal use only.

Method Detail

getMd

public DatabaseMetaData getMd()
Sybase internal use only.


setMd

public void setMd(DatabaseMetaData _md)
Sybase internal use only.


getRm

public ReflectionManager getRm()
Sybase internal use only.


setRm

public void setRm(ReflectionManager _rm)
Sybase internal use only.


getInstance

public static DatabaseClass getInstance(DatabaseMetaData md,
                                        ReflectionManager rm)
Sybase internal use only.


createDatabase

public void createDatabase()
Create Database for the package


dropDatabase

public void dropDatabase()
Delete Database for the package


initialSync

public void initialSync()
Sybase internal use only.


loginToSync

public void loginToSync(java.lang.String username,
                        java.lang.String password)
Login to the server.


synchronize

public void synchronize()
Synchronize the package


subscribe

public void subscribe()
Subscribe to the server


unsubscribe

public void unsubscribe()
Unsubscribe the package from server


suspend

public void suspend()
Request the server stop delivering messages to the device


resume

public void resume()
Request the server to start delivering messages to the device again.


cancelPendingOperations

public void cancelPendingOperations()
Cancel all the pending (unsubmitted) operations of the packages.


submitPendingOperations

public void submitPendingOperations()
Submit all the pending (unsubmitted) operations of the packages.


finishInit

public DatabaseClass finishInit()
Sybase internal use only.