Subversion Repositories eFlore/Applications.del

Rev

Rev 116 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 116 Rev 140
Line 1... Line 1...
1
package org.tela_botanica.del.client.vues.plateformedetermination.vote;
1
package org.tela_botanica.del.client.vues.plateformedetermination.vote;
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
import java.util.List;
3
import java.util.List;
4
 
4
 
5
import org.tela_botanica.del.client.cache.CacheClient;
5
import org.tela_botanica.del.client.cache.CacheClient;
6
import org.tela_botanica.del.client.modeles.ObservationValidation;
6
import org.tela_botanica.del.client.modeles.PropositionDetermination;
7
import org.tela_botanica.del.client.modeles.Protocole;
7
import org.tela_botanica.del.client.modeles.Protocole;
Line 8... Line 8...
8
import org.tela_botanica.del.client.utils.MockDatasource;
8
import org.tela_botanica.del.client.utils.MockDatasource;
Line 24... Line 24...
24
	private void afficherVotes() {
24
	private void afficherVotes() {
Line 25... Line 25...
25
 
25
 
Line 26... Line 26...
26
		String idImageCourante = CacheClient.getInstance().getCurrentObservation().getIdImage();
26
		String idImageCourante = CacheClient.getInstance().getCurrentObservation().getIdImage();
27
 
27
 
28
		Protocole protocoleEsthetisme = validationService.getProtocole(Protocole.ESTHETISME);
28
		Protocole protocoleEsthetisme = validationService.getProtocole(Protocole.ESTHETISME);
Line 29... Line 29...
29
		List<ObservationValidation> observationValidationsEsthetisme = validationService.getValidationDataByImageAndProtocol(idImageCourante, Protocole.ESTHETISME);
29
		List<PropositionDetermination> observationValidationsEsthetisme = validationService.getValidationDataByImageAndProtocol(idImageCourante, Protocole.ESTHETISME);
30
		new MoyenneVoteProtocolePresenteur(protocoleEsthetisme, observationValidationsEsthetisme).go(vue.getPanneauVotes());
30
		new MoyenneVoteProtocolePresenteur(protocoleEsthetisme, observationValidationsEsthetisme).go(vue.getPanneauVotes());
31
 
31
 
32
		Protocole protocoleIdentification = validationService.getProtocole(Protocole.IDENTIFICATION_AUTOMATIQUE);
32
		Protocole protocoleIdentification = validationService.getProtocole(Protocole.IDENTIFICATION_AUTOMATIQUE);
33
		List<ObservationValidation> observationValidationsIdentification = validationService.getValidationDataByImageAndProtocol(idImageCourante, Protocole.IDENTIFICATION_AUTOMATIQUE);
33
		List<PropositionDetermination> observationValidationsIdentification = validationService.getValidationDataByImageAndProtocol(idImageCourante, Protocole.IDENTIFICATION_AUTOMATIQUE);