| Line 28... |
Line 28... |
| 28 |
public void selectionner(String personneId, String projetId, String nomComplet, final int pageCourante, final int nbElements) {
|
28 |
public void selectionner(String personneId, String projetId, String nomComplet, final int pageCourante, final int nbElements) {
|
| 29 |
System.out.println(pageCourante +" " + nbElements);
|
29 |
System.out.println(pageCourante +" " + nbElements);
|
| 30 |
String[] parametres = {personneId, projetId, nomComplet};
|
30 |
String[] parametres = {personneId, projetId, nomComplet};
|
| Line 31... |
Line 31... |
| 31 |
|
31 |
|
| 32 |
HashMap<String, String> restrictions = new HashMap<String, String>();
|
32 |
HashMap<String, String> restrictions = new HashMap<String, String>();
|
| 33 |
restrictions.put("start", String.valueOf(pageCourante));
|
33 |
restrictions.put("start", String.valueOf(pageCourante*nbElements));
|
| 34 |
if (nbElements != -1) {
|
34 |
if (nbElements != -1) {
|
| 35 |
restrictions.put("limit", String.valueOf(nbElements));
|
35 |
restrictions.put("limit", String.valueOf(nbElements));
|
| Line 36... |
Line 36... |
| 36 |
}
|
36 |
}
|