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,java.lang.Integer>
-
- org.opennms.netmgt.dao.hibernate.PathOutageDaoHibernate
-
- All Implemented Interfaces:
OnmsDao<OnmsPathOutage,java.lang.Integer>
,PathOutageDao
,org.springframework.beans.factory.InitializingBean
public class PathOutageDaoHibernate extends AbstractDaoHibernate<OnmsPathOutage,java.lang.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 java.util.List<java.lang.String[]>
getAllCriticalPaths()
This method returns the unique list of critical paths (node label, IP address, and service name)java.util.List<java.lang.Integer>
getAllNodesDependentOnAnyServiceOnInterface(java.net.InetAddress ipAddress)
java.util.List<java.lang.Integer>
getAllNodesDependentOnAnyServiceOnNode(int nodeId)
java.util.List<java.lang.Integer>
getNodesForPathOutage(java.net.InetAddress ipAddress, java.lang.String serviceName)
java.util.List<java.lang.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 java.util.List<java.lang.Integer> getNodesForPathOutage(OnmsPathOutage pathOutage)
- Specified by:
getNodesForPathOutage
in interfacePathOutageDao
-
getAllCriticalPaths
public java.util.List<java.lang.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 java.util.List<java.lang.Integer> getNodesForPathOutage(java.net.InetAddress ipAddress, java.lang.String serviceName)
- Specified by:
getNodesForPathOutage
in interfacePathOutageDao
-
getAllNodesDependentOnAnyServiceOnInterface
public java.util.List<java.lang.Integer> getAllNodesDependentOnAnyServiceOnInterface(java.net.InetAddress ipAddress)
- Specified by:
getAllNodesDependentOnAnyServiceOnInterface
in interfacePathOutageDao
-
getAllNodesDependentOnAnyServiceOnNode
public java.util.List<java.lang.Integer> getAllNodesDependentOnAnyServiceOnNode(int nodeId)
- Specified by:
getAllNodesDependentOnAnyServiceOnNode
in interfacePathOutageDao
-
-