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​(String user,
                                       Date timestamp,
                                       EventCriteria criteria)

        acknowledgeMatchingEvents

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

        void acknowledgeAll​(String user,
                            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