Class GetNavCycle
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetNavCycle
A Data Access Object to load chart/navigation data cycle update dates.
- Since:
- 5.1
- 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 TypeMethodDescriptionReturns information about a particular navigation data cycle.Returns the chart/navigation data cycle for a particular date.Returns all future navigation cycle release dates.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
-
GetNavCycle
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getCycle
Returns information about a particular navigation data cycle.- Parameters:
id
- the Cycle ID- Returns:
- a CycleInfo bean, or null if not found
- Throws:
DAOException
- if a JDBC erorr occurs
-
getCycle
Returns the chart/navigation data cycle for a particular date.- Parameters:
dt
- the date- Returns:
- the CycleInfo
- Throws:
DAOException
- if a JDBC error occurs
-
getFuture
Returns all future navigation cycle release dates.- Returns:
- a Collection of release dates, ordered by date
- Throws:
DAOException
- if a JDBC error occurs
-