Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1736 Rev 1762
Line 20... Line 20...
20
import com.google.gwt.json.client.JSONValue;
20
import com.google.gwt.json.client.JSONValue;
21
import com.google.gwt.user.client.Window;
21
import com.google.gwt.user.client.Window;
Line 22... Line 22...
22
 
22
 
23
public class PersonneAsyncDao {
23
public class PersonneAsyncDao {
-
 
24
	private static final String SERVICE_NOM = "CoelPersonne";
Line 24... Line 25...
24
	private static final String SERVICE_NOM = "CoelPersonne";
25
	public static String tri = null;
25
	
26
	
Line 26... Line 27...
26
	private String utilisateurId = null;
27
	private String utilisateurId = null;
Line 48... Line 49...
48
		HashMap<String, String> restrictions = new HashMap<String, String>();
49
		HashMap<String, String> restrictions = new HashMap<String, String>();
Line 49... Line 50...
49
		
50
		
50
		if (nbElements != -1)	{
51
		if (nbElements != -1)	{
51
			restrictions.put("limit", String.valueOf(nbElements));
52
			restrictions.put("limit", String.valueOf(nbElements));
-
 
53
		}
-
 
54
 
-
 
55
		if(tri != null) {
-
 
56
			restrictions.put("orderby", tri);
Line 52... Line 57...
52
		}
57
		}
53
		
58
		
Line 54... Line 59...
54
		/** GESTION DE LA REQUETE dans le cas d'une liste paginée progressive **/
59
		/** GESTION DE LA REQUETE dans le cas d'une liste paginée progressive **/