Class GetPilotEMail
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetPilotEMail
A Data Access Object to load Pilot IMAP mailbox information.
- Since:
- 1.0
- Version:
- 10.3
- 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 all IMAP mailbox profiles.Returns all hosted email domains.getEMailInfo
(int id) Retrieves IMAP e-mail data about a particular user.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
-
GetPilotEMail
Initailizes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getEMailInfo
Retrieves IMAP e-mail data about a particular user.- Parameters:
id
- the Pilot's database ID- Returns:
- the EMailConfiguration bean, or null if not found
- Throws:
DAOException
- if a JDBC error occurs
-
getAll
Returns all IMAP mailbox profiles.- Parameters:
db
- the database name- Returns:
- a Collection of EMailConfiguration beans
- Throws:
DAOException
- if a JDBC error occurs
-
getDomains
Returns all hosted email domains.- Returns:
- a Collection of domain names
- Throws:
DAOException
- if a JDBC error occurs
-