Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1047 Rev 1051
Line 30... Line 30...
30
 
30
 
31
	public void selectionner(final String publicationId, String projetId, String nomComplet, final int nbElements, final int pageCourante) {
31
	public void selectionner(final String publicationId, String projetId, String nomComplet, final int nbElements, final int pageCourante) {
Line 32... Line 32...
32
		String[] parametres = {projetId, publicationId, nomComplet};
32
		String[] parametres = {projetId, publicationId, nomComplet};
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));