Class GetACARSPositions


public class GetACARSPositions extends GetACARSData
A Data Access Object to load ACARS position data.
Since:
4.1
Version:
11.6
Author:
Luke
  • Constructor Details

    • GetACARSPositions

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

    • getRouteEntries

      public List<ACARSRouteEntry> getRouteEntries(int flightID, boolean isArchived) throws DAOException
      Loads completed route data for a particular ACARS filght ID, including data when on the ground.
      Parameters:
      flightID - the ACARS flight ID
      isArchived - 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 ID
      includeOnGround - TRUE if entries on the ground are RouteEntry beans, otherwise FALSE
      isArchived - 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

      public List<XARouteEntry> getXACARSEntries(int flightID) throws DAOException
      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

      public FrameRates getFrameRate(int flightID) throws DAOException
      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