AbstractMockDao.NullEventForwarder| Constructor and Description |
|---|
MockAlarmDao() |
| Modifier and Type | Method and Description |
|---|---|
OnmsAlarm |
findByReductionKey(String reductionKey) |
protected void |
generateId(OnmsAlarm alarm) |
List<HeatMapElement> |
getHeatMapItemsForEntity(String entityNameColumn,
String entityIdColumn,
boolean processAcknowledgedAlarms,
String restrictionColumn,
String restrictionValue,
String... groupByColumns) |
protected Integer |
getId(OnmsAlarm alarm) |
List<EdgeAlarmStatusSummary> |
getLldpEdgeAlarmSummaries(List<Integer> lldpLinkIds) |
List<AlarmSummary> |
getNodeAlarmSummaries()
Get the list of current - not yet acknowledged - alarms per node with severity greater than normal,
reflecting the max severity, the minimum last event time and alarm count;
ordered by the oldest.
|
List<AlarmSummary> |
getNodeAlarmSummariesIncludeAcknowledgedOnes(List<Integer> nodeIds)
Does the same as
AlarmDao.getNodeAlarmSummaries() but allows to restrict the AlarmSummary calculation to
specific nodeIds. |
Integer |
save(OnmsAlarm alarm) |
void |
update(OnmsAlarm alarm) |
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, saveOrUpdateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountMatching, findMatchingclear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, saveOrUpdatepublic void update(OnmsAlarm alarm)
protected void generateId(OnmsAlarm alarm)
generateId in class AbstractMockDao<OnmsAlarm,Integer>protected Integer getId(OnmsAlarm alarm)
getId in class AbstractMockDao<OnmsAlarm,Integer>public OnmsAlarm findByReductionKey(String reductionKey)
findByReductionKey in interface AlarmDaopublic List<AlarmSummary> getNodeAlarmSummaries()
AlarmDaoGet the list of current - not yet acknowledged - alarms per node with severity greater than normal, reflecting the max severity, the minimum last event time and alarm count; ordered by the oldest.
getNodeAlarmSummaries in interface AlarmDaopublic List<AlarmSummary> getNodeAlarmSummariesIncludeAcknowledgedOnes(List<Integer> nodeIds)
AlarmDaoAlarmDao.getNodeAlarmSummaries() but allows to restrict the AlarmSummary calculation to
specific nodeIds. It also calculates the alarm count differently. The alarm count only considers
not yet acknowledged alarms, but the max severity is calculated overall (means also acknowledged) alarms.getNodeAlarmSummariesIncludeAcknowledgedOnes in interface AlarmDaonodeIds - The nodeIds you want to restrict the AlarmSummary calculation to. Must not be NULL!public List<EdgeAlarmStatusSummary> getLldpEdgeAlarmSummaries(List<Integer> lldpLinkIds)
getLldpEdgeAlarmSummaries in interface AlarmDaopublic List<HeatMapElement> getHeatMapItemsForEntity(String entityNameColumn, String entityIdColumn, boolean processAcknowledgedAlarms, String restrictionColumn, String restrictionValue, String... groupByColumns)
getHeatMapItemsForEntity in interface AlarmDaoCopyright © 2018. All rights reserved.