Class AbstractAcademyHistoryCommand

java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractAcademyHistoryCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
CourseCommand, EnrollCommand, ExamCreateCommand, FlightAcademyCommand

public abstract class AbstractAcademyHistoryCommand extends AbstractCommand
A class to support Web Site Commands use a AcademyHistoryHelper object to determine what Flight Academy examinations/courses a Pilot is eligible for.
Since:
1.0
Version:
10.1
Author:
Luke
  • Constructor Details

    • AbstractAcademyHistoryCommand

      public AbstractAcademyHistoryCommand()
  • Method Details

    • initHistory

      protected static final AcademyHistoryHelper initHistory(Pilot p, Connection c) throws DAOException
      Populates the Academy Testing History Helper by calling the proper DAOs in the right order.
      Parameters:
      p - the Pilot bean
      c - the JDBC connection to use
      Returns:
      a populated AcademyHistoryHelper bean
      Throws:
      DAOException - if a JDBC error occurs