|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.colle.sql.test.TestTable
Generated file for accessing the TestTable table/view. DO NOT EDIT. Make changes to net/sf/colle/sql/persistence/ [Table|View|Common]CodeGenerator.gen and regenerate. Created: 28 May 2001
Nested Class Summary | |
static interface |
TestTable.Row
|
Constructor Summary | |
TestTable()
|
Method Summary | |
static TestTable.Row |
copyRow(TestTable.Row pxRow,
int pnId)
Copies the given row with a new primary key. |
static void |
delete(int pnId,
Connection pxConnection)
Deletes a row identified by it's primary key. |
static void |
delete(TestTable.Row pxRow,
Connection pxConnection)
Deletes a row. |
static int |
getIdNextVal(Connection pxConnection)
Unique identifier generator. |
static TestTable.Row |
getNotNull(int pnId,
Connection pxConnection)
Returns a record if nNullable set to not null. |
static List |
getNotNulls(Connection pxConnection)
Returns records with nNullable set to not null. |
static List |
getNotNulls(int[] pxIds,
Connection pxConnection)
Returns groups of records with nNullable set to not null. |
static List |
getNotNulls(int pnOffset,
int pnCount,
Connection pxConnection)
Returns records with nNullable set to not null. |
static List |
getNotNulls(int pnOffset,
int pnCount,
String[] pxOrderByColumns,
boolean[] pxOrderByDirections,
Connection pxConnection)
Returns records with nNullable set to not null. |
static TestTable.Row |
getRowByPrimaryKey(int pnId,
Connection pxConnection)
Returns a single row for the primary key specified. |
static void |
insert(TestTable.Row pxNewRow,
Connection pxConnection)
Inserts a new row. |
static void |
lockTable(Connection pxConnection)
Locks this table for multiple operations. |
static TestTable.Row |
newRow(int pnId)
Constructs a new row in memory from primary key information. |
static void |
unlockTable(Connection pxConnection)
Unlocks this table when previously locked with lockTable. |
static void |
update(TestTable.Row pxRow,
Connection pxConnection)
Updates a row. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestTable()
Method Detail |
public static int getIdNextVal(Connection pxConnection)
public static TestTable.Row getRowByPrimaryKey(int pnId, Connection pxConnection) throws RowNotFoundException
RowNotFoundException
public static void insert(TestTable.Row pxNewRow, Connection pxConnection) throws ConstraintViolatedException, DuplicateRowException
ConstraintViolatedException
DuplicateRowException
public static void update(TestTable.Row pxRow, Connection pxConnection) throws ConstraintViolatedException, RowNotFoundException
ConstraintViolatedException
RowNotFoundException
public static void delete(TestTable.Row pxRow, Connection pxConnection) throws ConstraintViolatedException, RowNotFoundException
ConstraintViolatedException
RowNotFoundException
public static void delete(int pnId, Connection pxConnection) throws ConstraintViolatedException, RowNotFoundException
ConstraintViolatedException
RowNotFoundException
public static void lockTable(Connection pxConnection) throws SQLException
SQLException
public static void unlockTable(Connection pxConnection) throws SQLException
SQLException
public static TestTable.Row getNotNull(int pnId, Connection pxConnection) throws RowNotFoundException
RowNotFoundException
public static List getNotNulls(Connection pxConnection)
public static List getNotNulls(int pnOffset, int pnCount, Connection pxConnection)
public static List getNotNulls(int pnOffset, int pnCount, String[] pxOrderByColumns, boolean[] pxOrderByDirections, Connection pxConnection)
public static List getNotNulls(int[] pxIds, Connection pxConnection)
public static TestTable.Row copyRow(TestTable.Row pxRow, int pnId)
pxRow
- row to be copied
public static TestTable.Row newRow(int pnId)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |