예제 #1
0
  public ArrayList<Film> getAllFilm() {
    try {
      courtierBDFilm = new CourtierBDFilm();
      CourtierBDCopie courtierBDCopie = new CourtierBDCopie();
      ArrayList<Film> films = courtierBDFilm.getAllFilm();

      return films;
    } catch (Exception e) {
      e.printStackTrace();
    }
    return null;
  }
예제 #2
0
 public void deleteFilm(int filmNum) throws Exception {
   courtierBDFilm = new CourtierBDFilm();
   courtierBDFilm.supprimerFilm(filmNum);
 }
예제 #3
0
 public int addFilm(Film f) throws Exception {
   courtierBDFilm = new CourtierBDFilm();
   return courtierBDFilm.ajoutFilm(f);
 }
예제 #4
0
 public Film getFilm(int num) throws Exception {
   courtierBDFilm = new CourtierBDFilm();
   return courtierBDFilm.getFilmByNum(num);
 }