Interface WebOutageRepository

  • All Known Implementing Classes:
    DaoWebOutageRepository

    public interface WebOutageRepository

    WebOutageRepository interface.

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

      • countMatchingOutages

        int countMatchingOutages​(OutageCriteria criteria)

        countMatchingOutages

        Parameters:
        criteria - a OutageCriteria object.
        Returns:
        a int.
      • getOutage

        Outage getOutage​(int OutageId)

        getOutage

        Parameters:
        OutageId - a int.
        Returns:
        a Outage object.
      • countMatchingOutageSummaries

        int countMatchingOutageSummaries​(OutageCriteria criteria)

        countMatchingOutageSummaries

        Parameters:
        criteria - a OutageCriteria object.
        Returns:
        a int.
      • countCurrentOutages

        int countCurrentOutages()
        Count the current number of nodes with outages.
      • getCurrentOutages

        OutageSummary[] getCurrentOutages​(int rows)
        Get the current list of outages by node.
        Parameters:
        rows - the number of outages to return.
        Returns: