Class AbstractTestHistoryCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractTestHistoryCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
CheckRideAssignCommand
,CheckRideFlagCommand
,CurrencyRideAssignCommand
,ExamCreateCommand
,NakedCheckRideCommand
,PilotCenterCommand
,ProficiencyRideDisableCommand
,ProficiencyRideEnableCommand
,PromoteCommand
,PromotionEligibilityCommand
,TestingCenterCommand
,TransferRequestCommand
,WaiveCheckRideCommand
A class to support Web Site Commands use a
TestingHistoryHelper
object to determine what
examinations/transfers a Pilot is eligible for.- Since:
- 1.0
- Version:
- 11.2
- 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 TestingHistoryHelper
initTestHistory
(Pilot p, Connection c) Populates the 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
-
AbstractTestHistoryCommand
public AbstractTestHistoryCommand()
-
-
Method Details
-
initTestHistory
protected static final TestingHistoryHelper initTestHistory(Pilot p, Connection c) throws DAOException Populates the 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 TestingHistoryHelper bean
- Throws:
DAOException
- if a JDBC error occurs
-