org.tigris.scarab.om
Class BaseScarabRoleImplPeer

java.lang.Object
  extended byorg.apache.torque.util.BasePeer
      extended byorg.apache.fulcrum.security.impl.db.entity.BaseTurbineRolePeer
          extended byorg.apache.fulcrum.security.impl.db.entity.TurbineRolePeer
              extended byorg.tigris.scarab.om.BaseScarabRoleImplPeer
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ScarabRoleImplPeer

public abstract class BaseScarabRoleImplPeer
extends org.apache.fulcrum.security.impl.db.entity.TurbineRolePeer

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.torque.util.BasePeer
org.apache.torque.util.BasePeer.ProcessCallback
 
Field Summary
protected static java.lang.Class CLASS_DEFAULT
          A class that can be returned by this peer.
protected static java.lang.String CLASSNAME_DEFAULT
          A class that can be returned by this peer.
static int numColumns
          number of columns for this peer
 
Fields inherited from class org.apache.fulcrum.security.impl.db.entity.TurbineRolePeer
NAME
 
Fields inherited from class org.apache.fulcrum.security.impl.db.entity.BaseTurbineRolePeer
DATABASE_NAME, ROLE_ID, ROLE_NAME, TABLE_NAME
 
Fields inherited from class org.apache.torque.util.BasePeer
IGNORE_CASE, log, ORDER_BY
 
Constructor Summary
BaseScarabRoleImplPeer()
           
 
Method Summary
static java.lang.Class getOMClass()
          The class that the Peer will make instances of.
static ScarabRoleImpl retrieveScarabRoleImplByPK(java.lang.Integer pk)
          Retrieve a single object by pk
static ScarabRoleImpl retrieveScarabRoleImplByPK(java.lang.Integer pk, java.sql.Connection con)
          Retrieve a single object by pk
static ScarabRoleImpl retrieveScarabRoleImplByPK(org.apache.torque.om.ObjectKey pk)
          Retrieve a single object by pk
static ScarabRoleImpl retrieveScarabRoleImplByPK(org.apache.torque.om.ObjectKey pk, java.sql.Connection con)
          Retrieve a single object by pk
static java.util.List retrieveScarabRoleImplByPKs(java.util.List pks)
          Retrieve a multiple objects by pk
static java.util.List retrieveScarabRoleImplByPKs(java.util.List pks, java.sql.Connection dbcon)
          Retrieve a multiple objects by pk
 
Methods inherited from class org.apache.fulcrum.security.impl.db.entity.TurbineRolePeer
checkExists, getColumnName, getTableName, retrieveSet, retrieveSet
 
Methods inherited from class org.apache.fulcrum.security.impl.db.entity.BaseTurbineRolePeer
addSelectColumns, buildCriteria, buildCriteria, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelectVillageRecords, doSelectVillageRecords, doUpdate, doUpdate, doUpdate, doUpdate, getMapBuilder, getTableMap, populateObject, populateObjects, resultSet2Objects, retrieveByPK, retrieveByPK, retrieveByPK, retrieveByPKs, retrieveByPKs, row2Object
 
Methods inherited from class org.apache.torque.util.BasePeer
createPreparedStatement, createQueryString, deleteAll, deleteAll, doPSSelect, doPSSelect, doUpdate, doUpdate, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeStatement, executeStatement, executeStatement, getMapBuilder, getSelectResults, getSelectResults, getSelectResults, getSelectResults, handleMultipleRecords, initColumnNames, initCriteriaKeys, initTableColumns, initTableSchema, initTableSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numColumns

public static final int numColumns
number of columns for this peer

See Also:
Constant Field Values

CLASSNAME_DEFAULT

protected static final java.lang.String CLASSNAME_DEFAULT
A class that can be returned by this peer.

See Also:
Constant Field Values

CLASS_DEFAULT

protected static final java.lang.Class CLASS_DEFAULT
A class that can be returned by this peer.

Constructor Detail

BaseScarabRoleImplPeer

public BaseScarabRoleImplPeer()
Method Detail

getOMClass

public static java.lang.Class getOMClass()
                                  throws org.apache.torque.TorqueException
The class that the Peer will make instances of. If the BO is abstract then you must implement this method in the BO.

Throws:
org.apache.torque.TorqueException - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

retrieveScarabRoleImplByPK

public static ScarabRoleImpl retrieveScarabRoleImplByPK(java.lang.Integer 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.

retrieveScarabRoleImplByPK

public static ScarabRoleImpl retrieveScarabRoleImplByPK(java.lang.Integer pk,
                                                        java.sql.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 key
con - 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.

retrieveScarabRoleImplByPK

public static ScarabRoleImpl retrieveScarabRoleImplByPK(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.

retrieveScarabRoleImplByPK

public static ScarabRoleImpl retrieveScarabRoleImplByPK(org.apache.torque.om.ObjectKey pk,
                                                        java.sql.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 key
con - 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.

retrieveScarabRoleImplByPKs

public static java.util.List retrieveScarabRoleImplByPKs(java.util.List pks)
                                                  throws org.apache.torque.TorqueException
Retrieve a multiple objects by pk

Parameters:
pks - List of primary keys
Throws:
org.apache.torque.TorqueException - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

retrieveScarabRoleImplByPKs

public static java.util.List retrieveScarabRoleImplByPKs(java.util.List pks,
                                                         java.sql.Connection dbcon)
                                                  throws org.apache.torque.TorqueException
Retrieve a multiple objects by pk

Parameters:
pks - List of primary keys
dbcon - the connection to use
Throws:
org.apache.torque.TorqueException - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.


Copyright © 2000-2004 Tigris.org. All Rights Reserved.