Class GetACARSLivery
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetACARSLivery
A Data Access Object to read ACARS multi-player livery profiles.
- Since:
- 2.2
- 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
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
-
GetACARSLivery
Initializes the Data Access Object.- Parameters:
c
- the JDBC Connection to use
-
-
Method Details
-
get
Loads a livery profile.- Parameters:
a
- the Airline beancode
- the livery code- Returns:
- a Livery bean, or null if not found
- Throws:
DAOException
- if a JDBC error occursNullPointerException
- if a or code are null
-
get
Returns all liveries for an Airline.- Parameters:
a
- the Airline bean, or null for all Airlines- Returns:
- a Collection of Livery beans
- Throws:
DAOException
- if a JDBC error occurs
-