Class AlarmDaoHibernate

    • Constructor Detail

      • AlarmDaoHibernate

        public AlarmDaoHibernate()
    • Method Detail

      • getNodeAlarmSummariesIncludeAcknowledgedOnes

        public List<AlarmSummary> getNodeAlarmSummariesIncludeAcknowledgedOnes​(List<Integer> nodeIds)
        Get the list of current alarms per node with severity not equal to cleared, reflecting the max severity, the minimum last event time and alarm count. The alarm count only considers not yet acknowledged alarms, but the max severity is calculated overall (including acknowledged) alarms.
        Specified by:
        getNodeAlarmSummariesIncludeAcknowledgedOnes in interface AlarmDao
        Parameters:
        nodeIds - The nodeIds you want to restrict the AlarmSummary calculation to. Must not be NULL!
      • getNodeAlarmSummaries

        public 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.

        Specified by:
        getNodeAlarmSummaries in interface AlarmDao
        Returns:
        A list of alarm summaries.
      • getSituationSummaries

        public List<SituationSummary> getSituationSummaries()

        Get the list of current - not yet acknowledged - situations with severity greater than normal;

        Specified by:
        getSituationSummaries in interface AlarmDao
        Returns:
        A list of situation summaries.