|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.util.BasePeer
org.apache.turbine.om.security.peer.RolePermissionPeer
TorqueSecurityService
instead.
This class handles all database access for the ROLE_PERMISSION table. This table contains all the permissions for a given role.
| Nested Class Summary |
| Nested classes inherited from class org.apache.torque.util.BasePeer |
org.apache.torque.util.BasePeer.ProcessCallback |
| Field Summary | |
static java.lang.String |
PERMISSION_ID
Deprecated. The column name for the permission id field. |
static java.lang.String |
ROLE_ID
Deprecated. The column name for the role id field. |
static java.lang.String |
TABLE_NAME
Deprecated. The table name for this peer. |
| Fields inherited from class org.apache.torque.util.BasePeer |
IGNORE_CASE, log, ORDER_BY |
| Constructor Summary | |
RolePermissionPeer()
Deprecated. |
|
| Method Summary | |
static void |
deletePermission(int permission_id)
Deprecated. Deletes the mappings for a permission_id. |
static void |
deleteRole(int role_id)
Deprecated. Deletes the mappings for a role_id. |
| Methods inherited from class org.apache.torque.util.BasePeer |
correctBooleans, createPreparedStatement, createQueryString, deleteAll, deleteAll, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doPSSelect, doPSSelect, doSelect, doSelect, doUpdate, doUpdate, doUpdate, doUpdate, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeStatement, executeStatement, executeStatement, getMapBuilder, getSelectResults, getSelectResults, getSelectResults, getSelectResults, handleMultipleRecords, 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 |
public static final java.lang.String TABLE_NAME
public static final java.lang.String PERMISSION_ID
public static final java.lang.String ROLE_ID
| Constructor Detail |
public RolePermissionPeer()
| Method Detail |
public static void deleteRole(int role_id)
throws java.lang.Exception
role_id - An int with the role id.
java.lang.Exception - a generic exception.
public static void deletePermission(int permission_id)
throws java.lang.Exception
permission_id - An int with the permission id.
java.lang.Exception - a generic exception.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||