Package Interface

Examples of Interface.SiteDAOInterface.loadSiteInfo()


  public void updateSite(){
    SiteDAOInterface site = new JDBCSiteDAO();
    ServletContext context = getServletContext();
    site.loadFAQ();
    site.loadListOfGames();
    site.loadSiteInfo();
    context.setAttribute("listOfGames", ListOfGames.getListOfGames());
    context.setAttribute("siteTitre", SiteInfo.getTitre());
    context.setAttribute("siteDescription", SiteInfo.getDescription());
    context.setAttribute("faq",Faq.getFaq());
    GameDAOInterface game = new JDBCGameDAO();
View Full Code Here


    super.init(config);
    // set application scope parameter
  
      SiteDAOInterface site= new JDBCSiteDAO();
        System.out.println("Loading data");
        site.loadSiteInfo();
        System.out.println("Site info loaded:"+SiteInfo.getTitre() +" "+SiteInfo.getDescription());
        site.loadListOfGames();
        for(GameInfo game : ListOfGames.getListOfGames()){
          System.out.println(game.getNom());
        }
View Full Code Here

  public void updateSite(){
    SiteDAOInterface site = new JDBCSiteDAO();
    ServletContext context = getServletContext();
    site.loadFAQ();
    site.loadListOfGames();
    site.loadSiteInfo();
    context.setAttribute("listOfGames", ListOfGames.getListOfGames());
    context.setAttribute("siteTitre", SiteInfo.getTitre());
    context.setAttribute("siteDescription", SiteInfo.getDescription());
    context.setAttribute("faq",Faq.getFaq());
    GameDAOInterface game = new JDBCGameDAO();
View Full Code Here

  public void updateSite(){
    SiteDAOInterface site = new JDBCSiteDAO();
    ServletContext context = getServletContext();
    site.loadFAQ();
    site.loadListOfGames();
    site.loadSiteInfo();
    context.setAttribute("listOfGames", ListOfGames.getListOfGames());
    context.setAttribute("siteTitre", SiteInfo.getTitre());
    context.setAttribute("siteDescription", SiteInfo.getDescription());
    context.setAttribute("faq",Faq.getFaq());
    GameDAOInterface game = new JDBCGameDAO();
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.