org.opennms.netmgt.dao.hibernate
Class SnmpInterfaceDaoHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<OnmsSnmpInterface,Integer>
              extended by org.opennms.netmgt.dao.hibernate.SnmpInterfaceDaoHibernate
All Implemented Interfaces:
OnmsDao<OnmsSnmpInterface,Integer>, SnmpInterfaceDao, org.springframework.beans.factory.InitializingBean

public class SnmpInterfaceDaoHibernate
extends AbstractDaoHibernate<OnmsSnmpInterface,Integer>
implements SnmpInterfaceDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
SnmpInterfaceDaoHibernate()
           
 
Method Summary
 OnmsSnmpInterface findByForeignKeyAndIfIndex(String foreignSource, String foreignId, Integer ifIndex)
           
 OnmsSnmpInterface findByNodeIdAndIfIndex(Integer nodeId, Integer ifIndex)
           
 
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
 

Constructor Detail

SnmpInterfaceDaoHibernate

public SnmpInterfaceDaoHibernate()
Method Detail

findByNodeIdAndIfIndex

public OnmsSnmpInterface findByNodeIdAndIfIndex(Integer nodeId,
                                                Integer ifIndex)
Specified by:
findByNodeIdAndIfIndex in interface SnmpInterfaceDao

findByForeignKeyAndIfIndex

public OnmsSnmpInterface findByForeignKeyAndIfIndex(String foreignSource,
                                                    String foreignId,
                                                    Integer ifIndex)
Specified by:
findByForeignKeyAndIfIndex in interface SnmpInterfaceDao


Copyright © 2009. All Rights Reserved.