Class GetACARSDispatchStats
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetACARSDispatchStats
A Data Access Object to load Dispatcher Activity statistics.
- Since:
- 3.2
- Version:
- 11.4
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all date ranges with dispatched flights.void
Loads dispatcher totals for a pilot.Returns all Dispatchers who provided service between two Dates.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
-
GetACARSDispatchStats
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getDispatchTotals
Loads dispatcher totals for a pilot.- Parameters:
p
- the Pilot bean- Throws:
DAOException
- if a JDBC error occurs
-
getTopDispatchers
Returns all Dispatchers who provided service between two Dates.- Parameters:
dr
- the DateRange- Returns:
- a Collection of Database IDs
- Throws:
DAOException
- if a JDBC error occurs
-
getDispatchRanges
Returns all date ranges with dispatched flights.- Returns:
- a Collection of DateRange beans
- Throws:
DAOException
- if a JDBC error occurs
-