Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 969 Rev 975
Line 446... Line 446...
446
		String[] listesCodes = {"typeCollectionBota", "typeCollectionNcd", "typeDepot", "groupementPrincipe", 
446
		String[] listesCodes = {"typeCollectionBota", "typeCollectionNcd", "typeDepot", "groupementPrincipe", 
447
			"realisationBut", "onpi", "ea", "typeClassement", "relationPersonneCollection", "ion",
447
			"realisationBut", "onpi", "ea", "typeClassement", "relationPersonneCollection", "ion",
448
			"typeUniteRangement", "etat", "typeUniteBase", "typePapier", "methodeRangement", "methodeFixation",  
448
			"typeUniteRangement", "etat", "typeUniteBase", "typePapier", "methodeRangement", "methodeFixation",  
449
			"methodeFixationSurSpecimen", "typeEcriture", "poisonTraitement", "insecteTraitement", "specimenDegradation",  
449
			"methodeFixationSurSpecimen", "typeEcriture", "poisonTraitement", "insecteTraitement", "specimenDegradation",  
450
			"niveauImportance", "supportDegradation", "niveauDetermination", "natureVegetale", "siecleNaturaliste", 
450
			"niveauImportance", "supportDegradation", "niveauDetermination", "natureVegetale", "siecleNaturaliste", 
451
			"dateDebut", "dateFin", "etat", "onep", "onp", "inventaireForme", "inventaireLogiciel", "inventaireEtat"};
451
			"dateDebut", "dateFin", "etat", "onep", "onp", "inventaireForme", "inventaireLogiciel", "inventaireEtat",
-
 
452
			"etatClassement"};
452
		lancerChargementListesValeurs(listesCodes);
453
		lancerChargementListesValeurs(listesCodes);
453
	}
454
	}
Line 454... Line 455...
454
	
455
	
455
	public void rafraichir(Object nouvellesDonnees) {
456
	public void rafraichir(Object nouvellesDonnees) {
Line 566... Line 567...
566
		String groupementPrincipe = construireTxtListeOntologie(collection.getGroupementPrincipe());
567
		String groupementPrincipe = construireTxtListeOntologie(collection.getGroupementPrincipe());
567
		String couvertureGeo = construireTxtTruck(collection.getCouvertureLieu());
568
		String couvertureGeo = construireTxtTruck(collection.getCouvertureLieu());
568
		String specimenTypePresence = construireTxtListeOntologie(collection.getSpecimenType());
569
		String specimenTypePresence = construireTxtListeOntologie(collection.getSpecimenType());
569
		String specimenTypeNombrePrecision = construireTxtListeOntologie(collection.getSpecimenTypeNbrePrecision());
570
		String specimenTypeNombrePrecision = construireTxtListeOntologie(collection.getSpecimenTypeNbrePrecision());
570
		String specimenTypeNombre = "";
571
		String specimenTypeNombre = "";
571
		if (!collection.getSpecimenTypeNbre().equals("0")) {
572
		if (!collection.getSpecimenTypeNbre().equals("0") && !collection.getSpecimenTypeNbre().equals("")) {
572
			specimenTypeNombre = collection.getSpecimenTypeNbre()+" ("+specimenTypeNombrePrecision+")";
573
			specimenTypeNombre = collection.getSpecimenTypeNbre()+" ("+specimenTypeNombrePrecision+")";
573
		}
574
		}
574
		String specimenTypeClassement = construireTxtListeOntologie(collection.getSpecimenTypeClassement());
575
		String specimenTypeClassement = construireTxtListeOntologie(collection.getSpecimenTypeClassement());
Line 575... Line 576...
575
		
576
		
Line 855... Line 856...
855
					ligneParams.set("type", construireTxtListeOntologie(unite.getId()));
856
					ligneParams.set("type", construireTxtListeOntologie(unite.getId()));
856
				}
857
				}
857
				ligneParams.set("nombre", UtilNombre.formaterEnEntier(unite.getNombre()));
858
				ligneParams.set("nombre", UtilNombre.formaterEnEntier(unite.getNombre()));
858
				ligneParams.set("precision", unite.getPrecision());
859
				ligneParams.set("precision", unite.getPrecision());
859
				ligneParams.set("format", unite.getFormat());
860
				ligneParams.set("format", unite.getFormat());
860
				ligneParams.set("part_nombre", unite.getNombrePart());
861
				ligneParams.set("part_nombre", UtilNombre.formaterEnEntier(unite.getNombrePart()));
861
				ligneParams.set("part_precision", unite.getPrecisionPart());
862
				ligneParams.set("part_precision", unite.getPrecisionPart());
862
				ligneParams.set("sp_nombre", unite.getNombreSp());
863
				ligneParams.set("sp_nombre", UtilNombre.formaterEnEntier(unite.getNombreSp()));
863
				ligneParams.set("sp_precision", unite.getPrecisionSp());
864
				ligneParams.set("sp_precision", unite.getPrecisionSp());
Line 864... Line 865...
864
				
865
				
865
				lignesUnite += Format.substitute(ligneUniteBaseTpl, ligneParams);
866
				lignesUnite += Format.substitute(ligneUniteBaseTpl, ligneParams);
866
			}
867
			}