public class MockStpInterfaceDao extends AbstractMockDao<OnmsStpInterface,Integer> implements StpInterfaceDao
AbstractMockDao.NullEventForwarder| Constructor and Description |
|---|
MockStpInterfaceDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
deactivateForNodeIdIfOlderThan(int nodeId,
Date scanTime) |
void |
deleteForNodeIdIfOlderThan(int nodeId,
Date scanTime) |
OnmsStpInterface |
findByNodeAndVlan(Integer nodeId,
Integer bridgePort,
Integer vlan) |
protected void |
generateId(OnmsStpInterface entity) |
protected Integer |
getId(OnmsStpInterface entity) |
void |
markDeletedIfNodeDeleted() |
void |
setStatusForNode(Integer nodeId,
OnmsArpInterface.StatusType action) |
void |
setStatusForNodeAndIfIndex(Integer nodeId,
Integer ifIndex,
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(OnmsStpInterface entity)
getId in class AbstractMockDao<OnmsStpInterface,Integer>protected void generateId(OnmsStpInterface entity)
generateId in class AbstractMockDao<OnmsStpInterface,Integer>public void markDeletedIfNodeDeleted()
markDeletedIfNodeDeleted in interface StpInterfaceDaopublic void deactivateForNodeIdIfOlderThan(int nodeId,
Date scanTime)
deactivateForNodeIdIfOlderThan in interface StpInterfaceDaopublic void deleteForNodeIdIfOlderThan(int nodeId,
Date scanTime)
deleteForNodeIdIfOlderThan in interface StpInterfaceDaopublic void setStatusForNode(Integer nodeId, OnmsArpInterface.StatusType action)
setStatusForNode in interface StpInterfaceDaopublic void setStatusForNodeAndIfIndex(Integer nodeId, Integer ifIndex, OnmsArpInterface.StatusType action)
setStatusForNodeAndIfIndex in interface StpInterfaceDaopublic OnmsStpInterface findByNodeAndVlan(Integer nodeId, Integer bridgePort, Integer vlan)
findByNodeAndVlan in interface StpInterfaceDaoCopyright © 2015. All rights reserved.