com.ibm.btt.bc.ac.dao.xml
Class SecurityServiceDAOXMLImpl
java.lang.Object
com.ibm.btt.bc.ac.dao.xml.XMLBase
com.ibm.btt.bc.ac.dao.xml.SecurityServiceDAOXMLImpl
- All Implemented Interfaces:
- ISecurityServiceDAO
public class SecurityServiceDAOXMLImpl
- extends XMLBase
- implements ISecurityServiceDAO
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityServiceDAOXMLImpl
public SecurityServiceDAOXMLImpl(java.lang.String filePath)
throws XMLPersistException
- Throws:
XMLPersistException
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
(c) Copyright IBM Corporation 1998, 2011