42,16 → 42,15 |
* est renvoyé à l'appelant |
* // FIXME : si la taille de la liste est supérieure à la limite du JREST (150), ce deuxieme mode ne fonctionne pas |
*/ |
public void selectionner(final boolean paginationProgressive, final String projetId, final String structureId, final String nomStructure, final String formatRetour, final int start, final int nbElements, final Integer seqId) { |
|
String nom = (nomStructure == null) ? "%" : nomStructure+"%"; |
String[] parametres = {projetId, structureId, nom}; |
|
public void selectionner(final boolean paginationProgressive, final String projetId, final String structureId, final String nomStructure, final String formatRetour, final int start, final int nbElements, final Integer seqId, final boolean searchCity) { |
String[] parametres = {projetId, structureId, nomStructure}; |
|
HashMap<String, String> restrictions = new HashMap<String, String>(); |
|
if (nbElements != -1) { |
restrictions.put("limit", String.valueOf(nbElements)); |
} |
restrictions.put("searchCity", String.valueOf(searchCity)); |
|
if ((formatRetour != null) && (formatRetour != "")) { |
restrictions.put("formatRetour", formatRetour); |