public class MockAssetRecordDao extends AbstractMockDao<OnmsAssetRecord,Integer> implements AssetRecordDao
AbstractMockDao.NullEventForwarder
Constructor and Description |
---|
MockAssetRecordDao() |
Modifier and Type | Method and Description |
---|---|
OnmsAssetRecord |
findByNodeId(Integer id) |
Map<String,Integer> |
findImportedAssetNumbersToNodeIds(String foreignSource) |
protected void |
generateId(OnmsAssetRecord asset) |
List<OnmsAssetRecord> |
getDistinctProperties() |
protected Integer |
getId(OnmsAssetRecord asset) |
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
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
protected void generateId(OnmsAssetRecord asset)
generateId
in class AbstractMockDao<OnmsAssetRecord,Integer>
protected Integer getId(OnmsAssetRecord asset)
getId
in class AbstractMockDao<OnmsAssetRecord,Integer>
public OnmsAssetRecord findByNodeId(Integer id)
findByNodeId
in interface AssetRecordDao
public Map<String,Integer> findImportedAssetNumbersToNodeIds(String foreignSource)
findImportedAssetNumbersToNodeIds
in interface AssetRecordDao
public List<OnmsAssetRecord> getDistinctProperties()
getDistinctProperties
in interface AssetRecordDao
Copyright © 2016. All rights reserved.