dbobjects
Class MyTableFactory

java.lang.Object
  |
  +--dbobjects.DBObject
        |
        +--dbobjects.MyTableFactory

public class MyTableFactory
extends DBObject


Inner classes inherited from class dbobjects.DBObject
DBObject.DBBigInteger, DBObject.DBChar, DBObject.DBDate, DBObject.DBDecimal, DBObject.DBDouble, DBObject.DBField, DBObject.DBFloat, DBObject.DBInteger, DBObject.DBLongVarChar, DBObject.DBNoType, DBObject.DBNumeric, DBObject.DBReal, DBObject.DBSmallInt, DBObject.DBTime, DBObject.DBTimestamp, DBObject.DBTinyInt, DBObject.DBVarChar
 
Constructor Summary
MyTableFactory()
          Default Constructor.
 
Method Summary
 void clear()
           
 int deleteBatch()
           
 void findByCustomSQL(java.lang.String criteria)
          Set the custom criteria to search for.
 void findByDescription(java.lang.String description)
          Set the criteria to search for the given description value.
 void findByDescription(java.lang.String comparisonOperator, java.lang.String description)
          Set the criteria to search for the given description value.
 void findByDescription(java.lang.String comparisonOperator, java.lang.String description, java.lang.String booleanOperator)
          Set the criteria to search for the given description value.
 void findById(java.lang.Integer id)
          Set the criteria to search for the given id value.
 void findById(java.lang.String comparisonOperator, java.lang.Integer id)
          Set the criteria to search for the given id value.
 void findById(java.lang.String comparisonOperator, java.lang.Integer id, java.lang.String booleanOperator)
          Set the criteria to search for the given id value.
 void findByName(java.lang.String name)
          Set the criteria to search for the given name value.
 void findByName(java.lang.String comparisonOperator, java.lang.String name)
          Set the criteria to search for the given name value.
 void findByName(java.lang.String comparisonOperator, java.lang.String name, java.lang.String booleanOperator)
          Set the criteria to search for the given name value.
 void orderBy(java.lang.String orderBy)
          Set the Order By clause in the prepared statement.
 java.util.Vector search()
           
 java.util.Vector search(java.sql.Connection con)
          Searches the database for records that match the given criteria.
 void setCustomObject(java.lang.Object obj)
          Set the objects in the prepared statement generated for findByCustomSql().
 int updateBatch(java.lang.String setString)
           
 
Methods inherited from class dbobjects.DBObject
getConnection, log, psSetObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyTableFactory

public MyTableFactory()
Default Constructor.
Method Detail

findById

public void findById(java.lang.Integer id)
Set the criteria to search for the given id value.

findById

public void findById(java.lang.String comparisonOperator,
                     java.lang.Integer id)
Set the criteria to search for the given id value.

findById

public void findById(java.lang.String comparisonOperator,
                     java.lang.Integer id,
                     java.lang.String booleanOperator)
Set the criteria to search for the given id value.

findByName

public void findByName(java.lang.String name)
Set the criteria to search for the given name value.

findByName

public void findByName(java.lang.String comparisonOperator,
                       java.lang.String name)
Set the criteria to search for the given name value.

findByName

public void findByName(java.lang.String comparisonOperator,
                       java.lang.String name,
                       java.lang.String booleanOperator)
Set the criteria to search for the given name value.

findByDescription

public void findByDescription(java.lang.String description)
Set the criteria to search for the given description value.

findByDescription

public void findByDescription(java.lang.String comparisonOperator,
                              java.lang.String description)
Set the criteria to search for the given description value.

findByDescription

public void findByDescription(java.lang.String comparisonOperator,
                              java.lang.String description,
                              java.lang.String booleanOperator)
Set the criteria to search for the given description value.

findByCustomSQL

public void findByCustomSQL(java.lang.String criteria)
Set the custom criteria to search for.

setCustomObject

public void setCustomObject(java.lang.Object obj)
Set the objects in the prepared statement generated for findByCustomSql().

orderBy

public void orderBy(java.lang.String orderBy)
Set the Order By clause in the prepared statement.

search

public java.util.Vector search()

search

public java.util.Vector search(java.sql.Connection con)
Searches the database for records that match the given criteria. This method uses the supplied database connection.

updateBatch

public int updateBatch(java.lang.String setString)

deleteBatch

public int deleteBatch()

clear

public void clear()