Class SetFilterData
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.SetFilterData
A Data Access Object to write Content Filtering lists.
- Since:
- 11.0
- Version:
- 11.1
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
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
-
SetFilterData
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
add
Adds a Content Filtering keyword to the database.- Parameters:
kw
- the keywordisSafe
- TRUE if safe, otherwise FALSE- Throws:
DAOException
- if a JDBC error occurs
-
delete
Deletes a Content Filtering keyword from the database.- Parameters:
kw
- the keywordisSafe
- TRUE if safe, otherwise FALSE- Throws:
DAOException
- if a JDBC error occurs
-