public abstract class BaseTorqueDynamicRolePeerImpl extends org.apache.torque.util.BasePeerImpl<TorqueDynamicRole>
Constructor and Description |
---|
BaseTorqueDynamicRolePeerImpl()
Constructor.
|
BaseTorqueDynamicRolePeerImpl(org.apache.torque.om.mapper.RecordMapper<TorqueDynamicRole> 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(TorqueDynamicRole torqueDynamicRole)
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(TorqueDynamicRole obj)
Build a Criteria object from the data object for this peer.
|
org.apache.torque.criteria.Criteria |
buildPkCriteria(Collection<TorqueDynamicRole> objects)
Build a Criteria object which selects all passed objects using their
primary key.
|
org.apache.torque.criteria.Criteria |
buildSelectCriteria(TorqueDynamicRole obj)
Build a Criteria object from the data object for this peer,
skipping all binary columns.
|
int |
doDelete(Collection<TorqueDynamicRole> objects)
Deletes data objects, i.e. rows in a table, in the database.
|
int |
doDelete(Collection<TorqueDynamicRole> 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(TorqueDynamicRole obj)
Deletes a data object, i.e. a row in a table, in the database.
|
int |
doDelete(TorqueDynamicRole 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(TorqueDynamicRole obj)
Method to do inserts
|
void |
doInsert(TorqueDynamicRole obj,
Connection con)
Method to do inserts.
|
List<TorqueDynamicRole> |
doSelect(TorqueDynamicRole obj)
Selects TorqueDynamicRole objects from the database which have
the same content as the passed object.
|
TorqueDynamicRole |
doSelectSingleRecord(TorqueDynamicRole obj)
Selects at most one TorqueDynamicRole 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(TorqueDynamicRole obj)
Updates an TorqueDynamicRole in the database.
|
int |
doUpdate(TorqueDynamicRole obj,
Connection con)
Updates a TorqueDynamicRole in the database.
|
TorqueDynamicRole |
getDbObjectInstance()
Returns a new instance of the Data object class
|
TorqueDynamicRole |
retrieveByPK(Integer pk)
Retrieve a single object by pk
|
TorqueDynamicRole |
retrieveByPK(Integer pk,
Connection con)
Retrieve a single object by pk
|
TorqueDynamicRole |
retrieveByPK(org.apache.torque.om.ObjectKey pk)
Retrieve a single object by pk
|
TorqueDynamicRole |
retrieveByPK(org.apache.torque.om.ObjectKey pk,
Connection con)
Retrieve a single object by pk
|
List<TorqueDynamicRole> |
retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks)
Retrieve a multiple objects by pk
|
List<TorqueDynamicRole> |
retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks,
Connection dbcon)
Retrieve multiple objects by pk
|
void |
setAndSaveTorqueDynamicGroupRoles(TorqueDynamicRole toLinkTo,
Collection<TorqueDynamicGroupRole> toSave)
Saves the passed collection as linked objects.
|
void |
setAndSaveTorqueDynamicGroupRoles(TorqueDynamicRole toLinkTo,
Collection<TorqueDynamicGroupRole> toSave,
Connection connection)
Saves the passed collection as linked objects.
|
void |
setAndSaveTorqueDynamicRolePermissions(TorqueDynamicRole toLinkTo,
Collection<TorqueDynamicRolePermission> toSave)
Saves the passed collection as linked objects.
|
void |
setAndSaveTorqueDynamicRolePermissions(TorqueDynamicRole toLinkTo,
Collection<TorqueDynamicRolePermission> toSave,
Connection connection)
Saves the passed collection as linked objects.
|
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 BaseTorqueDynamicRolePeerImpl()
public BaseTorqueDynamicRolePeerImpl(org.apache.torque.om.mapper.RecordMapper<TorqueDynamicRole> 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<TorqueDynamicRole> doSelect(TorqueDynamicRole obj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public TorqueDynamicRole doSelectSingleRecord(TorqueDynamicRole obj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.public TorqueDynamicRole 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<TorqueDynamicRole>
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<TorqueDynamicRole>
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(TorqueDynamicRole 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(TorqueDynamicRole 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<TorqueDynamicRole>
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<TorqueDynamicRole>
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(TorqueDynamicRole 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(TorqueDynamicRole 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(TorqueDynamicRole 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(TorqueDynamicRole 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<TorqueDynamicRole> 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<TorqueDynamicRole> 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<TorqueDynamicRole> objects)
objects
- the objects to build the criteria from, not null,
may not contain null.public org.apache.torque.criteria.Criteria buildCriteria(TorqueDynamicRole obj)
obj
- the object to build the criteria from, not null.public org.apache.torque.criteria.Criteria buildSelectCriteria(TorqueDynamicRole obj)
obj
- the object to build the criteria from, not null.public org.apache.torque.util.ColumnValues buildColumnValues(TorqueDynamicRole torqueDynamicRole) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
- if the table map cannot be retrieved
(should not happen).public TorqueDynamicRole retrieveByPK(Integer 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 TorqueDynamicRole retrieveByPK(Integer 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 TorqueDynamicRole 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 TorqueDynamicRole 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<TorqueDynamicRole> 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<TorqueDynamicRole> 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 void setAndSaveTorqueDynamicRolePermissions(TorqueDynamicRole toLinkTo, Collection<TorqueDynamicRolePermission> toSave) throws org.apache.torque.TorqueException
toLinkTo
- the object which collections should be set with the
values in toSave.toSave
- Contains the objects to save, not null,
may not contain null.org.apache.torque.TorqueException
- if an error accessing the database occurs.NullPointerException
- if toFill is null or contains null elements.public void setAndSaveTorqueDynamicRolePermissions(TorqueDynamicRole toLinkTo, Collection<TorqueDynamicRolePermission> toSave, Connection connection) throws org.apache.torque.TorqueException
toLinkTo
- the object which collections should be set with the
values in toSave.toSave
- Contains the objects to save, not null,
may not contain null.connection
- the database connection to use.org.apache.torque.TorqueException
- if an error accessing the database occurs.NullPointerException
- if toFill is null or contains null elements.public void setAndSaveTorqueDynamicGroupRoles(TorqueDynamicRole toLinkTo, Collection<TorqueDynamicGroupRole> toSave) throws org.apache.torque.TorqueException
toLinkTo
- the object which collections should be set with the
values in toSave.toSave
- Contains the objects to save, not null,
may not contain null.org.apache.torque.TorqueException
- if an error accessing the database occurs.NullPointerException
- if toFill is null or contains null elements.public void setAndSaveTorqueDynamicGroupRoles(TorqueDynamicRole toLinkTo, Collection<TorqueDynamicGroupRole> toSave, Connection connection) throws org.apache.torque.TorqueException
toLinkTo
- the object which collections should be set with the
values in toSave.toSave
- Contains the objects to save, not null,
may not contain null.connection
- the database connection to use.org.apache.torque.TorqueException
- if an error accessing the database occurs.NullPointerException
- if toFill is null or contains null elements.Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.