Class GetFlightReportQueue
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetFlightReportQueue
A Data Access Object to return Flight Report disposal queue information.
- Since:
- 5.0
- Version:
- 10.1
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDisposalQueueStats
(String eqType) Returns the size of the pending Flight Report queue for an Equipment program.Methods inherited from class org.deltava.dao.DAO
commitTransaction, createTimestamp, executeIDs, executeUpdate, executeUpdate, expandDate, formatDBName, formatLocation, getNewID, getQueryCount, prepare, prepareWithoutLimits, rollbackTransaction, setQueryMax, setQueryStart, setQueryTimeout, startTransaction, toID, toID, toInstant
-
Constructor Details
-
GetFlightReportQueue
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getDisposalQueueStats
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
-