Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1470 Rev 1473
Line 27... Line 27...
27
		} catch (Exception e) {
27
		} catch (Exception e) {
28
			// TODO: handle exception
28
			// TODO: handle exception
29
		}
29
		}
30
	}
30
	}
Line 31... Line 31...
31
 
31
 
32
	@Override
32
	/*@Override
33
	public void deconnecterUtilisateur(UtilisateurCallback callback) {
33
	public void deconnecterUtilisateur(UtilisateurCallback callback) {
34
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, baseUrl + "utilisateurs/deconnecter");
34
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, baseUrl + "utilisateurs/deconnecter");
35
		callback.setMode(ModeRequete.LECTURE);
35
		callback.setMode(ModeRequete.LECTURE);
36
		try {
36
		try {
37
			rb.sendRequest(null, callback);
37
			rb.sendRequest(null, callback);
38
		} catch (Exception e) {
38
		} catch (Exception e) {
39
			// TODO: handle exception
39
			// TODO: handle exception
40
		}
40
		}
Line 41... Line 41...
41
	}
41
	}*/
42
 
42
 
43
	@Override
43
	/*@Override
44
	public void obtenirUtilisateur(UtilisateurCallback callback) {
44
	public void obtenirUtilisateur(UtilisateurCallback callback) {
45
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, baseUrl + "utilisateurs/");
45
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, baseUrl + "utilisateurs/");
46
		callback.setMode(ModeRequete.LECTURE);
46
		callback.setMode(ModeRequete.LECTURE);
47
		try {
47
		try {
48
			rb.sendRequest(null, callback);
48
			rb.sendRequest(null, callback);
49
		} catch (Exception e) {
49
		} catch (Exception e) {
50
			// TODO: handle exception
50
			// TODO: handle exception
Line 51... Line 51...
51
		}
51
		}