Interface WebEventRepository

  • All Known Implementing Classes:
    DaoWebEventRepository

    public interface WebEventRepository

    WebEventRepository interface.

    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    ranger
    • Method Detail

      • countMatchingEvents

        int countMatchingEvents​(EventCriteria criteria)

        countMatchingEvents

        Parameters:
        criteria - a EventCriteria object.
        Returns:
        a int.
      • countMatchingEventsBySeverity

        int[] countMatchingEventsBySeverity​(EventCriteria criteria)

        countMatchingEventsBySeverity

        Parameters:
        criteria - a EventCriteria object.
        Returns:
        an array of int.
      • getEvent

        Event getEvent​(int eventId)

        getEvent

        Parameters:
        eventId - a int.
        Returns:
        a Event object.
      • acknowledgeMatchingEvents

        void acknowledgeMatchingEvents​(java.lang.String user,
                                       java.util.Date timestamp,
                                       EventCriteria criteria)

        acknowledgeMatchingEvents

        Parameters:
        user - a String object.
        timestamp - a java$util$Date object.
        criteria - a EventCriteria object.
      • acknowledgeAll

        void acknowledgeAll​(java.lang.String user,
                            java.util.Date timestamp)

        acknowledgeAll

        Parameters:
        user - a String object.
        timestamp - a java$util$Date object.
      • unacknowledgeMatchingEvents

        void unacknowledgeMatchingEvents​(EventCriteria criteria)

        unacknowledgeMatchingEvents

        Parameters:
        criteria - a EventCriteria object.
      • unacknowledgeAll

        void unacknowledgeAll()

        unacknowledgeAll