public abstract class BaseJobEntryTorquePeerImpl extends org.apache.torque.util.BasePeerImpl<JobEntryTorque>
Constructor and Description |
---|
BaseJobEntryTorquePeerImpl()
Constructor.
|
BaseJobEntryTorquePeerImpl(org.apache.torque.om.mapper.RecordMapper<JobEntryTorque> recordMapper,
org.apache.torque.map.TableMap tableMap,
String databaseName)
Constructor providing the objects to be injected as parameters.
|
Modifier and Type | Method and Description |
---|---|
org.apache.torque.util.ColumnValues |
buildColumnValues(JobEntryTorque jobEntryTorque)
Returns the contents of the object as ColumnValues object.
|
org.apache.torque.criteria.Criteria |
buildCriteria(Collection<org.apache.torque.om.ObjectKey> pks)
Build a Criteria object which selects all objects which primary keys
are contained in the passed collection.
|
org.apache.torque.criteria.Criteria |
buildCriteria(JobEntryTorque obj)
Build a Criteria object from the data object for this peer.
|
org.apache.torque.criteria.Criteria |
buildCriteria(org.apache.torque.om.ObjectKey pk)
Build a Criteria object which selects all objects which have a given
primary key.
|
org.apache.torque.criteria.Criteria |
buildPkCriteria(Collection<JobEntryTorque> objects)
Build a Criteria object which selects all passed objects using their
primary key.
|
org.apache.torque.criteria.Criteria |
buildSelectCriteria(JobEntryTorque obj)
Build a Criteria object from the data object for this peer,
skipping all binary columns.
|
int |
doDelete(Collection<JobEntryTorque> objects)
Deletes data objects, i.e. rows in a table, in the database.
|
int |
doDelete(Collection<JobEntryTorque> objects,
Connection con)
Deletes data objects, i.e. rows in a table, in the database.
|
int |
doDelete(JobEntryTorque obj)
Deletes a data object, i.e. a row in a table, in the database.
|
int |
doDelete(JobEntryTorque obj,
Connection con)
Deletes a data object, i.e. a row in a table, in the database.
|
int |
doDelete(org.apache.torque.om.ObjectKey pk)
Deletes a row in the database.
|
int |
doDelete(org.apache.torque.om.ObjectKey pk,
Connection con)
Deletes a row in the database.
|
org.apache.torque.om.ObjectKey |
doInsert(org.apache.torque.util.ColumnValues columnValues)
Method to do inserts.
|
org.apache.torque.om.ObjectKey |
doInsert(org.apache.torque.util.ColumnValues columnValues,
Connection con)
Method to do inserts.
|
void |
doInsert(JobEntryTorque obj)
Method to do inserts
|
void |
doInsert(JobEntryTorque obj,
Connection con)
Method to do inserts.
|
List<JobEntryTorque> |
doSelect(JobEntryTorque obj)
Selects JobEntryTorque objects from the database which have
the same content as the passed object.
|
JobEntryTorque |
doSelectSingleRecord(JobEntryTorque obj)
Selects at most one JobEntryTorque object from the database
which has the same content as the passed object.
|
int |
doUpdate(org.apache.torque.util.ColumnValues columnValues)
Method to do updates.
|
int |
doUpdate(org.apache.torque.util.ColumnValues columnValues,
Connection con)
Method to do updates.
|
int |
doUpdate(JobEntryTorque obj)
Updates an JobEntryTorque in the database.
|
int |
doUpdate(JobEntryTorque obj,
Connection con)
Updates a JobEntryTorque in the database.
|
JobEntryTorque |
getDbObjectInstance()
Returns a new instance of the Data object class
|
JobEntryTorque |
retrieveByPK(int pk)
Retrieve a single object by pk
|
JobEntryTorque |
retrieveByPK(int pk,
Connection con)
Retrieve a single object by pk
|
JobEntryTorque |
retrieveByPK(org.apache.torque.om.ObjectKey pk)
Retrieve a single object by pk
|
JobEntryTorque |
retrieveByPK(org.apache.torque.om.ObjectKey pk,
Connection con)
Retrieve a single object by pk
|
List<JobEntryTorque> |
retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks)
Retrieve a multiple objects by pk
|
List<JobEntryTorque> |
retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks,
Connection dbcon)
Retrieve multiple objects by pk
|
addSelectColumns, addSelectColumns, correctBooleans, correctBooleans, correctBooleans, deleteAll, deleteAll, doDelete, doDelete, doDelete, doDelete, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doUpdate, doUpdate, doUpdate, doUpdate, executeStatement, executeStatement, executeStatement, executeStatement, getDatabaseName, getRecordMapper, getTableMap, initCriteriaKeys, setDatabaseName, setDbName, setDbName, setRecordMapper, setTableMap
public BaseJobEntryTorquePeerImpl()
public BaseJobEntryTorquePeerImpl(org.apache.torque.om.mapper.RecordMapper<JobEntryTorque> recordMapper, org.apache.torque.map.TableMap tableMap, String databaseName)
recordMapper
- a record mapper to map JDBC result sets to objectstableMap
- the default table mapdatabaseName
- the name of the databasepublic List<JobEntryTorque> doSelect(JobEntryTorque obj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public JobEntryTorque doSelectSingleRecord(JobEntryTorque obj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public JobEntryTorque getDbObjectInstance()
public org.apache.torque.om.ObjectKey doInsert(org.apache.torque.util.ColumnValues columnValues) throws org.apache.torque.TorqueException
doInsert
in class org.apache.torque.util.BasePeerImpl<JobEntryTorque>
columnValues
- the values to insert.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public org.apache.torque.om.ObjectKey doInsert(org.apache.torque.util.ColumnValues columnValues, Connection con) throws org.apache.torque.TorqueException
doInsert
in class org.apache.torque.util.BasePeerImpl<JobEntryTorque>
columnValues
- the values to insert.con
- the connection to use, not null.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public void doInsert(JobEntryTorque obj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public void doInsert(JobEntryTorque obj, Connection con) throws org.apache.torque.TorqueException
obj
- the data object to insert into the database.con
- the connection to useorg.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doUpdate(org.apache.torque.util.ColumnValues columnValues) throws org.apache.torque.TorqueException
doUpdate
in class org.apache.torque.util.BasePeerImpl<JobEntryTorque>
columnValues
- the values to update plus the primary key
identifying the row to update.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doUpdate(org.apache.torque.util.ColumnValues columnValues, Connection con) throws org.apache.torque.TorqueException
doUpdate
in class org.apache.torque.util.BasePeerImpl<JobEntryTorque>
columnValues
- the values to update plus the primary key
identifying the row to update.con
- the connection to use, not null.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doUpdate(JobEntryTorque obj) throws org.apache.torque.TorqueException
obj
- the data object to update in the database.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doUpdate(JobEntryTorque obj, Connection con) throws org.apache.torque.TorqueException
obj
- the data object to update in the database.con
- the connection to use, not null.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doDelete(JobEntryTorque obj) throws org.apache.torque.TorqueException
obj
- the data object to delete in the database, not null.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doDelete(JobEntryTorque obj, Connection con) throws org.apache.torque.TorqueException
obj
- the data object to delete in the database, not null.con
- the connection to use, not null.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doDelete(Collection<JobEntryTorque> objects) throws org.apache.torque.TorqueException
objects
- the data object to delete in the database, not null,
may not contain null.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doDelete(Collection<JobEntryTorque> objects, Connection con) throws org.apache.torque.TorqueException
objects
- the data objects to delete in the database, not null,
may not contain null.con
- the connection to use for deleting, not null.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doDelete(org.apache.torque.om.ObjectKey pk) throws org.apache.torque.TorqueException
pk
- the ObjectKey that identifies the row to delete.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public int doDelete(org.apache.torque.om.ObjectKey pk, Connection con) throws org.apache.torque.TorqueException
pk
- the ObjectKey that identifies the row to delete.con
- the connection to use for deleting, not null.org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public org.apache.torque.criteria.Criteria buildCriteria(org.apache.torque.om.ObjectKey pk)
pk
- the primary key value to build the criteria from, not null.public org.apache.torque.criteria.Criteria buildCriteria(Collection<org.apache.torque.om.ObjectKey> pks)
pks
- the primary key values to build the criteria from, not null,
may not contain null.public org.apache.torque.criteria.Criteria buildPkCriteria(Collection<JobEntryTorque> objects)
objects
- the objects to build the criteria from, not null,
may not contain null.public org.apache.torque.criteria.Criteria buildCriteria(JobEntryTorque obj)
obj
- the object to build the criteria from, not null.public org.apache.torque.criteria.Criteria buildSelectCriteria(JobEntryTorque obj)
obj
- the object to build the criteria from, not null.public org.apache.torque.util.ColumnValues buildColumnValues(JobEntryTorque jobEntryTorque) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- if the table map cannot be retrieved
(should not happen).public JobEntryTorque retrieveByPK(int pk) throws org.apache.torque.TorqueException, org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException
pk
- the primary keyorg.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.org.apache.torque.NoRowsException
- Primary key was not found in database.org.apache.torque.TooManyRowsException
- Primary key was not found in database.public JobEntryTorque retrieveByPK(int pk, Connection con) throws org.apache.torque.TorqueException, org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException
pk
- the primary keycon
- the connection to useorg.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.org.apache.torque.NoRowsException
- Primary key was not found in database.org.apache.torque.TooManyRowsException
- Primary key was not found in database.public JobEntryTorque retrieveByPK(org.apache.torque.om.ObjectKey pk) throws org.apache.torque.TorqueException, org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException
pk
- the primary keyorg.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.org.apache.torque.NoRowsException
- Primary key was not found in database.org.apache.torque.TooManyRowsException
- Primary key was not found in database.public JobEntryTorque retrieveByPK(org.apache.torque.om.ObjectKey pk, Connection con) throws org.apache.torque.TorqueException, org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException
pk
- the primary keycon
- the connection to useorg.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.org.apache.torque.NoRowsException
- Primary key was not found in database.org.apache.torque.TooManyRowsException
- Primary key was not found in database.public List<JobEntryTorque> retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks) throws org.apache.torque.TorqueException
pks
- List of primary keysorg.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public List<JobEntryTorque> retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks, Connection dbcon) throws org.apache.torque.TorqueException
pks
- List of primary keysdbcon
- the connection to useorg.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.