Class BridgeBridgeLinkDaoHibernate
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<BridgeBridgeLink,java.lang.Integer>
-
- org.opennms.netmgt.enlinkd.persistence.impl.BridgeBridgeLinkDaoHibernate
-
- All Implemented Interfaces:
OnmsDao<BridgeBridgeLink,java.lang.Integer>
,BridgeBridgeLinkDao
,org.springframework.beans.factory.InitializingBean
public class BridgeBridgeLinkDaoHibernate extends AbstractDaoHibernate<BridgeBridgeLink,java.lang.Integer> implements BridgeBridgeLinkDao
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
m_criteriaConverter
-
-
Constructor Summary
Constructors Constructor Description BridgeBridgeLinkDaoHibernate()
Constructor for BridgeBridgeLinkDaoHibernate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteByDesignatedNodeId(java.lang.Integer nodeId)
void
deleteByDesignatedNodeIdOlderThen(java.lang.Integer nodeId, java.util.Date now)
void
deleteByNodeId(java.lang.Integer nodeId)
void
deleteByNodeIdOlderThen(java.lang.Integer nodeId, java.util.Date now)
java.util.List<BridgeBridgeLink>
findByDesignatedNodeId(java.lang.Integer id)
java.util.List<BridgeBridgeLink>
findByNodeId(java.lang.Integer id)
java.util.List<BridgeBridgeLink>
getByDesignatedNodeIdBridgePort(java.lang.Integer id, java.lang.Integer port)
java.util.List<BridgeBridgeLink>
getByDesignatedNodeIdBridgePortIfIndex(java.lang.Integer id, java.lang.Integer ifindex)
BridgeBridgeLink
getByNodeIdBridgePort(java.lang.Integer id, java.lang.Integer port)
BridgeBridgeLink
getByNodeIdBridgePortIfIndex(java.lang.Integer id, java.lang.Integer ifindex)
-
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<BridgeBridgeLink> findByNodeId(java.lang.Integer id)
- Specified by:
findByNodeId
in interfaceBridgeBridgeLinkDao
-
findByDesignatedNodeId
public java.util.List<BridgeBridgeLink> findByDesignatedNodeId(java.lang.Integer id)
- Specified by:
findByDesignatedNodeId
in interfaceBridgeBridgeLinkDao
-
getByNodeIdBridgePort
public BridgeBridgeLink getByNodeIdBridgePort(java.lang.Integer id, java.lang.Integer port)
- Specified by:
getByNodeIdBridgePort
in interfaceBridgeBridgeLinkDao
-
getByNodeIdBridgePortIfIndex
public BridgeBridgeLink getByNodeIdBridgePortIfIndex(java.lang.Integer id, java.lang.Integer ifindex)
- Specified by:
getByNodeIdBridgePortIfIndex
in interfaceBridgeBridgeLinkDao
-
getByDesignatedNodeIdBridgePort
public java.util.List<BridgeBridgeLink> getByDesignatedNodeIdBridgePort(java.lang.Integer id, java.lang.Integer port)
- Specified by:
getByDesignatedNodeIdBridgePort
in interfaceBridgeBridgeLinkDao
-
getByDesignatedNodeIdBridgePortIfIndex
public java.util.List<BridgeBridgeLink> getByDesignatedNodeIdBridgePortIfIndex(java.lang.Integer id, java.lang.Integer ifindex)
- Specified by:
getByDesignatedNodeIdBridgePortIfIndex
in interfaceBridgeBridgeLinkDao
-
deleteByNodeIdOlderThen
public void deleteByNodeIdOlderThen(java.lang.Integer nodeId, java.util.Date now)
- Specified by:
deleteByNodeIdOlderThen
in interfaceBridgeBridgeLinkDao
-
deleteByDesignatedNodeIdOlderThen
public void deleteByDesignatedNodeIdOlderThen(java.lang.Integer nodeId, java.util.Date now)
- Specified by:
deleteByDesignatedNodeIdOlderThen
in interfaceBridgeBridgeLinkDao
-
deleteByNodeId
public void deleteByNodeId(java.lang.Integer nodeId)
- Specified by:
deleteByNodeId
in interfaceBridgeBridgeLinkDao
-
deleteByDesignatedNodeId
public void deleteByDesignatedNodeId(java.lang.Integer nodeId)
- Specified by:
deleteByDesignatedNodeId
in interfaceBridgeBridgeLinkDao
-
-