Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
Modifier and Type | Method and Description |
---|---|
DBRecord |
DBRecord.clone() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DBQuery.addJoinRestriction(DBCommand upd,
DBColumn updCol,
DBColumn keyCol,
DBColumn[] keyColumns,
DBRecord rec)
Adds join restrictions to the supplied command object.
|
protected void |
DBRowSet.completeInitRecord(DBRecord rec)
Completes the record initialization.
|
void |
DBView.createRecord(DBRecord rec,
Connection conn) |
void |
DBTable.createRecord(DBRecord rec,
Connection conn)
Gets all table fields and the fields properties.
|
abstract void |
DBRowSet.createRecord(DBRecord rec,
Connection conn) |
void |
DBQuery.createRecord(DBRecord rec,
Connection conn)
Returns an error, because it is not possible to add a record to a query.
|
void |
DBCommandExpr.DBCmdQuery.createRecord(DBRecord rec,
Connection conn)
Returns the error message: ERR_NOTSUPPORTED
|
Object[] |
DBRowSet.getRecordKey(DBRecord rec)
Returns a array of primary key columns by a specified DBRecord object.
|
Object[] |
DBQuery.getRecordKey(DBRecord record)
Returns a array of primary key columns by a specified DBRecord object.
|
Object[] |
DBCommandExpr.DBCmdQuery.getRecordKey(DBRecord rec)
Prints the error message: ERR_NOTSUPPORTED.
|
void |
DBRowSet.initRecord(DBRecord rec,
DBRecordData recData)
Initializes a DBRecord for this rowset using the record data provided (i.e. from a DBReader)
The record may then be modified and updated. |
void |
DBRowSet.initRecord(DBRecord rec,
Object[] keyValues,
boolean insert)
Initializes a DBRecord for this RowSet and sets primary key values (the Object[] keyValues).
|
void |
DBQuery.initRecord(DBRecord rec,
Object[] keyValues,
boolean insert)
Initialize specified DBRecord object with primary key
columns (the Object[] keyValues).
|
void |
DBCommandExpr.DBCmdQuery.initRecord(DBRecord rec,
Object[] keyValues,
boolean insert)
Returns the error message: ERR_NOTSUPPORTED
|
void |
DBReader.initRecord(DBRowSet rowset,
DBRecord rec)
initializes a DBRecord object with the values of the current row.
|
protected void |
DBRowSet.prepareInitRecord(DBRecord rec,
Object rowSetData,
boolean insert)
Initialize this DBRowSet object and sets it's initial state.
|
protected void |
DBRowSet.readRecord(DBRecord rec,
DBCommand cmd,
Connection conn)
Reads a single record from the database using the given command object.
|
void |
DBRowSet.readRecord(DBRecord rec,
Object[] key,
Connection conn)
Reads the record with the given primary key from the database.
|
void |
DBQuery.readRecord(DBRecord rec,
Object[] key,
Connection conn)
Creates a select SQL-Command of the query call the InitRecord method to execute the SQL-Command.
|
void |
DBCommandExpr.DBCmdQuery.readRecord(DBRecord rec,
Object[] keys,
Connection conn)
Returns the error message: ERR_NOTSUPPORTED
|
void |
DBView.updateRecord(DBRecord rec,
Connection conn) |
void |
DBRowSet.updateRecord(DBRecord rec,
Connection conn)
Updates or Inserts a record in the database.
|
void |
DBQuery.updateRecord(DBRecord rec,
Connection conn)
Updates a query record by creating individual update commands for each table.
|
void |
DBCommandExpr.DBCmdQuery.updateRecord(DBRecord rec,
Connection conn)
Returns the error message: ERR_NOTSUPPORTED
|
Copyright © 2008–2017 Apache Software Foundation. All rights reserved.