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

java.lang.Object
  |
  +--org.apache.turbine.om.peer.BasePeer
        |
        +--org.apache.turbine.om.security.peer.UserGroupRolePeer

public class UserGroupRolePeer
extends 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.1.1.1 2001/08/16 05:08:45 jvanzyl Exp $
Author:
Frank Y. Kim, John D. McNally, Brett McLaughlin

Field Summary
static java.lang.String GROUP_ID
          The column name for the group id field.
private static TurbineMapBuilder mapBuilder
          The map builder for this Peer.
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.turbine.om.peer.BasePeer
DEFAULT_MAP_BUILDER, IGNORE_CASE, mapBuilders, 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.turbine.om.peer.BasePeer
beginTransaction, commitTransaction, 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, getMalformedColumnNameException, getMapBuilder, getMapBuilder, getPrimaryKey, getSelectResults, getSelectResults, getSelectResults, getSelectResults, handleMultiple, handleMultipleRecords, hashtableToByteArray, initColumnNames, initCriteriaKeys, initTableColumns, initTableSchema, initTableSchema, insertOrUpdateRecord, rollBackTransaction, setLimit
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

mapBuilder

private static final TurbineMapBuilder mapBuilder
The map builder for this Peer.

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.