Class GetExamQualifications
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetExamQualifications
A Data Access Object to load Pilot IDs for Pilots who meet the entrance qualifications for an Equipment Type program.
- Since:
- 2.3
- Version:
- 9.0
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRatedPilots
(String acType) Returns the database IDs for all Pilots who currently have a specific aircraft rating.Returns the database IDs for all Pilots who meet the entrance criteria for an equipment type program.Methods inherited from class org.deltava.dao.DAO
commitTransaction, createTimestamp, executeIDs, executeUpdate, executeUpdate, expandDate, formatDBName, formatLocation, getNewID, getQueryCount, prepare, prepareWithoutLimits, rollbackTransaction, setQueryMax, setQueryStart, setQueryTimeout, startTransaction, toID, toID, toInstant
-
Constructor Details
-
GetExamQualifications
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getRatedPilots
Returns the database IDs for all Pilots who meet the entrance criteria for an equipment type program.- Parameters:
eq
- the EquipmentType bean- Returns:
- a Collection of database IDs
- Throws:
DAOException
- if a JDBC error occurs
-
getRatedPilots
Returns the database IDs for all Pilots who currently have a specific aircraft rating.- Parameters:
acType
- the aircraft type- Returns:
- a Collection of database IDs
- Throws:
DAOException
- if a JDBC error occurs
-