示例#1
0
 /**
  * permet d'afficher les reservations
  *
  * @param idClient l'id du client
  * @return la liste des reservation pour un client
  */
 public static ArrayList<Reservation> consultationReservation(int idClient) {
   FabriqueReservation fr = FabriqueReservation.getInstance();
   ArrayList<Reservation> lesReservs = fr.getReservationDUnePersonne(idClient);
   return lesReservs;
 }
示例#2
0
 /**
  * recuperer la reservation d'un client
  *
  * @param idReservation l'id de la reservation
  * @return la reservation
  */
 public static Reservation recuperationReservation(int idReservation) {
   FabriqueReservation fr = FabriqueReservation.getInstance();
   Reservation reservation = fr.getReservation(idReservation);
   return reservation;
 }