Class GetBrowserReports
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetBrowserReports
A Data Access Object to read browser Reporting API data.
- Since:
- 12.0
- Version:
- 12.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 TypeMethodDescriptionRetrieves all Reporting API reports from the database.getReportsByURL
(String url) Retrieves all Reporting API reports for a particular URL from the database.Returns aggregated CSP violation data.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
-
GetBrowserReports
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getBrowserReports
Retrieves all Reporting API reports from the database.- Returns:
- a List of BrowserReport beans
- Throws:
DAOException
- if a JDBC error occurs
-
getStatistics
Returns aggregated CSP violation data.- Returns:
- a List of CSPViolations beans
- Throws:
DAOException
- if a JDBC error occurs
-
getReportsByURL
Retrieves all Reporting API reports for a particular URL from the database.- Parameters:
url
- the site URL- Returns:
- a List of BrowserReport beans
- Throws:
DAOException
- if a JDBC error occurs
-