Class SetAddressValidation
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.SetAddressValidation
A Data Access Object to write e-mail address validation data to the database.
- 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 TypeMethodDescriptionvoid
delete
(int id) Deletes an address validation entry from the database.void
write
(AddressValidation addr) Writes an address validation entry to the database.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
-
SetAddressValidation
Initialize the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
write
Writes an address validation entry to the database.- Parameters:
addr
- the AddressValidation bean- Throws:
DAOException
- if a JDBC error occurs
-
delete
Deletes an address validation entry from the database.- Parameters:
id
- the database ID of the Pilot/Applicant- Throws:
DAOException
- if a JDBC error occurs
-