Class GetACARSPositions
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetACARSData
org.deltava.dao.GetACARSPositions
A Data Access Object to load ACARS position data.
- Since:
- 4.1
- Version:
- 11.6
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrameRate
(int flightID) Returns the average frame rate for a Flight.getRouteEntries
(int flightID, boolean isArchived) Loads completed route data for a particular ACARS filght ID, including data when on the ground.getRouteEntries
(int flightID, boolean includeOnGround, boolean isArchived) Loads complete route data for a particular ACARS flight ID.getXACARSEntries
(int flightID) Retrieves XACARS position entries from the database.Methods inherited from class org.deltava.dao.GetACARSData
executeConnectionInfo, executeFlightInfo, getArchiveInfo, getConnection, getInfo, getLandingRunway, getRoute, getTakeoffLanding, getTerminalRoutes
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
-
GetACARSPositions
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getRouteEntries
Loads completed route data for a particular ACARS filght ID, including data when on the ground.- Parameters:
flightID
- the ACARS flight IDisArchived
- TRUE if the positions should be read from the archive, otherwise FALSE- Returns:
- a List of RouteEntry beans
- Throws:
DAOException
- if a JDBC error occurs- See Also:
-
getRouteEntries
public List<GeospaceLocation> getRouteEntries(int flightID, boolean includeOnGround, boolean isArchived) throws DAOException Loads complete route data for a particular ACARS flight ID.- Parameters:
flightID
- the ACARS flight IDincludeOnGround
- TRUE if entries on the ground are RouteEntry beans, otherwise FALSEisArchived
- TRUE if the positions should be read from the archive, otherwise FALSE- Returns:
- a List of GeoLocation beans
- Throws:
DAOException
- if a JDBC error occurs- See Also:
-
getXACARSEntries
Retrieves XACARS position entries from the database.- Parameters:
flightID
- the flight ID- Returns:
- a List of RouteEntry beans
- Throws:
DAOException
- if a JDBC error occurs
-
getFrameRate
Returns the average frame rate for a Flight.- Parameters:
flightID
- the ACARS flight ID- Returns:
- a FrameRate bean
- Throws:
DAOException
- if a JDBC error occurs
-