Class GetAcademyProgress

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

public class GetAcademyProgress extends DAO
A Data Access Object for Flight Academy Course progress beans.
Since:
3.4
Version:
9.0
Author:
Luke
  • Constructor Details

    • GetAcademyProgress

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

    • getRequirements

      public Collection<CourseProgress> getRequirements(String examName, int pilotID) throws DAOException
      Loads all Course progress beans for Course Requirements that have a specific examination as a requirement.
      Parameters:
      examName - the examination name
      pilotID - the Pilot database ID
      Returns:
      a Collection of CourseProgress beans
      Throws:
      DAOException - if a JDBC error occurs