Line 49... |
Line 49... |
49 |
|
49 |
|
50 |
//+----------------------------------------------------------------------------------------------------------------+
|
50 |
//+----------------------------------------------------------------------------------------------------------------+
|
51 |
// GESTION DES VALEURS ET LISTES
|
51 |
// GESTION DES VALEURS ET LISTES
|
52 |
//+----------------------------------------------------------------------------------------------------------------+
|
52 |
//+----------------------------------------------------------------------------------------------------------------+
|
53 |
public void obtenirListeValeurs(Rafraichissable vue, Integer id, Integer seqId) {
|
- |
|
54 |
if (vue instanceof Sequenceur) {
|
- |
|
55 |
vue = (Sequenceur) vue;
|
- |
|
56 |
}
|
53 |
public void obtenirListeValeurs(Rafraichissable vue, Integer id, Integer seqId) {
|
57 |
ValeurListeAsyncDao lsDao = new ValeurListeAsyncDao(vue);
|
54 |
ValeurListeAsyncDao lsDao = new ValeurListeAsyncDao(vue);
|
58 |
lsDao.obtenirListe(id, seqId);
|
55 |
lsDao.obtenirListe(id, seqId);
|
Line 59... |
Line 56... |
59 |
}
|
56 |
}
|
Line 206... |
Line 203... |
206 |
|
203 |
|
207 |
//+----------------------------------------------------------------------------------------------------------------+
|
204 |
//+----------------------------------------------------------------------------------------------------------------+
|
208 |
// GESTION DES COLLECTIONS
|
205 |
// GESTION DES COLLECTIONS
|
Line 209... |
Line 206... |
209 |
//+----------------------------------------------------------------------------------------------------------------+
|
206 |
//+----------------------------------------------------------------------------------------------------------------+
|
210 |
|
207 |
|
211 |
public void selectionnerCollection(Rafraichissable vueARafraichir, String projetId, String collectionId, String nom, int start, int nbElements) {
|
208 |
public void selectionnerCollection(Rafraichissable vueARafraichir, String projetId, String collectionId, String nom, int start, int nbElements, Integer seqId) {
|
212 |
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
|
209 |
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
|
Line 213... |
Line 210... |
213 |
cDao.selectionner(false, projetId, collectionId, nom, start, nbElements);
|
210 |
cDao.selectionner(false, projetId, collectionId, nom, start, nbElements, seqId);
|
214 |
}
|
211 |
}
|
215 |
|
212 |
|
216 |
public void selectionnerCollection(Rafraichissable vueARafraichir, String recherche, int start, int nbElements) {
|
213 |
public void selectionnerCollection(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
|
Line 217... |
Line 214... |
217 |
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
|
214 |
CollectionAsyncDao cDao = new CollectionAsyncDao(vueARafraichir);
|
218 |
cDao.selectionner(true, null, null, recherche, start, nbElements);
|
215 |
cDao.selectionner(true, null, null, recherche, start, nbElements, seqId);
|
219 |
}
|
216 |
}
|
Line 234... |
Line 231... |
234 |
}
|
231 |
}
|
Line 235... |
Line 232... |
235 |
|
232 |
|
236 |
//+----------------------------------------------------------------------------------------------------------------+
|
233 |
//+----------------------------------------------------------------------------------------------------------------+
|
Line 237... |
Line 234... |
237 |
// GESTION de la relation COLLECTION A PERSONNE
|
234 |
// GESTION de la relation COLLECTION A PERSONNE
|
238 |
|
235 |
|
239 |
public void selectionnerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, String roleId) {
|
236 |
public void selectionnerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, String roleId, Integer seqId) {
|
240 |
CollectionAPersonneAsyncDao sapDao = new CollectionAPersonneAsyncDao(vueARafraichir);
|
237 |
CollectionAPersonneAsyncDao sapDao = new CollectionAPersonneAsyncDao(vueARafraichir);
|
Line 241... |
Line 238... |
241 |
sapDao.selectionner(collectionId, roleId);
|
238 |
sapDao.selectionner(collectionId, roleId, seqId);
|
242 |
}
|
239 |
}
|
243 |
|
240 |
|
Line 257... |
Line 254... |
257 |
}
|
254 |
}
|
Line 258... |
Line 255... |
258 |
|
255 |
|
259 |
//+----------------------------------------------------------------------------------------------------------------+
|
256 |
//+----------------------------------------------------------------------------------------------------------------+
|
Line 260... |
Line 257... |
260 |
// GESTION de la relation COLLECTION A PUBLICATION
|
257 |
// GESTION de la relation COLLECTION A PUBLICATION
|
261 |
|
258 |
|
262 |
public void selectionnerCollectionAPublication(Rafraichissable vueARafraichir, String collectionId) {
|
259 |
public void selectionnerCollectionAPublication(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
|
263 |
CollectionAPublicationAsyncDao capDao = new CollectionAPublicationAsyncDao(vueARafraichir);
|
260 |
CollectionAPublicationAsyncDao capDao = new CollectionAPublicationAsyncDao(vueARafraichir);
|
Line 264... |
Line 261... |
264 |
capDao.selectionner(collectionId);
|
261 |
capDao.selectionner(collectionId, seqId);
|
265 |
}
|
262 |
}
|
266 |
|
263 |
|
Line 280... |
Line 277... |
280 |
}
|
277 |
}
|
Line 281... |
Line 278... |
281 |
|
278 |
|
282 |
//+----------------------------------------------------------------------------------------------------------------+
|
279 |
//+----------------------------------------------------------------------------------------------------------------+
|
Line 283... |
Line 280... |
283 |
// GESTION de la relation COLLECTION A COMMENTAIRE
|
280 |
// GESTION de la relation COLLECTION A COMMENTAIRE
|
284 |
|
281 |
|
285 |
public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId) {
|
282 |
public void selectionnerCollectionACommentaire(Rafraichissable vueARafraichir, String collectionId, Integer seqId) {
|
286 |
CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
|
283 |
CollectionACommentaireAsyncDao cacDao = new CollectionACommentaireAsyncDao(vueARafraichir);
|
Line 287... |
Line 284... |
287 |
cacDao.selectionner(collectionId);
|
284 |
cacDao.selectionner(collectionId, seqId);
|
288 |
}
|
285 |
}
|
289 |
|
286 |
|
Line 394... |
Line 391... |
394 |
|
391 |
|
395 |
//+----------------------------------------------------------------------------------------------------------------+
|
392 |
//+----------------------------------------------------------------------------------------------------------------+
|
396 |
// GESTION DES COMMENTAIRES
|
393 |
// GESTION DES COMMENTAIRES
|
Line 397... |
Line 394... |
397 |
//+----------------------------------------------------------------------------------------------------------------+
|
394 |
//+----------------------------------------------------------------------------------------------------------------+
|
398 |
|
395 |
|
399 |
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String commentaireId, String projetId, String titre, int pageCourante, int nbElements) {
|
396 |
public void selectionnerCommentaire(Rafraichissable vueARafraichir, String commentaireId, String projetId, String titre, int pageCourante, int nbElements, Integer seqId) {
|
400 |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
|
397 |
CommentaireAsyncDao cDao = new CommentaireAsyncDao(vueARafraichir);
|
Line 401... |
Line 398... |
401 |
cDao.selectionner(commentaireId, projetId, titre, pageCourante, nbElements);
|
398 |
cDao.selectionner(commentaireId, projetId, titre, pageCourante, nbElements, seqId);
|
402 |
}
|
399 |
}
|
403 |
|
400 |
|