olr.om
Class ModelPeer

java.lang.Object
  extended byorg.apache.torque.util.BasePeer
      extended byolr.om.BaseModelPeer
          extended byolr.om.ModelPeer
All Implemented Interfaces:
java.io.Serializable

public class ModelPeer
extends BaseModelPeer

The skeleton for this class was autogenerated by Torque on: [Fri Jun 18 10:10:23 CEST 2004] 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
 
Fields inherited from class olr.om.BaseModelPeer
CLASS_DEFAULT, CLASSNAME_DEFAULT, DATABASE_NAME, ID, IS_COURSE, LOCKED, LOCKED_BY, NAME, numColumns, TABLE_NAME
 
Fields inherited from class org.apache.torque.util.BasePeer
DEFAULT_MAP_BUILDER, IGNORE_CASE, log, ORDER_BY
 
Constructor Summary
ModelPeer()
           
 
Method Summary
static int addNewModel(java.lang.String name, RdfUser user, boolean isCourse)
           
static void delete(Model model, RdfUser user)
           
static java.util.List getAllModels()
           
static int getModelOwner(int modelID)
          Deprecated. @param modelID
 
Methods inherited from class olr.om.BaseModelPeer
addSelectColumns, buildCriteria, buildCriteria, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelectJoinRdfUser, 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

ModelPeer

public ModelPeer()
Method Detail

getAllModels

public static java.util.List getAllModels()

delete

public static void delete(Model model,
                          RdfUser user)
                   throws java.lang.Exception
Throws:
java.lang.Exception

addNewModel

public static int addNewModel(java.lang.String name,
                              RdfUser user,
                              boolean isCourse)
                       throws java.lang.Exception
Throws:
java.lang.Exception

getModelOwner

public static int getModelOwner(int modelID)
Deprecated. @param modelID

Returns:


Copyright © 2001-2004 University of Hannover. All Rights Reserved.