org.openscience.nmrshiftdb.om
Class BaseNmrshiftdbUserPeer

java.lang.Object
  extended by org.apache.torque.util.BasePeer
      extended by org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer
          extended by org.apache.jetspeed.om.security.turbine.TurbineUserPeer
              extended by org.openscience.nmrshiftdb.om.BaseNmrshiftdbUserPeer
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NmrshiftdbUserPeer

public abstract class BaseNmrshiftdbUserPeer
extends org.apache.jetspeed.om.security.turbine.TurbineUserPeer

This class was autogenerated by Torque on: [Tue Nov 21 23:53:10 CET 2006]

See Also:
Serialized Form

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.jetspeed.om.security.turbine.TurbineUserPeer
columnNames, TURBINE_OBJECTDATA
 
Fields inherited from class org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer
ADDRESS, AFFILIATION_1, AFFILIATION_2, BROKEN_EDIT, BROKENSUBMIT, CITY, CONFIRM_VALUE, COUNTRY, CREATED, DATABASE_NAME, DISABLED, EMAIL, FIRST_NAME, HALL_OF_FAME, LABGROUP_ID, LABGROUP_KEY, LAST_DOWNLOAD_DATE, LAST_LOGIN, LAST_NAME, LOGIN_NAME, MODIFIED, OBJECTDATA, OLD_LITERATURE, PASSWORD_CHANGED, PASSWORD_VALUE, SEARCHHISTORY, STATE, STRUCTURESHISTORY, TABLE_NAME, TITLE, USER_ID, WEB_PAGE, ZIP_CODE
 
Fields inherited from class org.apache.torque.util.BasePeer
DEFAULT_MAP_BUILDER, IGNORE_CASE, log, ORDER_BY
 
Constructor Summary
BaseNmrshiftdbUserPeer()
           
 
Method Summary
static org.apache.torque.util.Criteria buildCriteria(org.apache.torque.om.ObjectKey pk)
          Build a Criteria object from an ObjectKey
static java.util.List doSelect(org.apache.torque.util.Criteria criteria, java.sql.Connection con)
           
static java.lang.Class getOMClass()
          The class that the Peer will make instances of.
private static java.lang.Class initClass(java.lang.String className)
          Class object initialization method.
static java.util.List populateObjects(java.util.List records)
           
static NmrshiftdbUser retrieveNmrshiftdbUserByPK(int pk)
          Retrieve a single object by pk
static NmrshiftdbUser retrieveNmrshiftdbUserByPK(org.apache.torque.om.ObjectKey pk)
          Retrieve a single object by pk
static NmrshiftdbUser retrieveNmrshiftdbUserByPK(org.apache.torque.om.ObjectKey pk, java.sql.Connection con)
          Retrieve a single object by pk
static java.util.List retrieveNmrshiftdbUserByPKs(java.util.List pks)
          Retrieve a multiple objects by pk
static java.util.List retrieveNmrshiftdbUserByPKs(java.util.List pks, java.sql.Connection dbcon)
          Retrieve a multiple objects by pk
 
Methods inherited from class org.apache.jetspeed.om.security.turbine.TurbineUserPeer
buildCriteria, doSelectUsers, getByName, getByUserNameOrMakeNew, getUsersByContribution, populateUserObject, populateUserObjects, row2UserObject
 
Methods inherited from class org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer
addSelectColumns, buildCriteria, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelectVillageRecords, doSelectVillageRecords, doUpdate, doUpdate, doUpdate, doUpdate, getMapBuilder, getTableMap, populateObject, 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, hashtableToByteArray, 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

BaseNmrshiftdbUserPeer

public BaseNmrshiftdbUserPeer()
Method Detail

initClass

private static java.lang.Class initClass(java.lang.String className)
Class object initialization method.

Parameters:
className - name of the class to initialize
Returns:
the initialized class

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.

retrieveNmrshiftdbUserByPK

public static NmrshiftdbUser retrieveNmrshiftdbUserByPK(int 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.

retrieveNmrshiftdbUserByPK

public static NmrshiftdbUser retrieveNmrshiftdbUserByPK(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.

retrieveNmrshiftdbUserByPK

public static NmrshiftdbUser retrieveNmrshiftdbUserByPK(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.

buildCriteria

public static org.apache.torque.util.Criteria buildCriteria(org.apache.torque.om.ObjectKey pk)
Build a Criteria object from an ObjectKey


doSelect

public static java.util.List doSelect(org.apache.torque.util.Criteria criteria,
                                      java.sql.Connection con)
                               throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

populateObjects

public static java.util.List populateObjects(java.util.List records)
                                      throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

retrieveNmrshiftdbUserByPKs

public static java.util.List retrieveNmrshiftdbUserByPKs(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.

retrieveNmrshiftdbUserByPKs

public static java.util.List retrieveNmrshiftdbUserByPKs(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.