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, update
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
protected 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 StpNodeDao
public void deactivateForNodeIdIfOlderThan(int nodeId, Date scanTime)
deactivateForNodeIdIfOlderThan
in interface StpNodeDao
public void deleteForNodeIdIfOlderThan(int nodeId, Date scanTime)
deleteForNodeIdIfOlderThan
in interface StpNodeDao
public void setStatusForNode(Integer nodeId, OnmsArpInterface.StatusType action)
setStatusForNode
in interface StpNodeDao
public OnmsStpNode findByNodeAndVlan(Integer nodeId, Integer baseVlan)
findByNodeAndVlan
in interface StpNodeDao
Copyright © 2015. All rights reserved.