Class BridgeElementDaoHibernate
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<BridgeElement,java.lang.Integer>
-
- org.opennms.netmgt.enlinkd.persistence.impl.BridgeElementDaoHibernate
-
- All Implemented Interfaces:
OnmsDao<BridgeElement,java.lang.Integer>
,BridgeElementDao
,org.springframework.beans.factory.InitializingBean
public class BridgeElementDaoHibernate extends AbstractDaoHibernate<BridgeElement,java.lang.Integer> implements BridgeElementDao
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
m_criteriaConverter
-
-
Constructor Summary
Constructors Constructor Description BridgeElementDaoHibernate()
Constructor for BridgeElementDaoHibernate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteByNodeId(java.lang.Integer nodeId)
void
deleteByNodeIdOlderThen(java.lang.Integer nodeId, java.util.Date now)
java.util.List<BridgeElement>
findByBridgeId(java.lang.String id)
java.util.List<BridgeElement>
findByNodeId(java.lang.Integer id)
findByNodeIdBridgeElement
getByBridgeIdVlan(java.lang.String id, java.lang.Integer vlanId)
BridgeElement
getByNodeIdVlan(java.lang.Integer id, java.lang.Integer vlanId)
-
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 java.util.List<BridgeElement> findByNodeId(java.lang.Integer id)
findByNodeId
- Specified by:
findByNodeId
in interfaceBridgeElementDao
- Parameters:
id
- aInteger
object.- Returns:
- a
LldpElement
object.
-
getByNodeIdVlan
public BridgeElement getByNodeIdVlan(java.lang.Integer id, java.lang.Integer vlanId)
- Specified by:
getByNodeIdVlan
in interfaceBridgeElementDao
-
findByBridgeId
public java.util.List<BridgeElement> findByBridgeId(java.lang.String id)
- Specified by:
findByBridgeId
in interfaceBridgeElementDao
-
getByBridgeIdVlan
public BridgeElement getByBridgeIdVlan(java.lang.String id, java.lang.Integer vlanId)
- Specified by:
getByBridgeIdVlan
in interfaceBridgeElementDao
-
deleteByNodeIdOlderThen
public void deleteByNodeIdOlderThen(java.lang.Integer nodeId, java.util.Date now)
- Specified by:
deleteByNodeIdOlderThen
in interfaceBridgeElementDao
-
deleteByNodeId
public void deleteByNodeId(java.lang.Integer nodeId)
- Specified by:
deleteByNodeId
in interfaceBridgeElementDao
-
-