public class MockStpNodeDao extends AbstractMockDao<OnmsStpNode,Integer> implements StpNodeDao
AbstractMockDao.NullEventForwarder| Constructor and Description |
|---|
MockStpNodeDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
deactivateForNodeIdIfOlderThan(int nodeId,
Date scanTime) |
void |
deleteForNodeIdIfOlderThan(int nodeId,
Date scanTime) |
OnmsStpNode |
findByNodeAndVlan(Integer nodeId,
Integer baseVlan) |
protected void |
generateId(OnmsStpNode entity) |
protected Integer |
getId(OnmsStpNode entity) |
void |
markDeletedIfNodeDeleted() |
void |
setStatusForNode(Integer nodeId,
OnmsArpInterface.StatusType action) |
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 Integer getId(OnmsStpNode entity)
getId in class AbstractMockDao<OnmsStpNode,Integer>protected void generateId(OnmsStpNode entity)
generateId in class AbstractMockDao<OnmsStpNode,Integer>public void markDeletedIfNodeDeleted()
markDeletedIfNodeDeleted in interface StpNodeDaopublic void deactivateForNodeIdIfOlderThan(int nodeId,
Date scanTime)
deactivateForNodeIdIfOlderThan in interface StpNodeDaopublic void deleteForNodeIdIfOlderThan(int nodeId,
Date scanTime)
deleteForNodeIdIfOlderThan in interface StpNodeDaopublic void setStatusForNode(Integer nodeId, OnmsArpInterface.StatusType action)
setStatusForNode in interface StpNodeDaopublic OnmsStpNode findByNodeAndVlan(Integer nodeId, Integer baseVlan)
findByNodeAndVlan in interface StpNodeDaoCopyright © 2015. All rights reserved.