Class AbstractAcademyHistoryCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractAcademyHistoryCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
CourseCommand
,EnrollCommand
,ExamCreateCommand
,FlightAcademyCommand
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.commands.Command
Command.Scope
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static final AcademyHistoryHelper
initHistory
(Pilot p, Connection c) Populates the Academy Testing History Helper by calling the proper DAOs in the right order.Methods inherited from class org.deltava.commands.AbstractCommand
forgottenException, getID, getName, getRoles, init, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
-
Constructor Details
-
AbstractAcademyHistoryCommand
public AbstractAcademyHistoryCommand()
-
-
Method Details
-
initHistory
Populates the Academy Testing History Helper by calling the proper DAOs in the right order.- Parameters:
p
- the Pilot beanc
- the JDBC connection to use- Returns:
- a populated AcademyHistoryHelper bean
- Throws:
DAOException
- if a JDBC error occurs
-