AbstractMockDao.NullEventForwarder| Constructor and Description |
|---|
MockNodeDao() |
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, findAll, findMatching, findMatching, get, getAlarmAssociationDao, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getMonitoringLocationDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, load, lock, saveOrUpdateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountMatching, findMatchingclear, countAll, countMatching, delete, findMatching, get, initialize, load, lock, saveOrUpdateprotected void generateId(OnmsNode node)
generateId in class AbstractMockDao<OnmsNode,Integer>protected Integer getId(OnmsNode node)
getId in class AbstractMockDao<OnmsNode,Integer>public void delete(OnmsNode node)
public void update(OnmsNode node)
public void flush()
public OnmsNode get(String lookupCriteria)
NodeDaopublic String getLabelForId(Integer id)
NodeDaogetLabelForId in interface NodeDaopublic String getLocationForId(Integer id)
NodeDaogetLocationForId in interface NodeDaopublic List<OnmsNode> findByLabel(String label)
NodeDaofindByLabel
findByLabel in interface NodeDaolabel - a String object.Collection object.public OnmsNode getHierarchy(Integer id)
NodeDaogetHierarchy
getHierarchy in interface NodeDaoid - a Integer object.OnmsNode object.public Map<String,Integer> getForeignIdToNodeIdMap(String foreignSource)
NodeDaogetForeignIdToNodeIdMap
getForeignIdToNodeIdMap in interface NodeDaoforeignSource - a String object.Map object.public List<OnmsNode> findAllByVarCharAssetColumn(String columnName, String columnValue)
NodeDaofindAllByVarCharAssetColumn
findAllByVarCharAssetColumn in interface NodeDaocolumnName - a String object.columnValue - a String object.Collection object.public List<OnmsNode> findAllByVarCharAssetColumnCategoryList(String columnName, String columnValue, Collection<OnmsCategory> categories)
NodeDaofindAllByVarCharAssetColumnCategoryList
findAllByVarCharAssetColumnCategoryList in interface NodeDaocolumnName - a String object.columnValue - a String object.categories - a Collection object.Collection object.public List<OnmsNode> findByCategory(OnmsCategory category)
NodeDaofindByCategory
findByCategory in interface NodeDaocategory - a OnmsCategory object.Collection object.public List<OnmsNode> findAllByCategoryList(Collection<OnmsCategory> categories)
NodeDaofindAllByCategoryList
findAllByCategoryList in interface NodeDaocategories - a Collection object.Collection object.public List<OnmsNode> findAllByCategoryLists(Collection<OnmsCategory> rowCatNames, Collection<OnmsCategory> colCatNames)
NodeDaofindAllByCategoryLists
findAllByCategoryLists in interface NodeDaorowCatNames - a Collection object.colCatNames - a Collection object.Collection object.public List<OnmsNode> findByForeignSource(String foreignSource)
NodeDaofindByForeignSource
findByForeignSource in interface NodeDaoforeignSource - a String object.List object.public List<OnmsNode> findByIpAddressAndService(InetAddress ipAddress, String serviceName)
findByIpAddressAndService in interface NodeDaopublic OnmsNode findByForeignId(String foreignSource, String foreignId)
NodeDaofindByForeignId
findByForeignId in interface NodeDaoforeignSource - a String object.foreignId - a String object.OnmsNode object.public int getNodeCountForForeignSource(String foreignSource)
NodeDaogetNodeCountForForeignSource
getNodeCountForForeignSource in interface NodeDaoforeignSource - a String object.public Map<String,Set<String>> getForeignIdsPerForeignSourceMap()
NodeDaogetForeignIdsPerForeignSourceMap
getForeignIdsPerForeignSourceMap in interface NodeDaoMap object.public Set<String> getForeignIdsPerForeignSource(String foreignSource)
NodeDaogetForeignIdsPerForeignSource
getForeignIdsPerForeignSource in interface NodeDaoforeignSource - a String object.Set object.public List<OnmsNode> findAllProvisionedNodes()
NodeDaofindAllProvisionedNodes
findAllProvisionedNodes in interface NodeDaoList object.public List<OnmsIpInterface> findObsoleteIpInterfaces(Integer nodeId, Date scanStamp)
NodeDaofindObsoleteIpInterfaces
findObsoleteIpInterfaces in interface NodeDaonodeId - a Integer object.scanStamp - a Date object.List object.public List<OnmsSnmpInterface> findObsoleteSnmpInterfaces(Integer nodeId, Date scanStamp)
public void deleteObsoleteInterfaces(Integer nodeId, Date scanStamp)
NodeDaodeleteObsoleteInterfaces
deleteObsoleteInterfaces in interface NodeDaonodeId - a Integer object.scanStamp - a Date object.public void updateNodeScanStamp(Integer nodeId, Date scanStamp)
NodeDaoupdateNodeScanStamp
updateNodeScanStamp in interface NodeDaonodeId - a Integer object.scanStamp - a Date object.public Collection<Integer> getNodeIds()
NodeDaogetNodeIds
getNodeIds in interface NodeDaoCollection object.public List<OnmsNode> findByForeignSourceAndIpAddress(String foreignSource, String ipAddress)
NodeDaofindByForeignSourceAndIpAddress
findByForeignSourceAndIpAddress in interface NodeDaoforeignSource - a String object.ipAddress - a String object.List object.public SurveillanceStatus findSurveillanceStatusByCategoryLists(Collection<OnmsCategory> rowCategories, Collection<OnmsCategory> columnCategories)
findSurveillanceStatusByCategoryLists in interface NodeDaopublic Integer getNextNodeId(Integer nodeId)
getNextNodeId in interface NodeDaopublic Integer getPreviousNodeId(Integer nodeId)
getPreviousNodeId in interface NodeDaopublic Map<Integer,String> getAllLabelsById()
NodeDaogetAllLabelsById in interface NodeDaoMap containing all node ids and their associated labels.public Map<String,Long> getNumberOfNodesBySysOid()
NodeDaogetNumberOfNodesBySysOid in interface NodeDaoMap containing the number of nodes for each sysOidpublic int getNextNodeId()
public List<OnmsNode> findByLabelForLocation(String label, String location)
NodeDaofindByLabel
findByLabelForLocation in interface NodeDaolabel - a String object.location - a String object.Collection object.public List<OnmsNode> findByForeignId(String foreignId)
NodeDaofindByForeignId
findByForeignId in interface NodeDaoforeignId - a String object.List object.public List<OnmsNode> findByForeignIdForLocation(String foreignId, String location)
NodeDaofindByForeignIdForLocation
findByForeignIdForLocation in interface NodeDaoforeignId - a String object.location - a String object.List object.public void markHavingFlows(Collection<Integer> ingressIds, Collection<Integer> egressIds)
markHavingFlows in interface NodeDaopublic List<OnmsNode> findAllHavingFlows()
findAllHavingFlows in interface NodeDaopublic List<OnmsNode> findAllHavingIngressFlows()
findAllHavingIngressFlows in interface NodeDaopublic List<OnmsNode> findAllHavingEgressFlows()
findAllHavingEgressFlows in interface NodeDaopublic OnmsNode getDefaultFocusPoint()
getDefaultFocusPoint in interface NodeDaoCopyright © 2022. All rights reserved.