if (client == null) {
throw new MetierException();
}
// On modifie l'adresse du client
ArrayList<Commande> lesCommandes = mc.rechercherCommandesClient(client.getId());
HashMap<String,Commande> mapCmds = new HashMap<String,Commande>();
Iterator it = lesCommandes.iterator();
while(it.hasNext()){
Commande c = (Commande)it.next();
mapCmds.put(c.getIdCommande(), c);