org.openprivacy.reptile.om
Class CategoryPeer

java.lang.Object
  |
  +--org.apache.turbine.om.peer.BasePeer
        |
        +--org.openprivacy.reptile.om.BaseCategoryPeer
              |
              +--org.openprivacy.reptile.om.CategoryPeer

public class CategoryPeer
extends BaseCategoryPeer

The skeleton for this class was autogenerated by Torque on: [Sun Feb 24 13:53:57 PST 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.


Field Summary
 
Fields inherited from class org.openprivacy.reptile.om.BaseCategoryPeer
CLASS_DEFAULT, CLASSNAME_DEFAULT, ID, NAME, numColumns, TABLE_NAME
 
Fields inherited from class org.apache.turbine.om.peer.BasePeer
DEFAULT_MAP_BUILDER, IGNORE_CASE, ORDER_BY
 
Constructor Summary
CategoryPeer()
           
 
Method Summary
static Category[] getCategories()
          Return all categories...
static Category getCategoryByName(java.lang.String name)
          Get a category by its name return null if one wasn't found.
 
Methods inherited from class org.openprivacy.reptile.om.BaseCategoryPeer
addSelectColumns, buildCriteria, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelectVillageRecords, doSelectVillageRecords, doUpdate, doUpdate, doUpdate, doUpdate, getMapBuilder, getOMClass, getTableMap, populateObject, populateObjects, resultSet2Objects, retrieveByPK, retrieveByPK, row2Object
 
Methods inherited from class org.apache.turbine.om.peer.BasePeer
beginTransaction, commitTransaction, createPreparedStatement, createQueryString, deleteAll, deleteAll, doPSSelect, doPSSelect, doUpdate, doUpdate, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeStatement, executeStatement, executeStatement, getMapBuilder, getSelectResults, getSelectResults, getSelectResults, getSelectResults, handleMultiple, handleMultipleRecords, hashtableToByteArray, initColumnNames, initCriteriaKeys, initTableColumns, initTableSchema, initTableSchema, rollBackTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryPeer

public CategoryPeer()
Method Detail

getCategoryByName

public static Category getCategoryByName(java.lang.String name)
                                  throws java.lang.Exception
Get a category by its name return null if one wasn't found.

java.lang.Exception

getCategories

public static Category[] getCategories()
                                throws java.lang.Exception
Return all categories...

java.lang.Exception