Klasse BaseTorqueDynamicRolePermissionPeerImpl
java.lang.Object
org.apache.torque.util.BasePeerImpl<T>
org.apache.torque.util.AbstractPeerImpl<TorqueDynamicRolePermission>
org.apache.fulcrum.security.torque.om.BaseTorqueDynamicRolePermissionPeerImpl
- Alle implementierten Schnittstellen:
- Serializable
- Bekannte direkte Unterklassen:
- TorqueDynamicRolePermissionPeerImpl
public abstract class BaseTorqueDynamicRolePermissionPeerImpl
extends org.apache.torque.util.AbstractPeerImpl<TorqueDynamicRolePermission>
The skeleton for this class was autogenerated by Torque on:
 [Fri Nov 03 10:19:40 CET 2023]
 You should not use this class directly.  It should not even be
 extended; all references should be to TorqueDynamicRolePermissionPeer
- Siehe auch:
- 
KonstruktorübersichtKonstruktorenKonstruktorBeschreibungConstructor.BaseTorqueDynamicRolePermissionPeerImpl(org.apache.torque.om.mapper.RecordMapper<TorqueDynamicRolePermission> recordMapper, org.apache.torque.map.TableMap tableMap, String databaseName) Constructor providing the objects to be injected as parameters.
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungorg.apache.torque.util.ColumnValuesbuildColumnValues(TorqueDynamicRolePermission torqueDynamicRolePermission) Returns the contents of the object as ColumnValues object.org.apache.torque.criteria.CriteriabuildCriteria(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.CriteriaBuild a Criteria object from the data object for this peer.org.apache.torque.criteria.CriteriabuildCriteria(org.apache.torque.om.ObjectKey<?> pk) Build a Criteria object which selects all objects which have a given primary key.org.apache.torque.criteria.CriteriaBuild a Criteria object which selects all passed objects using their primary key.org.apache.torque.criteria.CriteriaBuild a Criteria object from the data object for this peer, skipping all binary columns.intdoDelete(Collection<TorqueDynamicRolePermission> objects) Deletes data objects, i.e. rows in a table, in the database.intdoDelete(Collection<TorqueDynamicRolePermission> objects, Connection con) Deletes data objects, i.e. rows in a table, in the database.intDeletes a data object, i.e. a row in a table, in the database.intdoDelete(TorqueDynamicRolePermission obj, Connection con) Deletes a data object, i.e. a row in a table, in the database.doSelectJoinTorqueDynamicPermission(org.apache.torque.criteria.Criteria criteria) Selects a collection of dbObjectClassName objects pre-filled with their TorqueDynamicPermission objects.doSelectJoinTorqueDynamicPermission(org.apache.torque.criteria.Criteria criteria, Connection conn) Selects a collection of TorqueDynamicRolePermission objects pre-filled with their TorqueDynamicPermission objects.doSelectJoinTorqueDynamicRole(org.apache.torque.criteria.Criteria criteria) Selects a collection of dbObjectClassName objects pre-filled with their TorqueDynamicRole objects.doSelectJoinTorqueDynamicRole(org.apache.torque.criteria.Criteria criteria, Connection conn) Selects a collection of TorqueDynamicRolePermission objects pre-filled with their TorqueDynamicRole objects.intdoUpdate(org.apache.torque.util.ColumnValues columnValues, Connection con) Method to do updates.Returns a new instance of the Data object classretrieveByObjectKeys(Collection<org.apache.torque.om.ObjectKey<?>> pks) Retrieve multiple objects by pk.retrieveByObjectKeys(Collection<org.apache.torque.om.ObjectKey<?>> pks, Connection dbcon) Retrieve multiple objects by pk.retrieveByPK(Integer roleId, Integer permissionId) retrieve object using using pk values.retrieveByPK(Integer roleId, Integer permissionId, Connection con) retrieve object using using pk values.retrieveByPK(org.apache.torque.om.ObjectKey<?> pk) Retrieve a single object by pkretrieveByPK(org.apache.torque.om.ObjectKey<?> pk, Connection con) Retrieve a single object by pkVon Klasse geerbte Methoden org.apache.torque.util.AbstractPeerImpldoDelete, doDelete, doInsert, doInsert, doInsert, doSelect, doSelectSingleRecord, doUpdate, doUpdateVon Klasse geerbte Methoden org.apache.torque.util.BasePeerImpladdSelectColumns, correctBooleans, correctBooleans, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelectAsStream, doSelectAsStream, doSelectAsStream, doSelectAsStream, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doUpdate, doUpdate, doUpdate, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, getDatabaseName, getRecordMapper, getTableMap, setDatabaseName, setDbName, setRecordMapper, setTableMap
- 
Konstruktordetails- 
BaseTorqueDynamicRolePermissionPeerImplpublic BaseTorqueDynamicRolePermissionPeerImpl()Constructor. The recordMapper, tableMap and databaseName fields are correctly initialized.
- 
BaseTorqueDynamicRolePermissionPeerImplpublic BaseTorqueDynamicRolePermissionPeerImpl(org.apache.torque.om.mapper.RecordMapper<TorqueDynamicRolePermission> recordMapper, org.apache.torque.map.TableMap tableMap, String databaseName) Constructor providing the objects to be injected as parameters.- Parameter:
- recordMapper- a record mapper to map JDBC result sets to objects
- tableMap- the default table map
- databaseName- the name of the database
 
 
- 
- 
Methodendetails- 
getDbObjectInstanceReturns a new instance of the Data object class
- 
doUpdatepublic int doUpdate(org.apache.torque.util.ColumnValues columnValues, Connection con) throws org.apache.torque.TorqueException Method to do updates. This method is to be used during a transaction, otherwise use the doUpdate(Criteria) method.- Setzt außer Kraft:
- doUpdatein Klasse- org.apache.torque.util.BasePeerImpl<TorqueDynamicRolePermission>
- Parameter:
- columnValues- the values to update plus the primary key identifying the row to update.
- con- the connection to use, not null.
- Gibt zurück:
- the number of affected rows.
- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
doDeleteDeletes a data object, i.e. a row in a table, in the database.- Parameter:
- obj- the data object to delete in the database, not null.
- Gibt zurück:
- the number of deleted rows.
- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
doDeletepublic int doDelete(TorqueDynamicRolePermission obj, Connection con) throws org.apache.torque.TorqueException Deletes a data object, i.e. a row in a table, in the database. This method is to be used during a transaction, otherwise use the doDelete(TorqueDynamicRolePermission) method.- Parameter:
- obj- the data object to delete in the database, not null.
- con- the connection to use, not null.
- Gibt zurück:
- the number of deleted rows.
- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
doDeletepublic int doDelete(Collection<TorqueDynamicRolePermission> objects) throws org.apache.torque.TorqueException Deletes data objects, i.e. rows in a table, in the database.- Parameter:
- objects- the data object to delete in the database, not null, may not contain null.
- Gibt zurück:
- the number of deleted rows.
- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
doDeletepublic int doDelete(Collection<TorqueDynamicRolePermission> objects, Connection con) throws org.apache.torque.TorqueException Deletes data objects, i.e. rows in a table, in the database. This method uses the passed connection to delete the rows; if a transaction is open in the connection, the deletion happens inside this transaction.- Parameter:
- objects- the data objects to delete in the database, not null, may not contain null.
- con- the connection to use for deleting, not null.
- Gibt zurück:
- the number of deleted rows.
- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
buildCriteriapublic 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.- Setzt außer Kraft:
- buildCriteriain Klasse- org.apache.torque.util.AbstractPeerImpl<TorqueDynamicRolePermission>
- Parameter:
- pk- the primary key value to build the criteria from, not null.
 
- 
buildCriteriapublic 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.- Parameter:
- pks- the primary key values to build the criteria from, not null, may not contain null.
 
- 
buildPkCriteriapublic org.apache.torque.criteria.Criteria buildPkCriteria(Collection<TorqueDynamicRolePermission> objects) Build a Criteria object which selects all passed objects using their primary key. Objects which do not yet have a primary key are ignored.- Parameter:
- objects- the objects to build the criteria from, not null, may not contain null.
 
- 
buildCriteriaBuild a Criteria object from the data object for this peer.- Angegeben von:
- buildCriteriain Klasse- org.apache.torque.util.AbstractPeerImpl<TorqueDynamicRolePermission>
- Parameter:
- obj- the object to build the criteria from, not null.
 
- 
buildSelectCriteriaBuild a Criteria object from the data object for this peer, skipping all binary columns.- Angegeben von:
- buildSelectCriteriain Klasse- org.apache.torque.util.AbstractPeerImpl<TorqueDynamicRolePermission>
- Parameter:
- obj- the object to build the criteria from, not null.
 
- 
buildColumnValuespublic org.apache.torque.util.ColumnValues buildColumnValues(TorqueDynamicRolePermission torqueDynamicRolePermission) throws org.apache.torque.TorqueException Returns the contents of the object as ColumnValues object. Primary key columns which are generated on insertion are not added to the returned object if they still have their initial value. Also, columns which have the useDatabaseDefaultValue flag set to true are also not added to the returned object if they still have their initial value.- Angegeben von:
- buildColumnValuesin Klasse- org.apache.torque.util.AbstractPeerImpl<TorqueDynamicRolePermission>
- Löst aus:
- org.apache.torque.TorqueException- if the table map cannot be retrieved (should not happen).
 
- 
retrieveByPKpublic TorqueDynamicRolePermission retrieveByPK(Integer roleId, Integer permissionId) throws org.apache.torque.TorqueException retrieve object using using pk values.- Parameter:
- roleId- Integer
- permissionId- Integer
- Löst aus:
- org.apache.torque.TorqueException
 
- 
retrieveByPKpublic TorqueDynamicRolePermission retrieveByPK(Integer roleId, Integer permissionId, Connection con) throws org.apache.torque.TorqueException retrieve object using using pk values.- Parameter:
- roleId- Integer
- permissionId- Integer
- con- Connection
- Löst aus:
- org.apache.torque.TorqueException
 
- 
retrieveByPKpublic TorqueDynamicRolePermission retrieveByPK(org.apache.torque.om.ObjectKey<?> pk) throws org.apache.torque.TorqueException, org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException Retrieve a single object by pk- Parameter:
- pk- the primary key
- Löst aus:
- org.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.
 
- 
retrieveByPKpublic TorqueDynamicRolePermission retrieveByPK(org.apache.torque.om.ObjectKey<?> pk, Connection con) throws org.apache.torque.TorqueException, org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException Retrieve a single object by pk- Parameter:
- pk- the primary key
- con- the connection to use
- Löst aus:
- org.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.
 
- 
retrieveByObjectKeyspublic List<TorqueDynamicRolePermission> retrieveByObjectKeys(Collection<org.apache.torque.om.ObjectKey<?>> pks) throws org.apache.torque.TorqueException Retrieve multiple objects by pk.- Parameter:
- pks- List of primary keys. Entries in pks which do not match entries in the database are ignored.
- Gibt zurück:
- the list of matching objects, not null.
- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
retrieveByObjectKeyspublic List<TorqueDynamicRolePermission> retrieveByObjectKeys(Collection<org.apache.torque.om.ObjectKey<?>> pks, Connection dbcon) throws org.apache.torque.TorqueException Retrieve multiple objects by pk.- Parameter:
- pks- List of primary keys. Entries in pks which do not match entries in the database are ignored.
- dbcon- the connection to use
- Gibt zurück:
- the list of matching objects, not null.
- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
doSelectJoinTorqueDynamicRolepublic List<TorqueDynamicRolePermission> doSelectJoinTorqueDynamicRole(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException Selects a collection of dbObjectClassName objects pre-filled with their TorqueDynamicRole objects.- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
doSelectJoinTorqueDynamicRolepublic List<TorqueDynamicRolePermission> doSelectJoinTorqueDynamicRole(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException Selects a collection of TorqueDynamicRolePermission objects pre-filled with their TorqueDynamicRole objects.- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
doSelectJoinTorqueDynamicPermissionpublic List<TorqueDynamicRolePermission> doSelectJoinTorqueDynamicPermission(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException Selects a collection of dbObjectClassName objects pre-filled with their TorqueDynamicPermission objects.- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
- 
doSelectJoinTorqueDynamicPermissionpublic List<TorqueDynamicRolePermission> doSelectJoinTorqueDynamicPermission(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException Selects a collection of TorqueDynamicRolePermission objects pre-filled with their TorqueDynamicPermission objects.- Löst aus:
- org.apache.torque.TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
 
 
-