Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1449 Rev 1475
Line 30... Line 30...
30
	}
30
	}
Line 31... Line 31...
31
	
31
	
32
	public CollectionAPersonne(ModelData model)
32
	public CollectionAPersonne(ModelData model)
33
	{		
33
	{		
34
		Map<String, Object> a = model.getProperties();
34
		Map<String, Object> a = model.getProperties();
35
 
35
		
36
		Set<String> cles = a.keySet();
36
		Set<String> cles = a.keySet();
37
		Iterator<String> it = cles.iterator();
37
		Iterator<String> it = cles.iterator();
38
		while (it.hasNext()) {
38
		while (it.hasNext()) {
39
			String cle = it.next();
39
			String cle = it.next();
Line 149... Line 149...
149
	}
149
	}
Line 150... Line 150...
150
	
150
	
151
	// ID RôLE
151
	// ID RôLE
152
	public String getIdRole() {
152
	public String getIdRole() {
-
 
153
		String role = renvoyerValeurCorrecte("id_role");
-
 
154
		return role;
153
		String role = renvoyerValeurCorrecte("id_role");
155
		/*
154
		if (role != null && !UtilString.isEmpty(role)) return role;
156
		if (role != null && !UtilString.isEmpty(role)) return role;
155
		else return renvoyerValeurCorrecte("_role_");
157
		else return renvoyerValeurCorrecte("_role_");*/
156
	}
158
	}
157
	public void setIdRole(String ir) {
159
	public void setIdRole(String ir) {
158
		set("id_role", ir);
160
		set("id_role", ir);