org.opennms.netmgt.dao.hibernate
Class DataLinkInterfaceDaoHibernate

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

public class DataLinkInterfaceDaoHibernate
extends AbstractDaoHibernate<DataLinkInterface,Integer>
implements DataLinkInterfaceDao

DataLinkInterfaceDaoHibernate class.

Version:
$Id: $
Author:
ranger

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
DataLinkInterfaceDaoHibernate()
          Constructor for DataLinkInterfaceDaoHibernate.
 
Method Summary
 Collection<DataLinkInterface> findAll(Integer offset, Integer limit)
          findAll
 DataLinkInterface findById(Integer id)
          findById
 Collection<DataLinkInterface> findByNodeId(Integer nodeId)
          findByNodeId
 Collection<DataLinkInterface> findByNodeParentId(Integer nodeParentId)
          findByNodeParentId
 
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

DataLinkInterfaceDaoHibernate

public DataLinkInterfaceDaoHibernate()

Constructor for DataLinkInterfaceDaoHibernate.

Method Detail

findAll

public Collection<DataLinkInterface> findAll(Integer offset,
                                             Integer limit)

findAll

Specified by:
findAll in interface DataLinkInterfaceDao
Parameters:
offset - a Integer object.
limit - a Integer object.
Returns:
a Collection object.

findById

public DataLinkInterface findById(Integer id)

findById

Specified by:
findById in interface DataLinkInterfaceDao
Parameters:
id - a Integer object.
Returns:
a DataLinkInterface object.

findByNodeId

public Collection<DataLinkInterface> findByNodeId(Integer nodeId)

findByNodeId

Specified by:
findByNodeId in interface DataLinkInterfaceDao
Parameters:
nodeId - a Integer object.
Returns:
a Collection object.

findByNodeParentId

public Collection<DataLinkInterface> findByNodeParentId(Integer nodeParentId)

findByNodeParentId

Specified by:
findByNodeParentId in interface DataLinkInterfaceDao
Parameters:
nodeParentId - a Integer object.
Returns:
a Collection object.


Copyright © 2011. All Rights Reserved.