Line 621... |
Line 621... |
621 |
contenuParams.set("i18n_etre_decede", i18nC.personneDeces());
|
621 |
contenuParams.set("i18n_etre_decede", i18nC.personneDeces());
|
622 |
contenuParams.set("i18n_deces_date", i18nC.personneDateDeces());
|
622 |
contenuParams.set("i18n_deces_date", i18nC.personneDateDeces());
|
623 |
contenuParams.set("i18n_deces_lieu", i18nC.personneLieuDeces());
|
623 |
contenuParams.set("i18n_deces_lieu", i18nC.personneLieuDeces());
|
Line 624... |
Line 624... |
624 |
|
624 |
|
625 |
String lignesPersonnel = "";
|
- |
|
- |
|
625 |
String lignesPersonnel = "";
|
626 |
|
626 |
if (collection.getPersonnesLiees() != null) {
|
627 |
Iterator<String> it = collection.getPersonnesLiees().keySet().iterator();
|
627 |
Iterator<String> it = collection.getPersonnesLiees().keySet().iterator();
|
628 |
while (it.hasNext()) {
|
628 |
while (it.hasNext()) {
|
629 |
CollectionAPersonne relationCollectionAPersonne = collection.getPersonnesLiees().get(it.next());
|
629 |
CollectionAPersonne relationCollectionAPersonne = collection.getPersonnesLiees().get(it.next());
|
630 |
Personne personne = relationCollectionAPersonne.getPersonne();
|
630 |
Personne personne = relationCollectionAPersonne.getPersonne();
|
631 |
|
631 |
|
632 |
String relation = construireTxtListeOntologie(relationCollectionAPersonne.getIdRole());
|
632 |
String relation = construireTxtListeOntologie(relationCollectionAPersonne.getIdRole());
|
633 |
String etreDecede = construireTxtListeOntologie(personne.getDeces());
|
633 |
String etreDecede = construireTxtListeOntologie(personne.getDeces());
|
634 |
|
634 |
|
635 |
Params ligneParams = new Params();
|
635 |
Params ligneParams = new Params();
|
636 |
ligneParams.set("relation", relation);
|
636 |
ligneParams.set("relation", relation);
|
637 |
ligneParams.set("nom_complet", personne.getNomComplet());
|
637 |
ligneParams.set("nom_complet", personne.getNomComplet());
|
638 |
ligneParams.set("nom", personne.getNom());
|
638 |
ligneParams.set("nom", personne.getNom());
|
639 |
ligneParams.set("prenom", personne.getPrenom());
|
639 |
ligneParams.set("prenom", personne.getPrenom());
|
640 |
ligneParams.set("naissance_date", personne.getNaissanceDate());
|
640 |
ligneParams.set("naissance_date", personne.getNaissanceDate());
|
641 |
ligneParams.set("naissance_lieu", personne.getNaissanceLieu());
|
641 |
ligneParams.set("naissance_lieu", personne.getNaissanceLieu());
|
642 |
ligneParams.set("etre_decede", etreDecede);
|
642 |
ligneParams.set("etre_decede", etreDecede);
|
643 |
ligneParams.set("deces_date", personne.getDecesDate());
|
643 |
ligneParams.set("deces_date", personne.getDecesDate());
|
644 |
ligneParams.set("deces_lieu", personne.getDecesLieu());
|
644 |
ligneParams.set("deces_lieu", personne.getDecesLieu());
|
645 |
|
645 |
|
- |
|
646 |
lignesPersonnel += Format.substitute(lignePersonneLieeTpl, ligneParams);
|
646 |
lignesPersonnel += Format.substitute(lignePersonneLieeTpl, ligneParams);
|
647 |
}
|
647 |
}
|
- |
|
Line -... |
Line 648... |
- |
|
648 |
}
|
- |
|
649 |
|
- |
|
650 |
String cHtml = i18nC.nonRenseigne();
|
648 |
contenuParams.set("lignes", lignesPersonnel);
|
651 |
if (!UtilString.isEmpty(lignesPersonnel)) {
|
- |
|
652 |
contenuParams.set("lignes", lignesPersonnel);
|
649 |
|
653 |
cHtml = Format.substitute(tableauPersonnesLieesTpl, contenuParams);
|
650 |
String cHtml = Format.substitute(tableauPersonnesLieesTpl, contenuParams);
|
654 |
}
|
Line 651... |
Line 655... |
651 |
return cHtml;
|
655 |
return cHtml;
|
652 |
}
|
656 |
}
|
Line 674... |
Line 678... |
674 |
contenuParams.set("i18n_nvt", i18nC.publicationNvt());
|
678 |
contenuParams.set("i18n_nvt", i18nC.publicationNvt());
|
675 |
contenuParams.set("i18n_fascicule", i18nC.publicationFascicule());
|
679 |
contenuParams.set("i18n_fascicule", i18nC.publicationFascicule());
|
676 |
contenuParams.set("i18n_page", i18nC.publicationPage());
|
680 |
contenuParams.set("i18n_page", i18nC.publicationPage());
|
Line 677... |
Line 681... |
677 |
|
681 |
|
678 |
String lignesPublication = "";
|
- |
|
- |
|
682 |
String lignesPublication = "";
|
679 |
|
683 |
if (collection.getPublicationsLiees() != null) {
|
680 |
Iterator<String> it = collection.getPublicationsLiees().keySet().iterator();
|
684 |
Iterator<String> it = collection.getPublicationsLiees().keySet().iterator();
|
681 |
while (it.hasNext()) {
|
685 |
while (it.hasNext()) {
|
682 |
CollectionAPublication relationCollectionAPublication = collection.getPublicationsLiees().get(it.next());
|
686 |
CollectionAPublication relationCollectionAPublication = collection.getPublicationsLiees().get(it.next());
|
683 |
Publication publication = relationCollectionAPublication.getPublication();
|
687 |
Publication publication = relationCollectionAPublication.getPublication();
|
684 |
Params ligneParams = new Params();
|
688 |
Params ligneParams = new Params();
|
685 |
|
689 |
|
686 |
ligneParams.set("auteur", publication.getAuteur());
|
690 |
ligneParams.set("auteur", publication.getAuteur());
|
687 |
ligneParams.set("titre", publication.getTitre());
|
691 |
ligneParams.set("titre", publication.getTitre());
|
688 |
ligneParams.set("revue", publication.getCollection());
|
692 |
ligneParams.set("revue", publication.getCollection());
|
689 |
ligneParams.set("editeur", publication.getEditeur());
|
693 |
ligneParams.set("editeur", publication.getEditeur());
|
690 |
ligneParams.set("annee", publication.getAnneeParution());
|
694 |
ligneParams.set("annee", publication.getAnneeParution());
|
691 |
ligneParams.set("nvt", publication.getIndicationNvt());
|
695 |
ligneParams.set("nvt", publication.getIndicationNvt());
|
692 |
ligneParams.set("fascicule", publication.getFascicule());
|
696 |
ligneParams.set("fascicule", publication.getFascicule());
|
693 |
ligneParams.set("page", publication.getPages());
|
697 |
ligneParams.set("page", publication.getPages());
|
- |
|
698 |
lignesPublication += Format.substitute(lignePublicationLieeTpl, ligneParams);
|
- |
|
699 |
}
|
- |
|
700 |
}
|
- |
|
701 |
|
- |
|
702 |
String cHtml = i18nC.nonRenseigne();
|
- |
|
703 |
if (!UtilString.isEmpty(lignesPublication)) {
|
- |
|
704 |
contenuParams.set("lignes", lignesPublication);
|
694 |
lignesPublication += Format.substitute(lignePublicationLieeTpl, ligneParams);
|
705 |
cHtml = Format.substitute(tableauPublicationsLieesTpl, contenuParams);
|
695 |
}
|
- |
|
696 |
contenuParams.set("lignes", lignesPublication);
|
- |
|
697 |
|
- |
|
698 |
String cHtml = Format.substitute(tableauPublicationsLieesTpl, contenuParams);
|
706 |
}
|
699 |
return cHtml;
|
707 |
return cHtml;
|
Line 700... |
Line 708... |
700 |
}
|
708 |
}
|
701 |
|
709 |
|