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