Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1733 Rev 1762
Line 21... Line 21...
21
import com.google.gwt.json.client.JSONValue;
21
import com.google.gwt.json.client.JSONValue;
22
import com.google.gwt.user.client.Window;
22
import com.google.gwt.user.client.Window;
Line 23... Line 23...
23
 
23
 
24
public class StructureAsyncDao {
24
public class StructureAsyncDao {
-
 
25
	private static final String SERVICE_NOM = "CoelStructure";
Line 25... Line 26...
25
	private static final String SERVICE_NOM = "CoelStructure";
26
	public static String tri = null;
26
	
27
	
Line 27... Line 28...
27
	private String utilisateurId = null;
28
	private String utilisateurId = null;
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));
52
		}
53
		}
-
 
54
		restrictions.put("searchCity", String.valueOf(searchCity));
-
 
55
 
-
 
56
		if(tri != null) {
-
 
57
			restrictions.put("orderby", tri);
Line 53... Line 58...
53
		restrictions.put("searchCity", String.valueOf(searchCity));
58
		}
54
		
59
		
55
		if ((formatRetour != null) && (formatRetour != "")) {
60
		if ((formatRetour != null) && (formatRetour != "")) {