|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.dao.DAO
org.deltava.dao.GetChart
public class GetChart
A Data Access Object for Approach Charts.
| Field Summary |
|---|
| Fields inherited from class org.deltava.dao.DAO |
|---|
_ps, _queryMax, _queryStart, _queryTimeout |
| Constructor Summary | |
|---|---|
GetChart(Connection c)
Creates the DAO with a JDBC connection. |
|
| Method Summary | |
|---|---|
Chart |
get(int id)
Returns a Chart based on its Database ID. |
List<Airport> |
getAirports()
Returns all Airports with available charts. |
Collection<Chart> |
getByIDs(Collection<Integer> IDs)
Retrieves Charts based on a group of database IDs. |
List<Chart> |
getCharts(Airport a)
Returns all Chart metadata for a particular Airport. |
List<Chart> |
getChartsByEvent(int eventID)
Returns all Charts for a particular Event. |
| Methods inherited from class org.deltava.dao.DAO |
|---|
commitTransaction, createTimestamp, executeUpdate, expandDate, formatDBName, getNewID, getQueryCount, prepareStatement, prepareStatementWithoutLimits, rollbackTransaction, setManualCommit, setQueryMax, setQueryStart, setQueryTimeout, startTransaction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetChart(Connection c)
c - the JDBC connection to use| Method Detail |
|---|
public List<Airport> getAirports()
throws DAOException
DAOException - if a JDBC error occurs
public List<Chart> getCharts(Airport a)
throws DAOException
a - the Airport bean
DAOException - if a JDBC error occursgetCharts(Airport)
public List<Chart> getChartsByEvent(int eventID)
throws DAOException
eventID - the event Database ID
DAOException - if a JDBC error occurs
public Chart get(int id)
throws DAOException
id - the database id
DAOException - if a JDBC error occurs
public Collection<Chart> getByIDs(Collection<Integer> IDs)
throws DAOException
IDs - a Collection of database IDs as Integers
DAOException - if a JDBC error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||