| Line 169... |
Line 169... |
| 169 |
avecMotifAccesChp.setFieldLabel("Si oui, quelles démarches doit-on faire pour les visiter ?");
|
169 |
avecMotifAccesChp.setFieldLabel("Si oui, quelles démarches doit-on faire pour les visiter ?");
|
| Line 170... |
Line 170... |
| 170 |
|
170 |
|
| Line 171... |
Line 171... |
| 171 |
}
|
171 |
}
|
| 172 |
|
172 |
|
| 173 |
public void peupler() {
|
173 |
public void peupler() {
|
| 174 |
if(valorisation == null) {
|
174 |
if(valorisation == null) {
|
| 175 |
initialiserValorisation();
|
175 |
initialiserValorisation();
|
| 176 |
}
|
176 |
}
|
| 177 |
if (formulaireCourant.mode.equals(Formulaire.MODE_AJOUTER)) {
|
177 |
if (formulaireCourant.mode.equals(Formulaire.MODE_AJOUTER)) {
|
| 178 |
// Indique que l'onglet a pu être modifié pour la méthode collecter...
|
178 |
// Indique que l'onglet a pu être modifié pour la méthode collecter...
|
| 179 |
setData("acces", true);
|
179 |
setData("acces", true);
|
| 180 |
// Initialisation de l'objet Structure
|
180 |
// Initialisation de l'objet Structure
|
| 181 |
valorisation = new StructureValorisation();
|
181 |
valorisation = new StructureValorisation();
|
| 182 |
}
|
182 |
}
|
| 183 |
if (formulaireCourant.mode.equals(Formulaire.MODE_MODIFIER) && valorisation != null) {
|
183 |
if (formulaireCourant.mode.equals(Formulaire.MODE_MODIFIER) && valorisation != null) {
|
| 184 |
// ACTION :
|
184 |
// ACTION :
|
| 185 |
//TODO : check below:
|
185 |
//TODO : check below:
|
| 186 |
if(valorisation.getAction() != null) {
|
186 |
if(valorisation.getAction() != null) {
|
| 187 |
((Radio) actionMarkRGrpChp.get(valorisation.getAction() ^ 1)).setValue(true);
|
187 |
((Radio) actionMarkRGrpChp.get(valorisation.getAction() ^ 1)).setValue(true);
|
| 188 |
}
|
188 |
}
|
| 189 |
|
189 |
|
| 190 |
// ACTION INFO
|
190 |
// ACTION INFO
|
| 191 |
peuplerCasesACocher(valorisation.getActionInfo(), actionTrukCacGrpChp, actionAutreChp);
|
191 |
peuplerCasesACocher(valorisation.getActionInfo(), actionTrukCacGrpChp, actionAutreChp);
|
| 192 |
|
192 |
|
| 193 |
// PUBLICATION
|
193 |
// PUBLICATION
|
| 194 |
publicationChp.setValue(valorisation.getPublication());
|
194 |
publicationChp.setValue(valorisation.getPublication());
|
| 195 |
|
195 |
|
| 196 |
// COLLECTION AUTRE
|
196 |
// COLLECTION AUTRE
|
| 197 |
peuplerCasesACocher(valorisation.getCollectionAutre(), autreCollectionTrukCacGrpChp, autreCollectionAutreChp);
|
197 |
peuplerCasesACocher(valorisation.getCollectionAutre(), autreCollectionTrukCacGrpChp, autreCollectionAutreChp);
|
| 198 |
|
198 |
|
| 199 |
// ACTION FUTURE
|
199 |
// ACTION FUTURE
|
| 200 |
if(valorisation.getActionFuture() != null) {
|
200 |
if(valorisation.getActionFuture() != null) {
|
| 201 |
((Radio) futureActionMarkRGrpChp.get(valorisation.getActionFuture() ^ 1)).setValue(true);
|
201 |
((Radio) futureActionMarkRGrpChp.get(valorisation.getActionFuture() ^ 1)).setValue(true);
|
| 202 |
}
|
202 |
}
|
| 203 |
|
203 |
|
| 204 |
// ACTION FUTURE INFO
|
204 |
// ACTION FUTURE INFO
|
| 205 |
futureActionChp.setValue(valorisation.getActionFutureInfo());
|
205 |
futureActionChp.setValue(valorisation.getActionFutureInfo());
|
| 206 |
|
206 |
|
| 207 |
// RECHERCHE
|
207 |
// RECHERCHE
|
| 208 |
if(valorisation.getRecherche() != null) {
|
208 |
if(valorisation.getRecherche() != null) {
|
| 209 |
((Radio) rechercheMarkRGrpChp.get(valorisation.getRecherche() ^ 1)).setValue(true);
|
209 |
((Radio) rechercheMarkRGrpChp.get(valorisation.getRecherche() ^ 1)).setValue(true);
|
| 210 |
}
|
210 |
}
|
| 211 |
// RECHERCHE PROVENANCE
|
211 |
// RECHERCHE PROVENANCE
|
| 212 |
peuplerCasesACocher(valorisation.getRechercheProvenance(), provenanceRechercheTrukCacGrpChp, provenanceRechercheAutreChp);
|
212 |
peuplerCasesACocher(valorisation.getRechercheProvenance(), provenanceRechercheTrukCacGrpChp, provenanceRechercheAutreChp);
|
| 213 |
// RECHERCHE TYPE
|
213 |
// RECHERCHE TYPE
|
| 214 |
peuplerCasesACocher(valorisation.getRechercheType(), typeRechercheTrukCacGrpChp, typeRechercheAutreChp);
|
214 |
peuplerCasesACocher(valorisation.getRechercheType(), typeRechercheTrukCacGrpChp, typeRechercheAutreChp);
|
| 215 |
|
215 |
|
| 216 |
// ACCÈS SANS MOTIF
|
216 |
// ACCÈS SANS MOTIF
|
| 217 |
if(valorisation.getAccesSansMotif() != null) {
|
217 |
if(valorisation.getAccesSansMotif() != null) {
|
| 218 |
((Radio) sansMotifAccesMarkRGrpChp.get(valorisation.getAccesSansMotif() ^ 1)).setValue(true);
|
218 |
((Radio) sansMotifAccesMarkRGrpChp.get(valorisation.getAccesSansMotif() ^ 1)).setValue(true);
|
| 219 |
}
|
219 |
}
|
| 220 |
// ACCÈS SANS MOTIF INFO
|
220 |
// ACCÈS SANS MOTIF INFO
|
| 221 |
sansMotifAccesChp.setValue(valorisation.getAccesSansMotifInfo());
|
221 |
sansMotifAccesChp.setValue(valorisation.getAccesSansMotifInfo());
|
| 222 |
|
222 |
|
| 223 |
// VISITE AVEC MOTIF
|
223 |
// VISITE AVEC MOTIF
|
| 224 |
if(valorisation.getVisiteAvecMotif() != null) {
|
224 |
if(valorisation.getVisiteAvecMotif() != null) {
|
| 225 |
((Radio) avecMotifAccesMarkRGrpChp.get(valorisation.getVisiteAvecMotif() ^ 1)).setValue(true);
|
225 |
((Radio) avecMotifAccesMarkRGrpChp.get(valorisation.getVisiteAvecMotif() ^ 1)).setValue(true);
|
| 226 |
}
|
226 |
}
|
| 227 |
// VISITE AVEC MOTIF INFO
|
227 |
// VISITE AVEC MOTIF INFO
|
| 228 |
avecMotifAccesChp.setValue(valorisation.getVisiteAvecMotifInfo());
|
228 |
avecMotifAccesChp.setValue(valorisation.getVisiteAvecMotifInfo());
|
| 229 |
|
229 |
|
| 230 |
// Indique que l'onglet a été rempli et a pu être modifié pour la méthode collecter...
|
230 |
// Indique que l'onglet a été rempli et a pu être modifié pour la méthode collecter...
|
| 231 |
this.setData("acces", true);
|
231 |
this.setData("acces", true);
|
| Line 232... |
Line 232... |
| 232 |
}
|
232 |
}
|
| 233 |
}
|
233 |
}
|
| 234 |
|
234 |
|