Class GetPartner
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetPartner
A Data Access Object to load virtual airline partner information.
- Since:
- 10.3
- Version:
- 10.6
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget
(int id) Loads a Partner record from the database.Loads Partner information from the database.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
-
GetPartner
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
get
Loads a Partner record from the database.- Parameters:
id
- the database ID- Returns:
- a PartnerInfo bean, or null
- Throws:
DAOException
- if a JDBC error occurs
-
getPartners
Loads Partner information from the database.- Returns:
- a List of PartnerInfo beans
- Throws:
DAOException
- if a JDBC error occurs
-