org.apache.jetspeed.om.dbpsml
Class JetspeedGroupProfilePeer

java.lang.Object
  extended byorg.apache.torque.util.BasePeer
      extended byorg.apache.jetspeed.om.dbpsml.BaseJetspeedGroupProfilePeer
          extended byorg.apache.jetspeed.om.dbpsml.JetspeedGroupProfilePeer
All Implemented Interfaces:
DBOperations, java.io.Serializable

public class JetspeedGroupProfilePeer
extends org.apache.jetspeed.om.dbpsml.BaseJetspeedGroupProfilePeer
implements DBOperations

The skeleton for this class was autogenerated by Torque on: [Mon Sep 10 13:30:53 PDT 2001] 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.

Version:
$Id: JetspeedGroupProfilePeer.java,v 1.14 2004/06/26 01:24:28 jford Exp $
Author:
Atul Dambalkar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.om.dbpsml.BaseJetspeedGroupProfilePeer
CLASS_DEFAULT, CLASSNAME_DEFAULT, COUNTRY, DATABASE_NAME, GROUP_NAME, LANGUAGE, MEDIA_TYPE, numColumns, PAGE, PROFILE, PSML_ID, TABLE_NAME
 
Fields inherited from class org.apache.torque.util.BasePeer
DEFAULT_MAP_BUILDER, IGNORE_CASE, log, ORDER_BY
 
Fields inherited from interface org.apache.jetspeed.services.psmlmanager.db.DBOperations
DELETE, INSERT, UPDATE
 
Constructor Summary
JetspeedGroupProfilePeer()
          Default constructor.
 
Method Summary
protected  org.apache.torque.util.Criteria buildCriteria(ProfileLocator locator)
           
 void delete(Group group, java.sql.Connection connection)
          Delete all records from the database table for a group.
 void delete(ProfileLocator locator, java.sql.Connection connection)
          Delete group profile record from the database table.
 void insert(Profile profile, java.sql.Connection connection)
          Insert a group profile record in the database table.
 java.util.List select(ProfileLocator locator, java.sql.Connection connection)
          Select group profile record from the database table for the given locator object.
 java.util.List selectOrdered(ProfileLocator locator, java.sql.Connection connection)
          Select group profile record from the database table for the given locator object and return list ordered by primary key..
 void update(Profile profile, java.sql.Connection connection)
          Update group profile record from the database table.
 
Methods inherited from class org.apache.jetspeed.om.dbpsml.BaseJetspeedGroupProfilePeer
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
 

Constructor Detail

JetspeedGroupProfilePeer

public JetspeedGroupProfilePeer()
Default constructor.

Method Detail

insert

public void insert(Profile profile,
                   java.sql.Connection connection)
            throws java.lang.Exception
Insert a group profile record in the database table.

Parameters:
profile - Profile object that will be inserted in the database
connection - A database connection to use
Throws:
java.lang.Exception

update

public void update(Profile profile,
                   java.sql.Connection connection)
            throws java.lang.Exception
Update group profile record from the database table.

Parameters:
profile - Profile object that will be deleted from the database
connection - A database connection to use
Throws:
java.lang.Exception

delete

public void delete(ProfileLocator locator,
                   java.sql.Connection connection)
            throws java.lang.Exception
Delete group profile record from the database table.

Parameters:
connection - A database connection to use
Throws:
java.lang.Exception

select

public java.util.List select(ProfileLocator locator,
                             java.sql.Connection connection)
                      throws java.lang.Exception
Select group profile record from the database table for the given locator object.

Parameters:
locator - ProfileLocator object that will be used to select required profile from the database
connection - A database connection to use
Returns:
List of records that statisfy the given locator criteria.
Throws:
java.lang.Exception

selectOrdered

public java.util.List selectOrdered(ProfileLocator locator,
                                    java.sql.Connection connection)
                             throws java.lang.Exception
Select group profile record from the database table for the given locator object and return list ordered by primary key..

Parameters:
locator - ProfileLocator object that will be used to select required profile from the database
connection - A database connection to use
Returns:
List of records that statisfy the given locator criteria.
Throws:
java.lang.Exception

delete

public void delete(Group group,
                   java.sql.Connection connection)
            throws java.lang.Exception
Delete all records from the database table for a group.

Parameters:
group - Group object for which all the records will be deleted from the database
connection - A database connection to use
Throws:
java.lang.Exception

buildCriteria

protected org.apache.torque.util.Criteria buildCriteria(ProfileLocator locator)


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