Class GetCoolerLinks
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetCoolerLinks
A Data Access Object to load Water Cooler image links.
- Since:
- 1.0
- 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 the database IDs of all Message Threads with Linked Images.getURLs
(int id, boolean includeDisabled) Returns all Image URLs for a particular Messasge Thread.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
-
GetCoolerLinks
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getThreads
Returns the database IDs of all Message Threads with Linked Images.- Returns:
- a Collection of database IDs
- Throws:
DAOException
- if a JDBC error occurs
-
getURLs
Returns all Image URLs for a particular Messasge Thread.- Parameters:
id
- the Message Thread database IDincludeDisabled
- TRUE if disabled links should be included, otherwise FALSE- Returns:
- a Collection of URLs
- Throws:
DAOException
- if a JDBC error occurs
-