IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

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

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

public class SecurityServiceDAOXMLImpl
extends XMLBase
implements ISecurityServiceDAO


Field Summary
 
Fields inherited from class com.ibm.btt.bc.ac.dao.xml.XMLBase
builder, doc, filePath
 
Constructor Summary
SecurityServiceDAOXMLImpl(java.lang.String filePath)
           
 
Method Summary
 java.lang.String addRequiredRightToService(java.lang.String serviceName, java.lang.String rightName)
           
 java.lang.String addService(SecurityService service)
           
 java.lang.String deleteService(java.lang.String serviceName)
           
 java.util.List<SecurityService> findService(QueryConditions queryConditions)
           
 SecurityService findServiceByName(java.lang.String serviceName)
           
 java.util.List<SecurityRight> getAllRequiredRightsForService(java.lang.String serviceName)
           
 java.util.List<SecurityService> getAllServices()
           
 SecurityRight getRequiredRightForService(java.lang.String serviceName, java.lang.String rightName)
           
 java.lang.String removeRightFromService(java.lang.String serviceName, java.lang.String rightName)
           
static void setFactory(IDAOFactory fac)
           
 java.lang.String updateService(SecurityService service)
           
 
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

SecurityServiceDAOXMLImpl

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

setFactory

public static void setFactory(IDAOFactory fac)

addRequiredRightToService

public java.lang.String addRequiredRightToService(java.lang.String serviceName,
                                                  java.lang.String rightName)
                                           throws DAOException
Specified by:
addRequiredRightToService in interface ISecurityServiceDAO
Throws:
DAOException

deleteService

public java.lang.String deleteService(java.lang.String serviceName)
                               throws DAOException
Specified by:
deleteService in interface ISecurityServiceDAO
Throws:
DAOException

findServiceByName

public SecurityService findServiceByName(java.lang.String serviceName)
                                  throws DAOException
Specified by:
findServiceByName in interface ISecurityServiceDAO
Throws:
DAOException

getAllRequiredRightsForService

public java.util.List<SecurityRight> getAllRequiredRightsForService(java.lang.String serviceName)
                                                             throws DAOException
Specified by:
getAllRequiredRightsForService in interface ISecurityServiceDAO
Throws:
DAOException

getAllServices

public java.util.List<SecurityService> getAllServices()
                                               throws DAOException
Specified by:
getAllServices in interface ISecurityServiceDAO
Throws:
DAOException

getRequiredRightForService

public SecurityRight getRequiredRightForService(java.lang.String serviceName,
                                                java.lang.String rightName)
                                         throws DAOException
Specified by:
getRequiredRightForService in interface ISecurityServiceDAO
Throws:
DAOException

removeRightFromService

public java.lang.String removeRightFromService(java.lang.String serviceName,
                                               java.lang.String rightName)
                                        throws DAOException
Specified by:
removeRightFromService in interface ISecurityServiceDAO
Throws:
DAOException

addService

public java.lang.String addService(SecurityService service)
                            throws DAOException
Specified by:
addService in interface ISecurityServiceDAO
Throws:
DAOException

updateService

public java.lang.String updateService(SecurityService service)
                               throws DAOException
Specified by:
updateService in interface ISecurityServiceDAO
Throws:
DAOException

findService

public java.util.List<SecurityService> findService(QueryConditions queryConditions)
                                            throws DAOException
Specified by:
findService in interface ISecurityServiceDAO
Throws:
DAOException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011