public class DataLinkInterfaceDaoHibernate extends AbstractDaoHibernate<DataLinkInterface,Integer> implements DataLinkInterfaceDao
Constructor and Description |
---|
DataLinkInterfaceDaoHibernate()
Constructor for DataLinkInterfaceDaoHibernate.
|
bulkDelete, clear, countAll, countMatching, countMatching, delete, delete, deleteAll, find, find, findAll, findMatching, findMatching, findMatchingObjects, findObjects, findUnique, flush, get, initDao, initialize, load, lock, merge, queryInt, queryInt, save, saveOrUpdate, update
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countMatching, findMatching
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
public DataLinkInterfaceDaoHibernate()
Constructor for DataLinkInterfaceDaoHibernate.
public Collection<DataLinkInterface> findAll(Integer offset, Integer limit)
findAll
findAll
in interface DataLinkInterfaceDao
offset
- a Integer
object.limit
- a Integer
object.Collection
object.public DataLinkInterface findById(Integer id)
findById
findById
in interface DataLinkInterfaceDao
id
- a Integer
object.DataLinkInterface
object.public Collection<DataLinkInterface> findByNodeId(Integer nodeId)
findByNodeId
findByNodeId
in interface DataLinkInterfaceDao
nodeId
- a Integer
object.Collection
object.public Collection<DataLinkInterface> findByNodeParentId(Integer nodeParentId)
findByNodeParentId
findByNodeParentId
in interface DataLinkInterfaceDao
nodeParentId
- a Integer
object.Collection
object.public Collection<DataLinkInterface> findByNodeIdAndIfIndex(Integer nodeId, Integer ifIndex)
findByNodeIdAndIfIndex
in interface DataLinkInterfaceDao
public Collection<DataLinkInterface> findByParentNodeIdAndIfIndex(Integer nodeParentId, Integer parentIfIndex)
findByParentNodeIdAndIfIndex
in interface DataLinkInterfaceDao
public void markDeletedIfNodeDeleted()
markDeletedIfNodeDeleted
in interface DataLinkInterfaceDao
public void deactivateIfOlderThan(Date scanTime, String source)
deactivateIfOlderThan
in interface DataLinkInterfaceDao
public void deleteIfOlderThan(Date scanTime, String source)
deleteIfOlderThan
in interface DataLinkInterfaceDao
public void setStatusForNode(Integer nodeid, OnmsArpInterface.StatusType action)
setStatusForNode
in interface DataLinkInterfaceDao
public void setStatusForNode(Integer nodeid, String source, OnmsArpInterface.StatusType action)
setStatusForNode
in interface DataLinkInterfaceDao
public void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, OnmsArpInterface.StatusType action)
setStatusForNodeAndIfIndex
in interface DataLinkInterfaceDao
public void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, String source, OnmsArpInterface.StatusType action)
setStatusForNodeAndIfIndex
in interface DataLinkInterfaceDao
Copyright © 2015. All rights reserved.