public abstract class BaseTorqueDynamicGroupRolePeerImpl extends org.apache.torque.util.BasePeerImpl<TorqueDynamicGroupRole>
Constructor and Description |
---|
BaseTorqueDynamicGroupRolePeerImpl()
Constructor.
|
BaseTorqueDynamicGroupRolePeerImpl(org.apache.torque.om.mapper.RecordMapper<TorqueDynamicGroupRole> 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(TorqueDynamicGroupRole torqueDynamicGroupRole)
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(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 |
buildCriteria(TorqueDynamicGroupRole obj)
Build a Criteria object from the data object for this peer.
|
org.apache.torque.criteria.Criteria |
buildPkCriteria(Collection<TorqueDynamicGroupRole> objects)
Build a Criteria object which selects all passed objects using their
primary key.
|
org.apache.torque.criteria.Criteria |
buildSelectCriteria(TorqueDynamicGroupRole obj)
Build a Criteria object from the data object for this peer,
skipping all binary columns.
|
int |
doDelete(Collection<TorqueDynamicGroupRole> objects)
Deletes data objects, i.e. rows in a table, in the database.
|
int |
doDelete(Collection<TorqueDynamicGroupRole> objects,
Connection con)
Deletes data objects, i.e. rows 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.
|
int |
doDelete(TorqueDynamicGroupRole obj)
Deletes a data object, i.e. a row in a table, in the database.
|
int |
doDelete(TorqueDynamicGroupRole obj,
Connection con)
Deletes a data object, i.e. a row in a table, 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(TorqueDynamicGroupRole obj)
Method to do inserts
|
void |
doInsert(TorqueDynamicGroupRole obj,
Connection con)
Method to do inserts.
|
List<TorqueDynamicGroupRole> |
doSelect(TorqueDynamicGroupRole obj)
Selects TorqueDynamicGroupRole objects from the database which have
the same content as the passed object.
|
List<TorqueDynamicGroupRole> |
doSelectJoinTorqueDynamicGroup(org.apache.torque.criteria.Criteria criteria)
Selects a collection of dbObjectClassName objects pre-filled with their
TorqueDynamicGroup objects.
|
List<TorqueDynamicGroupRole> |
doSelectJoinTorqueDynamicGroup(org.apache.torque.criteria.Criteria criteria,
Connection conn)
Selects a collection of TorqueDynamicGroupRole objects pre-filled with their
TorqueDynamicGroup objects.
|
List<TorqueDynamicGroupRole> |
doSelectJoinTorqueDynamicRole(org.apache.torque.criteria.Criteria criteria)
Selects a collection of dbObjectClassName objects pre-filled with their
TorqueDynamicRole objects.
|
List<TorqueDynamicGroupRole> |
doSelectJoinTorqueDynamicRole(org.apache.torque.criteria.Criteria criteria,
Connection conn)
Selects a collection of TorqueDynamicGroupRole objects pre-filled with their
TorqueDynamicRole objects.
|
TorqueDynamicGroupRole |
doSelectSingleRecord(TorqueDynamicGroupRole obj)
Selects at most one TorqueDynamicGroupRole 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(TorqueDynamicGroupRole obj)
Updates an TorqueDynamicGroupRole in the database.
|
int |
doUpdate(TorqueDynamicGroupRole obj,
Connection con)
Updates a TorqueDynamicGroupRole in the database.
|
TorqueDynamicGroupRole |
getDbObjectInstance()
Returns a new instance of the Data object class
|
TorqueDynamicGroupRole |
retrieveByPK(Integer groupId,
Integer roleId)
retrieve object using using pk values.
|
TorqueDynamicGroupRole |
retrieveByPK(Integer groupId,
Integer roleId,
Connection con)
retrieve object using using pk values.
|
TorqueDynamicGroupRole |
retrieveByPK(org.apache.torque.om.ObjectKey pk)
Retrieve a single object by pk
|
TorqueDynamicGroupRole |
retrieveByPK(org.apache.torque.om.ObjectKey pk,
Connection con)
Retrieve a single object by pk
|
List<TorqueDynamicGroupRole> |
retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks)
Retrieve a multiple objects by pk
|
List<TorqueDynamicGroupRole> |
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 BaseTorqueDynamicGroupRolePeerImpl()
public BaseTorqueDynamicGroupRolePeerImpl(org.apache.torque.om.mapper.RecordMapper<TorqueDynamicGroupRole> 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<TorqueDynamicGroupRole> doSelect(TorqueDynamicGroupRole obj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public TorqueDynamicGroupRole doSelectSingleRecord(TorqueDynamicGroupRole obj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public TorqueDynamicGroupRole 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<TorqueDynamicGroupRole>
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<TorqueDynamicGroupRole>
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(TorqueDynamicGroupRole 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(TorqueDynamicGroupRole 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<TorqueDynamicGroupRole>
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<TorqueDynamicGroupRole>
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(TorqueDynamicGroupRole 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(TorqueDynamicGroupRole 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(TorqueDynamicGroupRole 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(TorqueDynamicGroupRole 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<TorqueDynamicGroupRole> 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<TorqueDynamicGroupRole> 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<TorqueDynamicGroupRole> objects)
objects
- the objects to build the criteria from, not null,
may not contain null.public org.apache.torque.criteria.Criteria buildCriteria(TorqueDynamicGroupRole obj)
obj
- the object to build the criteria from, not null.public org.apache.torque.criteria.Criteria buildSelectCriteria(TorqueDynamicGroupRole obj)
obj
- the object to build the criteria from, not null.public org.apache.torque.util.ColumnValues buildColumnValues(TorqueDynamicGroupRole torqueDynamicGroupRole) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- if the table map cannot be retrieved
(should not happen).public TorqueDynamicGroupRole retrieveByPK(Integer groupId, Integer roleId) throws org.apache.torque.TorqueException
groupId
- IntegerroleId
- Integerorg.apache.torque.TorqueException
public TorqueDynamicGroupRole retrieveByPK(Integer groupId, Integer roleId, Connection con) throws org.apache.torque.TorqueException
groupId
- IntegerroleId
- Integercon
- Connectionorg.apache.torque.TorqueException
public TorqueDynamicGroupRole 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 TorqueDynamicGroupRole 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<TorqueDynamicGroupRole> 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<TorqueDynamicGroupRole> 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.public List<TorqueDynamicGroupRole> doSelectJoinTorqueDynamicGroup(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public List<TorqueDynamicGroupRole> doSelectJoinTorqueDynamicGroup(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public List<TorqueDynamicGroupRole> doSelectJoinTorqueDynamicRole(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public List<TorqueDynamicGroupRole> doSelectJoinTorqueDynamicRole(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.