Class LldpElementDaoHibernate
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<LldpElement,java.lang.Integer>
-
- org.opennms.netmgt.enlinkd.persistence.impl.LldpElementDaoHibernate
-
- All Implemented Interfaces:
OnmsDao<LldpElement,java.lang.Integer>
,LldpElementDao
,org.springframework.beans.factory.InitializingBean
public class LldpElementDaoHibernate extends AbstractDaoHibernate<LldpElement,java.lang.Integer> implements LldpElementDao
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
m_criteriaConverter
-
-
Constructor Summary
Constructors Constructor Description LldpElementDaoHibernate()
Constructor for LldpElementDaoHibernate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteByNodeId(java.lang.Integer nodeId)
java.util.List<LldpElement>
findByChassisId(java.lang.String chassisId, LldpUtils.LldpChassisIdSubType type)
LldpElement
findByNodeId(java.lang.Integer id)
findByNodeIdLldpElement
findBySysname(java.lang.String sysname)
-
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
-
findByNodeId
public LldpElement findByNodeId(java.lang.Integer id)
findByNodeId
- Specified by:
findByNodeId
in interfaceLldpElementDao
- Parameters:
id
- aInteger
object.- Returns:
- a
LldpElement
object.
-
findByChassisId
public java.util.List<LldpElement> findByChassisId(java.lang.String chassisId, LldpUtils.LldpChassisIdSubType type)
- Specified by:
findByChassisId
in interfaceLldpElementDao
-
findBySysname
public LldpElement findBySysname(java.lang.String sysname)
- Specified by:
findBySysname
in interfaceLldpElementDao
-
deleteByNodeId
public void deleteByNodeId(java.lang.Integer nodeId)
- Specified by:
deleteByNodeId
in interfaceLldpElementDao
-
-