Package hirondelle.predict.main.lists

Examples of hirondelle.predict.main.lists.PredictionListDAO.list()


 
  /** Delete all items related to the account, log off, and redirect to the home page.  */
  protected void apply() throws AppException {
    fLogger.fine("Deleting account of current user. Data will not be recoverable. User will not be able to log back in.");
    PredictionListDAO listDAO = new PredictionListDAO();
    List<PredictionList> predictionLists = listDAO.list(getUserId());
   
    DeleteAccountDAO dao = new DeleteAccountDAO();
    int numRecords = dao.delete(getLoggedInUserName(), getUserId(), predictionLists);
    fLogger.fine("Account deleted for user login name: " + getLoggedInUserName().getRawString() + ". This many rows deleted:" + numRecords);
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.