Package hirondelle.predict.main.lists

Examples of hirondelle.predict.main.lists.PredictionListDAO


  // PRIVATE
  private PredictionDAO fDAO = new PredictionDAO();
  private static final Logger fLogger = Util.getLogger(ViewPublicListAction.class);
 
  private PredictionList fetchPredictionList() throws DAOException {
    PredictionListDAO dao = new PredictionListDAO();
    PredictionList result = dao.fetchPublic(getIdParam(LIST_ID));
    fLogger.fine("Parent list: " + result);
    return result;
  }
View Full Code Here


  // PRIVATE
  private PredictionDAO fDAO = new PredictionDAO();
  private static final Logger fLogger = Util.getLogger(ViewPublicListJsonAction.class);
 
  private PredictionList fetchPredictionList() throws DAOException {
    PredictionListDAO dao = new PredictionListDAO();
    PredictionList result = dao.fetchPublic(getIdParam(LIST_ID));
    fLogger.fine("Parent list: " + result);
    return result;
  }
View Full Code Here

  }
 
  /** 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

Related Classes of hirondelle.predict.main.lists.PredictionListDAO

Copyright © 2018 www.massapicom. 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.