Subversion Repositories eFlore/Applications.del

Rev

Rev 423 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 423 Rev 445
Line 302... Line 302...
302
		// }
302
		// }
303
		//
303
		//
304
		// }
304
		// }
Line 305... Line 305...
305
 
305
 
306
 
306
 
307
			int rand = (int) (Math.random() * 5);
307
		int rand = (int) (Math.random() * 5);
308
			for (int i = 0; i < rand; i++) {
308
		for (int i = 0; i < rand; i++) {
309
				VoteProtocole voteProtocole = new VoteProtocole();
309
			VoteProtocole voteProtocole = new VoteProtocole();
310
				voteProtocole.setProtocole(protocoles.get(0));
310
			voteProtocole.setProtocole(protocoles.get(0));
311
				voteProtocole.setVote((int) (Math.random() * 5));
311
			voteProtocole.setVote((int) (Math.random() * 5));
312
				voteProtocole.setContributeur("aurelien");
312
			voteProtocole.setContributeur("aurelien");
313
				voteProtocole.setDate(new Date());
313
			voteProtocole.setDate(new Date());
314
	
314
 
315
				VoteProtocole voteProtocole2 = new VoteProtocole();
315
			VoteProtocole voteProtocole2 = new VoteProtocole();
316
				voteProtocole2.setProtocole(protocoles.get(0));
316
			voteProtocole2.setProtocole(protocoles.get(0));
317
				voteProtocole2.setVote((int) (Math.random() * 5));
317
			voteProtocole2.setVote((int) (Math.random() * 5));
318
				voteProtocole2.setContributeur("jpm");
318
			voteProtocole2.setContributeur("jpm");
319
				voteProtocole2.setDate(new Date());
319
			voteProtocole2.setDate(new Date());
320
	
320
 
321
				voteProtocolesLocal.add(voteProtocole);
321
			voteProtocolesLocal.add(voteProtocole);
322
				voteProtocolesLocal.add(voteProtocole2);
322
			voteProtocolesLocal.add(voteProtocole2);
323
			}
323
		}
Line 324... Line 324...
324
		return voteProtocolesLocal;
324
	return voteProtocolesLocal;
325
	}
325
	}
326
 
326
 
Line 393... Line 393...
393
		// TODO Auto-generated method stub
393
		// TODO Auto-generated method stub
Line 394... Line 394...
394
 
394
 
Line 395... Line 395...
395
	}
395
	}
396
 
-
 
397
	@Override
396
 
398
	public ObservationServiceResultat getObservations(
-
 
399
			InformationsRecherche informationsRecherche, int debut, int fin,
397
	@Override
400
			ObservationsCallback callback) {
398
	public ObservationServiceResultat getObservations(InformationsRecherche informationsRecherche, int debut, int fin, ObservationsCallback callback) {
401
		// TODO Auto-generated method stub
399
		// TODO Auto-generated method stub
Line -... Line 400...
-
 
400
		return null;
-
 
401
	}
-
 
402
 
-
 
403
	@Override
-
 
404
	public void getImagesParObservation(String observationId, ImagesParTaxonCallback callback) {
-
 
405
		// TODO Auto-generated method stub
402
		return null;
406