org.apache.turbine.om.security.peer
Class UserGroupRolePeer

java.lang.Object
  |
  +--org.apache.torque.util.BasePeer
        |
        +--org.apache.turbine.om.security.peer.UserGroupRolePeer
All Implemented Interfaces:
java.io.Serializable

public class UserGroupRolePeer
extends org.apache.torque.util.BasePeer

This class handles all database access for the VISITOR_ROLE table. This table contains all the roles that a given user can play.

Version:
$Id: UserGroupRolePeer.java,v 1.2 2002/07/11 07:16:42 mpoeschl Exp $
Author:
Frank Y. Kim, John D. McNally, Brett McLaughlin
See Also:
Serialized Form

Field Summary
static java.lang.String GROUP_ID
          The column name for the group id field.
static java.lang.String ROLE_ID
          The column name for the role id field.
static java.lang.String TABLE_NAME
          The table name for this peer.
static java.lang.String USER_ID
          The column name for the visitor id field.
 
Fields inherited from class org.apache.torque.util.BasePeer
category, DEFAULT_MAP_BUILDER, IGNORE_CASE, ORDER_BY
 
Constructor Summary
UserGroupRolePeer()
           
 
Method Summary
static java.lang.String getColumnName(java.lang.String name)
          Returns the full name of a column.
static java.lang.String getTableName()
          Get the name of this table.
 
Methods inherited from class org.apache.torque.util.BasePeer
createPreparedStatement, createQueryString, deleteAll, deleteAll, doDelete, doDelete, doInsert, doInsert, doPSSelect, doPSSelect, doSelect, doSelect, doUpdate, doUpdate, doUpdate, doUpdate, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeStatement, executeStatement, executeStatement, getMapBuilder, getMapBuilder, getSelectResults, getSelectResults, getSelectResults, getSelectResults, handleMultiple, 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

TABLE_NAME

public static final java.lang.String TABLE_NAME
The table name for this peer.

USER_ID

public static final java.lang.String USER_ID
The column name for the visitor id field.

GROUP_ID

public static final java.lang.String GROUP_ID
The column name for the group id field.

ROLE_ID

public static final java.lang.String ROLE_ID
The column name for the role id field.
Constructor Detail

UserGroupRolePeer

public UserGroupRolePeer()
Method Detail

getTableName

public static java.lang.String getTableName()
Get the name of this table.
Returns:
A String with the name of the table.

getColumnName

public static java.lang.String getColumnName(java.lang.String name)
Returns the full name of a column.
Returns:
A String with the full name of the column.


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