Class BridgeMacLinkDaoHibernate
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<BridgeMacLink,Integer>
-
- org.opennms.netmgt.enlinkd.persistence.impl.BridgeMacLinkDaoHibernate
-
- All Implemented Interfaces:
OnmsDao<BridgeMacLink,Integer>
,BridgeMacLinkDao
,org.springframework.beans.factory.InitializingBean
public class BridgeMacLinkDaoHibernate extends AbstractDaoHibernate<BridgeMacLink,Integer> implements BridgeMacLinkDao
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
m_criteriaConverter
-
-
Constructor Summary
Constructors Constructor Description BridgeMacLinkDaoHibernate()
Constructor for BridgeMacLinkDaoHibernate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteByNodeId(Integer nodeId)
void
deleteByNodeIdOlderThen(Integer nodeId, Date now)
List<BridgeMacLink>
findByMacAddress(String mac)
List<BridgeMacLink>
findByNodeId(Integer id)
List<BridgeMacLink>
findByNodeIdBridgePort(Integer id, Integer port)
BridgeMacLink
getByNodeIdBridgePortMac(Integer id, Integer port, String mac)
-
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 List<BridgeMacLink> findByNodeId(Integer id)
- Specified by:
findByNodeId
in interfaceBridgeMacLinkDao
-
getByNodeIdBridgePortMac
public BridgeMacLink getByNodeIdBridgePortMac(Integer id, Integer port, String mac)
- Specified by:
getByNodeIdBridgePortMac
in interfaceBridgeMacLinkDao
-
findByNodeIdBridgePort
public List<BridgeMacLink> findByNodeIdBridgePort(Integer id, Integer port)
- Specified by:
findByNodeIdBridgePort
in interfaceBridgeMacLinkDao
-
findByMacAddress
public List<BridgeMacLink> findByMacAddress(String mac)
- Specified by:
findByMacAddress
in interfaceBridgeMacLinkDao
-
deleteByNodeIdOlderThen
public void deleteByNodeIdOlderThen(Integer nodeId, Date now)
- Specified by:
deleteByNodeIdOlderThen
in interfaceBridgeMacLinkDao
-
deleteByNodeId
public void deleteByNodeId(Integer nodeId)
- Specified by:
deleteByNodeId
in interfaceBridgeMacLinkDao
-
-