IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.bc.ac.dao.xml
Class SecurityRoleDAOXMLImpl

java.lang.Object
  extended by com.ibm.btt.bc.ac.dao.xml.XMLBase
      extended by com.ibm.btt.bc.ac.dao.xml.SecurityRoleDAOXMLImpl
All Implemented Interfaces:
ISecurityRoleDAO

public class SecurityRoleDAOXMLImpl
extends XMLBase
implements ISecurityRoleDAO


Field Summary
 
Fields inherited from class com.ibm.btt.bc.ac.dao.xml.XMLBase
builder, doc, filePath
 
Constructor Summary
SecurityRoleDAOXMLImpl(java.lang.String filePath)
           
 
Method Summary
 java.lang.String addRole(SecurityRole role)
           
 java.lang.String assignRightToRole(java.lang.String roleName, java.lang.String rightName)
           
 java.lang.String assignSubRoleToRole(java.lang.String roleName, java.lang.String subRoleName)
           
 java.lang.String deleteRole(java.lang.String roleName)
           
 java.util.List<SecurityRole> findRole(QueryConditions queryConditions)
           
 SecurityRole findRoleByName(java.lang.String roleName)
           
 java.util.List<SecurityRight> getAllAssignedRightList(java.lang.String roleName)
           
 java.util.List<SecurityRole> getAllRoles()
           
 java.util.List<SecurityRole> getAllSubRolesFromRole(java.lang.String roleName)
           
 java.util.List<SecurityRight> getAssignedRightList(java.lang.String roleName)
           
 SecurityRight getRightForRole(java.lang.String roleName, java.lang.String rightName)
           
 SecurityRole getSubRoleFromRole(java.lang.String roleName, java.lang.String subRoleName)
           
 java.lang.String removeRightFromRole(java.lang.String roleName, java.lang.String rightName)
           
 java.lang.String removeSubRoleFromRole(java.lang.String roleName, java.lang.String subRoleName)
           
static void setFactory(IDAOFactory fac)
           
 java.lang.String updateRole(SecurityRole role)
           
 
Methods inherited from class com.ibm.btt.bc.ac.dao.xml.XMLBase
appendElementWithText, findElementByContent, findElementByTag, findElementsWithCondition, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityRoleDAOXMLImpl

public SecurityRoleDAOXMLImpl(java.lang.String filePath)
                       throws XMLPersistException
Throws:
XMLPersistException
Method Detail

setFactory

public static void setFactory(IDAOFactory fac)

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

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

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

addRole

public java.lang.String addRole(SecurityRole role)
                         throws DAOException
Specified by:
addRole in interface ISecurityRoleDAO
Throws:
DAOException

updateRole

public java.lang.String updateRole(SecurityRole role)
                            throws DAOException
Specified by:
updateRole 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

findRole

public java.util.List<SecurityRole> findRole(QueryConditions queryConditions)
                                      throws DAOException
Specified by:
findRole in interface ISecurityRoleDAO
Throws:
DAOException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009