Class GetFlightReportQueue

java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetFlightReportQueue

public class GetFlightReportQueue extends DAO
A Data Access Object to return Flight Report disposal queue information.
Since:
5.0
Version:
10.1
Author:
Luke
  • Constructor Details

    • GetFlightReportQueue

      public GetFlightReportQueue(Connection c)
      Initializes the Data Access Object.
      Parameters:
      c - the JDBC connection to use
  • Method Details

    • getDisposalQueueStats

      public DisposalQueueStats getDisposalQueueStats(String eqType) throws DAOException
      Returns the size of the pending Flight Report queue for an Equipment program.
      Parameters:
      eqType - the equipment program name or null for all programs
      Returns:
      the number of pending or held PIREPs
      Throws:
      DAOException - if a JDBC error occurs