Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1045 Rev 1054
Line 30... Line 30...
30
	
30
	
31
	public void selectionner(final String projetId, final String nom, final int pageCourante, final int nbElements) {
31
	public void selectionner(final String projetId, final String nom, final int pageCourante, final int nbElements) {
Line 32... Line 32...
32
		String[] param = {projetId, nom};
32
		String[] param = {projetId, nom};
33
		
33
		
34
		HashMap<String, String> restrictions = new HashMap<String, String>();
34
		HashMap<String, String> restrictions = new HashMap<String, String>();
35
		restrictions.put("start", String.valueOf(pageCourante));
35
		restrictions.put("start", String.valueOf(pageCourante*nbElements));
36
		if (nbElements != -1)	{
36
		if (nbElements != -1)	{
Line 37... Line 37...
37
			restrictions.put("limit", String.valueOf(nbElements));
37
			restrictions.put("limit", String.valueOf(nbElements));