org.openprivacy.reptile.om
Class ImagePeer

java.lang.Object
  |
  +--org.apache.turbine.om.peer.BasePeer
        |
        +--org.openprivacy.reptile.om.BaseImagePeer
              |
              +--org.openprivacy.reptile.om.ImagePeer

public class ImagePeer
extends BaseImagePeer

The skeleton for this class was autogenerated by Torque on: [Mon Nov 26 01:04:40 PST 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.


Field Summary
 
Fields inherited from class org.openprivacy.reptile.om.BaseImagePeer
CHANNEL, CLASS_DEFAULT, CLASSNAME_DEFAULT, DESCRIPTION, HEIGHT, ID, LOCATION, numColumns, TABLE_NAME, TITLE, WIDTH
 
Fields inherited from class org.apache.turbine.om.peer.BasePeer
DEFAULT_MAP_BUILDER, IGNORE_CASE, ORDER_BY
 
Constructor Summary
ImagePeer()
           
 
Method Summary
static Image getImageByChannel(java.lang.String uChannel)
          Get a image by it's channel, return null if one wasn't found.
static void updateChannel(java.lang.String uChannel, java.lang.String uImage, java.lang.String title, java.lang.String description)
          Update the image of the given channel.
 
Methods inherited from class org.openprivacy.reptile.om.BaseImagePeer
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

ImagePeer

public ImagePeer()
Method Detail

getImageByChannel

public static Image getImageByChannel(java.lang.String uChannel)
                               throws java.lang.Exception
Get a image by it's channel, return null if one wasn't found.

java.lang.Exception

updateChannel

public static void updateChannel(java.lang.String uChannel,
                                 java.lang.String uImage,
                                 java.lang.String title,
                                 java.lang.String description)
                          throws java.lang.Exception
Update the image of the given channel.

java.lang.Exception