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
 java.math.BigDecimal Value.asBigDecimal()
          Get the value as a BigDecimal
 java.math.BigDecimal Value.asBigDecimal(int scale)
          Get the value as a BigDecimal
 boolean Value.asBoolean()
          Get the value as a asBoolean
 java.lang.Boolean Value.asBooleanObj()
          Get the value as a Boolean object
 byte Value.asByte()
          Get the value as a asByte
 java.lang.Byte Value.asByteObj()
          Get the value as a Byte Object
 byte[] Value.asBytes()
          Get the value as a asBytes
 java.sql.Date Value.asDate()
          Get the value as a asDate
 double Value.asDouble()
          Get the value as a asDouble
 java.lang.Double Value.asDoubleObj()
          Get the value as a Double Object
 float Value.asFloat()
          Get the value as a asFloat
 java.lang.Float Value.asFloatObj()
          Get the value as a Float Obj
 java.lang.String Record.asFormattedString(java.lang.String valueseparator, int[] maxwidths)
          return the value of each column as a string.
 int Value.asInt()
          Get the value as a asInt
 java.lang.Integer Value.asIntegerObj()
          Get the value as a Integer Ojbect
 long Value.asLong()
          Get the value as a asLong
 java.lang.Long Value.asLongObj()
          Get the value as a Long Object
 short Value.asShort()
          Get the value as a asShort
 java.lang.Short Value.asShortObj()
          Get the value as a Short Object
 java.sql.Time Value.asTime()
          Get the value as a asTime
 java.sql.Timestamp Value.asTimestamp()
          Get the value as a asTimestamp
 java.util.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(java.lang.String colName)
          Returns the requested Column object by name
 DataSet DataSet.fetchRecords()
          Causes the DataSet to hit the database and fetch all the records.
 DataSet DataSet.fetchRecords(int max)
          Causes the DataSet to hit the database and fetch max records.
 DataSet TableDataSet.fetchRecords(int start, int max)
          Fetch start to max records.
 DataSet DataSet.fetchRecords(int start, int max)
          Causes the DataSet to hit the database and fetch max records, starting at start.
 Column Schema.getColumn(java.lang.String colName)
          Returns the requested Column object by name
 Column Schema.getColumn(java.lang.String tableName, java.lang.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
 java.lang.String Record.getRefreshQueryString()
          This builds the SELECT statement in order to refresh the contents of this Record.
 java.lang.String Record.getSaveString()
          Gets the appropriate SQL string for this record.
 java.lang.String TableDataSet.getSelectString()
          Builds the select string that was used to populate this TableDataSet.
abstract  java.lang.String DataSet.getSelectString()
          Classes extending this class must implement this method.
 java.lang.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(java.lang.String columnName)
          TODO: DOCUMENT ME!
 int Schema.index(java.lang.String colName)
          Gets the index position of a named column.
 int Schema.index(java.lang.String tableName, java.lang.String colName)
          Gets the index position of a named column.
 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(java.lang.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(java.lang.String columnName)
          marks a value with a given column name as dirty.
 TableDataSet TableDataSet.order(java.lang.String order)
          Sets the value for the SQL portion of the ORDER statement
 TableDataSet TableDataSet.other(java.lang.String other)
          Sets the value for the SQL portion of the OTHER statement
 void TableDataSet.refresh(java.sql.Connection conn)
          This method refreshes all of the Records stored in this TableDataSet.
 void Record.refresh(java.sql.Connection connection)
          This method refreshes this Record's Value's.
 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
 java.sql.ResultSet DataSet.resultSet()
          Gets the ResultSet for this DataSet
 int TableDataSet.save()
          Saves all the records in the DataSet.
 int Record.save()
          Saves the data in this Record to the database.
 int TableDataSet.save(boolean intransaction)
          Saves all the records in the DataSet with the intransaction boolean value.
 int Record.save(java.sql.Connection connection)
          Saves the data in this Record to the database.
 int TableDataSet.save(java.sql.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!
 Schema Record.schema()
          Gets the schema for the parent DataSet
 Schema Schema.schema(java.sql.Connection conn, java.lang.String tableName)
          Creates a Schema with all columns
 Schema Schema.schema(java.sql.Connection conn, java.lang.String tableName, java.lang.String columnsAttribute)
          Creates a Schema with the named columns in the columnsAttribute
 Record Record.setValue(int pos, java.math.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, java.util.Date value)
          sets the value at pos with a java.util.Date
 Record Record.setValue(int pos, java.sql.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, java.lang.String value)
          sets the value at pos with a String
 Record Record.setValue(int pos, java.sql.Time value)
          sets the value at pos with a java.sql.Time
 Record Record.setValue(int pos, java.sql.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(java.lang.String columnName, java.math.BigDecimal value)
          sets the value at column name with a BigDecimal
 Record Record.setValue(java.lang.String columnName, boolean value)
          sets the value at column name with a boolean
 Record Record.setValue(java.lang.String columnName, byte[] value)
          sets the value at column name with a byte[]
 Record Record.setValue(java.lang.String columnName, java.util.Date value)
          sets the value at column name with a java.util.Date
 Record Record.setValue(java.lang.String columnName, java.sql.Date value)
          sets the value at column name with a java.sql.Date
 Record Record.setValue(java.lang.String columnName, double value)
          sets the value at column name with a double
 Record Record.setValue(java.lang.String columnName, float value)
          sets the value at column name with a float
 Record Record.setValue(java.lang.String columnName, int value)
          sets the value at column name with a int
 Record Record.setValue(java.lang.String columnName, long value)
          sets the value at column name with a long
 Record Record.setValue(java.lang.String columnName, java.lang.String value)
          sets the value at column name with a String
 Record Record.setValue(java.lang.String columnName, java.sql.Time value)
          sets the value at column name with a java.sql.Time
 Record Record.setValue(java.lang.String columnName, java.sql.Timestamp value)
          sets the value at column name with a java.sql.Timestamp
 Record Record.setValue(java.lang.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(java.lang.String columnName)
          sets the value at column name with a NULL
 java.lang.String DataSet.tableName()
          Gets the tableName defined in the schema
 java.lang.String Schema.tableName()
          returns the table name that this Schema represents
 Record Record.unmarkToBeDeleted()
          Unmarks a record that has been marked for deletion.
 TableDataSet TableDataSet.where(java.lang.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(java.sql.Connection conn, java.lang.String selectStmt)
          Creates a new QueryDataSet based on a connection and a select string
QueryDataSet(java.sql.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.
TableDataSet()
          Default constructor.
TableDataSet(java.sql.Connection conn, Schema schema, KeyDef keydef)
          Creates a new TableDataSet object.
TableDataSet(java.sql.Connection conn, java.lang.String tableName)
          Creates a new TableDataSet object.
TableDataSet(java.sql.Connection conn, java.lang.String tableName, KeyDef keydef)
          Creates a new TableDataSet object.
TableDataSet(java.sql.Connection conn, java.lang.String tableName, java.lang.String columns)
          Creates a new TableDataSet object.
TableDataSet(java.sql.Connection conn, java.lang.String tableName, java.lang.String columns, KeyDef keydef)
          Creates a new TableDataSet object.
 



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