Package org.opennms.netmgt.dao.api
Interface AlarmEntityNotifier
-
- All Known Implementing Classes:
AlarmEntityNotifierImpl
public interface AlarmEntityNotifier
This interface provide functions that should be called immediately after changing the alarm entities while maintaining an open transaction. The implementation should in turn notify any interested listeners i.e. northbounders, correlation engines, etc... about the state change. The implementation should be thread safe.- Author:
- jwhite
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
didAcknowledgeAlarm(OnmsAlarm alarm, java.lang.String previousAckUser, java.util.Date previousAckTime)
void
didArchiveAlarm(OnmsAlarm alarm, java.lang.String previousReductionKey)
void
didChangeTicketStateForAlarm(OnmsAlarm alarm, TroubleTicketState previousState)
void
didCreateAlarm(OnmsAlarm alarm)
void
didDeleteAlarm(OnmsAlarm alarm)
void
didDeleteReductionKeyMemo(OnmsAlarm onmsAlarm, OnmsReductionKeyMemo memo)
void
didDeleteStickyMemo(OnmsAlarm onmsAlarm, OnmsMemo memo)
void
didUnacknowledgeAlarm(OnmsAlarm alarm, java.lang.String previousAckUser, java.util.Date previousAckTime)
void
didUpdateAlarmSeverity(OnmsAlarm alarm, OnmsSeverity previousSeverity)
void
didUpdateAlarmWithReducedEvent(OnmsAlarm alarm)
void
didUpdateLastAutomationTime(OnmsAlarm alarm, java.util.Date previousLastAutomationTime)
void
didUpdateReductionKeyMemo(OnmsAlarm onmsAlarm, java.lang.String previousBody, java.lang.String previousAuthor, java.util.Date previousUpdated)
void
didUpdateRelatedAlarms(OnmsAlarm alarm, java.util.Set<OnmsAlarm> previousRelatedAlarms)
void
didUpdateStickyMemo(OnmsAlarm onmsAlarm, java.lang.String previousBody, java.lang.String previousAuthor, java.util.Date previousUpdated)
-
-
-
Method Detail
-
didCreateAlarm
void didCreateAlarm(OnmsAlarm alarm)
-
didUpdateAlarmWithReducedEvent
void didUpdateAlarmWithReducedEvent(OnmsAlarm alarm)
-
didAcknowledgeAlarm
void didAcknowledgeAlarm(OnmsAlarm alarm, java.lang.String previousAckUser, java.util.Date previousAckTime)
-
didUnacknowledgeAlarm
void didUnacknowledgeAlarm(OnmsAlarm alarm, java.lang.String previousAckUser, java.util.Date previousAckTime)
-
didUpdateAlarmSeverity
void didUpdateAlarmSeverity(OnmsAlarm alarm, OnmsSeverity previousSeverity)
-
didArchiveAlarm
void didArchiveAlarm(OnmsAlarm alarm, java.lang.String previousReductionKey)
-
didDeleteAlarm
void didDeleteAlarm(OnmsAlarm alarm)
-
didUpdateStickyMemo
void didUpdateStickyMemo(OnmsAlarm onmsAlarm, java.lang.String previousBody, java.lang.String previousAuthor, java.util.Date previousUpdated)
-
didUpdateReductionKeyMemo
void didUpdateReductionKeyMemo(OnmsAlarm onmsAlarm, java.lang.String previousBody, java.lang.String previousAuthor, java.util.Date previousUpdated)
-
didDeleteReductionKeyMemo
void didDeleteReductionKeyMemo(OnmsAlarm onmsAlarm, OnmsReductionKeyMemo memo)
-
didUpdateLastAutomationTime
void didUpdateLastAutomationTime(OnmsAlarm alarm, java.util.Date previousLastAutomationTime)
-
didUpdateRelatedAlarms
void didUpdateRelatedAlarms(OnmsAlarm alarm, java.util.Set<OnmsAlarm> previousRelatedAlarms)
-
didChangeTicketStateForAlarm
void didChangeTicketStateForAlarm(OnmsAlarm alarm, TroubleTicketState previousState)
-
-