Predictions 4.10.0.0

hirondelle.predict.pub.lostpassword
Class LostPasswordDAO

Object
  extended by hirondelle.predict.pub.lostpassword.LostPasswordDAO

final class LostPasswordDAO
extends Object

Data Access Object (DAO) for resetting lost passwords (first form).


Constructor Summary
LostPasswordDAO()
           
 
Method Summary
(package private)  PartialUser fetchUser(String aEmailAddr)
          Return the user object, if any, associated with the given email address.
(package private)  void setNewNonce(PartialUser aUser, String aNonce)
          Set a new nonce value for user having the given email address.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LostPasswordDAO

LostPasswordDAO()
Method Detail

fetchUser

PartialUser fetchUser(String aEmailAddr)
                throws DAOException
Return the user object, if any, associated with the given email address. The email address column has a uniqueness constraint on it. If no user having the given email address is found, then null is returned.

Throws:
DAOException

setNewNonce

void setNewNonce(PartialUser aUser,
                 String aNonce)
           throws DAOException
Set a new nonce value for user having the given email address. The nonce value is a one-time value. In this case, it acts as a handshake between this application and the 'owner' of a given email account.

Throws:
DAOException

Predictions 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.27