Class GetPilotNotify
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.PilotReadDAO
org.deltava.dao.GetPilot
org.deltava.dao.GetPilotNotify
A Data Access Object to get Pilot notification lists.
- Since:
- 1.0
- Version:
- 10.3
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.PilotReadDAO
_cache
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongePilots
(Notification notificationType) Returns the populated Pilots signed up to receive a particulr notification type.getNotifications
(Notification notificationType) Returns Pilots signed up to receive a particular notification type.Methods inherited from class org.deltava.dao.GetPilot
getActivePilots, getByEMail, getCurrencyPilots, getNewestPilots, getPilotByCode, getPilots, getPilotsByEQ, getPilotsByLetter, getPilotsByRank, getPilotsByStatus, search, search
Methods inherited from class org.deltava.dao.PilotReadDAO
execute, get, get, get, getByID, getByName, loadAccomplishments, loadChildRows, loadIMAddrs, loadPushEndpoints, loadRatings, loadRoles, updatePilotCodes
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
-
GetPilotNotify
Initialize the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getNotifications
Returns Pilots signed up to receive a particular notification type.- Parameters:
notificationType
- the Notification Type to filter on- Returns:
- a List of objects implementing
EMailAddress
- Throws:
DAOException
- if a JDBC error occursIllegalArgumentException
- if notificationType is invalid
-
gePilots
Returns the populated Pilots signed up to receive a particulr notification type.- Parameters:
notificationType
- the Notification Type to filter on.- Returns:
- a Collection of Pilot beans
- Throws:
DAOException
- if a JDBC error occurs
-