edu.sc.seis.fissuresUtil.database.util
Class TableSetup

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.database.util.TableSetup

public class TableSetup
extends java.lang.Object


Field Summary
static java.lang.String TABLE_NAME
           
 
Constructor Summary
TableSetup()
           
 
Method Summary
static void clearCreatedTableList()
           
static void customSetup(java.lang.String tablename, java.sql.Connection conn, java.lang.Object tableObj, SQLLoader statements)
           
static void customSetup(java.lang.String tablename, java.sql.Connection conn, java.lang.Object tableObj, SQLLoader statements, java.lang.String[] subtableNames)
           
static void setup(JDBCTable table, java.lang.String propFile)
           
static void setup(java.lang.String tableName, java.sql.Connection conn, java.lang.Object tableObj, java.lang.String propFile)
           
static void setup(java.lang.String tableName, java.sql.Connection conn, java.lang.Object tableObj, java.lang.String propFile, org.apache.velocity.context.Context ctx)
           
static void setup(java.lang.String tableName, java.sql.Connection conn, java.lang.Object tableObj, java.lang.String propFile, org.apache.velocity.context.Context ctx, java.lang.String[] subtableNames)
           
static void setup(java.lang.String tableName, java.sql.Connection conn, java.lang.Object tableObj, java.lang.String propFile, java.lang.String[] subtableNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values
Constructor Detail

TableSetup

public TableSetup()
Method Detail

setup

public static void setup(JDBCTable table,
                         java.lang.String propFile)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

setup

public static void setup(java.lang.String tableName,
                         java.sql.Connection conn,
                         java.lang.Object tableObj,
                         java.lang.String propFile)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

setup

public static void setup(java.lang.String tableName,
                         java.sql.Connection conn,
                         java.lang.Object tableObj,
                         java.lang.String propFile,
                         java.lang.String[] subtableNames)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

setup

public static void setup(java.lang.String tableName,
                         java.sql.Connection conn,
                         java.lang.Object tableObj,
                         java.lang.String propFile,
                         org.apache.velocity.context.Context ctx)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

setup

public static void setup(java.lang.String tableName,
                         java.sql.Connection conn,
                         java.lang.Object tableObj,
                         java.lang.String propFile,
                         org.apache.velocity.context.Context ctx,
                         java.lang.String[] subtableNames)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

customSetup

public static void customSetup(java.lang.String tablename,
                               java.sql.Connection conn,
                               java.lang.Object tableObj,
                               SQLLoader statements)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

customSetup

public static void customSetup(java.lang.String tablename,
                               java.sql.Connection conn,
                               java.lang.Object tableObj,
                               SQLLoader statements,
                               java.lang.String[] subtableNames)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

clearCreatedTableList

public static void clearCreatedTableList()