cmu.survey.jsp.tags
Class TableField

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by cmu.survey.jsp.tags.TagSupportAndMore
          extended by cmu.survey.jsp.tags.DatabaseList
              extended by cmu.survey.jsp.tags.TableField
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class TableField
extends DatabaseList

See Also:
Serialized Form

Field Summary
 
Fields inherited from class cmu.survey.jsp.tags.DatabaseList
auxResultSet, databaseConnection, field, fieldsToShowArray, out, queryObjectName, resultSet, returnMessage, select, theConnection
 
Fields inherited from class cmu.survey.jsp.tags.TagSupportAndMore
dateFormatAmerican, dateTimeFormatAmerican, DAYS_OF_THE_WEEK, debug, MONTHS_OF_THE_YEAR, timeFormatAmerican
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
TableField()
           
 
Method Summary
 java.util.Vector doQueryGetVector(java.lang.String queryString)
           
static java.util.Vector doQueryGetVector(java.lang.String query, java.lang.String databaseName)
           
 int doStartTag()
           
 java.lang.String generateQuery()
           
 java.util.Vector getPlainTableFieldsVector()
           
static java.util.Vector getPlainTableFieldsVector(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, DatabaseConnection database)
           
static java.util.Vector getPlainTableFieldsVector(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, java.lang.String databaseName)
           
 java.util.Vector getPlainTableFieldsVectorOfVectors()
           
static java.util.Vector getPlainTableFieldsVectorOfVectors(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, DatabaseConnection database)
           
static java.util.Vector getPlainTableFieldsVectorOfVectors(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, java.lang.String databaseName)
           
static java.util.Vector getPlainTableFieldsVectorOfVectors(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, java.lang.String sqlOrderBy, DatabaseConnection database)
           
static java.util.Vector getPlainTableFieldsVectorOfVectors(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, java.lang.String sqlOrderBy, java.lang.String databaseName)
           
 java.lang.String getSqlwhere()
           
 java.lang.String getTable()
           
 java.lang.String getTableField()
           
static java.lang.String getTableField(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, DatabaseConnection database)
           
static java.lang.String getTableField(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, java.lang.String databaseName)
           
static java.lang.String getTableField(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, java.lang.String databaseName, java.lang.String startWith, java.lang.String endWith)
           
static java.lang.String getTableField(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, java.lang.String sqlOrderBy, java.lang.String databaseName, java.lang.String startWith, java.lang.String endWith)
           
 java.util.Vector getVectorOfVectors(java.lang.String table, java.lang.String field, java.lang.String sqlWhere, java.lang.String sqlOrderBy)
           
 void reinit()
           
 void setSQLOrderBy(java.lang.String value)
           
 void setSqlwhere(java.lang.String value)
           
 void setTable(java.lang.String value)
           
 
Methods inherited from class cmu.survey.jsp.tags.DatabaseList
close, doAuxillaryQuery, doEndTag, doQuery, finalize, formatDateMySQL, formatDateSQL, formatDateSQL, formatDateSQLFromHTML, formatDateTimeSQL, formatDateTimeSQL, formatDateTimeSQL, formatTimeMySQL, formatTimeSQL, formatTimeSQL, getAuxDatabaseQuery, getCalendar, getDatabaseConnection, getDatabaseQuery, getDateField, getDateFieldCal, getDateFrom, getDateTimeCalendarField, getDateTimeField, getEndWith, getField, getField, getFields, getFields, getFieldToPassInLink, getIntField, getLastExceptionThrown, getLinkTo, getList, getOneLine, getOptionTag, getQueryObjectName, getSaveAsSession, getSendErrorMessages, getSQLTimeField, getStartWith, getTheConnection, getTimeField, getTimeFieldCal, getTimestampField, isCurrentItemInAuxQuery, isDatabaseOpen, moveToNextAuxillaryRecord, moveToNextRecord, parseDateFromSQL, parseDateTimeCalendarFromSQL, parseDateTimeFromSQL, parseDateTimeFromSQL, parseTimeFromSQL, printList, printOneLine, resetFieldsForNextRecord, returnOneLine, saveErrorMessage, saveErrorMessage, setAuxDatabaseQuery, setDatabaseQuery, setEndWith, setField, setFieldToPassInLink, setLinkTo, setOptionTag, setQueryObjectName, setSaveAsSession, setSendErrorMessages, setStartWith, setupConnection, setupConnection
 
Methods inherited from class cmu.survey.jsp.tags.TagSupportAndMore
breakDownToArray, convertDayNameToNum, convertDayNumToName, convertDayNumToName, convertMonthNumToName, doCatch, doFinally, formatDateTimeViewable, formatDateTimeViewable, formatDateViewable, formatTimeNoSecondsViewable, formatTimeNoSecondsViewable, formatTimeNoSecondsViewable, getNumDaysInWeek, parseTimeNoSecondsFromViewable, print, println
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableField

public TableField()
Method Detail

doQueryGetVector

public java.util.Vector doQueryGetVector(java.lang.String queryString)

doQueryGetVector

public static java.util.Vector doQueryGetVector(java.lang.String query,
                                                java.lang.String databaseName)

getTableField

public static java.lang.String getTableField(java.lang.String table,
                                             java.lang.String field,
                                             java.lang.String sqlWhere,
                                             java.lang.String sqlOrderBy,
                                             java.lang.String databaseName,
                                             java.lang.String startWith,
                                             java.lang.String endWith)

getTableField

public static java.lang.String getTableField(java.lang.String table,
                                             java.lang.String field,
                                             java.lang.String sqlWhere,
                                             java.lang.String databaseName,
                                             java.lang.String startWith,
                                             java.lang.String endWith)

getTableField

public static java.lang.String getTableField(java.lang.String table,
                                             java.lang.String field,
                                             java.lang.String sqlWhere,
                                             java.lang.String databaseName)

getPlainTableFieldsVector

public static java.util.Vector getPlainTableFieldsVector(java.lang.String table,
                                                         java.lang.String field,
                                                         java.lang.String sqlWhere,
                                                         java.lang.String databaseName)

getPlainTableFieldsVectorOfVectors

public static java.util.Vector getPlainTableFieldsVectorOfVectors(java.lang.String table,
                                                                  java.lang.String field,
                                                                  java.lang.String sqlWhere,
                                                                  DatabaseConnection database)

getPlainTableFieldsVectorOfVectors

public static java.util.Vector getPlainTableFieldsVectorOfVectors(java.lang.String table,
                                                                  java.lang.String field,
                                                                  java.lang.String sqlWhere,
                                                                  java.lang.String sqlOrderBy,
                                                                  DatabaseConnection database)

getTableField

public static java.lang.String getTableField(java.lang.String table,
                                             java.lang.String field,
                                             java.lang.String sqlWhere,
                                             DatabaseConnection database)

getPlainTableFieldsVector

public static java.util.Vector getPlainTableFieldsVector(java.lang.String table,
                                                         java.lang.String field,
                                                         java.lang.String sqlWhere,
                                                         DatabaseConnection database)

getPlainTableFieldsVectorOfVectors

public static java.util.Vector getPlainTableFieldsVectorOfVectors(java.lang.String table,
                                                                  java.lang.String field,
                                                                  java.lang.String sqlWhere,
                                                                  java.lang.String databaseName)

getPlainTableFieldsVectorOfVectors

public static java.util.Vector getPlainTableFieldsVectorOfVectors(java.lang.String table,
                                                                  java.lang.String field,
                                                                  java.lang.String sqlWhere,
                                                                  java.lang.String sqlOrderBy,
                                                                  java.lang.String databaseName)

getVectorOfVectors

public java.util.Vector getVectorOfVectors(java.lang.String table,
                                           java.lang.String field,
                                           java.lang.String sqlWhere,
                                           java.lang.String sqlOrderBy)

getTableField

public java.lang.String getTableField()

getPlainTableFieldsVector

public java.util.Vector getPlainTableFieldsVector()

generateQuery

public java.lang.String generateQuery()

getPlainTableFieldsVectorOfVectors

public java.util.Vector getPlainTableFieldsVectorOfVectors()

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class DatabaseList

setTable

public void setTable(java.lang.String value)

getTable

public java.lang.String getTable()

setSqlwhere

public void setSqlwhere(java.lang.String value)

getSqlwhere

public java.lang.String getSqlwhere()

setSQLOrderBy

public void setSQLOrderBy(java.lang.String value)

reinit

public void reinit()
Overrides:
reinit in class DatabaseList