com.opencms.boot
Class CmsSetupDb

java.lang.Object
  |
  +--com.opencms.boot.CmsSetupDb

public class CmsSetupDb
extends Object


Constructor Summary
CmsSetupDb(String basePath)
           
 
Method Summary
 void clearErrors()
           
 void closeConnection()
           
 void createDatabase(String resourceBroker, Hashtable replacer)
           
 void createTables(String resourceBroker)
           
 void dropDatabase(String resourceBroker, Hashtable replacer)
           
 void dropTables(String resourceBroker)
           
protected  void finalize()
           
 Vector getErrors()
           
 boolean noErrors()
           
 void setConnection(String DbDriver, String DbConStr, String DbUser, String DbPwd)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsSetupDb

public CmsSetupDb(String basePath)
Method Detail

setConnection

public void setConnection(String DbDriver,
                          String DbConStr,
                          String DbUser,
                          String DbPwd)

closeConnection

public void closeConnection()

dropDatabase

public void dropDatabase(String resourceBroker,
                         Hashtable replacer)

createDatabase

public void createDatabase(String resourceBroker,
                           Hashtable replacer)

createTables

public void createTables(String resourceBroker)

dropTables

public void dropTables(String resourceBroker)

getErrors

public Vector getErrors()

clearErrors

public void clearErrors()

noErrors

public boolean noErrors()

finalize

protected void finalize()
Overrides:
finalize in class Object