Examples of loadDatas()


Examples of DAO.JDBCTableDAO.loadDatas()

      String description = request.getParameter(" DESCRIPTION").toString();
      String requete = "update SITE set ID_SITE=" + idsite + " , TITRE='" + titre + "' , DESCRIPTION='" + description + "'";
      requete = requete + " where ID_SITE=" + idsiteOLD;
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response);
      return;
    }else if(tableName.equals("UTILISATEUR")){
      String login = request.getParameter("LOGIN").toString();
View Full Code Here

Examples of DAO.JDBCTableDAO.loadDatas()

      String requete = "update UTILISATEUR set LOGIN='" + login + "' , MDP='" + mdp + "' , DATE_FIN_ABONNEMENT='" + datefinabo + "' , COMPTE_VALIDER="+ comptevalider + " , EMAIL='" + email + "' , NEWS_LETTER="+ newsletter + " , ADMINISTRATEUR=" + admin;
      requete = requete + " where LOGIN='" + loginOLD + "'";
      System.out.println(requete);
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response)
      return;
    }else if(tableName.equals("QUESTION_REPONSE")){
      String num_qr = request.getParameter("NUM_QR").toString();
View Full Code Here

Examples of Interface.TableDAOInterface.loadDatas()

      String date_souscription = request.getParameter(" DATE_SOUSCRIPTION").toString();
      String requete = "update ABONNEMENT set NUM_ABONNEMENT=" + num_abonnement + " , LOGIN='" + login + "' , DUREE=" + duree + " , CODE_UTILISE='"+ code_utilise + "' , DATE_SOUSCRIPTION='" + date_souscription + "'";
      requete = requete + " where NUM_ABONNEMENT=" + num_abonnementOLD;
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response);
      return;
    }else if(tableName.equals("JEUX")){
      String num_jeu = request.getParameter("NUM_JEUX").toString();
View Full Code Here

Examples of Interface.TableDAOInterface.loadDatas()

      String requete = "update JEUX set NUM_JEUX=" + num_jeu + " , CATEGORIE='" + categorie + "' , NOM='" + nom + "' , TYPE='"+ type + "' , DESCRIPTION='" + description + "' , CONTEXTE='" + contexte + "' , REGLE='" + regle + "' , CONTROLS='"+ controls + "' , NUMBEROFPLAY=" + numberofplay + " , NUMBEROFRATES=" + numberofrates + " , RATES="+ rates + " , JEUX_DU_MOIS=" + jeuxdumois;
      requete = requete + " where NUM_JEUX=" + num_jeuOLD;
      TableDAOInterface tableDAO = new JDBCTableDAO();
      System.out.println(requete);
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response);
      return;
    }else if(tableName.equals("NOTER")){
      String login = request.getParameter("LOGIN").toString();
View Full Code Here

Examples of Interface.TableDAOInterface.loadDatas()

      String note = request.getParameter(" NOTE").toString();
      String requete = "update NOTER set LOGIN='" + login + "' , NUM_JEUX=" + numjeux + " , NOTE=" + note;
      requete = requete + " where LOGIN='" + loginOLD + "' AND NUM_JEUX=" + numjeuxOLD;
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response);
      return;
    }else if(tableName.equals("PAGE")){
      String url = request.getParameter("URL").toString();
View Full Code Here

Examples of Interface.TableDAOInterface.loadDatas()

      String footer = request.getParameter(" FOOTER").toString();
      String requete = "update PAGE set URL='" + url + "' , TITRE='" + titre + "' , HEADER='" + header + "' , FOOTER='"+ footer + "'";
      requete = requete + " where URL='" + urlOLD + "'";
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response);
      return;
    }else if(tableName.equals("SITE")){
      String idsite = request.getParameter("ID_SITE").toString();
View Full Code Here

Examples of Interface.TableDAOInterface.loadDatas()

      String description = request.getParameter(" DESCRIPTION").toString();
      String requete = "update SITE set ID_SITE=" + idsite + " , TITRE='" + titre + "' , DESCRIPTION='" + description + "'";
      requete = requete + " where ID_SITE=" + idsiteOLD;
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response);
      return;
    }else if(tableName.equals("UTILISATEUR")){
      String login = request.getParameter("LOGIN").toString();
View Full Code Here

Examples of Interface.TableDAOInterface.loadDatas()

      String requete = "update UTILISATEUR set LOGIN='" + login + "' , MDP='" + mdp + "' , DATE_FIN_ABONNEMENT='" + datefinabo + "' , COMPTE_VALIDER="+ comptevalider + " , EMAIL='" + email + "' , NEWS_LETTER="+ newsletter + " , ADMINISTRATEUR=" + admin;
      requete = requete + " where LOGIN='" + loginOLD + "'";
      System.out.println(requete);
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response)
      return;
    }else if(tableName.equals("QUESTION_REPONSE")){
      String num_qr = request.getParameter("NUM_QR").toString();
View Full Code Here

Examples of Interface.TableDAOInterface.loadDatas()

      String requete = "update QUESTION_REPONSE set TEXT=\"" + text + "\" , NUM_QR=" + num_qr + " , ID_SITE=" + id_site+"";
      requete = requete + " where NUM_QR=" + num_qrOLD + "";
      System.out.println(requete);
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response)
      return;
    }
  }
View Full Code Here

Examples of Interface.TableDAOInterface.loadDatas()

    if(tableName.equals("ABONNEMENT")){
      String num_abonnementOLD = request.getParameter("NUM_ABONNEMENT").toString();
      String requete = "delete from ABONNEMENT where NUM_ABONNEMENT=" + num_abonnementOLD;
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response);
      return;
    }else if(tableName.equals("JEUX")){
      String num_jeuOLD = request.getParameter("NUM_JEUX").toString();
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.