org.apache.jetspeed.om.security.turbine
Class TurbineUserPeer

java.lang.Object
  extended byorg.apache.torque.util.BasePeer
      extended byorg.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer
          extended byorg.apache.jetspeed.om.security.turbine.TurbineUserPeer
All Implemented Interfaces:
java.io.Serializable

public class TurbineUserPeer
extends org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer

The skeleton for this class was autogenerated by Torque on: [Wed May 29 23:45:25 PDT 2002] You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

See Also:
Serialized Form

Field Summary
static java.lang.String[] columnNames
          The names of the columns.
protected static java.lang.String TURBINE_OBJECTDATA
           
 
Fields inherited from class org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer
CLASS_DEFAULT, CLASSNAME_DEFAULT, CONFIRM_VALUE, CREATED, DATABASE_NAME, DISABLED, EMAIL, FIRST_NAME, LAST_LOGIN, LAST_NAME, LOGIN_NAME, MODIFIED, numColumns, OBJECTDATA, PASSWORD_CHANGED, PASSWORD_VALUE, TABLE_NAME, USER_ID
 
Fields inherited from class org.apache.torque.util.BasePeer
DEFAULT_MAP_BUILDER, IGNORE_CASE, log, ORDER_BY
 
Constructor Summary
TurbineUserPeer()
           
 
Method Summary
static org.apache.torque.util.Criteria buildCriteria(JetspeedUser user)
          Builds a criteria object based upon an User object
static java.util.List doSelectUsers(org.apache.torque.util.Criteria criteria)
          Selects Jetspeed Users or a derived class there of, creating the JetspeedUsers, and populating each user's hashtable of attributes from the result set of the query
protected static void populateUserObject(com.workingdogs.village.Record row, int offset, JetspeedUser user)
           
static java.util.List populateUserObjects(java.util.List records)
          The returned list will contain objects of the default type or objects that inherit from the default.
static JetspeedUser row2UserObject(com.workingdogs.village.Record row, int offset, java.lang.Class cls)
          Create a new object of type cls from a resultset row starting from a specified offset.
 
Methods inherited from class org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer
addSelectColumns, buildCriteria, buildCriteria, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelectVillageRecords, doSelectVillageRecords, doUpdate, doUpdate, doUpdate, doUpdate, getMapBuilder, getOMClass, 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, 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

columnNames

public static java.lang.String[] columnNames
The names of the columns.


TURBINE_OBJECTDATA

protected static final java.lang.String TURBINE_OBJECTDATA
See Also:
Constant Field Values
Constructor Detail

TurbineUserPeer

public TurbineUserPeer()
Method Detail

doSelectUsers

public static java.util.List doSelectUsers(org.apache.torque.util.Criteria criteria)
                                    throws org.apache.torque.TorqueException
Selects Jetspeed Users or a derived class there of, creating the JetspeedUsers, and populating each user's hashtable of attributes from the result set of the query

Parameters:
criteria - the query criteria.
Returns:
a List of JetspeedUsers
Throws:
org.apache.torque.TorqueException

populateUserObjects

public static java.util.List populateUserObjects(java.util.List records)
                                          throws org.apache.torque.TorqueException
The returned list will contain objects of the default type or objects that inherit from the default.

Throws:
org.apache.torque.TorqueException

row2UserObject

public static JetspeedUser row2UserObject(com.workingdogs.village.Record row,
                                          int offset,
                                          java.lang.Class cls)
                                   throws org.apache.torque.TorqueException
Create a new object of type cls from a resultset row starting from a specified offset. This is done so that you can select other rows than just those needed for this object. You may for example want to create two objects from the same row.

Throws:
org.apache.torque.TorqueException

populateUserObject

protected static void populateUserObject(com.workingdogs.village.Record row,
                                         int offset,
                                         JetspeedUser user)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

buildCriteria

public static org.apache.torque.util.Criteria buildCriteria(JetspeedUser user)
Builds a criteria object based upon an User object



Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.