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:
- 12.2
- Author:
- Luke
-
Field Summary
Fields inherited from class 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.Retrieves entries from the Flight Report post-approval operation queue.Methods inherited from class 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
-
getPostApprovalQueue
Retrieves entries from the Flight Report post-approval operation queue.- Returns:
- a Collection of ApprovalStatus beans
- Throws:
DAOException- if a JDBC error occurs
-
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
-