Class GetWarnings

java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetWarnings

public class GetWarnings extends DAO
A Data Access Object to load ACARS content warnings.
Since:
4.0
Version:
9.0
Author:
Luke
  • Constructor Details

    • GetWarnings

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

    • get

      public Collection<Warning> get(int pilotID) throws DAOException
      Returns the warnings for a Pilot.
      Parameters:
      pilotID - the Pilot database ID
      Returns:
      a Collection of Warning beans
      Throws:
      DAOException - if a JDBC error occurs