Package org.opennms.netmgt.dao.hibernate
Class PathOutageDaoHibernate
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<OnmsPathOutage,Integer>
-
- org.opennms.netmgt.dao.hibernate.PathOutageDaoHibernate
-
- All Implemented Interfaces:
OnmsDao<OnmsPathOutage,Integer>
,PathOutageDao
,org.springframework.beans.factory.InitializingBean
public class PathOutageDaoHibernate extends AbstractDaoHibernate<OnmsPathOutage,Integer> implements PathOutageDao
PathOutageDaoHibernate class
- Author:
- Ryan Lambeth
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
m_criteriaConverter
-
-
Constructor Summary
Constructors Constructor Description PathOutageDaoHibernate()
PathOutageDaoHibernate constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String[]>
getAllCriticalPaths()
This method returns the unique list of critical paths (node label, IP address, and service name)List<Integer>
getAllNodesDependentOnAnyServiceOnInterface(InetAddress ipAddress)
List<Integer>
getAllNodesDependentOnAnyServiceOnNode(int nodeId)
List<Integer>
getNodesForPathOutage(InetAddress ipAddress, String serviceName)
List<Integer>
getNodesForPathOutage(OnmsPathOutage pathOutage)
-
Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
buildHibernateCallback, bulkDelete, clear, countAll, countMatching, countMatching, delete, delete, deleteAll, find, find, findAll, findMatching, findMatching, findObjects, findUnique, flush, get, initDao, initialize, load, lock, merge, queryInt, queryInt, save, saveOrUpdate, update
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.dao.api.OnmsDao
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
-
-
-
-
Method Detail
-
getNodesForPathOutage
public List<Integer> getNodesForPathOutage(OnmsPathOutage pathOutage)
- Specified by:
getNodesForPathOutage
in interfacePathOutageDao
-
getAllCriticalPaths
public List<String[]> getAllCriticalPaths()
This method returns the unique list of critical paths (node label, IP address, and service name)- Specified by:
getAllCriticalPaths
in interfacePathOutageDao
-
getNodesForPathOutage
public List<Integer> getNodesForPathOutage(InetAddress ipAddress, String serviceName)
- Specified by:
getNodesForPathOutage
in interfacePathOutageDao
-
getAllNodesDependentOnAnyServiceOnInterface
public List<Integer> getAllNodesDependentOnAnyServiceOnInterface(InetAddress ipAddress)
- Specified by:
getAllNodesDependentOnAnyServiceOnInterface
in interfacePathOutageDao
-
getAllNodesDependentOnAnyServiceOnNode
public List<Integer> getAllNodesDependentOnAnyServiceOnNode(int nodeId)
- Specified by:
getAllNodesDependentOnAnyServiceOnNode
in interfacePathOutageDao
-
-