jim.pums.db
Interface DB


public interface DB


Field Summary
static java.sql.PreparedStatement deleteStmt
           
static java.sql.PreparedStatement insertStmt
           
static java.sql.PreparedStatement loadStmt
           
static java.sql.PreparedStatement updateStmt
           
 
Method Summary
 void deleteRow()
           
 java.sql.Connection getCon()
          Getter for property con.
 void insertRow()
           
 void loadRow()
           
 java.sql.ResultSet searchRows(java.lang.String[] searchFields, java.lang.String searchString)
           
 boolean selectByPrimaryKey()
           
 void setCon(java.sql.Connection con)
          Setter for property con.
 void storeRow()
           
 

Field Detail

insertStmt

static final java.sql.PreparedStatement insertStmt

deleteStmt

static final java.sql.PreparedStatement deleteStmt

updateStmt

static final java.sql.PreparedStatement updateStmt

loadStmt

static final java.sql.PreparedStatement loadStmt
Method Detail

insertRow

void insertRow()
               throws java.sql.SQLException
Throws:
java.sql.SQLException

deleteRow

void deleteRow()
               throws java.sql.SQLException
Throws:
java.sql.SQLException

selectByPrimaryKey

boolean selectByPrimaryKey()
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

loadRow

void loadRow()
             throws java.sql.SQLException
Throws:
java.sql.SQLException

storeRow

void storeRow()
              throws java.sql.SQLException
Throws:
java.sql.SQLException

searchRows

java.sql.ResultSet searchRows(java.lang.String[] searchFields,
                              java.lang.String searchString)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getCon

java.sql.Connection getCon()
Getter for property con.

Returns:
Value of property con.

setCon

void setCon(java.sql.Connection con)
Setter for property con.

Parameters:
con - New value of property con.