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; }
public void deleteFilm(int filmNum) throws Exception { courtierBDFilm = new CourtierBDFilm(); courtierBDFilm.supprimerFilm(filmNum); }
public int addFilm(Film f) throws Exception { courtierBDFilm = new CourtierBDFilm(); return courtierBDFilm.ajoutFilm(f); }
public Film getFilm(int num) throws Exception { courtierBDFilm = new CourtierBDFilm(); return courtierBDFilm.getFilmByNum(num); }