com.ibm.btt.bc.ac.dao.db
Class SecurityRoleDAODBImpl
java.lang.Object
com.ibm.btt.bc.ac.dao.db.DBBase
com.ibm.btt.bc.ac.dao.db.SecurityRoleDAODBImpl
- All Implemented Interfaces:
- ISecurityRoleDAO
public class SecurityRoleDAODBImpl
- extends DBBase
- implements ISecurityRoleDAO
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityRoleDAODBImpl
public SecurityRoleDAODBImpl(ConnectionPool connectionPool,
java.lang.String dbSchema)
addRole
public java.lang.String addRole(SecurityRole role)
throws DAOException
- Specified by:
addRole
in interface ISecurityRoleDAO
- Throws:
DAOException
assignRightToRole
public java.lang.String assignRightToRole(java.lang.String roleName,
java.lang.String rightName)
throws DAOException
- Specified by:
assignRightToRole
in interface ISecurityRoleDAO
- Throws:
DAOException
assignSubRoleToRole
public java.lang.String assignSubRoleToRole(java.lang.String roleName,
java.lang.String subRoleName)
throws DAOException
- Specified by:
assignSubRoleToRole
in interface ISecurityRoleDAO
- Throws:
DAOException
deleteRole
public java.lang.String deleteRole(java.lang.String roleName)
throws DAOException
- Specified by:
deleteRole
in interface ISecurityRoleDAO
- Throws:
DAOException
findRole
public java.util.List<SecurityRole> findRole(QueryConditions queryConditions)
throws DAOException
- Specified by:
findRole
in interface ISecurityRoleDAO
- Throws:
DAOException
findRoleByName
public SecurityRole findRoleByName(java.lang.String roleName)
throws DAOException
- Specified by:
findRoleByName
in interface ISecurityRoleDAO
- Throws:
DAOException
getAllAssignedRightList
public java.util.List<SecurityRight> getAllAssignedRightList(java.lang.String roleName)
throws DAOException
- Specified by:
getAllAssignedRightList
in interface ISecurityRoleDAO
- Throws:
DAOException
getAllRoles
public java.util.List<SecurityRole> getAllRoles()
throws DAOException
- Specified by:
getAllRoles
in interface ISecurityRoleDAO
- Throws:
DAOException
getAllSubRolesFromRole
public java.util.List<SecurityRole> getAllSubRolesFromRole(java.lang.String roleName)
throws DAOException
- Specified by:
getAllSubRolesFromRole
in interface ISecurityRoleDAO
- Throws:
DAOException
getAssignedRightList
public java.util.List<SecurityRight> getAssignedRightList(java.lang.String roleName)
throws DAOException
- Specified by:
getAssignedRightList
in interface ISecurityRoleDAO
- Throws:
DAOException
getRightForRole
public SecurityRight getRightForRole(java.lang.String roleName,
java.lang.String rightName)
throws DAOException
- Specified by:
getRightForRole
in interface ISecurityRoleDAO
- Throws:
DAOException
getSubRoleFromRole
public SecurityRole getSubRoleFromRole(java.lang.String roleName,
java.lang.String subRoleName)
throws DAOException
- Specified by:
getSubRoleFromRole
in interface ISecurityRoleDAO
- Throws:
DAOException
removeRightFromRole
public java.lang.String removeRightFromRole(java.lang.String roleName,
java.lang.String rightName)
throws DAOException
- Specified by:
removeRightFromRole
in interface ISecurityRoleDAO
- Throws:
DAOException
removeSubRoleFromRole
public java.lang.String removeSubRoleFromRole(java.lang.String roleName,
java.lang.String subRoleName)
throws DAOException
- Specified by:
removeSubRoleFromRole
in interface ISecurityRoleDAO
- Throws:
DAOException
updateRole
public java.lang.String updateRole(SecurityRole role)
throws DAOException
- Specified by:
updateRole
in interface ISecurityRoleDAO
- Throws:
DAOException
(c) Copyright IBM Corporation 1998, 2010