public class MockDataLinkInterfaceDao extends AbstractMockDao<DataLinkInterface,Integer> implements DataLinkInterfaceDao
AbstractMockDao.NullEventForwarder| Constructor and Description |
|---|
MockDataLinkInterfaceDao() |
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, delete, findAll, findMatching, findMatching, flush, get, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, load, lock, save, saveOrUpdate, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountMatching, findMatchingclear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, updateprotected void generateId(DataLinkInterface dli)
generateId in class AbstractMockDao<DataLinkInterface,Integer>protected Integer getId(DataLinkInterface dli)
getId in class AbstractMockDao<DataLinkInterface,Integer>public Collection<DataLinkInterface> findAll(Integer offset, Integer limit)
DataLinkInterfaceDaofindAll
findAll in interface DataLinkInterfaceDaooffset - a Integer object.limit - a Integer object.Collection object.public DataLinkInterface findById(Integer id)
DataLinkInterfaceDaofindById
findById in interface DataLinkInterfaceDaoid - a Integer object.DataLinkInterface object.public Collection<DataLinkInterface> findByNodeId(Integer nodeId)
DataLinkInterfaceDaofindByNodeId
findByNodeId in interface DataLinkInterfaceDaonodeId - a Integer object.Collection object.public Collection<DataLinkInterface> findByNodeParentId(Integer nodeParentId)
DataLinkInterfaceDaofindByNodeParentId
findByNodeParentId in interface DataLinkInterfaceDaonodeParentId - a Integer object.Collection object.public void markDeletedIfNodeDeleted()
markDeletedIfNodeDeleted in interface DataLinkInterfaceDaopublic Collection<DataLinkInterface> findByNodeIdAndIfIndex(Integer nodeId, Integer ifIndex)
findByNodeIdAndIfIndex in interface DataLinkInterfaceDaopublic Collection<DataLinkInterface> findByParentNodeIdAndIfIndex(Integer nodeParentId, Integer parentIfIndex)
findByParentNodeIdAndIfIndex in interface DataLinkInterfaceDaopublic void deactivateIfOlderThan(Date scanTime, String source)
deactivateIfOlderThan in interface DataLinkInterfaceDaopublic void deleteIfOlderThan(Date scanTime, String source)
deleteIfOlderThan in interface DataLinkInterfaceDaopublic void setStatusForNode(Integer nodeid, OnmsArpInterface.StatusType action)
setStatusForNode in interface DataLinkInterfaceDaopublic void setStatusForNode(Integer nodeid, String source, OnmsArpInterface.StatusType action)
setStatusForNode in interface DataLinkInterfaceDaopublic void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, OnmsArpInterface.StatusType action)
setStatusForNodeAndIfIndex in interface DataLinkInterfaceDaopublic void setStatusForNodeAndIfIndex(Integer nodeid, Integer ifIndex, String source, OnmsArpInterface.StatusType action)
setStatusForNodeAndIfIndex in interface DataLinkInterfaceDaoCopyright © 2015. All rights reserved.