Class BaseTurbineUserGroupRolePeerImpl
- java.lang.Object
-
- org.apache.torque.util.BasePeerImpl<T>
-
- org.apache.torque.util.AbstractPeerImpl<TurbineUserGroupRole>
-
- org.apache.fulcrum.security.torque.om.BaseTurbineUserGroupRolePeerImpl
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TurbineUserGroupRolePeerImpl
public abstract class BaseTurbineUserGroupRolePeerImpl extends org.apache.torque.util.AbstractPeerImpl<TurbineUserGroupRole>
The skeleton for this class was autogenerated by Torque on: [Thu Nov 04 13:34:23 CET 2021] You should not use this class directly. It should not even be extended; all references should be to TurbineUserGroupRolePeer- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseTurbineUserGroupRolePeerImpl()
Constructor.BaseTurbineUserGroupRolePeerImpl(org.apache.torque.om.mapper.RecordMapper<TurbineUserGroupRole> recordMapper, org.apache.torque.map.TableMap tableMap, String databaseName)
Constructor providing the objects to be injected as parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.torque.util.ColumnValues
buildColumnValues(TurbineUserGroupRole turbineUserGroupRole)
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(TurbineUserGroupRole 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<TurbineUserGroupRole> objects)
Build a Criteria object which selects all passed objects using their primary key.org.apache.torque.criteria.Criteria
buildSelectCriteria(TurbineUserGroupRole obj)
Build a Criteria object from the data object for this peer, skipping all binary columns.int
doDelete(Collection<TurbineUserGroupRole> objects)
Deletes data objects, i.e. rows in a table, in the database.int
doDelete(Collection<TurbineUserGroupRole> objects, Connection con)
Deletes data objects, i.e. rows in a table, in the database.int
doDelete(TurbineUserGroupRole obj)
Deletes a data object, i.e. a row in a table, in the database.int
doDelete(TurbineUserGroupRole obj, Connection con)
Deletes a data object, i.e. a row in a table, in the database.protected List<TurbineUserGroupRole>
doSelectJoinAllExceptTurbineGroup(org.apache.torque.criteria.Criteria criteria)
selects a collection of TurbineUserGroupRole objects pre-filled with all related objects.protected List<TurbineUserGroupRole>
doSelectJoinAllExceptTurbineGroup(org.apache.torque.criteria.Criteria criteria, Connection conn)
selects a collection of TurbineUserGroupRole objects pre-filled with related objects.protected List<TurbineUserGroupRole>
doSelectJoinAllExceptTurbineRole(org.apache.torque.criteria.Criteria criteria)
selects a collection of TurbineUserGroupRole objects pre-filled with all related objects.protected List<TurbineUserGroupRole>
doSelectJoinAllExceptTurbineRole(org.apache.torque.criteria.Criteria criteria, Connection conn)
selects a collection of TurbineUserGroupRole objects pre-filled with related objects.protected List<TurbineUserGroupRole>
doSelectJoinAllExceptTurbineUser(org.apache.torque.criteria.Criteria criteria)
selects a collection of TurbineUserGroupRole objects pre-filled with all related objects.protected List<TurbineUserGroupRole>
doSelectJoinAllExceptTurbineUser(org.apache.torque.criteria.Criteria criteria, Connection conn)
selects a collection of TurbineUserGroupRole objects pre-filled with related objects.List<TurbineUserGroupRole>
doSelectJoinTurbineGroup(org.apache.torque.criteria.Criteria criteria)
Selects a collection of dbObjectClassName objects pre-filled with their TurbineGroup objects.List<TurbineUserGroupRole>
doSelectJoinTurbineGroup(org.apache.torque.criteria.Criteria criteria, Connection conn)
Selects a collection of TurbineUserGroupRole objects pre-filled with their TurbineGroup objects.List<TurbineUserGroupRole>
doSelectJoinTurbineRole(org.apache.torque.criteria.Criteria criteria)
Selects a collection of dbObjectClassName objects pre-filled with their TurbineRole objects.List<TurbineUserGroupRole>
doSelectJoinTurbineRole(org.apache.torque.criteria.Criteria criteria, Connection conn)
Selects a collection of TurbineUserGroupRole objects pre-filled with their TurbineRole objects.List<TurbineUserGroupRole>
doSelectJoinTurbineUser(org.apache.torque.criteria.Criteria criteria)
Selects a collection of dbObjectClassName objects pre-filled with their TurbineUser objects.List<TurbineUserGroupRole>
doSelectJoinTurbineUser(org.apache.torque.criteria.Criteria criteria, Connection conn)
Selects a collection of TurbineUserGroupRole objects pre-filled with their TurbineUser objects.int
doUpdate(org.apache.torque.util.ColumnValues columnValues, Connection con)
Method to do updates.TurbineUserGroupRole
getDbObjectInstance()
Returns a new instance of the Data object classList<TurbineUserGroupRole>
retrieveByObjectKeys(Collection<org.apache.torque.om.ObjectKey<?>> pks)
Retrieve multiple objects by pk.List<TurbineUserGroupRole>
retrieveByObjectKeys(Collection<org.apache.torque.om.ObjectKey<?>> pks, Connection dbcon)
Retrieve multiple objects by pk.TurbineUserGroupRole
retrieveByPK(Integer userId, Integer groupId, Integer roleId)
retrieve object using using pk values.TurbineUserGroupRole
retrieveByPK(Integer userId, Integer groupId, Integer roleId, Connection con)
retrieve object using using pk values.TurbineUserGroupRole
retrieveByPK(org.apache.torque.om.ObjectKey<?> pk)
Retrieve a single object by pkTurbineUserGroupRole
retrieveByPK(org.apache.torque.om.ObjectKey<?> pk, Connection con)
Retrieve a single object by pk-
Methods inherited from class org.apache.torque.util.AbstractPeerImpl
doDelete, doDelete, doInsert, doInsert, doInsert, doSelect, doSelectSingleRecord, doUpdate, doUpdate
-
Methods inherited from class org.apache.torque.util.BasePeerImpl
addSelectColumns, 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
-
-
-
-
Constructor Detail
-
BaseTurbineUserGroupRolePeerImpl
public BaseTurbineUserGroupRolePeerImpl()
Constructor. The recordMapper, tableMap and databaseName fields are correctly initialized.
-
BaseTurbineUserGroupRolePeerImpl
public BaseTurbineUserGroupRolePeerImpl(org.apache.torque.om.mapper.RecordMapper<TurbineUserGroupRole> recordMapper, org.apache.torque.map.TableMap tableMap, String databaseName)
Constructor providing the objects to be injected as parameters.- Parameters:
recordMapper
- a record mapper to map JDBC result sets to objectstableMap
- the default table mapdatabaseName
- the name of the database
-
-
Method Detail
-
getDbObjectInstance
public TurbineUserGroupRole getDbObjectInstance()
Returns a new instance of the Data object class
-
doUpdate
public 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.- Overrides:
doUpdate
in classorg.apache.torque.util.BasePeerImpl<TurbineUserGroupRole>
- Parameters:
columnValues
- the values to update plus the primary key identifying the row to update.con
- the connection to use, not null.- Returns:
- the number of affected rows.
- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doDelete
public int doDelete(TurbineUserGroupRole obj) throws org.apache.torque.TorqueException
Deletes a data object, i.e. a row in a table, in the database.- Parameters:
obj
- the data object to delete in the database, not null.- Returns:
- the number of deleted rows.
- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doDelete
public int doDelete(TurbineUserGroupRole 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(TurbineUserGroupRole) method.- Parameters:
obj
- the data object to delete in the database, not null.con
- the connection to use, not null.- Returns:
- the number of deleted rows.
- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doDelete
public int doDelete(Collection<TurbineUserGroupRole> objects) throws org.apache.torque.TorqueException
Deletes data objects, i.e. rows in a table, in the database.- Parameters:
objects
- the data object to delete in the database, not null, may not contain null.- Returns:
- the number of deleted rows.
- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doDelete
public int doDelete(Collection<TurbineUserGroupRole> 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.- Parameters:
objects
- the data objects to delete in the database, not null, may not contain null.con
- the connection to use for deleting, not null.- Returns:
- the number of deleted rows.
- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
buildCriteria
public 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.- Overrides:
buildCriteria
in classorg.apache.torque.util.AbstractPeerImpl<TurbineUserGroupRole>
- Parameters:
pk
- the primary key value to build the criteria from, not null.
-
buildCriteria
public 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.- Parameters:
pks
- the primary key values to build the criteria from, not null, may not contain null.
-
buildPkCriteria
public org.apache.torque.criteria.Criteria buildPkCriteria(Collection<TurbineUserGroupRole> 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.- Parameters:
objects
- the objects to build the criteria from, not null, may not contain null.
-
buildCriteria
public org.apache.torque.criteria.Criteria buildCriteria(TurbineUserGroupRole obj)
Build a Criteria object from the data object for this peer.- Specified by:
buildCriteria
in classorg.apache.torque.util.AbstractPeerImpl<TurbineUserGroupRole>
- Parameters:
obj
- the object to build the criteria from, not null.
-
buildSelectCriteria
public org.apache.torque.criteria.Criteria buildSelectCriteria(TurbineUserGroupRole obj)
Build a Criteria object from the data object for this peer, skipping all binary columns.- Specified by:
buildSelectCriteria
in classorg.apache.torque.util.AbstractPeerImpl<TurbineUserGroupRole>
- Parameters:
obj
- the object to build the criteria from, not null.
-
buildColumnValues
public org.apache.torque.util.ColumnValues buildColumnValues(TurbineUserGroupRole turbineUserGroupRole) 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.- Specified by:
buildColumnValues
in classorg.apache.torque.util.AbstractPeerImpl<TurbineUserGroupRole>
- Throws:
org.apache.torque.TorqueException
- if the table map cannot be retrieved (should not happen).
-
retrieveByPK
public TurbineUserGroupRole retrieveByPK(Integer userId, Integer groupId, Integer roleId) throws org.apache.torque.TorqueException
retrieve object using using pk values.- Parameters:
userId
- IntegergroupId
- IntegerroleId
- Integer- Throws:
org.apache.torque.TorqueException
-
retrieveByPK
public TurbineUserGroupRole retrieveByPK(Integer userId, Integer groupId, Integer roleId, Connection con) throws org.apache.torque.TorqueException
retrieve object using using pk values.- Parameters:
userId
- IntegergroupId
- IntegerroleId
- Integercon
- Connection- Throws:
org.apache.torque.TorqueException
-
retrieveByPK
public TurbineUserGroupRole 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- Parameters:
pk
- the primary key- Throws:
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.
-
retrieveByPK
public TurbineUserGroupRole 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- Parameters:
pk
- the primary keycon
- the connection to use- Throws:
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.
-
retrieveByObjectKeys
public List<TurbineUserGroupRole> retrieveByObjectKeys(Collection<org.apache.torque.om.ObjectKey<?>> pks) throws org.apache.torque.TorqueException
Retrieve multiple objects by pk.- Parameters:
pks
- List of primary keys. Entries in pks which do not match entries in the database are ignored.- Returns:
- the list of matching objects, not null.
- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
retrieveByObjectKeys
public List<TurbineUserGroupRole> retrieveByObjectKeys(Collection<org.apache.torque.om.ObjectKey<?>> pks, Connection dbcon) throws org.apache.torque.TorqueException
Retrieve multiple objects by pk.- Parameters:
pks
- List of primary keys. Entries in pks which do not match entries in the database are ignored.dbcon
- the connection to use- Returns:
- the list of matching objects, not null.
- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinTurbineUser
public List<TurbineUserGroupRole> doSelectJoinTurbineUser(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
Selects a collection of dbObjectClassName objects pre-filled with their TurbineUser objects.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinTurbineUser
public List<TurbineUserGroupRole> doSelectJoinTurbineUser(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException
Selects a collection of TurbineUserGroupRole objects pre-filled with their TurbineUser objects.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinTurbineGroup
public List<TurbineUserGroupRole> doSelectJoinTurbineGroup(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
Selects a collection of dbObjectClassName objects pre-filled with their TurbineGroup objects.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinTurbineGroup
public List<TurbineUserGroupRole> doSelectJoinTurbineGroup(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException
Selects a collection of TurbineUserGroupRole objects pre-filled with their TurbineGroup objects.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinTurbineRole
public List<TurbineUserGroupRole> doSelectJoinTurbineRole(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
Selects a collection of dbObjectClassName objects pre-filled with their TurbineRole objects.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinTurbineRole
public List<TurbineUserGroupRole> doSelectJoinTurbineRole(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException
Selects a collection of TurbineUserGroupRole objects pre-filled with their TurbineRole objects.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptTurbineUser
protected List<TurbineUserGroupRole> doSelectJoinAllExceptTurbineUser(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
selects a collection of TurbineUserGroupRole objects pre-filled with all related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in TurbineUserGroupRolePeerImpl.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptTurbineUser
protected List<TurbineUserGroupRole> doSelectJoinAllExceptTurbineUser(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException
selects a collection of TurbineUserGroupRole objects pre-filled with related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in TurbineUserGroupRolePeerImpl.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptTurbineGroup
protected List<TurbineUserGroupRole> doSelectJoinAllExceptTurbineGroup(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
selects a collection of TurbineUserGroupRole objects pre-filled with all related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in TurbineUserGroupRolePeerImpl.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptTurbineGroup
protected List<TurbineUserGroupRole> doSelectJoinAllExceptTurbineGroup(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException
selects a collection of TurbineUserGroupRole objects pre-filled with related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in TurbineUserGroupRolePeerImpl.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptTurbineRole
protected List<TurbineUserGroupRole> doSelectJoinAllExceptTurbineRole(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
selects a collection of TurbineUserGroupRole objects pre-filled with all related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in TurbineUserGroupRolePeerImpl.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptTurbineRole
protected List<TurbineUserGroupRole> doSelectJoinAllExceptTurbineRole(org.apache.torque.criteria.Criteria criteria, Connection conn) throws org.apache.torque.TorqueException
selects a collection of TurbineUserGroupRole objects pre-filled with related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in TurbineUserGroupRolePeerImpl.- Throws:
org.apache.torque.TorqueException
- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
-