org.opennms.netmgt.dao.hibernate
Class IpInterfaceDaoHibernate
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<OnmsIpInterface,Integer>
org.opennms.netmgt.dao.hibernate.IpInterfaceDaoHibernate
- All Implemented Interfaces:
- IpInterfaceDao, OnmsDao<OnmsIpInterface,Integer>, org.springframework.beans.factory.InitializingBean
public class IpInterfaceDaoHibernate
- extends AbstractDaoHibernate<OnmsIpInterface,Integer>
- implements IpInterfaceDao
- Author:
- david
| Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
| Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate |
bulkDelete, clear, countAll, countMatching, delete, deleteAll, evict, find, find, findAll, findMatching, findMatchingObjects, findObjects, findUnique, findUnique, findUnique, flush, get, initialize, load, 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 org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
| 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.OnmsDao |
clear, countAll, countMatching, delete, findAll, findMatching, flush, get, initialize, load, save, saveOrUpdate, update |
IpInterfaceDaoHibernate
public IpInterfaceDaoHibernate()
get
public OnmsIpInterface get(OnmsNode node,
String ipAddress)
- Specified by:
get in interface IpInterfaceDao
findByIpAddress
public Collection<OnmsIpInterface> findByIpAddress(String ipAddress)
- Specified by:
findByIpAddress in interface IpInterfaceDao
findByNodeIdAndIpAddress
public OnmsIpInterface findByNodeIdAndIpAddress(Integer nodeId,
String ipAddress)
- Specified by:
findByNodeIdAndIpAddress in interface IpInterfaceDao
findByForeignKeyAndIpAddress
public OnmsIpInterface findByForeignKeyAndIpAddress(String foreignSource,
String foreignId,
String ipAddress)
- Specified by:
findByForeignKeyAndIpAddress in interface IpInterfaceDao
findByServiceType
public Collection<OnmsIpInterface> findByServiceType(String svcName)
- Specified by:
findByServiceType in interface IpInterfaceDao
findHierarchyByServiceType
public Collection<OnmsIpInterface> findHierarchyByServiceType(String svcName)
- Specified by:
findHierarchyByServiceType in interface IpInterfaceDao
getInterfacesForNodes
public Map<String,Integer> getInterfacesForNodes()
- Description copied from interface:
IpInterfaceDao
- Returns a map of all IP to node ID mappings in the database.
- Specified by:
getInterfacesForNodes in interface IpInterfaceDao
Copyright © 2009. All Rights Reserved.