org.opennms.netmgt.dao.hibernate
Class IpRouteInterfaceDaoHibernate

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<OnmsIpRouteInterface,Integer>
              extended by org.opennms.netmgt.dao.hibernate.IpRouteInterfaceDaoHibernate
All Implemented Interfaces:
IpRouteInterfaceDao, OnmsDao<OnmsIpRouteInterface,Integer>, org.springframework.beans.factory.InitializingBean

public class IpRouteInterfaceDaoHibernate
extends AbstractDaoHibernate<OnmsIpRouteInterface,Integer>
implements IpRouteInterfaceDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
IpRouteInterfaceDaoHibernate()
           
 
Method Summary
 void deactivateForNodeIdIfOlderThan(int nodeid, Timestamp scanTime)
           
 OnmsIpRouteInterface findByNodeAndDest(Integer id, String routeDest)
           
 void markDeletedIfNodeDeleted()
           
 void setStatusForNode(Integer nodeid, Character action)
           
 void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, Character action)
           
 
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, 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 org.springframework.dao.support.DaoSupport
afterPropertiesSet
 
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, lock, save, saveOrUpdate, update
 

Constructor Detail

IpRouteInterfaceDaoHibernate

public IpRouteInterfaceDaoHibernate()
Method Detail

markDeletedIfNodeDeleted

public void markDeletedIfNodeDeleted()
Specified by:
markDeletedIfNodeDeleted in interface IpRouteInterfaceDao

deactivateForNodeIdIfOlderThan

public void deactivateForNodeIdIfOlderThan(int nodeid,
                                           Timestamp scanTime)
Specified by:
deactivateForNodeIdIfOlderThan in interface IpRouteInterfaceDao

setStatusForNode

public void setStatusForNode(Integer nodeid,
                             Character action)
Specified by:
setStatusForNode in interface IpRouteInterfaceDao

setStatusForNodeAndIfIndex

public void setStatusForNodeAndIfIndex(Integer nodeid,
                                       Integer ifIndex,
                                       Character action)
Specified by:
setStatusForNodeAndIfIndex in interface IpRouteInterfaceDao

findByNodeAndDest

public OnmsIpRouteInterface findByNodeAndDest(Integer id,
                                              String routeDest)
Specified by:
findByNodeAndDest in interface IpRouteInterfaceDao


Copyright © 2011. All Rights Reserved.