55,6 → 55,7 |
private ObservationService serviceObs; |
private ModeTri triCourantDate = ModeTri.TRI_DESCENDANT; |
private CacheClient cache = CacheClient.getInstance(); |
private String statut; |
|
/** |
* Constructeur de la classe |
63,10 → 64,11 |
* serviceObs le service pour récupérer les observations |
* @Vue Vue l'objet implémentant l'interface |
* */ |
public ResultatsRechercheObservationsPresenteur(ObservationService serviceObs, Vue vue) { |
public ResultatsRechercheObservationsPresenteur(ObservationService serviceObs, Vue vue, String statut) { |
this.vue = vue; |
vue.setModeTri(triCourantDate); |
this.serviceObs = serviceObs; |
this.statut = statut; |
} |
|
/** |
106,7 → 108,7 |
} |
}; |
|
serviceObs.getObservations(cache.getInformationsRechercheObservation(), debut, fin, callback); |
serviceObs.getObservations(cache.getInformationsRechercheObservation(), debut, fin, statut, callback); |
} |
|
/** |
221,7 → 223,7 |
|
} |
}; |
serviceObs.getObservations(cache.getInformationsRechercheObservation(), debut, fin, surReceptionObservation); |
serviceObs.getObservations(cache.getInformationsRechercheObservation(), debut, fin, statut, surReceptionObservation); |
} |
|
/** |