Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.clra.visitor
Class ApplicantDBRead  view ApplicantDBRead download ApplicantDBRead.java

java.lang.Object
  extended bycom.clra.visitor.ApplicantDBRead

public final class ApplicantDBRead
extends java.lang.Object

Version:
$Revision: 1.3 $ $Date: 2003/02/26 03:38:46 $

Field Summary
private static java.lang.String base
           
static java.text.SimpleDateFormat dateFormat
          The format used to specify a date and time to the database
static int NULL_INT
          Labels a null integer in the database, per JDBC
static java.text.SimpleDateFormat sdfConvert
          The format used to convert a date/time String to a Date
static java.text.SimpleDateFormat sdfDBDate
          The format used to get a date out of the data base
static java.text.SimpleDateFormat sdfDBTime
          The format used to get a time out of the data base
private static org.apache.log4j.Category theLog
           
 
Constructor Summary
private ApplicantDBRead()
          All utilities are static
 
Method Summary
static java.util.Collection findAllApplicants()
          Returns a collection of snapshots for all rowing sessions
static java.util.Collection findAllApplicantsInRange(java.util.Date start, java.util.Date finish)
          Returns a collection of snapshots for rowing sessions within an inclusive date range.
static ApplicantSnapshot mapResultSetToApplicantSnapshot(java.sql.ResultSet rs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

base

private static final java.lang.String base

theLog

private static final org.apache.log4j.Category theLog

NULL_INT

public static final int NULL_INT
Labels a null integer in the database, per JDBC

See Also:
Constant Field Values

dateFormat

public static final java.text.SimpleDateFormat dateFormat
The format used to specify a date and time to the database


sdfDBDate

public static final java.text.SimpleDateFormat sdfDBDate
The format used to get a date out of the data base


sdfDBTime

public static final java.text.SimpleDateFormat sdfDBTime
The format used to get a time out of the data base


sdfConvert

public static final java.text.SimpleDateFormat sdfConvert
The format used to convert a date/time String to a Date

Constructor Detail

ApplicantDBRead

private ApplicantDBRead()
All utilities are static

Method Detail

findAllApplicants

public static java.util.Collection findAllApplicants()
                                              throws ApplicantException
Returns a collection of snapshots for all rowing sessions


findAllApplicantsInRange

public static java.util.Collection findAllApplicantsInRange(java.util.Date start,
                                                            java.util.Date finish)
                                                     throws ApplicantException
Returns a collection of snapshots for rowing sessions within an inclusive date range.


mapResultSetToApplicantSnapshot

public static ApplicantSnapshot mapResultSetToApplicantSnapshot(java.sql.ResultSet rs)
                                                         throws java.sql.SQLException,
                                                                ApplicantException