Uses of Class
com.workingdogs.village.DataSetException

Uses of DataSetException in com.workingdogs.village
 

Methods in com.workingdogs.village that throw DataSetException
 Record DataSet.addRecord()
          Calls addRecord(DataSet)
 Record DataSet.addRecord(DataSet ds)
          Creates a new Record within this DataSet
 BigDecimal Value.asBigDecimal()
          Get the value as a BigDecimal
 BigDecimal Value.asBigDecimal(int scale)
          Get the value as a BigDecimal
 boolean Value.asBoolean()
          Get the value as a asBoolean
 Boolean Value.asBooleanObj()
          Get the value as a Boolean object
 byte Value.asByte()
          Get the value as a asByte
 Byte Value.asByteObj()
          Get the value as a Byte Object
 byte[] Value.asBytes()
          Get the value as a asBytes
 Date Value.asDate()
          Get the value as a asDate
 double Value.asDouble()
          Get the value as a asDouble
 Double Value.asDoubleObj()
          Get the value as a Double Object
 float Value.asFloat()
          Get the value as a asFloat
 Float Value.asFloatObj()
          Get the value as a Float Obj
 String Record.asFormattedString(String valueseparator, int[] maxwidths)
          return the value of each column as a string.
 int Value.asInt()
          Get the value as a asInt
 Integer Value.asIntegerObj()
          Get the value as a Integer Ojbect
 long Value.asLong()
          Get the value as a asLong
 Long Value.asLongObj()
          Get the value as a Long Object
 short Value.asShort()
          Get the value as a asShort
 Short Value.asShortObj()
          Get the value as a Short Object
 Time Value.asTime()
          Get the value as a asTime
 Timestamp Value.asTimestamp()
          Get the value as a asTimestamp
 Date Value.asUtilDate()
          Get the value as a asUtilDate
 void DataSet.close()
          Releases the records, closes the ResultSet and the Statement, and nulls the Schema and Connection references.
 Column Schema.column(int i)
          Returns the requested Column object at index i
 Column Schema.column(String colName)
          Returns the requested Column object by name
 String Column.dbKonaMethod()
          unknown use
 DataSet DataSet.fetchRecords()
          Causes the DataSet to hit the database and fetch all the records.
 DataSet TableDataSet.fetchRecords()
          Use the TDS fetchRecords instead of the DataSet.fetchRecords
 DataSet DataSet.fetchRecords(int max)
          Causes the DataSet to hit the database and fetch max records.
 DataSet TableDataSet.fetchRecords(int max)
          Use the TDS fetchRecords instead of the DataSet.fetchRecords
 DataSet DataSet.fetchRecords(int start, int max)
          Causes the DataSet to hit the database and fetch max records, starting at start.
 DataSet TableDataSet.fetchRecords(int start, int max)
          Fetch start to max records.
 Column Schema.getColumn(String colName)
          Returns the requested Column object by name
 Column Schema.getColumn(String tableName, String colName)
          Returns the requested Column object belonging to the specified table by name
 Record DataSet.getRecord(int pos)
          Get Record at 0 based index position
 String Record.getRefreshQueryString()
          This builds the SELECT statement in order to refresh the contents of this Record.
 String Record.getSaveString()
          Gets the appropriate SQL string for this record.
abstract  String DataSet.getSelectString()
          Classes extending this class must implement this method.
 String TableDataSet.getSelectString()
          Builds the select string that was used to populate this TableDataSet.
 String Schema.getTableName()
          returns the table name that this Schema represents
 Value Record.getValue(int i)
          gets the value at index i
 Value Record.getValue(String columnName)
          TODO: DOCUMENT ME!
 int Schema.index(String colName)
          Gets the index position of a named column.
 int Schema.index(String tableName, String colName)
          Gets the index position of a named column.
 String Column.javaType()
          unknown use
 void Record.markForInsert()
          Marks this record to be inserted when a save is executed.
 void Record.markForUpdate()
          Marks this record to be updated when a save is executed.
 void Record.markRecordClean()
          Marks all the values in this record as clean.
 Record Record.markToBeDeleted()
          Marks this record to be deleted when a save is executed.
 void Record.markValueClean(int pos)
          marks a value at a given position as clean.
 void Record.markValueClean(String columnName)
          marks a value with a given column name as clean.
 void Record.markValueDirty(int pos)
          marks a value at a given position as dirty.
 void Record.markValueDirty(String columnName)
          marks a value with a given column name as dirty.
 int[] DataSet.maxColumnWidths(boolean with_heading)
          Calculates the maxColumnWidths for the column in a DataSet I really don't know what this is used for so it isn't implemented.
 TableDataSet TableDataSet.order(String order)
          Sets the value for the SQL portion of the ORDER statement
 TableDataSet TableDataSet.other(String other)
          Sets the value for the SQL portion of the OTHER statement
 String Column.preparedStatemntBindMethod()
          unknown use
 void Record.refresh(Connection connection)
          This method refreshes this Record's Value's.
 void TableDataSet.refresh(Connection conn)
          This method refreshes all of the Records stored in this TableDataSet.
 void TableDataSet.removeDeletedRecords()
          Removes any records that are marked as a zombie.
 Record DataSet.removeRecord(Record rec)
          Remove a record from the DataSet's internal storage
 DataSet DataSet.reset()
          Essentially the same as releaseRecords, but it won't work on a QueryDataSet that has been created with a ResultSet
 ResultSet DataSet.resultSet()
          Gets the ResultSet for this DataSet
 ResultSet TableDataSet.resultSet()
          Returns the ResultSet for the DataSet
 String Column.resultSetMethod()
          unknown use
 int Record.save()
          Saves the data in this Record to the database.
 int TableDataSet.save()
          Saves all the records in the DataSet.
 int TableDataSet.save(boolean intransaction)
          Saves all the records in the DataSet with the intransaction boolean value.
 int Record.save(Connection connection)
          Saves the data in this Record to the database.
 int TableDataSet.save(Connection conn, boolean intransaction)
          Saves all the records in the DataSet with the given connection and intransaction boolean value.
 void Record.saveWithoutStatusUpdate()
          TODO: DOCUMENT ME!
 int TableDataSet.saveWithoutStatusUpdate(Connection conn)
          Not yet implemented
 Schema Record.schema()
          Gets the schema for the parent DataSet
 Schema Schema.schema(Connection conn, String tableName)
          Creates a Schema with all columns
 Schema Schema.schema(Connection conn, String tableName, String columnsAttribute)
          Creates a Schema with the named columns in the columnsAttribute
 Record Record.setValue(int pos, BigDecimal value)
          sets the value at pos with a BigDecimal
 Record Record.setValue(int pos, boolean value)
          sets the value at pos with a boolean
 Record Record.setValue(int pos, byte[] value)
          sets the value at pos with a byte[]
 Record Record.setValue(int pos, Date value)
          sets the value at pos with a java.util.Date
 Record Record.setValue(int pos, Date value)
          sets the value at pos with a java.sql.Date
 Record Record.setValue(int pos, double value)
          sets the value at pos with a double
 Record Record.setValue(int pos, float value)
          sets the value at pos with a float
 Record Record.setValue(int pos, int value)
          sets the value at pos with a int
 Record Record.setValue(int pos, long value)
          sets the value at pos with a long
 Record Record.setValue(int pos, String value)
          sets the value at pos with a String
 Record Record.setValue(int pos, Time value)
          sets the value at pos with a java.sql.Time
 Record Record.setValue(int pos, Timestamp value)
          sets the value at pos with a java.sql.Timestamp
 Record Record.setValue(int pos, Value value)
          sets the value at pos with a Value
 Record Record.setValue(String columnName, BigDecimal value)
          sets the value at column name with a BigDecimal
 Record Record.setValue(String columnName, boolean value)
          sets the value at column name with a boolean
 Record Record.setValue(String columnName, byte[] value)
          sets the value at column name with a byte[]
 Record Record.setValue(String columnName, Date value)
          sets the value at column name with a java.util.Date
 Record Record.setValue(String columnName, Date value)
          sets the value at column name with a java.sql.Date
 Record Record.setValue(String columnName, double value)
          sets the value at column name with a double
 Record Record.setValue(String columnName, float value)
          sets the value at column name with a float
 Record Record.setValue(String columnName, int value)
          sets the value at column name with a int
 Record Record.setValue(String columnName, long value)
          sets the value at column name with a long
 Record Record.setValue(String columnName, String value)
          sets the value at column name with a String
 Record Record.setValue(String columnName, Time value)
          sets the value at column name with a java.sql.Time
 Record Record.setValue(String columnName, Timestamp value)
          sets the value at column name with a java.sql.Timestamp
 Record Record.setValue(String columnName, Value value)
          sets the value at column name with a Value
 Record Record.setValueNull(int pos)
          sets the value at pos with a NULL
 Record Record.setValueNull(String columnName)
          sets the value at column name with a NULL
 String Schema.tableName()
          returns the table name that this Schema represents
 String DataSet.tableName()
          Gets the tableName defined in the schema
 String TableDataSet.tableName()
          The name of the table for which this TableDataSet was created.
 Record Record.unmarkToBeDeleted()
          Unmarks a record that has been marked for deletion.
 void TableDataSet.updateStatus()
          Not yet implemented
 TableDataSet TableDataSet.where(String where)
          Sets the value for the SQL portion of the WHERE statement
 

Constructors in com.workingdogs.village that throw DataSetException
DataSet()
          Private, not used
QueryDataSet()
          Private...does nothing.
QueryDataSet(Connection conn, String selectStmt)
          Creates a new QueryDataSet based on a connection and a select string
QueryDataSet(ResultSet resultSet)
          Create a new QueryDataSet based on an existing resultSet
Record(DataSet ds)
          Creates a new Record and sets the parent dataset to the passed in value.
SelectStmt()
          SelectStmt isn't implemented yet.
SelectStmt(int dbType)
          SelectStmt isn't implemented yet.
TableDataSet()
          Default constructor.
TableDataSet(Connection conn, Schema schema, KeyDef keydef)
          Creates a new TableDataSet object.
TableDataSet(Connection conn, String tableName)
          Creates a new TableDataSet object.
TableDataSet(Connection conn, String tableName, KeyDef keydef)
          Creates a new TableDataSet object.
TableDataSet(Connection conn, String tableName, String columns)
          Creates a new TableDataSet object.
TableDataSet(Connection conn, String tableName, String columns, KeyDef keydef)
          Creates a new TableDataSet object.
 



Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.