Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1040 Rev 1055
Line 33... Line 33...
33
	
33
	
34
	public void selectionner(final String projetId, final String structureId, final String nomStructure, final int pageCourante, final int nbElements) {
34
	public void selectionner(final String projetId, final String structureId, final String nomStructure, final int pageCourante, final int nbElements) {
Line 35... Line 35...
35
		String[] parametres = {projetId, structureId, nomStructure};
35
		String[] parametres = {projetId, structureId, nomStructure};
36
		
36
		
37
		HashMap<String, String> restrictions = new HashMap<String, String>();
37
		HashMap<String, String> restrictions = new HashMap<String, String>();
38
		restrictions.put("start", String.valueOf(pageCourante));
38
		restrictions.put("start", String.valueOf(pageCourante*nbElements));
39
		if (nbElements != -1)	{
39
		if (nbElements != -1)	{
Line 40... Line 40...
40
			restrictions.put("limit", String.valueOf(nbElements));
40
			restrictions.put("limit", String.valueOf(nbElements));