|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.ObjectBasePeer
com.arjava.torque.BaseMenuTablePeer
This class was autogenerated by Torque on: [Wed Jan 07 03:08:36 JST 2004]
| フィールドの概要 | |
protected static java.lang.Class |
CLASS_DEFAULT
A class that can be returned by this peer. |
protected static java.lang.String |
CLASSNAME_DEFAULT
A class that can be returned by this peer. |
static java.lang.String |
DATABASE_NAME
the default database name for this class |
static java.lang.String |
ID
the column name for the ID field |
static java.lang.String |
ITEM
the column name for the ITEM field |
static int |
numColumns
number of columns for this peer |
static java.lang.String |
PRICE
the column name for the PRICE field |
static java.lang.String |
TABLE_NAME
the table name for this class |
static java.lang.String |
TERM
the column name for the TERM field |
| コンストラクタの概要 | |
BaseMenuTablePeer()
|
|
| メソッドの概要 | |
static void |
addSelectColumns(Criteria criteria)
Add all the columns needed to create a new object. |
static Criteria |
buildCriteria(ObjectKey pk)
Build a Criteria object from an ObjectKey |
static void |
doDelete(Criteria criteria)
Method to do deletes. |
static void |
doDelete(Criteria criteria,
java.sql.Connection con)
Method to do deletes. |
static ObjectKey |
doInsert(Criteria criteria)
Method to do inserts. |
static ObjectKey |
doInsert(Criteria criteria,
java.sql.Connection con)
Method to do inserts. |
static java.util.List |
doSelect(Criteria criteria)
Method to do selects. |
static java.util.List |
doSelect(Criteria criteria,
java.sql.Connection con)
Method to do selects within a transaction. |
static java.util.List |
doSelectVillageRecords(Criteria criteria)
Grabs the raw Village records to be formed into objects. |
static java.util.List |
doSelectVillageRecords(Criteria criteria,
java.sql.Connection con)
Grabs the raw Village records to be formed into objects. |
static void |
doUpdate(Criteria criteria)
Method to do updates. |
static void |
doUpdate(Criteria criteria,
java.sql.Connection con)
Method to do updates. |
static MapBuilder |
getMapBuilder()
|
static java.lang.Class |
getOMClass()
The class that the Peer will make instances of. |
protected static TableMap |
getTableMap()
Returns the TableMap related to this peer. |
static void |
populateObject(Record row,
int offset,
MenuTable obj)
Populates an object from a resultset row starting from a specified offset. |
static java.util.List |
populateObjects(java.util.List records)
The returned List will contain objects of the default type or objects that inherit from the default. |
static java.util.List |
resultSet2Objects(java.sql.ResultSet results)
Get the list of objects for a ResultSet. |
static MenuTable |
retrieveByPK(int pk)
Retrieve a single object by pk |
static MenuTable |
retrieveByPK(ObjectKey pk,
java.sql.Connection con)
Retrieve a single object by pk |
static java.util.List |
retrieveByPKs(java.util.List pks)
Retrieve a multiple objects by pk |
static java.util.List |
retrieveByPKs(java.util.List pks,
java.sql.Connection dbcon)
Retrieve a multiple objects by pk |
static MenuTable |
row2Object(Record row,
int offset,
java.lang.Class cls)
Create a new object of type cls from a resultset row starting from a specified offset. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
public static final java.lang.String DATABASE_NAME
public static final java.lang.String TABLE_NAME
public static final java.lang.String ID
public static final java.lang.String ITEM
public static final java.lang.String PRICE
public static final java.lang.String TERM
public static final int numColumns
protected static final java.lang.String CLASSNAME_DEFAULT
protected static final java.lang.Class CLASS_DEFAULT
| コンストラクタの詳細 |
public BaseMenuTablePeer()
| メソッドの詳細 |
public static MapBuilder getMapBuilder()
throws TorqueException
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static java.util.List resultSet2Objects(java.sql.ResultSet results)
throws TorqueException
results - the ResultSet
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static ObjectKey doInsert(Criteria criteria)
throws TorqueException
criteria - object used to create the INSERT statement.
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static ObjectKey doInsert(Criteria criteria,
java.sql.Connection con)
throws TorqueException
criteria - object used to create the INSERT statement.con - the connection to use
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static void addSelectColumns(Criteria criteria)
throws TorqueException
criteria - object containing the columns to add.
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static MenuTable row2Object(Record row,
int offset,
java.lang.Class cls)
throws TorqueException
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static void populateObject(Record row,
int offset,
MenuTable obj)
throws TorqueException
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static java.util.List doSelect(Criteria criteria)
throws TorqueException
criteria - object used to create the SELECT statement.
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static java.util.List doSelect(Criteria criteria,
java.sql.Connection con)
throws TorqueException
criteria - object used to create the SELECT statement.con - the connection to use
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static java.util.List doSelectVillageRecords(Criteria criteria)
throws TorqueException
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static java.util.List doSelectVillageRecords(Criteria criteria,
java.sql.Connection con)
throws TorqueException
con - the connection to use
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static java.util.List populateObjects(java.util.List records)
throws TorqueException
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static java.lang.Class getOMClass()
throws TorqueException
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static void doUpdate(Criteria criteria)
throws TorqueException
criteria - object containing data that is used to create the UPDATE
statement.
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static void doUpdate(Criteria criteria,
java.sql.Connection con)
throws TorqueException
criteria - object containing data that is used to create the UPDATE
statement.con - the connection to use
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static void doDelete(Criteria criteria)
throws TorqueException
criteria - object containing data that is used DELETE from database.
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static void doDelete(Criteria criteria,
java.sql.Connection con)
throws TorqueException
criteria - object containing data that is used DELETE from database.con - the connection to use
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public static Criteria buildCriteria(ObjectKey pk)
public static MenuTable retrieveByPK(int pk)
throws TorqueException,
NoRowsException,
TooManyRowsException
pk - the primary key
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
NoRowsException - Primary key was not found in database.
TooManyRowsException - Primary key was not found in database.
public static MenuTable retrieveByPK(ObjectKey pk,
java.sql.Connection con)
throws TorqueException,
NoRowsException,
TooManyRowsException
pk - the primary keycon - the connection to use
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
NoRowsException - Primary key was not found in database.
TooManyRowsException - Primary key was not found in database.
public static java.util.List retrieveByPKs(java.util.List pks)
throws TorqueException
pks - List of primary keys
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
public static java.util.List retrieveByPKs(java.util.List pks,
java.sql.Connection dbcon)
throws TorqueException
pks - List of primary keysdbcon - the connection to use
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
protected static TableMap getTableMap()
throws TorqueException
TorqueException - Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||