public class MockCdpLinkDao extends AbstractMockDao<CdpLink,Integer> implements CdpLinkDao
AbstractMockDao.NullEventForwarder| Constructor and Description |
|---|
MockCdpLinkDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByNodeId(Integer nodeId) |
void |
deleteByNodeIdOlderThen(Integer nodeiId,
Date now) |
List<CdpLink> |
findByNodeId(Integer nodeId) |
protected void |
generateId(CdpLink link) |
CdpLink |
get(Integer nodeId,
Integer cdpCacheIfIndex,
Integer cdpCacheDeviceIndex) |
CdpLink |
get(OnmsNode node,
Integer cdpCacheIfIndex,
Integer cdpCacheDeviceIndex) |
protected Integer |
getId(CdpLink link) |
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, delete, findAll, findMatching, findMatching, flush, get, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getMonitoringLocationDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, load, lock, save, saveOrUpdate, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, updateprotected void generateId(CdpLink link)
generateId in class AbstractMockDao<CdpLink,Integer>protected Integer getId(CdpLink link)
getId in class AbstractMockDao<CdpLink,Integer>public CdpLink get(OnmsNode node, Integer cdpCacheIfIndex, Integer cdpCacheDeviceIndex)
get in interface CdpLinkDaopublic CdpLink get(Integer nodeId, Integer cdpCacheIfIndex, Integer cdpCacheDeviceIndex)
get in interface CdpLinkDaopublic List<CdpLink> findByNodeId(Integer nodeId)
findByNodeId in interface CdpLinkDaopublic void deleteByNodeIdOlderThen(Integer nodeiId, Date now)
deleteByNodeIdOlderThen in interface CdpLinkDaopublic void deleteByNodeId(Integer nodeId)
deleteByNodeId in interface CdpLinkDaoCopyright © 2019. All rights reserved.