Class SetPilotPush
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.PilotWriteDAO
org.deltava.dao.SetPilotPush
A Data Access Object to write push notification subscription data to the database.
- Since:
- 10.0
- Version:
- 10.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
Deletes a push notification endpoint from the database.void
write
(PushEndpoint ep) Writes a push notification endpoint to the databaseMethods inherited from class org.deltava.dao.PilotWriteDAO
setStatus, writeAlias, writeExternalIDs, writeRatings, writeRoles
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
-
SetPilotPush
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
write
Writes a push notification endpoint to the database- Parameters:
ep
- a PushEndpoint bean- Throws:
DAOException
- if a JDBC error occurs
-
delete
Deletes a push notification endpoint from the database.- Parameters:
pilotID
- the Pilot's database IDurl
- the endpoint URL- Throws:
DAOException
- if a JDBC error occurs
-