Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1428 Rev 1468
Line 118... Line 118...
118
	
118
	
119
	//+----------------------------------------------------------------------------------------------------------------+
119
	//+----------------------------------------------------------------------------------------------------------------+
120
	//												GESTION DES PROJETS
120
	//												GESTION DES PROJETS
Line 121... Line 121...
121
	//+----------------------------------------------------------------------------------------------------------------+
121
	//+----------------------------------------------------------------------------------------------------------------+
122
	
122
	
123
	public void selectionnerProjet(Rafraichissable vueARafraichir, String projetId, String nom, int start, int nbElements, Integer seqId) {
123
	public void selectionnerProjet(Rafraichissable vueARafraichir, String projetId, String nom, int start, int nbElements, String formatRetour, boolean paginationProgressive, Integer seqId) {
124
		ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
124
		ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
Line 125... Line 125...
125
		pADAO.selectionner(false, projetId, nom, start, nbElements, seqId);
125
		pADAO.selectionner(paginationProgressive, projetId, nom, start, nbElements, formatRetour, seqId);
126
	}
126
	}
127
	
127
	
128
	public void selectionnerProjet(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
128
	public void selectionnerProjet(Rafraichissable vueARafraichir, String recherche, int start, int nbElements, Integer seqId) {
Line 129... Line 129...
129
		ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
129
		ProjetAsyncDao pADAO = new ProjetAsyncDao(vueARafraichir);
130
		pADAO.selectionner(true, null, recherche, start, nbElements, seqId);
130
		pADAO.selectionner(true, null, recherche, start, nbElements, null, seqId);
131
	}
131
	}
Line 180... Line 180...
180
	
180
	
181
	public void selectionnerStructureAPersonne(Rafraichissable vueARafraichir, String structureId, String roleId, Integer seqId) {
181
	public void selectionnerStructureAPersonne(Rafraichissable vueARafraichir, String structureId, String roleId, Integer seqId) {
182
		// Gestion des données de la table coel_structure_a_personne
182
		// Gestion des données de la table coel_structure_a_personne
183
		if (structureId != null && roleId != null) {
183
		if (structureId != null && roleId != null) {
184
			StructureAPersonneAsyncDao sapDao = new StructureAPersonneAsyncDao(vueARafraichir);
184
			StructureAPersonneAsyncDao sapDao = new StructureAPersonneAsyncDao(vueARafraichir);
185
			sapDao.selectionner(structureId, roleId, seqId);
185
			sapDao.selectionner(false, structureId, roleId, null, 0, -1, seqId);
186
		}
186
		}
Line -... Line 187...
-
 
187
	}
-
 
188
	
-
 
189
	public void selectionnerStructureAPersonne(Rafraichissable vueARafraichir, String structureId, String roleId, String recherche, int start, int nbElements, Integer seqId) {
-
 
190
		StructureAPersonneAsyncDao sapDao = new StructureAPersonneAsyncDao(vueARafraichir);
-
 
191
		sapDao.selectionner(true, structureId, roleId, recherche, start, nbElements, seqId);
187
	}
192
	}
188
	
193
	
189
	public void modifierStructureAPersonne(Rafraichissable vueARafraichir, StructureAPersonne personnel) {
194
	public void modifierStructureAPersonne(Rafraichissable vueARafraichir, StructureAPersonne personnel) {
190
		StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao(vueARafraichir);
195
		StructureAPersonneAsyncDao structureAPersonneDao = new StructureAPersonneAsyncDao(vueARafraichir);
Line 231... Line 236...
231
	}
236
	}
Line 232... Line 237...
232
	
237
	
233
	//+----------------------------------------------------------------------------------------------------------------+
238
	//+----------------------------------------------------------------------------------------------------------------+
Line -... Line 239...
-
 
239
	// GESTION de la relation COLLECTION A PERSONNE
-
 
240
	
-
 
241
	public void selectionnerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, String roleId, String recherche, int start, int nbElements, Integer seqId) {
-
 
242
		CollectionAPersonneAsyncDao sapDao = new CollectionAPersonneAsyncDao(vueARafraichir);
-
 
243
		sapDao.selectionner(true, collectionId, roleId, recherche, start, nbElements, seqId);
234
	// GESTION de la relation COLLECTION A PERSONNE
244
	}
235
	
245
	
236
	public void selectionnerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, String roleId, Integer seqId) {
246
	public void selectionnerCollectionAPersonne(Rafraichissable vueARafraichir, String collectionId, String roleId, Integer seqId) {
237
		CollectionAPersonneAsyncDao sapDao = new CollectionAPersonneAsyncDao(vueARafraichir);
247
		CollectionAPersonneAsyncDao sapDao = new CollectionAPersonneAsyncDao(vueARafraichir);
Line 238... Line 248...
238
		sapDao.selectionner(collectionId, roleId, seqId);
248
		sapDao.selectionner(false, collectionId, roleId, null, 0, -1, seqId);
239
	}
249
	}
240
	
250