A B C D E F G H I J K L M N O P Q R S T U V

A

ALL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
ALL - Static variable in class org.apache.torque.util.SqlEnum
 
ALT_NOT_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
ALT_NOT_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
AND - Static variable in class org.apache.torque.util.Criteria.Criterion
 
ASC - Static variable in class org.apache.torque.util.SqlEnum
 
AUTO_INCREMENT - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via auto-increment.
AbstractBaseManager - class org.apache.torque.manager.AbstractBaseManager.
This class contains common functionality of a Manager for instantiating OM's.
AbstractBaseManager() - Constructor for class org.apache.torque.manager.AbstractBaseManager
 
AbstractDataSourceFactory - class org.apache.torque.dsfactory.AbstractDataSourceFactory.
A class that contains common functionality of the factories in this package.
AbstractDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.AbstractDataSourceFactory
 
AutoIncrementIdGenerator - class org.apache.torque.oid.AutoIncrementIdGenerator.
This generator works with databases that have an sql syntax that allows the retrieval of the last id used to insert a row for a Connection.
AutoIncrementIdGenerator(DB) - Constructor for class org.apache.torque.oid.AutoIncrementIdGenerator
Creates an IdGenerator which will work with the specified database.
add(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria.
add(String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, boolean) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
add(String, boolean, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
add(String, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
add(String, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
add(String, long) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
add(String, long, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
add(String, float) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
add(String, float, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
add(String, double) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
add(String, double, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
add(Object) - Method in class org.apache.torque.util.UniqueList
Adds an Object to the list.
addAlias(String, String) - Method in class org.apache.torque.util.Criteria
Allows one to specify an alias for a table that can be used in various parts of the SQL.
addAsColumn(String, String) - Method in class org.apache.torque.util.Criteria
Add an AS clause to the select columns.
addAscendingOrderByColumn(String) - Method in class org.apache.torque.util.Criteria
Add order by column name, explicitly specifying ascending.
addCacheListenerImpl(CacheListener) - Method in class org.apache.torque.manager.AbstractBaseManager
 
addColumn(ColumnMap) - Method in class org.apache.torque.map.TableMap
Add a pre-created column to this table.
addColumn(String, Object) - Method in class org.apache.torque.map.TableMap
Add a column to this table of a certain type.
addColumn(String, Object, int) - Method in class org.apache.torque.map.TableMap
Add a column to this table of a certain type and size.
addDate(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
addDate(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
addDescendingOrderByColumn(String) - Method in class org.apache.torque.util.Criteria
Add order by column name, explicitly specifying descending.
addForeignKey(String, Object, String, String) - Method in class org.apache.torque.map.TableMap
Add a foreign key column to the table.
addForeignKey(String, Object, String, String, int) - Method in class org.apache.torque.map.TableMap
Add a foreign key column to the table.
addForeignPrimaryKey(String, Object, String, String) - Method in class org.apache.torque.map.TableMap
Add a foreign primary key column to the table.
addForeignPrimaryKey(String, Object, String, String, int) - Method in class org.apache.torque.map.TableMap
Add a foreign primary key column to the table.
addGroupByColumn(String) - Method in class org.apache.torque.util.Criteria
Add group by column name.
addHaving(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria as a having clause.
addIdGenerator(String, IdGenerator) - Method in class org.apache.torque.map.DatabaseMap
Add a type of id generator for access by a TableMap.
addIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an Object array.
addIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an int array.
addIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as a List.
addJoin(String, String) - Method in class org.apache.torque.util.Criteria
This is the way that you should add a join of two tables.
addNotIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an Object array.
addNotIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an int array.
addNotIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as a List.
addPrimaryKey(String, Object) - Method in class org.apache.torque.map.TableMap
Add a primary key column to this Table.
addPrimaryKey(String, Object, int) - Method in class org.apache.torque.map.TableMap
Add a primary key column to this Table.
addSelectColumn(String) - Method in class org.apache.torque.util.Criteria
Add select column.
addTable(String) - Method in class org.apache.torque.map.DatabaseMap
Add a new table to the database by name.
addTable(String, int) - Method in class org.apache.torque.map.DatabaseMap
Add a new table to the database by name.
addTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
Add a new TableMap to the database.
addedObject(Persistent) - Method in interface org.apache.torque.manager.CacheListener
 
and(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria.Criterion
Append an AND Criterion onto this Criterion's list.
and(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria.
and(String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, boolean) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
and(String, boolean, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
and(String, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
and(String, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
and(String, long) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
and(String, long, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
and(String, float) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
and(String, float, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
and(String, double) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
and(String, double, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
andDate(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
andDate(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
andIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an Object array.
andIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an int array.
andIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as a List.
andNotIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an Object array.
andNotIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an int array.
andNotIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as a List.
appendPsTo(StringBuffer, List) - Method in class org.apache.torque.util.Criteria.Criterion
Appends a Prepared Statement representation of the Criterion onto the buffer.
appendTo(StringBuffer) - Method in class org.apache.torque.om.ComboKey
 
appendTo(StringBuffer) - Method in class org.apache.torque.om.ObjectKey
Appends a String representation of the key to a buffer.
appendTo(StringBuffer) - Method in class org.apache.torque.util.Criteria.Criterion
Appends a representation of the Criterion onto the buffer.
applyConfiguration(Configuration, Object) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
Iterate over a Configuration subset and apply all properties to a passed object which must contain Bean setter and getter

B

BaseObject - class org.apache.torque.om.BaseObject.
This class contains attributes and methods that are used by all business objects within the system.
BaseObject() - Constructor for class org.apache.torque.om.BaseObject
 
BasePeer - class org.apache.torque.util.BasePeer.
This is the base class for all Peer classes in the system.
BasePeer() - Constructor for class org.apache.torque.util.BasePeer
 
begin(String) - Static method in class org.apache.torque.util.Transaction
Begin a transaction.
beginOptional(String, boolean) - Static method in class org.apache.torque.util.Transaction
Begin a transaction.
build(String, Object, SqlEnum) - Static method in class org.apache.torque.util.SqlExpression
Builds a simple SQL expression.
build(String, Object, SqlEnum, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Builds a simple SQL expression.
build(String, Object, SqlEnum, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Builds a simple SQL expression.
buildInnerJoin(String, String) - Static method in class org.apache.torque.util.SqlExpression
Used to specify a join on two columns.
buildInnerJoin(String, String, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Used to specify a join on two columns.
buildInnerJoin(String, String, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Used to specify a join on two columns.
buildLimit(Criteria, Query) - Static method in class org.apache.torque.util.LimitHelper
Update the Query object according to the limiting information available in the Criteria
byteValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as a byte.

C

CACHE_KEY - Static variable in class org.apache.torque.Torque
property to determine whether caching is used.
COL_NEXT_ID - Static variable in class org.apache.torque.oid.IDBroker
Next_ID column name
COL_QUANTITY - Static variable in class org.apache.torque.oid.IDBroker
Quantity column name
COL_TABLE_ID - Static variable in class org.apache.torque.oid.IDBroker
ID column name
COL_TABLE_NAME - Static variable in class org.apache.torque.oid.IDBroker
Table_Name column name
CONNECTION_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
"connection" Key for the configuration
CURRENT_DATE - Static variable in class org.apache.torque.util.Criteria
"CURRENT_DATE" ANSI SQL function
CURRENT_DATE - Static variable in class org.apache.torque.util.SqlEnum
 
CURRENT_TIME - Static variable in class org.apache.torque.util.Criteria
"CURRENT_TIME" ANSI SQL function
CURRENT_TIME - Static variable in class org.apache.torque.util.SqlEnum
 
CUSTOM - Static variable in class org.apache.torque.util.Criteria
Comparison type.
CUSTOM - Static variable in class org.apache.torque.util.SqlEnum
 
CacheListener - interface org.apache.torque.manager.CacheListener.
Listener for cache events
ColumnMap - class org.apache.torque.map.ColumnMap.
ColumnMap is used to model a column of a table in a database.
ColumnMap(String, TableMap) - Constructor for class org.apache.torque.map.ColumnMap
Constructor.
ComboKey - class org.apache.torque.om.ComboKey.
This class can be used as an ObjectKey to uniquely identify an object within an application where the key consists of multiple entities (such a String[] representing a multi-column primary key).
ComboKey() - Constructor for class org.apache.torque.om.ComboKey
Creates an ComboKey whose internal representation will be set later, through a set method
ComboKey(SimpleKey[]) - Constructor for class org.apache.torque.om.ComboKey
Creates a ComboKey whose internal representation is an array of SimpleKeys.
ComboKey(String) - Constructor for class org.apache.torque.om.ComboKey
Sets the internal representation to a String array.
ConnectionWaitTimeoutException - exception org.apache.torque.pool.ConnectionWaitTimeoutException.
Deprecated. as of version 3.1
ConnectionWaitTimeoutException(String) - Constructor for class org.apache.torque.pool.ConnectionWaitTimeoutException
Deprecated. Creates an wait time out exception for the specified database URL.
Criteria - class org.apache.torque.util.Criteria.
This is a utility class that is used for retrieving different types of values from a hashtable based on a simple name string.
Criteria() - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the default capacity.
Criteria(int) - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the specified capacity.
Criteria(String) - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the default capacity which corresponds to the specified database.
Criteria(String, int) - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the specified capacity which corresponds to the specified database.
Criteria.Criterion - class org.apache.torque.util.Criteria.Criterion.
This is an inner class that describes an object in the criteria.
cache - Variable in class org.apache.torque.manager.AbstractBaseManager
used to cache the om objects.
cacheGet(Serializable) - Method in class org.apache.torque.manager.AbstractBaseManager
 
clear() - Method in class org.apache.torque.manager.MethodResultCache
 
clear() - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
clear() - Method in class org.apache.torque.util.Criteria
Brings this criteria back to its initial state, so that it can be reused as if it was new.
clearImpl() - Method in class org.apache.torque.manager.AbstractBaseManager
 
closeConnection(Connection) - Static method in class org.apache.torque.Torque
Closes a connection.
closeConnection(Connection) - Method in class org.apache.torque.TorqueInstance
Closes a connection.
closeConnection(Connection) - Method in class org.apache.torque.avalon.TorqueComponent
Closes a connection.
commit(Connection) - Static method in class org.apache.torque.util.Transaction
Commit a transaction.
compareTo(Object) - Method in class org.apache.torque.om.NumberKey
 
compareTo(Object) - Method in class org.apache.torque.om.ObjectKey
Implements the compareTo method.
configure(Configuration) - Method in class org.apache.torque.Torque
configure torque
configure(Configuration) - Method in class org.apache.torque.avalon.TorqueComponent
 
containsColumn(ColumnMap) - Method in class org.apache.torque.map.TableMap
Does this table contain the specified column?
containsColumn(String) - Method in class org.apache.torque.map.TableMap
Does this table contain the specified column?
containsKey(String, String) - Method in class org.apache.torque.util.Criteria
Does this Criteria Object contain the specified key?
containsObjectColumn() - Method in class org.apache.torque.map.TableMap
Returns true if this tableMap contains a column with object data.
containsTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
Does this database contain this specific table?
containsTable(String) - Method in class org.apache.torque.map.DatabaseMap
Does this database contain this specific table?
contextualize(Context) - Method in class org.apache.torque.avalon.TorqueComponent
 
create(String) - Static method in class org.apache.torque.adapter.DBFactory
Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key.
create(DB) - Static method in class org.apache.torque.oid.IDGeneratorFactory
Factory method which instantiates IdGenerator implementations based on the return value of the provided adapter's DB.getIDMethodType() method.
createPreparedStatement(Criteria, StringBuffer, List) - Static method in class org.apache.torque.util.BasePeer
Create a new PreparedStatement.
createQueryString(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to create an SQL query for actual execution based on values in a Criteria.

D

DATABASE_DEFAULT - Static variable in class org.apache.torque.Torque
Name of property that specifies the default map builder and map.
DB - class org.apache.torque.adapter.DB.
DB defines the interface for a Torque database adapter.
DB() - Constructor for class org.apache.torque.adapter.DB
Empty constructor.
DBAxion - class org.apache.torque.adapter.DBAxion.
This is used to connect to Hypersonic SQL databases.
DBAxion() - Constructor for class org.apache.torque.adapter.DBAxion
Constructor.
DBCloudscape - class org.apache.torque.adapter.DBCloudscape.
This is used to connect to Cloudscape SQL databases.
DBCloudscape() - Constructor for class org.apache.torque.adapter.DBCloudscape
Constructor.
DBDB2400 - class org.apache.torque.adapter.DBDB2400.
Torque Database Adapter for DB2/400 on the IBM AS400 platform.
DBDB2400() - Constructor for class org.apache.torque.adapter.DBDB2400
DBDB2400 constructor.
DBDB2App - class org.apache.torque.adapter.DBDB2App.
This is used to connect via the Application-Driver to DB2 databases.
DBDB2App() - Constructor for class org.apache.torque.adapter.DBDB2App
Empty constructor.
DBDB2Net - class org.apache.torque.adapter.DBDB2Net.
This is used to connect via the NET-Driver to DB2 databases.
DBDB2Net() - Constructor for class org.apache.torque.adapter.DBDB2Net
Empty constructor.
DBFactory - class org.apache.torque.adapter.DBFactory.
This class creates different DB objects based on specified JDBC driver name.
DBFactory() - Constructor for class org.apache.torque.adapter.DBFactory
 
DBHypersonicSQL - class org.apache.torque.adapter.DBHypersonicSQL.
This is used to connect to Hypersonic SQL databases.
DBHypersonicSQL() - Constructor for class org.apache.torque.adapter.DBHypersonicSQL
Constructor.
DBInformix - class org.apache.torque.adapter.DBInformix.
This code should be used for an Informix database pool.
DBInformix() - Constructor for class org.apache.torque.adapter.DBInformix
Empty constructor.
DBInstantDB - class org.apache.torque.adapter.DBInstantDB.
This is used to connect to InstantDB databases.
DBInstantDB() - Constructor for class org.apache.torque.adapter.DBInstantDB
Empty constructor.
DBInterbase - class org.apache.torque.adapter.DBInterbase.
This code should be used for an Interbase database pool.
DBInterbase() - Constructor for class org.apache.torque.adapter.DBInterbase
 
DBMM - class org.apache.torque.adapter.DBMM.
This is used in order to connect to a MySQL database using the MM drivers.
DBMM() - Constructor for class org.apache.torque.adapter.DBMM
Empty protected constructor.
DBMSSQL - class org.apache.torque.adapter.DBMSSQL.
This is used to connect to a MSSQL database.
DBMSSQL() - Constructor for class org.apache.torque.adapter.DBMSSQL
Empty constructor.
DBNone - class org.apache.torque.adapter.DBNone.
This DatabaseHandler is used when you do not have a database installed.
DBNone() - Constructor for class org.apache.torque.adapter.DBNone
Empty protected constructor.
DBOdbc - class org.apache.torque.adapter.DBOdbc.
This is used to connect to ODBC Bridged databases on Win32 Platforms.
DBOdbc() - Constructor for class org.apache.torque.adapter.DBOdbc
Empty constructor.
DBOracle - class org.apache.torque.adapter.DBOracle.
This code should be used for an Oracle database pool.
DBOracle() - Constructor for class org.apache.torque.adapter.DBOracle
Empty constructor.
DBPostgres - class org.apache.torque.adapter.DBPostgres.
This is used to connect to PostgresQL databases.
DBPostgres() - Constructor for class org.apache.torque.adapter.DBPostgres
Empty constructor.
DBSapDB - class org.apache.torque.adapter.DBSapDB.
This is used to connect to SapDB databases.
DBSapDB() - Constructor for class org.apache.torque.adapter.DBSapDB
Empty constructor.
DBSybase - class org.apache.torque.adapter.DBSybase.
This is used to connect to a Sybase database using Sybase's JConnect JDBC driver.
DBSybase() - Constructor for class org.apache.torque.adapter.DBSybase
Empty constructor.
DBWeblogic - class org.apache.torque.adapter.DBWeblogic.
This code should be used for a Weblogic database pool.
DBWeblogic() - Constructor for class org.apache.torque.adapter.DBWeblogic
Empty constructor.
DEFAULT_CONNECTION_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
"default.connection" Key for the configuration
DEFAULT_MAP_BUILDER - Static variable in class org.apache.torque.util.BasePeer
Deprecated. there is no default map builder!
DEFAULT_MEMORY_LIMIT_PAGES - Static variable in class org.apache.torque.util.LargeSelect
The default value for the maximum number of pages of data to be retained in memory - you can provide your own default value using setMemoryPageLimit().
DEFAULT_MORE_INDICATOR - Static variable in class org.apache.torque.util.LargeSelect
The default value (">") used to indicate that the total number of records or pages is unknown.
DEFAULT_POOL_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
"default.pool" Key for the configuration
DESC - Static variable in class org.apache.torque.util.SqlEnum
 
DISTINCT - Static variable in class org.apache.torque.util.Criteria
Comparison type.
DISTINCT - Static variable in class org.apache.torque.util.SqlEnum
 
DataSourceFactory - interface org.apache.torque.dsfactory.DataSourceFactory.
A factory that returns a DataSource.
DatabaseMap - class org.apache.torque.map.DatabaseMap.
DatabaseMap is used to model a database.
DatabaseMap() - Constructor for class org.apache.torque.map.DatabaseMap
Required by proxy.
DatabaseMap(String, int) - Constructor for class org.apache.torque.map.DatabaseMap
Constructor.
DatabaseMap(String) - Constructor for class org.apache.torque.map.DatabaseMap
Constructor.
DateKey - class org.apache.torque.om.DateKey.
This class can be used as an ObjectKey to uniquely identify an object within an application where the id is a Date.
DateKey() - Constructor for class org.apache.torque.om.DateKey
Creates an DateKey whose internal representation will be set later, through a set method
DateKey(String) - Constructor for class org.apache.torque.om.DateKey
Creates a DateKey whose internal representation is a Date given by the long number given by the String
DateKey(Date) - Constructor for class org.apache.torque.om.DateKey
Creates a DateKey
DateKey(DateKey) - Constructor for class org.apache.torque.om.DateKey
Creates a DateKey that is equivalent to key.
deleteAll(Connection, String, String, int) - Static method in class org.apache.torque.util.BasePeer
Convenience method that uses straight JDBC to delete multiple rows.
deleteAll(String, String, int) - Static method in class org.apache.torque.util.BasePeer
Convenience method that uses straight JDBC to delete multiple rows.
dispose() - Method in class org.apache.torque.Torque
Shuts down the service, Lifecycle style
doBuild() - Method in interface org.apache.torque.map.MapBuilder
Build up the database mapping.
doDelete(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to perform deletes based on values and keys in a Criteria.
doDelete(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Method to perform deletes based on values and keys in a Criteria.
doInsert(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to perform inserts based on values and keys in a Criteria.
doInsert(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Method to perform inserts based on values and keys in a Criteria.
doPSSelect(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Performs a SQL select using a PreparedStatement.
doPSSelect(Criteria) - Static method in class org.apache.torque.util.BasePeer
Do a Prepared Statement select according to the given criteria
doSelect(Criteria) - Static method in class org.apache.torque.util.BasePeer
Returns all results.
doSelect(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Returns all results.
doUpdate(Criteria) - Static method in class org.apache.torque.util.BasePeer
Convenience method used to update rows in the DB.
doUpdate(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Convenience method used to update rows in the DB.
doUpdate(Criteria, Criteria) - Static method in class org.apache.torque.util.BasePeer
Method used to update rows in the DB.
doUpdate(Criteria, Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Method used to update rows in the DB.
doubleValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as a double.

E

EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
equals(Object) - Method in class org.apache.torque.manager.MethodCacheKey
 
equals(Object) - Method in class org.apache.torque.om.BaseObject
Compares this with another BaseObject instance.
equals(BaseObject) - Method in class org.apache.torque.om.BaseObject
Compares the primary key of this instance with the key of another.
equals(Object) - Method in class org.apache.torque.om.ComboKey
This method will return true if the conditions for a looseEquals are met and in addition no parts of the keys are null.
equals(Object) - Method in class org.apache.torque.om.DateKey
keyObj is equal to this DateKey if keyObj is a DateKey or String that contains the same information this key contains.
equals(Object) - Method in class org.apache.torque.om.NumberKey
Two ObjectKeys that both contain null values are not considered equal.
equals(Object) - Method in class org.apache.torque.om.StringKey
keyObj is equal to this StringKey if keyObj is a StringKey or String that contains the same information this key contains.
equals(Object) - Method in class org.apache.torque.util.Criteria.Criterion
This method checks another Criteria to see if they contain the same attributes and hashtable entries.
equals(Object) - Method in class org.apache.torque.util.Criteria
This method checks another Criteria to see if they contain the same attributes and hashtable entries.
escapeText() - Method in class org.apache.torque.adapter.DB
This method is for the SqlExpression.quoteAndEscape rules.
escapeText() - Method in class org.apache.torque.adapter.DBOracle
This method is for the SqlExpression.quoteAndEscape rules.
escapeText() - Method in class org.apache.torque.adapter.DBSapDB
This method is for the SqlExpression.quoteAndEscape rules.
executeQuery(String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeQuery(String, String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeQuery(String, String, boolean) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeQuery(String, boolean, Connection) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeQuery(String, int, int, String, boolean) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeQuery(String, int, int, boolean, Connection) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeStatement(String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeStatement(String, String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeStatement(String, Connection) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
exists(String) - Method in class org.apache.torque.oid.IDBroker
Describe exists method here.

F

floatValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as a float.

G

GREATER_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
GREATER_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
GREATER_THAN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
GREATER_THAN - Static variable in class org.apache.torque.util.SqlEnum
 
get(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable[]) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(Serializable, String, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(Serializable[]) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(Object) - Method in class org.apache.torque.util.Criteria
Overrides Hashtable get, so that the value placed in the Criterion is returned instead of the Criterion.
getAllTables() - Method in class org.apache.torque.util.Criteria.Criterion
get all tables from nested criterion objects
getAsColumns() - Method in class org.apache.torque.util.Criteria
Get the column aliases.
getAttachedCriterion() - Method in class org.apache.torque.util.Criteria.Criterion
get an array of all criterion attached to this recursing through all sub criterion
getBigDecimal() - Method in class org.apache.torque.om.NumberKey
Access the underlying BigDecimal object.
getBigDecimal(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a BigDecimal.
getBigDecimal(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a BigDecimal.
getBoolean(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return value as a boolean.
getBoolean(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return value as a boolean.
getBooleanString(Boolean) - Method in class org.apache.torque.adapter.DB
This method is used to format a boolean string.
getBooleanString(Boolean) - Method in class org.apache.torque.adapter.DBPostgres
Override the default behavior to associate b with null?
getByName(String) - Method in class org.apache.torque.om.BaseObject
Retrieves a field from the object by name.
getByPeerName(String) - Method in class org.apache.torque.om.BaseObject
Retrieves a field from the object by name passed in as a String.
getByPosition(int) - Method in class org.apache.torque.om.BaseObject
Retrieves a field from the object by position as specified in a database schema for example.
getClassName() - Method in class org.apache.torque.manager.AbstractBaseManager
Get the classname to instantiate for getInstance()
getColumn(String) - Method in class org.apache.torque.map.TableMap
Get a ColumnMap for the named table.
getColumn() - Method in class org.apache.torque.util.Criteria.Criterion
Get the column name.
getColumnName() - Method in class org.apache.torque.map.ColumnMap
Get the name of a column.
getColumnName(String) - Method in class org.apache.torque.util.Criteria
Method to return a String table name.
getColumns() - Method in class org.apache.torque.map.TableMap
Get a ColumnMap[] of the columns in this table.
getComparison() - Method in class org.apache.torque.util.Criteria.Criterion
Get the comparison.
getComparison(String) - Method in class org.apache.torque.util.Criteria
Method to return a comparison String.
getComparison(String, String) - Method in class org.apache.torque.util.Criteria
Method to return a comparison String.
getConfiguration() - Static method in class org.apache.torque.Torque
Get the configuration for this component.
getConfiguration() - Method in class org.apache.torque.TorqueInstance
Get the configuration for this component.
getConfiguration() - Method in class org.apache.torque.avalon.TorqueComponent
Get the configuration for this component.
getConnection() - Static method in class org.apache.torque.Torque
This method returns a Connection from the default pool.
getConnection(String) - Static method in class org.apache.torque.Torque
This method returns a Connecton using the given database name.
getConnection(String, String, String) - Static method in class org.apache.torque.Torque
This method returns a Connecton using the given parameters.
getConnection() - Method in class org.apache.torque.TorqueInstance
This method returns a Connection from the default pool.
getConnection(String) - Method in class org.apache.torque.TorqueInstance
 
getConnection(String, String, String) - Method in class org.apache.torque.TorqueInstance
This method returns a Connecton using the given parameters.
getConnection() - Method in class org.apache.torque.adapter.DBNone
 
getConnection() - Method in class org.apache.torque.avalon.TorqueComponent
This method returns a Connection from the default pool.
getConnection(String) - Method in class org.apache.torque.avalon.TorqueComponent
 
getConnection(String, String, String) - Method in class org.apache.torque.avalon.TorqueComponent
This method returns a Connecton using the given parameters.
getConnection() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Attempt to establish a database connection.
getConnection(String, String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Attempt to establish a database connection.
getConnectionPoolDataSource() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the value of connectionPoolDataSource.
getConnectionWaitTimeout() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the amount of time (in seconds) a connection request will have to wait before a time out occurs and an error is thrown.
getCriterion(String) - Method in class org.apache.torque.util.Criteria
Method to return criteria related to columns in a table.
getCriterion(String, String) - Method in class org.apache.torque.util.Criteria
Method to return criteria related to a column in a table.
getCurrentPageNumber() - Method in class org.apache.torque.util.LargeSelect
Retrieve the number of the current page.
getCurrentPageResults() - Method in class org.apache.torque.util.LargeSelect
Provide access to the results from the current page.
getCurrentPageSize() - Method in class org.apache.torque.util.LargeSelect
Provides a count of the number of rows to be displayed on the current page - for the last page this may be less than the configured page size.
getDB(String) - Static method in class org.apache.torque.Torque
Returns database adapter for a specific connection pool.
getDB(String) - Method in class org.apache.torque.TorqueInstance
Returns database adapter for a specific connection pool.
getDB(String) - Method in class org.apache.torque.avalon.TorqueComponent
Returns database adapter for a specific connection pool.
getDataSource() - Method in interface org.apache.torque.dsfactory.DataSourceFactory
 
getDataSource() - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
 
getDataSource() - Method in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
 
getDataSource() - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
 
getDataSource() - Method in class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated.  
getDataSourceName() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the name of the ConnectionPoolDataSource which backs this pool.
getDatabaseMap() - Static method in class org.apache.torque.Torque
Returns the default database map information.
getDatabaseMap(String) - Static method in class org.apache.torque.Torque
Returns the database map information.
getDatabaseMap() - Method in class org.apache.torque.TorqueInstance
Returns the default database map information.
getDatabaseMap(String) - Method in class org.apache.torque.TorqueInstance
Returns the database map information.
getDatabaseMap() - Method in class org.apache.torque.avalon.TorqueComponent
Returns the default database map information.
getDatabaseMap(String) - Method in class org.apache.torque.avalon.TorqueComponent
Returns the database map information.
getDatabaseMap() - Method in interface org.apache.torque.map.MapBuilder
Gets the database mapping this map builder built.
getDatabaseMap() - Method in class org.apache.torque.map.TableMap
Get the DatabaseMap containing this TableMap.
getDate() - Method in class org.apache.torque.om.DateKey
Access the underlying Date object.
getDate(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a Date.
getDate(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a Date.
getDateString(Date) - Method in class org.apache.torque.adapter.DB
This method is used to format any date string.
getDateString(Date) - Method in class org.apache.torque.adapter.DBMM
This method overrides the JDBC escapes used to format dates using a DateFormat.
getDateString(Date) - Method in class org.apache.torque.adapter.DBOracle
This method is used to format any date string.
getDateString(Date) - Method in class org.apache.torque.adapter.DBPostgres
This method overrides the JDBC escapes used to format dates using a DateFormat.
getDateString(Date) - Method in class org.apache.torque.adapter.DBSybase
This method overrides the JDBC escapes used to format dates using a DateFormat.
getDb() - Method in class org.apache.torque.util.Criteria.Criterion
Get the value of db.
getDbName() - Method in class org.apache.torque.util.Criteria
Get the Database(Map) name.
getDefaultDB() - Static method in class org.apache.torque.Torque
Returns the name of the default database.
getDefaultDB() - Method in class org.apache.torque.TorqueInstance
Returns the name of the default database.
getDefaultDB() - Method in class org.apache.torque.avalon.TorqueComponent
Returns the name of the default database.
getDefaultMaxConnections() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the number of database connections to cache per user.
getDescription() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the description.
getDouble(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a double.
getDouble(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a double.
getFirstRecordNoForPage() - Method in class org.apache.torque.util.LargeSelect
Provide the record number of the first row included on the current page.
getFloat(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a float.
getFloat(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a float.
getFromClause() - Method in class org.apache.torque.util.Query
Retrieve the from buffer in order to specify which tables are involved in this query.
getFullyQualifiedName() - Method in class org.apache.torque.map.ColumnMap
Get the table name + column name.
getGroupByClause() - Method in class org.apache.torque.util.Query
Retrieve the group by columns buffer in order to specify which columns are used to group the results of the query.
getGroupByColumns() - Method in class org.apache.torque.util.Criteria
Get group by columns.
getGroupKey() - Method in class org.apache.torque.manager.MethodCacheKey
 
getHaving() - Method in class org.apache.torque.util.Criteria
Get Having Criterion.
getHaving() - Method in class org.apache.torque.util.Query
Get the having clause.
getIDBroker() - Method in class org.apache.torque.map.DatabaseMap
Get the IDBroker for this database.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DB
Returns SQL used to get the most recently inserted primary key.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBAxion
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBCloudscape
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBDB2App
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBDB2Net
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBHypersonicSQL
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBInformix
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBInstantDB
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBInterbase
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBMM
Returns the SQL to get the database key of the last row inserted, which in this case is SELECT LAST_INSERT_ID().
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBNone
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBOdbc
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBOracle
Returns the next key from a sequence.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBPostgres
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBSapDB
Returns the next key from a sequence.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBSybase
Returns the last value from an identity column (available on a per-session basis from the global variable @@identity).
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBWeblogic
 
getIDMethodType() - Method in class org.apache.torque.adapter.DB
Returns the constant from the IDMethod interface denoting which type of primary key generation method this type of RDBMS uses.
getIDMethodType() - Method in class org.apache.torque.adapter.DBAxion
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBCloudscape
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBDB2App
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBDB2Net
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBHypersonicSQL
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBInformix
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBInstantDB
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBInterbase
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBMM
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBNone
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBOdbc
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBOracle
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBPostgres
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBSapDB
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBSybase
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBWeblogic
 
getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a BigDecimal.
getIdAsBigDecimal(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a BigDecimal.
getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as a BigDecimal.
getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a primitive int.
getIdAsInt(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a primitive int.
getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as an int.
getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a primitive long.
getIdAsLong(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a primitive long.
getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as an long.
getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a String.
getIdAsString(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a String.
getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as an String.
getIdGenerator() - Method in class org.apache.torque.map.TableMap
Get the value of idGenerator.
getIdTable() - Method in class org.apache.torque.map.DatabaseMap
Get the ID table for this database.
getImpl(MethodCacheKey) - Method in class org.apache.torque.manager.MethodResultCache
 
getImpl(MethodCacheKey) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
getInstance() - Static method in class org.apache.torque.Torque
Retrieves the single TorqueInstance used by this class.
getInt(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an int.
getInt(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an int.
getInteger(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an Integer.
getInteger(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an Integer.
getInterestedFields() - Method in interface org.apache.torque.manager.CacheListener
 
getJndiEnvironment(String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the value of jndiEnvironment which is used when instantiating a jndi InitialContext.
getJoinL() - Method in class org.apache.torque.util.Criteria
get one side of the set of possible joins.
getJoinR() - Method in class org.apache.torque.util.Criteria
get one side of the set of possible joins.
getLastRecordNoForPage() - Method in class org.apache.torque.util.LargeSelect
Provide the record number of the last row included on the current page.
getLimit() - Method in class org.apache.torque.util.Criteria
Get limit.
getLimit() - Method in class org.apache.torque.util.Query
Get the limit number.
getLimitStyle() - Method in class org.apache.torque.adapter.DB
This method is used to check whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBDB2400
This method is used to check whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBDB2App
This method is used to check whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBDB2Net
This method is used to check whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBMM
This method is used to chek whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBOracle
This method is used to check whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBPostgres
This method is used to chek whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBSybase
This method is used to chek whether the database supports limiting the size of the resultset.
getList(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a List.
getList(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a List.
getLog() - Method in class org.apache.torque.om.BaseObject
gets a commons-logging Log based on class name.
getLogInterval() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the interval (in seconds) between which the ConnectionPool logs the status of it's Connections.
getLogWriter() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Use correct debugging and logging code from Log4j
getLoginTimeout() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Gets the maximum time in seconds that this data source can wait while attempting to connect to a database.
getLong(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a long.
getLong(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a long.
getManager(String) - Static method in class org.apache.torque.Torque
This method returns a Manager for the given name.
getManager(String, String) - Static method in class org.apache.torque.Torque
This methods returns either the Manager from the configuration file, or the default one provided by the generated code.
getManager(String) - Method in class org.apache.torque.TorqueInstance
This method returns a Manager for the given name.
getManager(String, String) - Method in class org.apache.torque.TorqueInstance
This methods returns either the Manager from the configuration file, or the default one provided by the generated code.
getManager(String) - Method in class org.apache.torque.avalon.TorqueComponent
This method returns a Manager for the given name.
getManager(String, String) - Method in class org.apache.torque.avalon.TorqueComponent
This methods returns either the Manager from the configuration file, or the default one provided by the generated code.
getMapBuilder() - Static method in class org.apache.torque.util.BasePeer
Deprecated. you have to specify the name of the map builder!
getMapBuilder(String) - Static method in class org.apache.torque.util.BasePeer
This method returns the MapBuilder specified in the name parameter.
getMaxExpiryTime() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the amount of time (in seconds) that database connections will be cached.
getMemoryPageLimit() - Static method in class org.apache.torque.util.LargeSelect
Retrieves the multiplier that will be used to compute the memory limit when a constructor with no memory page limit is used - the memory limit will be this number multiplied by the page size.
getMethodResultCache() - Method in class org.apache.torque.manager.AbstractBaseManager
 
getMoreIndicator() - Static method in class org.apache.torque.util.LargeSelect
Retrieve the more pages/records indicator.
getName() - Method in class org.apache.torque.map.DatabaseMap
Get the name of this database.
getName() - Method in class org.apache.torque.map.TableMap
Get the name of the Table.
getNewCriterion(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
Method to return criterion that is not added automatically to this Criteria.
getNewCriterion(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
Method to return criterion that is not added automatically to this Criteria.
getNextIds(String, int) - Method in class org.apache.torque.oid.IDBroker
This method returns x number of ids for the given table.
getNextIds(String, int, Connection) - Method in class org.apache.torque.oid.IDBroker
This method returns x number of ids for the given table.
getNextResults() - Method in class org.apache.torque.util.LargeSelect
Gets the next page of rows.
getNextResultsAvailable() - Method in class org.apache.torque.util.LargeSelect
Indicates if further result pages are available.
getOMClass() - Method in class org.apache.torque.manager.AbstractBaseManager
Get the Class instance
getOMInstance() - Method in class org.apache.torque.manager.AbstractBaseManager
Get a fresh instance of an om
getOMInstance(ObjectKey) - Method in class org.apache.torque.manager.AbstractBaseManager
Return an instance of an om based on the id
getOMInstance(ObjectKey, boolean) - Method in class org.apache.torque.manager.AbstractBaseManager
Return an instance of an om based on the id
getOMs(ObjectKey[]) - Method in class org.apache.torque.manager.AbstractBaseManager
Gets a list of om's based on id's.
getOMs(List) - Method in class org.apache.torque.manager.AbstractBaseManager
Gets a list of om's based on id's.
getOMs(List, boolean) - Method in class org.apache.torque.manager.AbstractBaseManager
Gets a list of om's based on id's.
getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. implements ObjectFactory to create an instance of this class
getObjectKey(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an ObjectKey.
getObjectKey(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an ObjectKey.
getOffset() - Method in class org.apache.torque.util.Criteria
Get offset.
getOrderByClause() - Method in class org.apache.torque.util.Query
Retrieve the order by columns buffer in order to specify which columns are used to sort the results of the query.
getOrderByColumns() - Method in class org.apache.torque.util.Criteria
Get order by columns.
getPage(int) - Method in class org.apache.torque.util.LargeSelect
Retrieve a specific page, if it exists.
getPageProgressText() - Method in class org.apache.torque.util.LargeSelect
A convenience method that provides text showing progress through the selected rows on a page basis.
getPageSize() - Method in class org.apache.torque.util.LargeSelect
Retrieve the page size.
getPaginated() - Method in class org.apache.torque.util.LargeSelect
Provide an indication of whether or not paging of results will be required.
getPerUserMaxConnections() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the number of database connections to cache per user.
getPostLimit() - Method in class org.apache.torque.util.Query
Get the Post limit String.
getPreLimit() - Method in class org.apache.torque.util.Query
Get the Pre limit String.
getPrefix() - Method in class org.apache.torque.map.TableMap
Get table prefix name.
getPreviousResults() - Method in class org.apache.torque.util.LargeSelect
Gets the previous page of rows.
getPreviousResultsAvailable() - Method in class org.apache.torque.util.LargeSelect
Indicates if previous results pages are available.
getPrimaryKey() - Method in class org.apache.torque.om.BaseObject
getter for the object primaryKey.
getPrimaryKey() - Method in interface org.apache.torque.om.Persistent
getter for the object primaryKey.
getPrimaryKeyMethod() - Method in class org.apache.torque.map.TableMap
Get the method used to generate primary keys for this table.
getPrimaryKeyMethodInfo() - Method in class org.apache.torque.map.TableMap
Get the information used to generate a primary key
getRecordProgressText() - Method in class org.apache.torque.util.LargeSelect
A convenience method that provides text showing progress through the selected rows on a record basis.
getReference() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Referenceable implementation.
getRegion() - Method in class org.apache.torque.manager.AbstractBaseManager
Get the value of region.
getRelatedColumnName() - Method in class org.apache.torque.map.ColumnMap
Get the column name that this column is related to.
getRelatedName() - Method in class org.apache.torque.map.ColumnMap
Get the table.column that this column is related to.
getRelatedTableName() - Method in class org.apache.torque.map.ColumnMap
Get the table name that this column is related to.
getRowcount() - Method in class org.apache.torque.util.Query
Get the rowcount number.
getSearchParam(String) - Method in class org.apache.torque.util.LargeSelect
Retrieve a search parameter.
getSearchParam(String, String) - Method in class org.apache.torque.util.LargeSelect
Retrieve a search parameter.
getSelectClause() - Method in class org.apache.torque.util.Query
Retrieve the columns buffer in order to specify which columns are returned in this query.
getSelectColumns() - Method in class org.apache.torque.util.Criteria
Get select columns.
getSelectModifiers() - Method in class org.apache.torque.util.Criteria
Get select modifiers.
getSelectModifiers() - Method in class org.apache.torque.util.Query
Retrieve the modifier buffer in order to add modifiers to this query.
getSelectResults(QueryDataSet) - Static method in class org.apache.torque.util.BasePeer
Returns all records in a QueryDataSet as a List of Record objects.
getSelectResults(QueryDataSet, boolean) - Static method in class org.apache.torque.util.BasePeer
Returns all records in a QueryDataSet as a List of Record objects.
getSelectResults(QueryDataSet, int, boolean) - Static method in class org.apache.torque.util.BasePeer
Returns numberOfResults records in a QueryDataSet as a List of Record objects.
getSelectResults(QueryDataSet, int, int, boolean) - Static method in class org.apache.torque.util.BasePeer
Returns numberOfResults records in a QueryDataSet as a List of Record objects.
getSize() - Method in class org.apache.torque.map.ColumnMap
Get the size of this column.
getString() - Method in class org.apache.torque.om.StringKey
Access the underlying String object.
getString(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a String.
getString(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a String.
getStringDelimiter() - Method in class org.apache.torque.adapter.DB
Returns the character used to indicate the beginning and end of a piece of text used in a SQL statement (generally a single quote).
getStringDelimiter() - Method in class org.apache.torque.adapter.DBInterbase
Gets the string delimiter (usually '\'').
getTable(String) - Method in class org.apache.torque.map.DatabaseMap
Get a TableMap for the table by name.
getTable() - Method in class org.apache.torque.util.Criteria.Criterion
Get the table name.
getTableForAlias(String) - Method in class org.apache.torque.util.Criteria
Returns the table name associated with an alias.
getTableName() - Method in class org.apache.torque.map.ColumnMap
Get the name of the table this column is in.
getTableName(String) - Method in class org.apache.torque.util.Criteria
Method to return a String table name.
getTables() - Method in class org.apache.torque.map.DatabaseMap
Get a TableMap[] of all of the tables in the database.
getTotalPages() - Method in class org.apache.torque.util.LargeSelect
Retrieve the total number of pages of search results that are known to exist (this will be the actual value when the query has completeted (see getQyeryCompleted()).
getTotalRecords() - Method in class org.apache.torque.util.LargeSelect
Retrieve the total number of search result records that are known to exist (this will be the actual value when the query has completeted (see getTotalsFinalized()).
getTotalsFinalized() - Method in class org.apache.torque.util.LargeSelect
Provide access to indicator that the total values for the number of records and pages are now accurate as opposed to known upper limits.
getType() - Method in class org.apache.torque.map.ColumnMap
Get the type of this column.
getValue() - Method in class org.apache.torque.om.ComboKey
Get the underlying object.
getValue() - Method in class org.apache.torque.om.ObjectKey
Get the underlying object.
getValue() - Method in class org.apache.torque.util.Criteria.Criterion
Get the value.
getValue(String) - Method in class org.apache.torque.util.Criteria
Method to return the value that was added to Criteria.
getValue(String, String) - Method in class org.apache.torque.util.Criteria
Method to return the value that was added to Criteria.
getWhereClause() - Method in class org.apache.torque.util.Query
Retrieve the where buffer in order to specify the selection criteria E.g.

H

handleMultipleRecords(DataSet) - Static method in class org.apache.torque.util.BasePeer
If the user specified that (s)he only wants to retrieve a single record and multiple records are retrieved, this method is called to handle the situation.
hasLimit() - Method in class org.apache.torque.util.Query
True if this query has a limit clause registered.
hasResultsAvailable() - Method in class org.apache.torque.util.LargeSelect
Indicates if any results are available.
hashCode() - Method in class org.apache.torque.manager.MethodCacheKey
 
hashCode() - Method in class org.apache.torque.om.BaseObject
If the primary key is not null, return the hashcode of the primary key.
hashCode() - Method in class org.apache.torque.om.ComboKey
if the underlying key array is not null and the first element is not null this method returns the hashcode of the first element in the key.
hashCode() - Method in class org.apache.torque.om.NumberKey
 
hashCode() - Method in class org.apache.torque.om.ObjectKey
Returns the hashcode of the underlying value (key), if key is not null.
hashCode() - Method in class org.apache.torque.util.Criteria.Criterion
Returns a hash code value for the object.
hashtableToByteArray(Hashtable) - Static method in class org.apache.torque.util.BasePeer
Converts a hashtable to a byte array for storage/serialization.

I

IDBroker - class org.apache.torque.oid.IDBroker.
This method of ID generation is used to ensure that code is more database independent.
IDBroker(TableMap) - Constructor for class org.apache.torque.oid.IDBroker
Creates an IDBroker for the ID table.
IDGeneratorFactory - class org.apache.torque.oid.IDGeneratorFactory.
A factory which instantiates IdGenerator implementations.
IDGeneratorFactory() - Constructor for class org.apache.torque.oid.IDGeneratorFactory
 
IDMethod - interface org.apache.torque.adapter.IDMethod.
Interface for various ID retrieval method types (i.e.
ID_BROKER - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via the IDBroker table.
ID_GENERATOR_METHODS - Static variable in class org.apache.torque.oid.IDGeneratorFactory
The list of ID generation method types which have associated IdGenerator implementations.
ID_TABLE - Static variable in class org.apache.torque.oid.IDBroker
Name of the ID_TABLE = ID_TABLE
IGNORE_CASE - Static variable in class org.apache.torque.util.BasePeer
Constant criteria key to remove Case Information from search/ordering criteria.
ILIKE - Static variable in class org.apache.torque.util.Criteria
Comparison type.
ILIKE - Static variable in class org.apache.torque.util.SqlEnum
 
IN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
IN - Static variable in class org.apache.torque.util.SqlEnum
 
ISNOTNULL - Static variable in class org.apache.torque.util.Criteria
"IS NOT NULL" null comparison
ISNOTNULL - Static variable in class org.apache.torque.util.SqlEnum
 
ISNULL - Static variable in class org.apache.torque.util.Criteria
"IS NULL" null comparison
ISNULL - Static variable in class org.apache.torque.util.SqlEnum
 
IdGenerator - interface org.apache.torque.oid.IdGenerator.
Interface to be implemented by id generators.
ignoreCase(String) - Method in class org.apache.torque.adapter.DB
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBAxion
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBCloudscape
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBDB2400
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBDB2App
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBDB2Net
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBInformix
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBInstantDB
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBInterbase
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBMM
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBNone
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBOdbc
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBOracle
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBPostgres
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBSapDB
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBSybase
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBWeblogic
This method is used to ignore case.
ignoreCaseInOrderBy(String) - Method in class org.apache.torque.adapter.DB
This method is used to ignore case in an ORDER BY clause.
ignoreCaseInOrderBy(String) - Method in class org.apache.torque.adapter.DBInterbase
This method is used to ignore case in an ORDER BY clause.
init(String) - Static method in class org.apache.torque.Torque
Initialization of Torque with a properties file.
init(Configuration) - Static method in class org.apache.torque.Torque
Initialization of Torque with a properties file.
init(String) - Method in class org.apache.torque.TorqueInstance
Initialization of Torque with a properties file.
init(Configuration) - Method in class org.apache.torque.TorqueInstance
Initialization of Torque with a properties file.
init(String, String, String) - Method in class org.apache.torque.adapter.DBNone
Deprecated. simply remove the call from your code
init(Serializable, String) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with no arguments.
init(Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with one argument.
init(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with two arguments.
init(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with two arguments.
init(Serializable[]) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with more than two arguments.
initCPDS(Configuration) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
Initializes the ConnectionPoolDataSource.
initColumnNames(Column[]) - Static method in class org.apache.torque.util.BasePeer
Convenience method to create a String array of column names.
initCriteriaKeys(String, String[]) - Static method in class org.apache.torque.util.BasePeer
Convenience method to create a String array of criteria keys.
initManagerMappings(Configuration) - Method in class org.apache.torque.TorqueInstance
Creates a mapping between classes and their manager classes.
initTableColumns(Schema) - Static method in class org.apache.torque.util.BasePeer
Creates a Column array for a table based on its Schema.
initTableSchema(String) - Static method in class org.apache.torque.util.BasePeer
Sets up a Schema for a table.
initTableSchema(String, String) - Static method in class org.apache.torque.util.BasePeer
Sets up a Schema for a table.
initTorqueClassic(Configuration) - Method in class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated. Initializes the TorqueClassicDataSource.
initialize() - Method in class org.apache.torque.Torque
initialize Torque
initialize() - Method in class org.apache.torque.avalon.TorqueComponent
 
initialize(Configuration) - Method in interface org.apache.torque.dsfactory.DataSourceFactory
Initialize the factory.
initialize(Configuration) - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
 
initialize(Configuration) - Method in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
 
initialize(Configuration) - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
 
initialize(Configuration) - Method in class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated.  
intValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as an int.
invalidateResult() - Method in class org.apache.torque.util.LargeSelect
Clear the query result so that the query is reexecuted when the next page is retrieved.
isBuilt() - Method in interface org.apache.torque.map.MapBuilder
Tells us if the database mapping is built so that we can avoid re-building it repeatedly.
isCascade() - Method in class org.apache.torque.util.Criteria
Is cascade set?
isConnectionRequired() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
A flag to determine whether a Connection is required to generate an id.
isConnectionRequired() - Method in class org.apache.torque.oid.IDBroker
A flag to determine whether a Connection is required to generate an id.
isConnectionRequired() - Method in interface org.apache.torque.oid.IdGenerator
A flag to determine whether a Connection is required to generate an id.
isConnectionRequired() - Method in class org.apache.torque.oid.SequenceIdGenerator
A flag to determine whether a Connection is required to generate an id.
isDefaultAutoCommit() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the value of defaultAutoCommit, which defines the state of connections handed out from this pool.
isDefaultReadOnly() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Get the value of defaultReadOnly, which defines the state of connections handed out from this pool.
isForeignKey() - Method in class org.apache.torque.map.ColumnMap
Is this column a foreign key?
isIgnoreCase() - Method in class org.apache.torque.util.Criteria.Criterion
Is ignore case on or off?
isIgnoreCase() - Method in class org.apache.torque.util.Criteria
Is ignore case on or off?
isInit() - Static method in class org.apache.torque.Torque
Determine whether Torque has already been initialized.
isInit() - Method in class org.apache.torque.TorqueInstance
Determine whether Torque has already been initialized.
isInit() - Method in class org.apache.torque.avalon.TorqueComponent
Determine whether Torque has already been initialized.
isModified() - Method in class org.apache.torque.om.BaseObject
Returns whether the object has been modified.
isModified() - Method in interface org.apache.torque.om.Persistent
Returns whether the object has been modified, since it was last retrieved from storage.
isNew() - Method in class org.apache.torque.om.BaseObject
Returns whether the object has ever been saved.
isNew() - Method in interface org.apache.torque.om.Persistent
Returns whether the object has ever been saved.
isNotNull() - Method in class org.apache.torque.map.ColumnMap
Is null value allowed ?
isPostInsert() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
A flag to determine the timing of the id generation
isPostInsert() - Method in class org.apache.torque.oid.IDBroker
A flag to determine the timing of the id generation
isPostInsert() - Method in interface org.apache.torque.oid.IdGenerator
A flag to determine the timing of the id generation
isPostInsert() - Method in class org.apache.torque.oid.SequenceIdGenerator
A flag to determine the timing of the id generation
isPrimaryKey() - Method in class org.apache.torque.map.ColumnMap
Is this column a primary key?
isPriorToInsert() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
A flag to determine the timing of the id generation
isPriorToInsert() - Method in class org.apache.torque.oid.IDBroker
A flag to determine the timing of the id generation *
isPriorToInsert() - Method in interface org.apache.torque.oid.IdGenerator
A flag to determine the timing of the id generation
isPriorToInsert() - Method in class org.apache.torque.oid.SequenceIdGenerator
A flag to determine the timing of the id generation
isSingleRecord() - Method in class org.apache.torque.util.Criteria
Is single record?
isUseTransaction() - Method in class org.apache.torque.util.Criteria
called by BasePeer to determine whether the sql command specified by this criteria must be wrapped in a transaction.

J

JOIN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
JOIN - Static variable in class org.apache.torque.util.SqlEnum
 
JndiDataSourceFactory - class org.apache.torque.dsfactory.JndiDataSourceFactory.
A factory that looks up the DataSource from JNDI.
JndiDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.JndiDataSourceFactory
 

K

key - Variable in class org.apache.torque.om.ObjectKey
The underlying key value.
keyFor(BigDecimal) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(int) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(long) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(double) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(Number) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(NumberKey) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(String) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(StringKey) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(Date) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(DateKey) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key

L

LESS_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
LESS_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
LESS_THAN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
LESS_THAN - Static variable in class org.apache.torque.util.SqlEnum
 
LIKE - Static variable in class org.apache.torque.util.Criteria
Comparison type.
LIKE - Static variable in class org.apache.torque.util.SqlEnum
 
LIMIT_STYLE_DB2 - Static variable in class org.apache.torque.adapter.DB
LIMIT_STYLE_MYSQL - Static variable in class org.apache.torque.adapter.DB
SELECT ...
LIMIT_STYLE_NONE - Static variable in class org.apache.torque.adapter.DB
Database does not support limiting result sets.
LIMIT_STYLE_ORACLE - Static variable in class org.apache.torque.adapter.DB
LIMIT_STYLE_POSTGRES - Static variable in class org.apache.torque.adapter.DB
SELECT ...
LIMIT_STYLE_SYBASE - Static variable in class org.apache.torque.adapter.DB
SET ROWCOUNT <offset> SELECT ...
LargeSelect - class org.apache.torque.util.LargeSelect.
This class can be used to retrieve a large result set from a database query.
LargeSelect(Criteria, int) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned as a List containing a maximum of pageSize Village Record objects at a time, maintaining a maximum of LargeSelect.memoryPageLimit pages of results in memory.
LargeSelect(Criteria, int, int) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned as a List containing a maximum of pageSize Village Record objects at a time, maintaining a maximum of memoryPageLimit pages of results in memory.
LargeSelect(Criteria, int, String) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned as a List containing a maximum of pageSize objects of the type defined within the class named returnBuilderClassName at a time, maintaining a maximum of LargeSelect.memoryPageLimit pages of results in memory.
LargeSelect(Criteria, int, int, String) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned as a List containing a maximum of pageSize objects of the type defined within the class named returnBuilderClassName at a time, maintaining a maximum of memoryPageLimit pages of results in memory.
LimitHelper - class org.apache.torque.util.LimitHelper.
Factored out all the various "How to generate offset and limit for my personal database" from the BasePeer.
LimitHelper() - Constructor for class org.apache.torque.util.LimitHelper
 
listenersMap - Variable in class org.apache.torque.manager.AbstractBaseManager
 
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DB
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBAxion
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBCloudscape
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2App
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2Net
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInformix
The method is used to lock a table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInstantDB
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInterbase
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBMM
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBNone
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOdbc
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOracle
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBPostgres
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSapDB
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSybase
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBWeblogic
Locks the specified table.
log - Static variable in class org.apache.torque.manager.AbstractBaseManager
the log
log() - Method in class org.apache.torque.om.BaseObject
Deprecated. Use getLog()
log - Static variable in class org.apache.torque.util.BasePeer
the log
longValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as a long.
looseEquals(Object) - Method in class org.apache.torque.om.ComboKey
keyObj is equal to this ComboKey if keyObj is a ComboKey, String, ObjectKey[], or String[] that contains the same information this key contains.

M

MANAGER_PREFIX - Static variable in class org.apache.torque.Torque
A prefix for Manager properties in the configuration.
MANAGER_SUFFIX - Static variable in class org.apache.torque.Torque
A Service property determining its implementing class name .
MapBuilder - interface org.apache.torque.map.MapBuilder.
MapBuilders are wrappers around DatabaseMaps.
MethodCacheKey - class org.apache.torque.manager.MethodCacheKey.
 
MethodCacheKey() - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String, Serializable) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String, Serializable, Serializable) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String, Serializable, Serializable, Serializable) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable[]) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey.Factory - class org.apache.torque.manager.MethodCacheKey.Factory.
 
MethodCacheKey.Factory() - Constructor for class org.apache.torque.manager.MethodCacheKey.Factory
 
MethodResultCache - class org.apache.torque.manager.MethodResultCache.
This class provides a cache for convenient storage of method results.
MethodResultCache(GroupCacheAccess) - Constructor for class org.apache.torque.manager.MethodResultCache
 
MethodResultCache() - Constructor for class org.apache.torque.manager.MethodResultCache
Allows subclasses to have ctors that do not require a cache.
makeObject() - Method in class org.apache.torque.manager.MethodCacheKey.Factory
Creates an instance that can be returned by the pool.
mrCache - Variable in class org.apache.torque.manager.AbstractBaseManager
method results cache

N

NATIVE - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via database-specific ID method (i.e.
NEW_ID - Static variable in class org.apache.torque.om.BaseObject
The constant denoting an unset numeric database identifier.
NEXT_ID - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified Next_ID column name
NOT_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
NOT_ILIKE - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_ILIKE - Static variable in class org.apache.torque.util.SqlEnum
 
NOT_IN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_IN - Static variable in class org.apache.torque.util.SqlEnum
 
NOT_LIKE - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_LIKE - Static variable in class org.apache.torque.util.SqlEnum
 
NO_ID_METHOD - Static variable in interface org.apache.torque.adapter.IDMethod
No RDBMS key generation (keys may be generated by the application).
NoOpMethodResultCache - class org.apache.torque.manager.NoOpMethodResultCache.
This class provides a cache for convenient storage of method results
NoOpMethodResultCache(GroupCacheAccess) - Constructor for class org.apache.torque.manager.NoOpMethodResultCache
 
NoRowsException - exception org.apache.torque.NoRowsException.
This exception indicates that no rows were returned but atleast one should have been returned.
NoRowsException() - Constructor for class org.apache.torque.NoRowsException
Constructs a new TorqueException without specified detail message.
NoRowsException(String) - Constructor for class org.apache.torque.NoRowsException
Constructs a new TorqueException with specified detail message.
NoRowsException(Throwable) - Constructor for class org.apache.torque.NoRowsException
Constructs a new TorqueException with specified nested Throwable.
NoRowsException(String, Throwable) - Constructor for class org.apache.torque.NoRowsException
Constructs a new TorqueException with specified detail message and nested Throwable.
NumberKey - class org.apache.torque.om.NumberKey.
This class can be used as an ObjectKey to uniquely identify an object within an application where the id consists of a single entity such a GUID or the value of a db row's primary key.
NumberKey() - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey whose internal representation will be set later, through a set method
NumberKey(String) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(BigDecimal) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(NumberKey) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(long) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(double) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(int) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(Number) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
notifyListeners(List, Persistent, Persistent) - Method in class org.apache.torque.manager.AbstractBaseManager
 

O

OR - Static variable in class org.apache.torque.util.Criteria.Criterion
 
ORDER_BY - Static variable in class org.apache.torque.util.BasePeer
Constant criteria key to reference ORDER BY columns.
ObjectKey - class org.apache.torque.om.ObjectKey.
This class can be used to uniquely identify an object within an application.
ObjectKey() - Constructor for class org.apache.torque.om.ObjectKey
Initializes the internal key value to null.
or(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria.Criterion
Append an OR Criterion onto this Criterion's list.
or(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria.
or(String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, boolean) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
or(String, boolean, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
or(String, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
or(String, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
or(String, long) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
or(String, long, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
or(String, float) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
or(String, float, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
or(String, double) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
or(String, double, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
orDate(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
orDate(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
orIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an Object array.
orIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an int array.
orIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as a List.
orNotIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an Object array.
orNotIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an int array.
orNotIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as a List.
org.apache.torque - package org.apache.torque
 
org.apache.torque.adapter - package org.apache.torque.adapter
Adapters between Torque and various databases.
org.apache.torque.avalon - package org.apache.torque.avalon
Avalon component implementation.
org.apache.torque.dsfactory - package org.apache.torque.dsfactory
Torque's API for creation of various javax.sql.DataSource implementations.
org.apache.torque.manager - package org.apache.torque.manager
A manager/factory API for use with Torque-generated data beans.
org.apache.torque.map - package org.apache.torque.map
Description of the schema layout.
org.apache.torque.oid - package org.apache.torque.oid
The ID broker, an API to provide persistent object identifiers, as described by Scott Ambler's paper on "Enterprise-Ready Object IDs".
org.apache.torque.om - package org.apache.torque.om
API for the classic Torque-generated object model.
org.apache.torque.pool - package org.apache.torque.pool
Torque's classic connection pool.
org.apache.torque.util - package org.apache.torque.util
Misc.

P

POOL_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
"pool" Key for the configuration
PerUserPoolDataSourceFactory - class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory.
A factory that looks up the DataSource using the JDBC2 pool methods.
PerUserPoolDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
 
Persistent - interface org.apache.torque.om.Persistent.
This interface defines methods related to saving an object
passivateObject(Object) - Method in class org.apache.torque.manager.MethodCacheKey.Factory
Uninitialize an instance to be returned to the pool.
printStackTrace() - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception the the standar error stream.
printStackTrace(PrintStream) - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception to the specified print stream.
printStackTrace(PrintWriter) - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception to the specified print writer.
printStackTrace(PrintWriter, int) - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception skiping a specified number of stack frames.
put(Object, Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable[]) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Serializable, String, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Serializable[]) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Object) - Method in class org.apache.torque.util.Criteria
Overrides Hashtable put, so that this object is returned instead of the value previously in the Criteria object.
putAll(Map) - Method in class org.apache.torque.util.Criteria
Copies all of the mappings from the specified Map to this Criteria These mappings will replace any mappings that this Criteria had for any of the keys currently in the specified Map.
putImpl(MethodCacheKey, Object) - Method in class org.apache.torque.manager.MethodResultCache
 
putImpl(MethodCacheKey, Object) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
putInstanceImpl(Persistent) - Method in class org.apache.torque.manager.AbstractBaseManager
 
putInstanceImpl(Serializable, Persistent) - Method in class org.apache.torque.manager.AbstractBaseManager
 

Q

QUANTITY - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified Quantity column name
Query - class org.apache.torque.util.Query.
Used to assemble an SQL SELECT query.
Query() - Constructor for class org.apache.torque.util.Query
 
quoteAndEscapeText(String, DB) - Static method in class org.apache.torque.util.SqlExpression
Quotes and escapes raw text for placement in a SQL expression.

R

ROLE - Static variable in interface org.apache.torque.avalon.Torque
 
refreshedObject(Persistent) - Method in interface org.apache.torque.manager.CacheListener
 
registerAsListener() - Method in class org.apache.torque.manager.AbstractBaseManager
NoOp version.
registerMapBuilder(String) - Static method in class org.apache.torque.Torque
Register a MapBuilder
registerMapBuilder(String) - Method in class org.apache.torque.TorqueInstance
Register a MapBuilder
registerMapBuilder(String) - Method in class org.apache.torque.avalon.TorqueComponent
Register a MapBuilder
remove(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable[]) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove(Serializable, String, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove(Serializable[]) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove(String) - Method in class org.apache.torque.util.Criteria
Remove an object from the criteria.
removeAll(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
removeAll(Serializable, String) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
removeImpl(MethodCacheKey) - Method in class org.apache.torque.manager.MethodResultCache
 
removeImpl(MethodCacheKey) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
removeInstanceImpl(Serializable) - Method in class org.apache.torque.manager.AbstractBaseManager
 
removeSearchParam(String) - Method in class org.apache.torque.util.LargeSelect
Remove a value from the search parameters.
removeUnderScores(String) - Method in class org.apache.torque.map.TableMap
Removes the PREFIX, removes the underscores and makes first letter caps.
resetModified() - Method in class org.apache.torque.om.BaseObject
Sets the modified state for the object to be false.
retrieveStoredOM(ObjectKey) - Method in class org.apache.torque.manager.AbstractBaseManager
 
retrieveStoredOMs(List) - Method in class org.apache.torque.manager.AbstractBaseManager
 
rollback(Connection) - Static method in class org.apache.torque.util.Transaction
Roll back a transaction in databases that support transactions.
run() - Method in class org.apache.torque.oid.IDBroker
A background thread that tries to ensure that when someone asks for ids, that there are already some loaded and that the database is not accessed.
run() - Method in class org.apache.torque.util.LargeSelect
A background thread that retrieves the rows.

S

SEPARATOR - Static variable in class org.apache.torque.om.ComboKey
The single character used to separate key values in a string.
SEPARATOR_STRING - Static variable in class org.apache.torque.om.ComboKey
The single character used to separate key values in a string.
SEQUENCE - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via sequences.
SequenceIdGenerator - class org.apache.torque.oid.SequenceIdGenerator.
This generator works with databases that have an sql syntax for getting an id prior to inserting a row into the database.
SequenceIdGenerator(DB) - Constructor for class org.apache.torque.oid.SequenceIdGenerator
Creates an IdGenerator which will work with the specified database.
SharedPoolDataSourceFactory - class org.apache.torque.dsfactory.SharedPoolDataSourceFactory.
A factory that looks up the DataSource using the JDBC2 pool methods.
SharedPoolDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
 
SimpleKey - class org.apache.torque.om.SimpleKey.
This empty class marks an ObjectKey as being capable of being represented as a single column in a database.
SimpleKey() - Constructor for class org.apache.torque.om.SimpleKey
 
SqlEnum - class org.apache.torque.util.SqlEnum.
A typesafe enum of SQL string fragments.
SqlExpression - class org.apache.torque.util.SqlExpression.
This class represents a part of an SQL query found in the WHERE section.
SqlExpression() - Constructor for class org.apache.torque.util.SqlExpression
 
StringKey - class org.apache.torque.om.StringKey.
This class can be used as an ObjectKey to uniquely identify an object within an application where the id consists of a single entity such a GUID or the value of a db row's primary key.
StringKey() - Constructor for class org.apache.torque.om.StringKey
Creates an SimpleKey whose internal representation will be set later, through a set method
StringKey(String) - Constructor for class org.apache.torque.om.StringKey
Creates a StringKey whose internal representation is a String
StringKey(StringKey) - Constructor for class org.apache.torque.om.StringKey
Creates a StringKey that is equivalent to key.
safeRollback(Connection) - Static method in class org.apache.torque.util.Transaction
Roll back a transaction without throwing errors if they occur.
save() - Method in class org.apache.torque.om.BaseObject
 
save(String) - Method in class org.apache.torque.om.BaseObject
 
save(Connection) - Method in class org.apache.torque.om.BaseObject
 
save() - Method in interface org.apache.torque.om.Persistent
Saves the object.
save(String) - Method in interface org.apache.torque.om.Persistent
Stores the object in the database.
save(Connection) - Method in interface org.apache.torque.om.Persistent
Stores the object in the database.
setAll() - Method in class org.apache.torque.util.Criteria
Adds "ALL " to the SQL statement.
setBlobFlag(boolean) - Method in class org.apache.torque.util.Criteria
Deprecated. this flag is not used any longer
setCascade(boolean) - Method in class org.apache.torque.util.Criteria
Set cascade.
setClassName(String) - Method in class org.apache.torque.manager.AbstractBaseManager
Set the classname to instantiate for getInstance()
setConfiguration(Configuration) - Static method in class org.apache.torque.Torque
Sets the configuration for Torque and all dependencies.
setConfiguration(Configuration) - Method in class org.apache.torque.TorqueInstance
Sets the configuration for Torque and all dependencies.
setConfiguration(Configuration) - Method in class org.apache.torque.oid.IDBroker
Set the configuration
setConnectionPoolDataSource(ConnectionPoolDataSource) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the backend ConnectionPoolDataSource.
setConnectionWaitTimeout(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Eet the amount of time (in seconds) a connection request will have to wait before a time out occurs and an error is thrown.
setDB(DB) - Method in class org.apache.torque.util.Criteria.Criterion
Set the value of db.
setDataSourceName(String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the name of the ConnectionPoolDataSource which backs this pool.
setDbName(String) - Method in class org.apache.torque.util.Criteria
Set the DatabaseMap name.
setDefaultAutoCommit(boolean) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the value of defaultAutoCommit, which defines the state of connections handed out from this pool.
setDefaultMaxConnections(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the number of database connections to cache per user.
setDefaultReadOnly(boolean) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the value of defaultReadOnly, which defines the state of connections handed out from this pool.
setDescription(String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the description.
setDistinct() - Method in class org.apache.torque.util.Criteria
Adds "DISTINCT " to the SQL statement.
setForeignKey(String) - Method in class org.apache.torque.map.ColumnMap
Set the foreign key for this column.
setForeignKey(String, String) - Method in class org.apache.torque.map.ColumnMap
Set the foreign key for this column.
setFromClause(UniqueList) - Method in class org.apache.torque.util.Query
Set the from clause.
setHaving(String) - Method in class org.apache.torque.util.Query
Set the having clause.
setIdTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
Set the ID table for this database.
setIdTable(String) - Method in class org.apache.torque.map.DatabaseMap
Set the ID table for this database.
setIgnoreCase(boolean) - Method in class org.apache.torque.util.Criteria.Criterion
Sets ignore case.
setIgnoreCase(boolean) - Method in class org.apache.torque.util.Criteria
Sets ignore case.
setJndiEnvironment(String, String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the value of jndiEnvironment which is used when instantiating a jndi InitialContext.
setLimit(int) - Method in class org.apache.torque.util.Criteria
Set limit.
setLimit(String) - Method in class org.apache.torque.util.Query
Set the limit number.
setLogInterval(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the interval (in seconds) between which the ConnectionPool logs the status of it's Connections.
setLogWriter(PrintWriter) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Use correct debugging and logging code from Log4j
setLoginTimeout(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.
setMaxExpiryTime(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the amount of time (in seconds) that database connections will be cached.
setMemoryPageLimit(int) - Static method in class org.apache.torque.util.LargeSelect
Sets the multiplier that will be used to compute the memory limit when a constructor with no memory page limit is used - the memory limit will be this number multiplied by the page size.
setModified(boolean) - Method in class org.apache.torque.om.BaseObject
Sets the modified state for the object.
setModified(boolean) - Method in interface org.apache.torque.om.Persistent
Sets the modified state for the object.
setMoreIndicator(String) - Static method in class org.apache.torque.util.LargeSelect
Provide a way of changing the more pages/records indicator.
setNew(boolean) - Method in class org.apache.torque.om.BaseObject
Setter for the isNew attribute.
setNew(boolean) - Method in interface org.apache.torque.om.Persistent
Setter for the isNew attribute.
setNotNull(boolean) - Method in class org.apache.torque.map.ColumnMap
Set if this column may be null.
setOMClass(Class) - Method in class org.apache.torque.manager.AbstractBaseManager
Set the Class that will be instantiated by this manager
setOffset(int) - Method in class org.apache.torque.util.Criteria
Set offset.
setPerUserMaxConnections(Properties) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Set the number of database connections to cache per user.
setPostLimit(String) - Method in class org.apache.torque.util.Query
Set the Post limit String.
setPreLimit(String) - Method in class org.apache.torque.util.Query
Get the Pre limit String.
setPrefix(String) - Method in class org.apache.torque.map.TableMap
Set table prefix name.
setPrimaryKey(boolean) - Method in class org.apache.torque.map.ColumnMap
Set if this column is a primary key or not.
setPrimaryKey(String) - Method in class org.apache.torque.om.BaseObject
Sets the PrimaryKey for the object.
setPrimaryKey(SimpleKey[]) - Method in class org.apache.torque.om.BaseObject
Sets the PrimaryKey for the object as an Object.
setPrimaryKey(ObjectKey) - Method in class org.apache.torque.om.BaseObject
Sets the PrimaryKey for the object as an Object.
setPrimaryKey(ObjectKey) - Method in interface org.apache.torque.om.Persistent
Sets the PrimaryKey for the object.
setPrimaryKey(String) - Method in interface org.apache.torque.om.Persistent
Sets the PrimaryKey for the object.
setPrimaryKeyMethod(String) - Method in class org.apache.torque.map.TableMap
Sets the method used to generate a key for this table.
setPrimaryKeyMethodInfo(Object) - Method in class org.apache.torque.map.TableMap
Sets the pk information needed to generate a key
setProperty(String, Configuration, Object) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
Encapsulates setting configuration properties on DataSource objects.
setRegion(String) - Method in class org.apache.torque.manager.AbstractBaseManager
Set the value of region.
setRowcount(String) - Method in class org.apache.torque.util.Query
Set the rowcount number.
setSearchParam(String, String) - Method in class org.apache.torque.util.LargeSelect
Set a search parameter.
setSelectClause(UniqueList) - Method in class org.apache.torque.util.Query
Set the columns.
setSelectModifiers(UniqueList) - Method in class org.apache.torque.util.Query
Set the modifiers.
setSingleRecord(boolean) - Method in class org.apache.torque.util.Criteria
Set single record? Set this to true if you expect the query to result in only a single result record (the default behaviour is to throw a TorqueException if multiple records are returned when the query is executed).
setSize(int) - Method in class org.apache.torque.map.ColumnMap
Set the size of this column.
setTable(String) - Method in class org.apache.torque.util.Criteria.Criterion
Set the table name.
setType(Object) - Method in class org.apache.torque.map.ColumnMap
Set the type of this column.
setUseTransaction(boolean) - Method in class org.apache.torque.util.Criteria
Will force the sql represented by this criteria to be executed within a transaction.
setValue(SimpleKey[]) - Method in class org.apache.torque.om.ComboKey
Sets the internal representation using a SimpleKey array.
setValue(String) - Method in class org.apache.torque.om.ComboKey
Sets the internal representation using a String of the form produced by the toString method.
setValue(ComboKey) - Method in class org.apache.torque.om.ComboKey
Sets the internal representation using a ComboKey.
setValue(String) - Method in class org.apache.torque.om.DateKey
Sets the internal representation to a String
setValue(DateKey) - Method in class org.apache.torque.om.DateKey
Sets the internal representation to the same object used by key.
setValue(String) - Method in class org.apache.torque.om.NumberKey
Sets the internal representation using a String representation of a number
setValue(BigDecimal) - Method in class org.apache.torque.om.NumberKey
Sets the underlying object
setValue(NumberKey) - Method in class org.apache.torque.om.NumberKey
Sets the internal representation to the same object used by key.
setValue(String) - Method in class org.apache.torque.om.ObjectKey
Reset the underlying object using a String.
setValue(String) - Method in class org.apache.torque.om.StringKey
Sets the internal representation to a String
setValue(StringKey) - Method in class org.apache.torque.om.StringKey
Sets the internal representation to the same object used by key.
setWhereClause(UniqueList) - Method in class org.apache.torque.util.Query
Set the where clause.
shortValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as a short.
shutdown() - Static method in class org.apache.torque.Torque
Shuts down the service.
shutdown() - Method in class org.apache.torque.TorqueInstance
Shuts down the service.
start() - Method in class org.apache.torque.avalon.TorqueComponent
 
stop() - Method in class org.apache.torque.avalon.TorqueComponent
 
stop() - Method in class org.apache.torque.oid.IDBroker
Shuts down the IDBroker thread.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DB
This method is used to check whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBMM
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBMSSQL
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBOracle
This method is used to check whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBPostgres
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBSybase
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeOffset() - Method in class org.apache.torque.adapter.DB
This method is used to check whether the database natively supports returning results starting at an offset position other than 0.
supportsNativeOffset() - Method in class org.apache.torque.adapter.DBMM
This method is used to chek whether the database natively supports returning results starting at an offset position other than 0.
supportsNativeOffset() - Method in class org.apache.torque.adapter.DBPostgres
This method is used to chek whether the database natively supports returning results starting at an offset position other than 0.

T

TABLE_ID - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified ID column name
TABLE_NAME - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified Table_Name column name
TABLE_NAME - Static variable in class org.apache.torque.util.BasePeer
Classes that implement this class should override this value.
TableMap - class org.apache.torque.map.TableMap.
TableMap is used to model a table in a database.
TableMap() - Constructor for class org.apache.torque.map.TableMap
Required by proxy.
TableMap(String, int, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
Constructor.
TableMap(String, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
Constructor.
TableMap(String, String, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
Constructor.
TooManyRowsException - exception org.apache.torque.TooManyRowsException.
This exception indicates that more rows were returned than expected.
TooManyRowsException() - Constructor for class org.apache.torque.TooManyRowsException
Constructs a new TorqueException without specified detail message.
TooManyRowsException(String) - Constructor for class org.apache.torque.TooManyRowsException
Constructs a new TorqueException with specified detail message.
TooManyRowsException(Throwable) - Constructor for class org.apache.torque.TooManyRowsException
Constructs a new TorqueException with specified nested Throwable.
TooManyRowsException(String, Throwable) - Constructor for class org.apache.torque.TooManyRowsException
Constructs a new TorqueException with specified detail message and nested Throwable.
Torque - class org.apache.torque.Torque.
A static facade wrapper around the Torque implementation (which is in TorqueInstance).
Torque() - Constructor for class org.apache.torque.Torque
C'tor for usage with the Stratum Lifecycle.
Torque - interface org.apache.torque.avalon.Torque.
Avalon role interface for Torque.
TorqueClassicDataSource - class org.apache.torque.pool.TorqueClassicDataSource.
Deprecated. as of version 3.1
TorqueClassicDataSource() - Constructor for class org.apache.torque.pool.TorqueClassicDataSource
Deprecated. Default no-arg constructor for Serialization
TorqueComponent - class org.apache.torque.avalon.TorqueComponent.
Avalon component for Torque.
TorqueComponent() - Constructor for class org.apache.torque.avalon.TorqueComponent
Creates a new instance.
TorqueComponent(TorqueInstance) - Constructor for class org.apache.torque.avalon.TorqueComponent
Creates a new instance.
TorqueDataSourceFactory - class org.apache.torque.dsfactory.TorqueDataSourceFactory.
Deprecated. as of version 3.1, use SharedPoolDataSourceFactory
TorqueDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated.  
TorqueException - exception org.apache.torque.TorqueException.
The base class of all exceptions thrown by Torque.
TorqueException() - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException without specified detail message.
TorqueException(String) - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException with specified detail message.
TorqueException(Throwable) - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException with specified nested Throwable.
TorqueException(String, Throwable) - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException with specified detail message and nested Throwable.
TorqueInstance - class org.apache.torque.TorqueInstance.
The core of Torque's implementation.
TorqueInstance() - Constructor for class org.apache.torque.TorqueInstance
Creates a new instance with default configuration.
TorqueRuntimeException - exception org.apache.torque.TorqueRuntimeException.
This is a base class of runtime exeptions thrown by Torque.
TorqueRuntimeException() - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException without specified detail message.
TorqueRuntimeException(String) - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException with specified detail message.
TorqueRuntimeException(Throwable) - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException with specified nested Throwable.
TorqueRuntimeException(String, Throwable) - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException with specified detail message and nested Throwable.
Transaction - class org.apache.torque.util.Transaction.
Refactored begin/commit/rollback transaction methods away from the BasePeer.
Transaction() - Constructor for class org.apache.torque.util.Transaction
 
toString() - Method in class org.apache.torque.manager.MethodCacheKey
 
toString() - Method in class org.apache.torque.om.ComboKey
A String that may consist of one section or multiple sections separated by a colon.
toString() - Method in class org.apache.torque.om.DateKey
get a String representation
toString() - Method in class org.apache.torque.om.NumberKey
Invokes the toString() method on the object.
toString() - Method in class org.apache.torque.om.StringKey
get a String representation
toString() - Method in class org.apache.torque.util.Criteria.Criterion
Build a string representation of the Criterion.
toString() - Method in class org.apache.torque.util.Criteria
Build a string representation of the Criteria.
toString() - Method in class org.apache.torque.util.LargeSelect
Provide something useful for debugging purposes.
toString() - Method in class org.apache.torque.util.Query
Outputs the query statement.
toString() - Method in class org.apache.torque.util.SqlEnum
 
toStringBuffer(StringBuffer) - Method in class org.apache.torque.util.Query
 
toUpperCase(String) - Method in class org.apache.torque.adapter.DB
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBAxion
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBCloudscape
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBDB2400
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBDB2App
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBDB2Net
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBInformix
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBInstantDB
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBInterbase
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBMM
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBNone
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBOdbc
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBOracle
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBPostgres
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBSapDB
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBSybase
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBWeblogic
This method is used to ignore case.

U

UCASE - Static variable in class org.apache.torque.adapter.DBDB2400
UpperCase/IgnoreCase sql function in DB2/400
UniqueList - class org.apache.torque.util.UniqueList.
List with unique entries.
UniqueList() - Constructor for class org.apache.torque.util.UniqueList
 
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DB
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBAxion
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBCloudscape
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2App
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2Net
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInformix
The method is used to unlock a table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInstantDB
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInterbase
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBMM
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBNone
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOdbc
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOracle
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBPostgres
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSapDB
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSybase
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBWeblogic
Unlocks the specified table.

V

VALID_ID_METHODS - Static variable in class org.apache.torque.map.TableMap
The list of valid ID generation methods.
validFields - Variable in class org.apache.torque.manager.AbstractBaseManager
 

A B C D E F G H I J K L M N O P Q R S T U V

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