Class GetAirspace
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetAirspace
A Data Access Object to load Airspace boundaries from the database.
- Since:
- 7.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 TypeMethodDescriptionfind
(GeospaceLocation loc) Finds whether a particular point in space is contained within an Airspace boundary.Loads an Airspace boundaries from the datbase.Returns all restricted airspace boundaries.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
-
GetAirspace
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
get
Loads an Airspace boundaries from the datbase.- Parameters:
id
- the Airspace IDc
- the Country- Returns:
- a Collection of Airspace beans
- Throws:
DAOException
- if a JDBC error occurs
-
find
Finds whether a particular point in space is contained within an Airspace boundary.- Parameters:
loc
- the GeospaceLocation- Returns:
- a Collection of Airspace beans
- Throws:
DAOException
- if a JDBC error occurs
-
getRestricted
Returns all restricted airspace boundaries.- Returns:
- a Collection of Airspace beans
- Throws:
DAOException
- if a JDBC error occurs
-