IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

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

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

public class SecurityUserDAOXMLImpl
extends XMLBase
implements ISecurityUserDAO


Field Summary
 
Fields inherited from class com.ibm.btt.bc.ac.dao.xml.XMLBase
builder, doc, filePath
 
Constructor Summary
SecurityUserDAOXMLImpl(java.lang.String filePath)
           
 
Method Summary
 java.lang.String addUser(SecurityUser user)
           
 java.lang.String assignRoleToUser(java.lang.String user, java.lang.String roleName, java.util.Calendar startDate, java.util.Calendar endDate)
           
 java.lang.String deleteUser(java.lang.String userId)
           
 java.util.List<SecurityUser> findUser(QueryConditions queryConditions)
           
 SecurityUser findUserWithId(java.lang.String userId)
           
 java.util.List<AssignedRole> getAllAssignedRolesForUser(java.lang.String userId)
           
 java.util.List<SecurityUser> getAllUsers()
           
 AssignedRole getAssignedRoleForUser(java.lang.String userId, java.lang.String roleName)
           
 java.lang.String removeRoleFromUser(java.lang.String userId, java.lang.String roleName)
           
static void setFactory(IDAOFactory fac)
           
 java.lang.String updateAssignedRole(java.lang.String userId, java.lang.String roleName, java.util.Calendar startDate, java.util.Calendar endDate)
           
 java.lang.String updateUser(SecurityUser user)
           
 
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

SecurityUserDAOXMLImpl

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

setFactory

public static void setFactory(IDAOFactory fac)

assignRoleToUser

public java.lang.String assignRoleToUser(java.lang.String user,
                                         java.lang.String roleName,
                                         java.util.Calendar startDate,
                                         java.util.Calendar endDate)
                                  throws DAOException
Specified by:
assignRoleToUser in interface ISecurityUserDAO
Throws:
DAOException

deleteUser

public java.lang.String deleteUser(java.lang.String userId)
                            throws DAOException
Specified by:
deleteUser in interface ISecurityUserDAO
Throws:
DAOException

findUser

public java.util.List<SecurityUser> findUser(QueryConditions queryConditions)
                                      throws DAOException
Specified by:
findUser in interface ISecurityUserDAO
Throws:
DAOException

getAllAssignedRolesForUser

public java.util.List<AssignedRole> getAllAssignedRolesForUser(java.lang.String userId)
                                                        throws DAOException
Specified by:
getAllAssignedRolesForUser in interface ISecurityUserDAO
Throws:
DAOException

getAllUsers

public java.util.List<SecurityUser> getAllUsers()
                                         throws DAOException
Specified by:
getAllUsers in interface ISecurityUserDAO
Throws:
DAOException

getAssignedRoleForUser

public AssignedRole getAssignedRoleForUser(java.lang.String userId,
                                           java.lang.String roleName)
                                    throws DAOException
Specified by:
getAssignedRoleForUser in interface ISecurityUserDAO
Throws:
DAOException

removeRoleFromUser

public java.lang.String removeRoleFromUser(java.lang.String userId,
                                           java.lang.String roleName)
                                    throws DAOException
Specified by:
removeRoleFromUser in interface ISecurityUserDAO
Throws:
DAOException

addUser

public java.lang.String addUser(SecurityUser user)
                         throws DAOException
Specified by:
addUser in interface ISecurityUserDAO
Throws:
DAOException

updateAssignedRole

public java.lang.String updateAssignedRole(java.lang.String userId,
                                           java.lang.String roleName,
                                           java.util.Calendar startDate,
                                           java.util.Calendar endDate)
                                    throws DAOException
Specified by:
updateAssignedRole in interface ISecurityUserDAO
Throws:
DAOException

updateUser

public java.lang.String updateUser(SecurityUser user)
                            throws DAOException
Specified by:
updateUser in interface ISecurityUserDAO
Throws:
DAOException

findUserWithId

public SecurityUser findUserWithId(java.lang.String userId)
                            throws DAOException
Specified by:
findUserWithId in interface ISecurityUserDAO
Throws:
DAOException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011