Class IpNetToMediaDaoHibernate
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<IpNetToMedia,java.lang.Integer>
-
- org.opennms.netmgt.enlinkd.persistence.impl.IpNetToMediaDaoHibernate
-
- All Implemented Interfaces:
OnmsDao<IpNetToMedia,java.lang.Integer>
,IpNetToMediaDao
,org.springframework.beans.factory.InitializingBean
public class IpNetToMediaDaoHibernate extends AbstractDaoHibernate<IpNetToMedia,java.lang.Integer> implements IpNetToMediaDao
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
m_criteriaConverter
-
-
Constructor Summary
Constructors Constructor Description IpNetToMediaDaoHibernate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteBySourceNodeId(java.lang.Integer nodeId)
void
deleteBySourceNodeIdOlderThen(java.lang.Integer nodeId, java.util.Date now)
java.util.List<IpNetToMedia>
findByNetAddress(java.net.InetAddress netAddress)
java.util.List<IpNetToMedia>
findByPhysAddress(java.lang.String physAddress)
java.util.List<IpNetToMedia>
findBySourceNodeId(java.lang.Integer id)
IpNetToMedia
getByNetAndPhysAddress(java.net.InetAddress netAddress, java.lang.String physAddress)
-
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
-
findBySourceNodeId
public java.util.List<IpNetToMedia> findBySourceNodeId(java.lang.Integer id)
- Specified by:
findBySourceNodeId
in interfaceIpNetToMediaDao
-
getByNetAndPhysAddress
public IpNetToMedia getByNetAndPhysAddress(java.net.InetAddress netAddress, java.lang.String physAddress)
- Specified by:
getByNetAndPhysAddress
in interfaceIpNetToMediaDao
-
deleteBySourceNodeIdOlderThen
public void deleteBySourceNodeIdOlderThen(java.lang.Integer nodeId, java.util.Date now)
- Specified by:
deleteBySourceNodeIdOlderThen
in interfaceIpNetToMediaDao
-
deleteBySourceNodeId
public void deleteBySourceNodeId(java.lang.Integer nodeId)
- Specified by:
deleteBySourceNodeId
in interfaceIpNetToMediaDao
-
findByPhysAddress
public java.util.List<IpNetToMedia> findByPhysAddress(java.lang.String physAddress)
- Specified by:
findByPhysAddress
in interfaceIpNetToMediaDao
-
findByNetAddress
public java.util.List<IpNetToMedia> findByNetAddress(java.net.InetAddress netAddress)
- Specified by:
findByNetAddress
in interfaceIpNetToMediaDao
-
-