public class TorqueTurbineRoleManagerImpl extends PeerRoleManager
manager
ROLE
Constructor and Description |
---|
TorqueTurbineRoleManagerImpl() |
Modifier and Type | Method and Description |
---|---|
protected <T extends Role> |
doSelectAllRoles(Connection con)
Get all specialized Roles
|
protected <T extends Role> |
doSelectById(Integer id,
Connection con)
Get a specialized Role by id
|
protected <T extends Role> |
doSelectByName(String name,
Connection con)
Get a specialized Role by name
|
configure, getColumnName, getCustomPeer, getPeerClassName, getPeerInstance, getPeerManager, setColumnName, setCustomPeer, setPeerClassName
checkExists, getAllRoles, getRoleById, getRoleByName, persistNewRole, removeRole, renameRole
addRole, checkExists, getRoleInstance, getRoleInstance
getClassName, setClassName
dispose, getGroupManager, getPermissionManager, getRoleManager, getServiceManager, getUserManager, release, resolve, service
protected <T extends Role> List<T> doSelectAllRoles(Connection con) throws org.apache.torque.TorqueException
TorqueAbstractRoleManager
doSelectAllRoles
in class TorqueAbstractRoleManager
con
- a database connectionorg.apache.torque.TorqueException
- if any database error occursTorqueAbstractRoleManager.doSelectAllRoles(java.sql.Connection)
protected <T extends Role> T doSelectById(Integer id, Connection con) throws org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException, org.apache.torque.TorqueException
TorqueAbstractRoleManager
doSelectById
in class TorqueAbstractRoleManager
id
- the id of the groupcon
- a database connectionorg.apache.torque.NoRowsException
- if no such group existsorg.apache.torque.TooManyRowsException
- if multiple groups with the given id existorg.apache.torque.TorqueException
- if any other database error occursTorqueAbstractRoleManager.doSelectById(java.lang.Integer, java.sql.Connection)
protected <T extends Role> T doSelectByName(String name, Connection con) throws org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException, org.apache.torque.TorqueException
TorqueAbstractRoleManager
doSelectByName
in class TorqueAbstractRoleManager
name
- the name of the groupcon
- a database connectionorg.apache.torque.NoRowsException
- if no such group existsorg.apache.torque.TooManyRowsException
- if multiple groups with the given name existorg.apache.torque.TorqueException
- if any other database error occursTorqueAbstractRoleManager.doSelectByName(java.lang.String, java.sql.Connection)
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.