public interface AlarmDao extends LegacyOnmsDao<OnmsAlarm,Integer>
Modifier and Type | Method and Description |
---|---|
OnmsAlarm |
findByReductionKey(String reductionKey) |
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
getNodeAlarmSummaries() but allows to restrict the AlarmSummary calculation to
specific nodeIds. |
countMatching, findMatching
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
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)
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.nodeIds
- The nodeIds you want to restrict the AlarmSummary calculation to. Must not be NULL!List<EdgeAlarmStatusSummary> getLldpEdgeAlarmSummaries(List<Integer> lldpLinkIds)
Copyright © 2015. All rights reserved.