Le document suivant contient les résultats de l'inspection CPD CPD 6.13.0.
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/utils/IndividuUtil.java | 174 |
| fr/paris/lutece/plugins/referentielbo/v2/utils/IndividuUtil.java | 173 |
return recupereAdresseParType( individuDto, typeAdresseCode );
}
/**
* Ressort une {@link java.util.HashMap Map} des cuid des bénéficiaires par {@link fr.paris.lutece.plugins.referentielbo.v1.model.referentiel.ReferentielTypeLienIndividus type de lien}
* @param individuDto
* @return
*/
public static Map<String, Set<String>> recupereMapBeneficiairesParTypeLien( IndividuDto individuDto )
{
if ( individuDto == null || individuDto.getProfilIndividuDto( ) == null || individuDto.getProfilIndividuDto( ).getListBeneficiaires( ) == null )
{
return null;
}
Map<String, Set<String>> mapBeneficiaires = null;
List<LienTiersDto> listBeneficiaires = individuDto.getProfilIndividuDto( ).getListBeneficiaires( );
for ( LienTiersDto lienTiersDto : listBeneficiaires )
{
if ( lienTiersDto!=null && lienTiersDto.getCuidIndividuBeneficiaire( ) != null
&& lienTiersDto.getTypeLien( ) != null && lienTiersDto.getTypeLien( ).getCode( ) != null
&& lienTiersDto.getCuidIndividuBeneficiaire( ) != null )
{
Set<String> setCuid;
if ( mapBeneficiaires == null )
{
mapBeneficiaires = new HashMap<>( );
}
if ( mapBeneficiaires.containsKey( lienTiersDto.getTypeLien( ).getCode( ) ) )
{
setCuid = mapBeneficiaires.get( lienTiersDto.getTypeLien( ).getCode( ) );
}
else
{
setCuid = new HashSet<>( );
}
setCuid.add( lienTiersDto.getCuidIndividuBeneficiaire( ) );
mapBeneficiaires.put( lienTiersDto.getTypeLien( ).getCode( ), setCuid );
}
}
return mapBeneficiaires;
}
/**
* Ressort une {@link java.util.HashMap Map} des cuid des tiers par {@link fr.paris.lutece.plugins.referentielbo.v1.model.referentiel.ReferentielTypeLienIndividus type de lien}
* @param individuDto
* @return
*/
public static Map<String, Set<String>> recupereMapTiersParTypeLien( IndividuDto individuDto )
{
if ( individuDto == null || individuDto.getProfilIndividuDto( ) == null || individuDto.getProfilIndividuDto( ).getListTiers( ) == null )
{
return null;
}
Map<String, Set<String>> mapTiers = null;
List<LienTiersDto> listTiers = individuDto.getProfilIndividuDto( ).getListTiers( );
for ( LienTiersDto lienTiersDto : listTiers )
{
if ( lienTiersDto!=null && lienTiersDto.getCuidIndividuTiers( ) != null
&& lienTiersDto.getTypeLien( ) != null && lienTiersDto.getTypeLien( ).getCode( ) != null
&& lienTiersDto.getCuidIndividuTiers( ) != null )
{
Set<String> setCuid;
if ( mapTiers == null )
{
mapTiers = new HashMap<>( );
}
if ( mapTiers.containsKey( lienTiersDto.getTypeLien( ).getCode( ) ) )
{
setCuid = mapTiers.get( lienTiersDto.getTypeLien( ).getCode( ) );
}
else
{
setCuid = new HashSet<>( );
}
setCuid.add( lienTiersDto.getCuidIndividuTiers( ) );
mapTiers.put( lienTiersDto.getTypeLien( ).getCode( ), setCuid );
}
}
return mapTiers;
}
/**
* Ressort une {@link java.util.HashMap Map} des cuid des bénéficiaires par {@link fr.paris.lutece.plugins.referentielbo.v1.model.referentiel.ReferentielQualite qualité}
* @param individuDto
* @return
*/
public static Map<String, Set<String>> recupereMapBeneficiairesParQualite( IndividuDto individuDto )
{
if ( individuDto == null || individuDto.getProfilIndividuDto( ) == null || individuDto.getProfilIndividuDto( ).getListBeneficiaires( ) == null )
{
return null;
}
Map<String, Set<String>> mapBeneficiaires = null;
List<LienTiersDto> listBeneficiaires = individuDto.getProfilIndividuDto( ).getListBeneficiaires( );
for ( LienTiersDto lienTiersDto : listBeneficiaires )
{
if ( lienTiersDto!=null && lienTiersDto.getCuidIndividuBeneficiaire( ) != null
&& lienTiersDto.getQualite( ) != null && lienTiersDto.getQualite( ).getCode( ) != null
&& lienTiersDto.getCuidIndividuBeneficiaire( ) != null )
{
Set<String> setCuid;
if ( mapBeneficiaires == null )
{
mapBeneficiaires = new HashMap<>( );
}
if ( mapBeneficiaires.containsKey( lienTiersDto.getQualite( ).getCode( ) ) )
{
setCuid = mapBeneficiaires.get( lienTiersDto.getQualite( ).getCode( ) );
}
else
{
setCuid = new HashSet<>( );
}
setCuid.add( lienTiersDto.getCuidIndividuBeneficiaire( ) );
mapBeneficiaires.put( lienTiersDto.getQualite( ).getCode( ), setCuid );
}
}
return mapBeneficiaires;
}
/**
* Ressort une {@link java.util.HashMap Map} des cuid des tiers par {@link fr.paris.lutece.plugins.referentielbo.v1.model.referentiel.ReferentielQualite qualité}
* @param individuDto
* @return
*/
public static Map<String, Set<String>> recupereMapTiersParQualite( IndividuDto individuDto )
{
if ( individuDto == null || individuDto.getProfilIndividuDto( ) == null || individuDto.getProfilIndividuDto( ).getListTiers( ) == null )
{
return null;
}
Map<String, Set<String>> mapTiers = null;
List<LienTiersDto> listTiers = individuDto.getProfilIndividuDto( ).getListTiers( );
for ( LienTiersDto lienTiersDto : listTiers )
{
if ( lienTiersDto!=null && lienTiersDto.getCuidIndividuTiers( ) != null
&& lienTiersDto.getQualite( ) != null && lienTiersDto.getQualite( ).getCode( ) != null
&& lienTiersDto.getCuidIndividuTiers( ) != null )
{
Set<String> setCuid;
if ( mapTiers == null )
{
mapTiers = new HashMap<>( );
}
if ( mapTiers.containsKey( lienTiersDto.getQualite( ).getCode( ) ) )
{
setCuid = mapTiers.get( lienTiersDto.getQualite( ).getCode( ) );
}
else
{
setCuid = new HashSet<>( );
}
setCuid.add( lienTiersDto.getCuidIndividuTiers( ) );
mapTiers.put( lienTiersDto.getQualite( ).getCode( ), setCuid );
}
}
return mapTiers;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/ProfilIndividuDto.java | 80 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/ProfilIndividuDto.java | 78 |
public String getCuid( )
{
return cuid;
}
public void setCuid( String cuid )
{
this.cuid = cuid;
}
/**
* Retourne le GUID de connexion, identifiant unique de connexion monParis
* @return GUID du compte de connexion
*/
public String getGuid( )
{
return guid;
}
public void setGuid( String guid )
{
this.guid = guid;
}
/**
* {@link CertificationDto Certification} associée aux données du profil (actuellement cuid / guid)
* @return
*/
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Date de modification de l'objet {@link ProfilIndividuDto}
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link DonneesFinancieresDto}
* ({@link DonneesFinancieresDto#getTrancheTarifaire() tranche tarifaire}, {@link DonneesFinancieresDto#getTarifJournalier() tarif journalier}, {@link DonneesFinancieresDto#getDematerialisation() accepte la démat}, {@link DonneesFinancieresDto#getPrelevementAuto() accepte le prélèvement auto})
* @return
*/
public DonneesFinancieresDto getDonneesFinancieres( )
{
return donneesFinancieres;
}
public void setDonneesFinancieres( DonneesFinancieresDto donneesFinancieres )
{
this.donneesFinancieres = donneesFinancieres;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link CafDto}
* ({@link CafDto#getIdentifiantCaf() identifiant caf})
* @return
*/
public CafDto getCaf( )
{
return caf;
}
public void setCaf( CafDto caf )
{
this.caf = caf;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link CguDto}
* ({@link CguDto#getCguValide() statut} et {@link CguDto#getDateValidation() date de validation})
* @return
*/
public CguDto getCgu( )
{
return cgu;
}
public void setCgu( CguDto cgu )
{
this.cgu = cgu;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link DonneeSanitaireDto}
* ({@link DonneeSanitaireDto#getFicheSanitaire() fiche sanitaire}, {@link DonneeSanitaireDto#getHandicap() handicap})
* @return
*/
public DonneeSanitaireDto getDonneeSanitaire( )
{
return donneeSanitaire;
}
public void setDonneeSanitaire( DonneeSanitaireDto donneeSanitaire )
{
this.donneeSanitaire = donneeSanitaire;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link EmailConnexionDto}
* ({@link EmailConnexionDto#getEmail() email})
* @return
*/
public EmailConnexionDto getEmailConnexion( )
{
return emailConnexion;
}
public void setEmailConnexion( EmailConnexionDto emailConnexion )
{
this.emailConnexion = emailConnexion;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link EmailContactDto}
* ({@link EmailContactDto#getEmail() email})
* @return
*/
public EmailContactDto getEmailContact( )
{
return emailContact;
}
public void setEmailContact( EmailContactDto emailContact )
{
this.emailContact = emailContact;
}
/**
* Par défaut, contient, par type de téléphone, chaque objet le plus récent du type {@link TelephoneDto}
* ({@link TelephoneDto#getTelephone() numéro}, {@link TelephoneDto#getType() type})
* @return
*/
public List<TelephoneDto> getListTelephone( )
{
return listTelephone;
}
public void setListTelephone( List<TelephoneDto> listTelephone )
{
this.listTelephone = listTelephone;
}
public TelephoneDto getTelephoneParType( String code )
{
return IndividuUtil.recupereTelephoneParType( this, code ).orElse( null );
}
/**
* Par défaut, contient l'objet le plus récent du type {@link StatutMaritalDto}
* ({@link StatutMaritalDto#getStatutMarital() statut marital})
* @return
*/
public StatutMaritalDto getStatutMarital( )
{
return statutMarital;
}
public void setStatutMarital( StatutMaritalDto statutMarital )
{
this.statutMarital = statutMarital;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link EnfantDto}
* ({@link EnfantDto#getNombre() nombre d'enfants})
* @return
*/
public EnfantDto getEnfant( )
{
return enfant;
}
public void setEnfant( EnfantDto enfant )
{
this.enfant = enfant;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link EnfantHandicapeDto}
* ({@link EnfantHandicapeDto#getNombre() nombre d'enfants handicapés})
* @return
*/
public EnfantHandicapeDto getEnfantHandicape( )
{
return enfantHandicape;
}
public void setEnfantHandicape( EnfantHandicapeDto enfantHandicape )
{
this.enfantHandicape = enfantHandicape;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link IdentifiantFiscalDto}
* ({@link IdentifiantFiscalDto#getIdentifiantFiscal() identifiant})
* @return
*/
public IdentifiantFiscalDto getIdentifiantFiscal( )
{
return identifiantFiscal;
}
public void setIdentifiantFiscal( IdentifiantFiscalDto identifiantFiscal )
{
this.identifiantFiscal = identifiantFiscal;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link InseeDto}
* ({@link InseeDto#getCleInsee() clé INSEE})
* @return
*/
public InseeDto getInsee( )
{
return insee;
}
public void setInsee( InseeDto insee )
{
this.insee = insee;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link SituationSocioprofessionnelleDto}
* ({@link SituationSocioprofessionnelleDto#getCategorie() catégorie}, {@link SituationSocioprofessionnelleDto#getProfession() profession}, régime socioprofessionnel, {@link SituationSocioprofessionnelleDto#getPeriodeDebut() date de début}, {@link SituationSocioprofessionnelleDto#getPeriodeFin() date de fin})
* @return
*/
public SituationSocioprofessionnelleDto getSituationSocioprofessionnelle( )
{
return situationSocioprofessionnelle;
}
public void setSituationSocioprofessionnelle( SituationSocioprofessionnelleDto situationSocioprofessionnelle )
{
this.situationSocioprofessionnelle = situationSocioprofessionnelle;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link RessourcesDeductiblesDto}
* ({@link RessourcesDeductiblesDto#getTypeRessource() type de ressource}, {@link RessourcesDeductiblesDto#getMontant() montant})
* @return
*/
public RessourcesDeductiblesDto getRessourcesDeductibles( )
{
return ressourcesDeductibles;
}
public void setRessourcesDeductibles( RessourcesDeductiblesDto ressourcesDeductibles )
{
this.ressourcesDeductibles = ressourcesDeductibles;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link RessourcesDto}
* ({@link RessourcesDto#getTypeRessource() type de ressource}, {@link RessourcesDto#getMontant() montant})
* @return
*/
public RessourcesDto getRessources( )
{
return ressources;
}
public void setRessources( RessourcesDto ressources )
{
this.ressources = ressources;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link PreferencesDto}
* ({@link PreferencesDto#getMoyenContactPrefere() moyen de contact préféré}, {@link PreferencesDto#getAcceptationInformationVille() accepte de recevoir les informations Ville}, {@link PreferencesDto#getAcceptationEnqueteSatisfaction() accepte de recevoir des enquêtes de satisfaction}, {@link PreferencesDto#getDomainesInteretParisFamille() domaines d'intêret ParisFamille})
* @return
*/
public PreferencesDto getPreferences( )
{
return preferences;
}
public void setPreferences( PreferencesDto preferences )
{
this.preferences = preferences;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link InfoIdentiteDto}
* ({@link InfoIdentiteDto#getGenre() genre}, {@link InfoIdentiteDto#getCivilite() civilité}, {@link InfoIdentiteDto#getNomNaissance() nom de naissance}, {@link InfoIdentiteDto#getPrenomsNaissance() prénoms de naissance}, {@link InfoIdentiteDto#getDateNaissance() date de naissance})
* @return
*/
public InfoIdentiteDto getInfoIdentite( )
{
return infoIdentite;
}
public void setInfoIdentite( InfoIdentiteDto infoIdentite )
{
this.infoIdentite = infoIdentite;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link IdentiteContactDto}
* ({@link IdentiteContactDto#getPrenomsUsage() prénom d'usage}, {@link IdentiteContactDto#getNomUsage() nom d'usage})
* @return
*/
public IdentiteContactDto getIdentiteContact( )
{
return identiteContact;
}
public void setIdentiteContact( IdentiteContactDto identiteContact )
{
this.identiteContact = identiteContact;
}
/**
* Contient l'ensemble des objets du type {@link PersonneMoraleDto} associés au profil
* @return
*/
public List<PersonneMoraleDto> getListPersonneMorale( )
{
return listPersonneMorale;
}
public void setListPersonneMorale( List<PersonneMoraleDto> listPersonneMorale )
{
this.listPersonneMorale = listPersonneMorale;
}
/**
* Par défaut, contient, par type d'adresse, chaque objet le plus récent du type {@link AdresseDto}
* ({@link AdresseDto#getType() type d'adresse}, {@link AdresseDto#getNumeroVoie() numero de voie}, {@link AdresseDto#getAdresse() type de voie et libellé}, {@link AdresseDto#getAdresseComplement() compléments}, {@link AdresseDto#getCodePostal() code postal}, {@link AdresseDto#getVille() ville}, {@link AdresseDto#getPays() pays})
* @return
*/
public List<AdresseDto> getListAdresse( )
{
return listAdresse;
}
public void setListAdresse( List<AdresseDto> listAdresse )
{
this.listAdresse = listAdresse;
}
public AdresseDto getAdresseParType( String code )
{
return IndividuUtil.recupereAdresseParType( this, code ).orElse( null );
}
/**
* Liste des {@link LienTiersDto Tiers} dont l'individu est bénéficiaire
* @return
*/
public List<LienTiersDto> getListTiers( )
{
return listTiers;
}
public void setListTiers( List<LienTiersDto> listTiers )
{
this.listTiers = listTiers;
}
/**
* Liste des {@link LienTiersDto Bénéficiaires} de l'individu
* @return
*/
public List<LienTiersDto> getListBeneficiaires( )
{
return listBeneficiaires;
}
public void setListBeneficiaires( List<LienTiersDto> listBeneficiaires )
{
this.listBeneficiaires = listBeneficiaires;
}
/**
* Par défaut, contient l'objet le plus récent du type {@link LieuNaissanceDto}
* ({@link LieuNaissanceDto#getCodeInseeCommune() code Insee de la commune}, {@link LieuNaissanceDto#getCommune() commune}, {@link LieuNaissanceDto#getDepartement() département}, {@link LieuNaissanceDto#getPays() pays})
* @return
*/
public LieuNaissanceDto getLieuNaissance( )
{
return lieuNaissance;
}
public void setLieuNaissance( LieuNaissanceDto lieuNaissance )
{
this.lieuNaissance = lieuNaissance;
}
public ClasseDto getClasse( )
{
return classe;
}
public void setClasse( ClasseDto classe )
{
this.classe = classe;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/identite/IdentiteDto.java | 66 |
| fr/paris/lutece/plugins/referentielbo/v2/model/identite/IdentiteDto.java | 80 |
public String getCuid( )
{
return cuid;
}
public void setCuid( String cuid )
{
this.cuid = cuid;
}
public String getGuid( )
{
return guid;
}
public void setGuid( String guid )
{
this.guid = guid;
}
public AttributDto getBirthCountry( )
{
return birthCountry;
}
public void setBirthCountry( AttributDto birthCountry )
{
this.birthCountry = birthCountry;
}
public AttributDto getBirthDate( )
{
return birthDate;
}
public void setBirthDate( AttributDto birthDate )
{
this.birthDate = birthDate;
}
public AttributDto getAddress( )
{
return address;
}
public void setAddress( AttributDto address )
{
this.address = address;
}
public AttributDto getGender( )
{
return gender;
}
public void setGender( AttributDto gender )
{
this.gender = gender;
}
public AttributDto getAddressPostalCode( )
{
return addressPostalCode;
}
public void setAddressPostalCode( AttributDto addressPostalCode )
{
this.addressPostalCode = addressPostalCode;
}
public AttributDto getAddress2( )
{
return address2;
}
public void setAddress2( AttributDto address2 )
{
this.address2 = address2;
}
public AttributDto getAddress2Detail( )
{
return address2Detail;
}
public void setAddress2Detail( AttributDto address2Detail )
{
this.address2Detail = address2Detail;
}
public AttributDto getPreferredUsername( )
{
return preferredUsername;
}
public void setPreferredUsername( AttributDto preferredUsername )
{
this.preferredUsername = preferredUsername;
}
public AttributDto getLogin( )
{
return login;
}
public void setLogin( AttributDto login )
{
this.login = login;
}
public AttributDto getAddressCity( )
{
return addressCity;
}
public void setAddressCity( AttributDto addressCity )
{
this.addressCity = addressCity;
}
public AttributDto getAddressDetail( )
{
return addressDetail;
}
public void setAddressDetail( AttributDto addressDetail )
{
this.addressDetail = addressDetail;
}
public AttributDto getFixedPhone( )
{
return fixedPhone;
}
public void setFixedPhone( AttributDto fixedPhone )
{
this.fixedPhone = fixedPhone;
}
public AttributDto getBirthPlace( )
{
return birthPlace;
}
public void setBirthPlace( AttributDto birthPlace )
{
this.birthPlace = birthPlace;
}
public AttributDto getAddress2PostalCode( )
{
return address2PostalCode;
}
public void setAddress2PostalCode( AttributDto address2PostalCode )
{
this.address2PostalCode = address2PostalCode;
}
public AttributDto getMobilePhone( )
{
return mobilePhone;
}
public void setMobilePhone( AttributDto mobilePhone )
{
this.mobilePhone = mobilePhone;
}
public AttributDto getAcceptNews( )
{
return acceptNews;
}
public void setAcceptNews( AttributDto acceptNews )
{
this.acceptNews = acceptNews;
}
public AttributDto getFamilyName( )
{
return familyName;
}
public void setFamilyName( AttributDto familyName )
{
this.familyName = familyName;
}
public AttributDto getFirstName( )
{
return firstName;
}
public void setFirstName( AttributDto firstName )
{
this.firstName = firstName;
}
public AttributDto getAddress2City( )
{
return address2City;
}
public void setAddress2City( AttributDto address2City )
{
this.address2City = address2City;
}
public AttributDto getEmail( )
{
return email;
}
public void setEmail( AttributDto email )
{
this.email = email;
}
public AttributDto getPreferredContactMode( )
{
return preferredContactMode;
}
public void setPreferredContactMode( AttributDto preferredContactMode )
{
this.preferredContactMode = preferredContactMode;
}
public AttributDto getAcceptSurvey( )
{
return acceptSurvey;
}
public void setAcceptSurvey( AttributDto acceptSurvey )
{
this.acceptSurvey = acceptSurvey;
}
public AttributDto getBirthCountryCode( ) | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/AdresseDto.java | 56 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/AdresseDto.java | 57 |
private String dateEmmenagement;
private String statut;
private Integer nbRetour;
private CertificationDto certification;
private Timestamp dateModification;
private AdresseComplementDto adresseComplement;
/**
* Type d'adresse
* @return
*/
public ReferentielTypeAdresse getType( )
{
return type;
}
/**
* Type d'adresse
* @param type
*/
public void setType( ReferentielTypeAdresse type )
{
this.type = type;
}
/**
* Numéro dans la voir
* @return
*/
public String getNumeroVoie( )
{
return numeroVoie;
}
/**
* Numéro dans la voie
* @param numeroVoie
*/
public void setNumeroVoie( String numeroVoie )
{
this.numeroVoie = numeroVoie;
}
/**
* type de voie et libellé
* @return
*/
public String getAdresse( )
{
return adresse;
}
/**
* type de voie et libellé
* @param adresse
*/
public void setAdresse( String adresse )
{
this.adresse = adresse;
}
/**
* Code postal
* @return
*/
public String getCodePostal( )
{
return codePostal;
}
/**
* code postal
* @param codePostal
*/
public void setCodePostal( String codePostal )
{
this.codePostal = codePostal;
}
/**
* Ville
* @return
*/
public String getVille( )
{
return ville;
}
/**
* Ville
* @param ville
*/
public void setVille( String ville )
{
this.ville = ville;
}
/**
* Pays
* @return
*/
public String getPays( )
{
return pays;
}
/**
* Pays
* @param pays
*/
public void setPays( String pays )
{
this.pays = pays;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
public AdresseComplementDto getAdresseComplement( )
{
return adresseComplement;
}
public void setAdresseComplement( AdresseComplementDto adresseComplement )
{
this.adresseComplement = adresseComplement;
}
public String getIdAdrPoste( )
{
return idAdrPoste;
}
public void setIdAdrPoste( String idAdrPoste )
{
this.idAdrPoste = idAdrPoste;
}
public String getStatut( )
{
return statut;
}
public void setStatut( String statut )
{
this.statut = statut;
}
public Integer getNbRetour( )
{
return nbRetour;
}
public void setNbRetour( Integer nbRetour )
{
this.nbRetour = nbRetour;
}
public String getDateEmmenagement( )
{
return dateEmmenagement;
}
public void setDateEmmenagement( String dateEmmenagement )
{
this.dateEmmenagement = dateEmmenagement;
}
public double getCoordonneeX( )
{
return coordonneeX;
}
/**
* N'est pas enregistré dans le RSF
* @param coordonneeX
*/
public void setCoordonneeX( double coordonneeX )
{
this.coordonneeX = coordonneeX;
}
public double getCoordonneeY( )
{
return coordonneeY;
}
/**
* N'est pas enregistré dans le RSF
* @param coordonneeY
*/
public void setCoordonneeY( double coordonneeY )
{
this.coordonneeY = coordonneeY;
}
public String getCodeVoie( )
{
return codeVoie;
}
/**
* N'est pas enregistré dans le RSF
* @param codeVoie
*/
public void setCodeVoie( String codeVoie )
{
this.codeVoie = codeVoie;
}
public int getIdstoreadr( )
{
return idstoreadr;
}
/**
* N'est pas enregistré dans le RSF
* @param idstoreadr
*/
public void setIdstoreadr( int idstoreadr )
{
this.idstoreadr = idstoreadr;
}
public String getCodeCommune( )
{
return codeCommune;
}
public void setCodeCommune( String codeCommune )
{
this.codeCommune = codeCommune;
}
public String getSuffixes( )
{
return suffixes;
}
public void setSuffixes( String suffixes )
{
this.suffixes = suffixes;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/rs/AbstractWSReferentiel.java | 48 |
| fr/paris/lutece/plugins/referentielbo/v2/rs/AbstractWSReferentiel.java | 53 |
public class AbstractWSReferentiel
{
private final Gson _gson;
private final String _referentielBaseUrl;
private final String _xGraviteeApiKey;
public AbstractWSReferentiel( String referentielBaseUrl, String xGraviteeApiKey )
{
// Creates the json object which will manage the information received
GsonBuilder builder = new GsonBuilder();
// Register an adapter to manage the date types as long values
builder.registerTypeAdapter( Date.class, new ImprovedDateTypeAdapter( ) );
_gson = builder.create();
_referentielBaseUrl = referentielBaseUrl;
_xGraviteeApiKey = xGraviteeApiKey;
}
@Deprecated
public AbstractWSReferentiel( String referentielBaseUrl )
{
// Creates the json object which will manage the information received
GsonBuilder builder = new GsonBuilder();
// Register an adapter to manage the date types as long values
builder.registerTypeAdapter( Date.class, new ImprovedDateTypeAdapter( ) );
_gson = builder.create();
_referentielBaseUrl = referentielBaseUrl;
_xGraviteeApiKey = null;
}
@Deprecated
public AbstractWSReferentiel( Gson gson, String referentielBaseUrl )
{
_gson = gson;
_referentielBaseUrl = referentielBaseUrl;
_xGraviteeApiKey = null;
}
public AbstractWSReferentiel( Gson gson, String referentielBaseUrl, String xGraviteeApiKey )
{
_gson = gson;
_referentielBaseUrl = referentielBaseUrl;
_xGraviteeApiKey = xGraviteeApiKey;
}
protected void gererErreur( String response ) throws ReferentielException
{
if ( StringUtils.isNotEmpty( response ) && response.contains( "errorCode" ) && response.contains( "message" ) )
{
//cas d'erreur
String errorCode = StringUtils.EMPTY;
String message = StringUtils.EMPTY;
String responseClean = response.replaceAll( "\"", "" ).replaceAll( "}", "" ).replaceAll( "\\{", "" );
String[] split = responseClean.split( "," );
for ( String elmt : split )
{
String[] split1 = elmt.split( ":" );
switch ( split1[0] )
{
case "errorCode":
errorCode = split1[1];
break;
case "message":
message = split1[1];
break;
}
}
ErrorJsonResponse errorJsonResponse = new ErrorJsonResponse( errorCode, message );
throw new ReferentielException( errorJsonResponse );
}
}
protected Map<String, String> genereHeaderGravitee( Map<String, String> mapHeadersRequest )
{
if ( mapHeadersRequest == null )
{
mapHeadersRequest = new HashMap<>( );
}
mapHeadersRequest.put( Constants.CLE_X_GRAVITEE_API_KEY, _xGraviteeApiKey );
return mapHeadersRequest;
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/InfoIdentiteDto.java | 43 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/InfoIdentiteDto.java | 43 |
public class InfoIdentiteDto
{
private ReferentielGenre genre;
private ReferentielCivilite civilite;
private String nomNaissance;
private String prenomsNaissance;
private String dateNaissance;
private CertificationDto certification;
private Timestamp dateModification;
public ReferentielGenre getGenre( )
{
return genre;
}
public void setGenre( ReferentielGenre genre )
{
this.genre = genre;
}
public ReferentielCivilite getCivilite( )
{
return civilite;
}
public void setCivilite( ReferentielCivilite civilite )
{
this.civilite = civilite;
}
public String getNomNaissance( )
{
return nomNaissance;
}
public void setNomNaissance( String nomNaissance )
{
this.nomNaissance = nomNaissance;
}
public String getPrenomsNaissance( )
{
return prenomsNaissance;
}
public String getPrenomsNaissanceAvantPremierEspace( )
{
return prenomsNaissance!=null? prenomsNaissance.split( " " )[0] : StringUtils.EMPTY;
}
public String getPremierPrenomNaissance( )
{
return prenomsNaissance!=null? prenomsNaissance.split( " " )[0] : StringUtils.EMPTY;
}
public String getSecondPrenomNaissance( )
{
if ( StringUtils.countMatches( prenomsNaissance, ' ' ) >= 1 )
{
return prenomsNaissance.split( " " )[1];
}
return StringUtils.EMPTY;
}
public String getTroisiemePrenomNaissance( )
{
if ( StringUtils.countMatches( prenomsNaissance, ' ' ) >= 2 )
{
return prenomsNaissance.split( " " )[2];
}
return StringUtils.EMPTY;
}
public void setPrenomsNaissance( String prenomsNaissance )
{
this.prenomsNaissance = prenomsNaissance;
}
/**
* Date de naissance (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_DATE date FR})
* @return
*/
public String getDateNaissance( )
{
return dateNaissance;
}
/**
* Date de naissance (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_DATE date FR})
* @param dateNaissance
*/
public void setDateNaissance( String dateNaissance )
{
this.dateNaissance = dateNaissance;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/LienTiersDto.java | 43 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/LienTiersDto.java | 43 |
public class LienTiersDto
{
private String cuidIndividuBeneficiaire;
private String cuidIndividuTiers;
private ReferentielTypeLienIndividus typeLien;
private ReferentielQualite qualite;
private BigDecimal partChargeFinanciere;
private BigDecimal pourcentageGarde;
private Boolean autoriteParentale;
private Boolean autorisationPriseEnCharge;
private CertificationDto certification;
private Timestamp dateModification;
private PlanningGardeDto planningGarde;
public String getCuidIndividuBeneficiaire( )
{
return cuidIndividuBeneficiaire;
}
public void setCuidIndividuBeneficiaire( String cuidIndividuBeneficiaire )
{
this.cuidIndividuBeneficiaire = cuidIndividuBeneficiaire;
}
public String getCuidIndividuTiers( )
{
return cuidIndividuTiers;
}
public void setCuidIndividuTiers( String cuidIndividuTiers )
{
this.cuidIndividuTiers = cuidIndividuTiers;
}
public ReferentielTypeLienIndividus getTypeLien( )
{
return typeLien;
}
public void setTypeLien( ReferentielTypeLienIndividus typeLien )
{
this.typeLien = typeLien;
}
public ReferentielQualite getQualite( )
{
return qualite;
}
public void setQualite( ReferentielQualite qualite )
{
this.qualite = qualite;
}
public BigDecimal getPartChargeFinanciere( )
{
return partChargeFinanciere;
}
public void setPartChargeFinanciere( BigDecimal partChargeFinanciere )
{
this.partChargeFinanciere = partChargeFinanciere;
}
public BigDecimal getPourcentageGarde( )
{
return pourcentageGarde;
}
public void setPourcentageGarde( BigDecimal pourcentageGarde )
{
this.pourcentageGarde = pourcentageGarde;
}
public Boolean getAutoriteParentale( )
{
return autoriteParentale;
}
public void setAutoriteParentale( Boolean autoriteParentale )
{
this.autoriteParentale = autoriteParentale;
}
public Boolean getAutorisationPriseEnCharge( )
{
return autorisationPriseEnCharge;
}
public void setAutorisationPriseEnCharge( Boolean autorisationPriseEnCharge )
{
this.autorisationPriseEnCharge = autorisationPriseEnCharge;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
public PlanningGardeDto getPlanningGarde( )
{
return planningGarde;
}
public void setPlanningGarde( PlanningGardeDto planningGarde )
{
this.planningGarde = planningGarde;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/PersonneMoraleDto.java | 42 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/PersonneMoraleDto.java | 42 |
public class PersonneMoraleDto
{
private String libelle;
private String siret;
private ReferentielTypePersonneMorale type;
private String codeService;
private String codeStructure;
private String entiteJuridique;
private CertificationDto certification;
private Timestamp dateModification;
private List<AdresseDto> listAdresse;
public String getLibelle( )
{
return libelle;
}
public void setLibelle( String libelle )
{
this.libelle = libelle;
}
public String getSiret( )
{
return siret;
}
public void setSiret( String siret )
{
this.siret = siret;
}
public ReferentielTypePersonneMorale getType( )
{
return type;
}
public void setType( ReferentielTypePersonneMorale type )
{
this.type = type;
}
public String getCodeService( )
{
return codeService;
}
public void setCodeService( String codeService )
{
this.codeService = codeService;
}
public String getCodeStructure( )
{
return codeStructure;
}
public void setCodeStructure( String codeStructure )
{
this.codeStructure = codeStructure;
}
public String getEntiteJuridique( )
{
return entiteJuridique;
}
public void setEntiteJuridique( String entiteJuridique )
{
this.entiteJuridique = entiteJuridique;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
public List<AdresseDto> getListAdresse( )
{
return listAdresse;
}
public void setListAdresse( List<AdresseDto> listAdresse )
{
this.listAdresse = listAdresse;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/DonneesFinancieresDto.java | 40 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/DonneesFinancieresDto.java | 40 |
public class DonneesFinancieresDto
{
private String trancheTarifaire;
private BigDecimal tarifJournalier;
private String origineCalcul;
private String periodeDebut;
private String periodeFin;
private Boolean dematerialisation;
private Boolean prelevementAuto;
private CertificationDto certification;
private Timestamp dateModification;
public String getTrancheTarifaire( )
{
return trancheTarifaire;
}
public void setTrancheTarifaire( String trancheTarifaire )
{
this.trancheTarifaire = trancheTarifaire;
}
public BigDecimal getTarifJournalier( )
{
return tarifJournalier;
}
public void setTarifJournalier( BigDecimal tarifJournalier )
{
this.tarifJournalier = tarifJournalier;
}
public String getOrigineCalcul( )
{
return origineCalcul;
}
public void setOrigineCalcul( String origineCalcul )
{
this.origineCalcul = origineCalcul;
}
public String getPeriodeDebut( )
{
return periodeDebut;
}
public void setPeriodeDebut( String periodeDebut )
{
this.periodeDebut = periodeDebut;
}
public String getPeriodeFin( )
{
return periodeFin;
}
public void setPeriodeFin( String periodeFin )
{
this.periodeFin = periodeFin;
}
public Boolean getDematerialisation( )
{
return dematerialisation;
}
public void setDematerialisation( Boolean dematerialisation )
{
this.dematerialisation = dematerialisation;
}
public Boolean getPrelevementAuto( )
{
return prelevementAuto;
}
public void setPrelevementAuto( Boolean prelevementAuto )
{
this.prelevementAuto = prelevementAuto;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/identite/AttributDto.java | 41 |
| fr/paris/lutece/plugins/referentielbo/v2/model/identite/AttributDto.java | 41 |
public class AttributDto
{
private String key;
private String value;
private String type;
private String lastUpdateApplicationCode;
private Timestamp dateLastUpdate;
private boolean certified;
private boolean writable;
private CertificationDto certification;
public String getKey( )
{
return key;
}
public void setKey( String key )
{
this.key = key;
}
public String getValue( )
{
return value;
}
public void setValue( String value )
{
this.value = value;
}
public String getType( )
{
return type;
}
public void setType( String type )
{
this.type = type;
}
public String getLastUpdateApplicationCode( )
{
return lastUpdateApplicationCode;
}
public void setLastUpdateApplicationCode( String lastUpdateApplicationCode )
{
this.lastUpdateApplicationCode = lastUpdateApplicationCode;
}
public Timestamp getDateLastUpdate( )
{
return dateLastUpdate;
}
public void setDateLastUpdate( Timestamp dateLastUpdate )
{
this.dateLastUpdate = dateLastUpdate;
}
public boolean isCertified( )
{
return certified;
}
public void setCertified( boolean certified )
{
this.certified = certified;
}
public boolean isWritable( )
{
return writable;
}
public void setWritable( boolean writable )
{
this.writable = writable;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/CertificationDto.java | 43 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/CertificationDto.java | 43 |
public class CertificationDto
{
private ReferentielMethodeCertification methode;
private Timestamp dateCertification;
private Timestamp dateExpiration;
private String source;
private List<PieceJustificativeDto> listPiecesJustificatives;
/**
* {@link ReferentielMethodeCertification Méthode de certification}
* @return
*/
public ReferentielMethodeCertification getMethode( )
{
return methode;
}
/**
* {@link ReferentielMethodeCertification Méthode de certification}
* @param methode
*/
public void setMethode( ReferentielMethodeCertification methode )
{
this.methode = methode;
}
/**
* Date/Time de la certification (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateCertification( )
{
return dateCertification;
}
/**
* Date/Time de la certification (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @param dateCertification
*/
public void setDateCertification( Timestamp dateCertification )
{
this.dateCertification = dateCertification;
}
/**
* Date/Time d'expiration (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateExpiration( )
{
return dateExpiration;
}
/**
* Date/Time d'expiration (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @param dateExpiration
*/
public void setDateExpiration( Timestamp dateExpiration )
{
this.dateExpiration = dateExpiration;
}
/**
* Source de la certification
* @return
*/
public String getSource( )
{
return source;
}
/**
* Source de la certification
* @param source
*/
public void setSource( String source )
{
this.source = source;
}
/**
* Liste des PJ
* @return
*/
public List<PieceJustificativeDto> getListPiecesJustificatives( )
{
return listPiecesJustificatives;
}
/**
* Liste des PJ
* @param listPiecesJustificatives
*/
public void setListPiecesJustificatives( List<PieceJustificativeDto> listPiecesJustificatives )
{
this.listPiecesJustificatives = listPiecesJustificatives;
}
/**
* Ajoute la PJ à la {@link #listPiecesJustificatives liste des PJ} (créer une nouvelle {@link ArrayList} en cas de besoin)
* @param pieceJustificative
*/
public void addPieceJustificative( PieceJustificativeDto pieceJustificative )
{
if ( listPiecesJustificatives == null )
{
listPiecesJustificatives = new ArrayList<>( );
}
listPiecesJustificatives.add( pieceJustificative );
}
/**
* Récupère la numPiece de la PJ dans la {@link #listPiecesJustificatives liste des PJ} (null si la liste est nulle/vide ou si le numPiece dépasse la taille de la {@link #listPiecesJustificatives liste des PJ})
* @param numPiece
* @return
*/
public PieceJustificativeDto getPieceJustificative( int numPiece )
{
if ( listPiecesJustificatives != null && listPiecesJustificatives.size( ) >= ( numPiece - 1 ) )
{
return listPiecesJustificatives.get( numPiece );
}
return null;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/ClasseDto.java | 39 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/ClasseDto.java | 39 |
public class ClasseDto
{
private Timestamp dateModification;
private String niveau;
private String cycle;
private String nomEnseignant;
private String libelle;
private String codeTypeEnseignement;
private String typeEnseignement;
private Long idEtablissement;
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v2.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
public String getNiveau( )
{
return niveau;
}
public void setNiveau( String niveau )
{
this.niveau = niveau;
}
public String getCycle( )
{
return cycle;
}
public void setCycle( String cycle )
{
this.cycle = cycle;
}
public String getNomEnseignant( )
{
return nomEnseignant;
}
public void setNomEnseignant( String nomEnseignant )
{
this.nomEnseignant = nomEnseignant;
}
public String getLibelle( )
{
return libelle;
}
public void setLibelle( String libelle )
{
this.libelle = libelle;
}
public String getCodeTypeEnseignement( )
{
return codeTypeEnseignement;
}
public void setCodeTypeEnseignement( String codeTypeEnseignement )
{
this.codeTypeEnseignement = codeTypeEnseignement;
}
public String getTypeEnseignement( )
{
return typeEnseignement;
}
public void setTypeEnseignement( String typeEnseignement )
{
this.typeEnseignement = typeEnseignement;
}
public Long getIdEtablissement( )
{
return idEtablissement;
}
public void setIdEtablissement( Long idEtablissement )
{
this.idEtablissement = idEtablissement;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/referentiel/AbstractReferentiel.java | 40 |
| fr/paris/lutece/plugins/referentielbo/v2/model/referentiel/AbstractReferentiel.java | 40 |
public class AbstractReferentiel implements Serializable
{
private static final long serialVersionUID = -4325443085552662585L;
private String code;
private String libelle;
private Boolean actif;
public AbstractReferentiel( )
{
}
public AbstractReferentiel( String code, String libelle, Boolean actif )
{
this.code = code;
this.libelle = libelle;
this.actif = actif;
}
public String getCode( )
{
return code;
}
public void setCode( String code )
{
this.code = code;
}
public String getLibelle( )
{
return libelle;
}
public void setLibelle( String libelle )
{
this.libelle = libelle;
}
public Boolean getActif( )
{
return actif;
}
public void setActif( Boolean actif )
{
this.actif = actif;
}
@Override
public boolean equals( Object o )
{
if ( this == o )
{
return true;
}
if ( !( o instanceof AbstractReferentiel ) )
{
return false;
}
AbstractReferentiel that = ( AbstractReferentiel ) o;
return Objects.equals( code, that.code );
}
@Override
public int hashCode( )
{
return Objects.hash( code );
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/LieuNaissanceDto.java | 39 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/LieuNaissanceDto.java | 39 |
public class LieuNaissanceDto
{
private String codeInseeCommune;
private String codePostal;
private String commune;
private String departement;
private String pays;
private CertificationDto certification;
private Timestamp dateModification;
public String getCodeInseeCommune( )
{
return codeInseeCommune;
}
public void setCodeInseeCommune( String codeInseeCommune )
{
this.codeInseeCommune = codeInseeCommune;
}
public String getCommune( )
{
return commune;
}
public void setCommune( String commune )
{
this.commune = commune;
}
public String getDepartement( )
{
return departement;
}
public void setDepartement( String departement )
{
this.departement = departement;
}
public String getPays( )
{
return pays;
}
public void setPays( String pays )
{
this.pays = pays;
}
public String getCodePostal( )
{
return codePostal;
}
public void setCodePostal( String codePostal )
{
this.codePostal = codePostal;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/SituationSocioprofessionnelleDto.java | 42 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/SituationSocioprofessionnelleDto.java | 42 |
public class SituationSocioprofessionnelleDto
{
private ReferentielCategorieSocioProfessionnelle categorie;
private String profession;
private ReferentielRegimeSocioProfessionnel regime;
private String periodeDebut;
private String periodeFin;
private CertificationDto certification;
private Timestamp dateModification;
public ReferentielCategorieSocioProfessionnelle getCategorie( )
{
return categorie;
}
public void setCategorie( ReferentielCategorieSocioProfessionnelle categorie )
{
this.categorie = categorie;
}
public String getProfession( )
{
return profession;
}
public void setProfession( String profession )
{
this.profession = profession;
}
public ReferentielRegimeSocioProfessionnel getRegime( )
{
return regime;
}
public void setRegime( ReferentielRegimeSocioProfessionnel regime )
{
this.regime = regime;
}
public String getPeriodeDebut( )
{
return periodeDebut;
}
public void setPeriodeDebut( String periodeDebut )
{
this.periodeDebut = periodeDebut;
}
public String getPeriodeFin( )
{
return periodeFin;
}
public void setPeriodeFin( String periodeFin )
{
this.periodeFin = periodeFin;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/AdresseComplementDto.java | 41 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/AdresseComplementDto.java | 41 |
public class AdresseComplementDto
{
private static final String SEPARATEUR = ", ";
/**
* Lieu dit ou Service particulier de distribution
*/
private String complementDistribution;
/**
* Chez - N°APP ou Bal - étage - Couloir - Esc
*/
private String complementIdentite;
/**
* Entrée - Bâtiment - Immeuble - Résidence
*/
private String complement;
private CertificationDto certification;
private Timestamp dateModification;
/**
* Lieu dit ou Service particulier de distribution
* @return
*/
public String getComplementDistribution( )
{
return complementDistribution;
}
/**
* Lieu dit ou Service particulier de distribution
* @param complementDistribution
*/
public void setComplementDistribution( String complementDistribution )
{
this.complementDistribution = complementDistribution;
}
/**
* Chez - N°APP ou Bal - étage - Couloir - Esc
* @return
*/
public String getComplementIdentite( )
{
return complementIdentite;
}
/**
* Chez - N°APP ou Bal - étage - Couloir - Esc
* @param complementIdentite
*/
public void setComplementIdentite( String complementIdentite )
{
this.complementIdentite = complementIdentite;
}
/**
* Entrée - Bâtiment - Immeuble - Résidence
* @return
*/
public String getComplement( )
{
return complement;
}
/**
* Entrée - Bâtiment - Immeuble - Résidence
* @param complement
*/
public void setComplement( String complement )
{
this.complement = complement;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Date/Time de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
/**
* Concatène {@link #complementIdentite}, {@link #complement}, {@link #complementDistribution} si non null avec le {@link #SEPARATEUR séparateur}
* @return
*/
public String getComplementsAffichage()
{
return StringUtils.concateneStringNonVideAvecSeparateur( SEPARATEUR, complementIdentite, complement, complementDistribution );
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/RessourcesDeductiblesDto.java | 43 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/RessourcesDeductiblesDto.java | 43 |
public class RessourcesDeductiblesDto
{
private ReferentielTypeRessourceFinanciereDeductible typeRessource;
private BigDecimal montant;
private String dateDebut;
private String dateFin;
private CertificationDto certification;
private Timestamp dateModification;
public ReferentielTypeRessourceFinanciereDeductible getTypeRessource( )
{
return typeRessource;
}
public void setTypeRessource( ReferentielTypeRessourceFinanciereDeductible typeRessource )
{
this.typeRessource = typeRessource;
}
public BigDecimal getMontant( )
{
return montant;
}
public void setMontant( BigDecimal montant )
{
this.montant = montant;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
public String getDateDebut( )
{
return dateDebut;
}
public void setDateDebut( String dateDebut )
{
this.dateDebut = dateDebut;
}
public String getDateFin( )
{
return dateFin;
}
public void setDateFin( String dateFin )
{
this.dateFin = dateFin;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/RessourcesDto.java | 42 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/RessourcesDto.java | 42 |
public class RessourcesDto
{
private ReferentielTypeRessourceFinanciere typeRessource;
private BigDecimal montant;
private String dateDebut;
private String dateFin;
private CertificationDto certification;
private Timestamp dateModification;
public ReferentielTypeRessourceFinanciere getTypeRessource( )
{
return typeRessource;
}
public void setTypeRessource( ReferentielTypeRessourceFinanciere typeRessource )
{
this.typeRessource = typeRessource;
}
public BigDecimal getMontant( )
{
return montant;
}
public void setMontant( BigDecimal montant )
{
this.montant = montant;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
public String getDateDebut( )
{
return dateDebut;
}
public void setDateDebut( String dateDebut )
{
this.dateDebut = dateDebut;
}
public String getDateFin( )
{
return dateFin;
}
public void setDateFin( String dateFin )
{
this.dateFin = dateFin;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/utils/IndividuUtil.java | 76 |
| fr/paris/lutece/plugins/referentielbo/v2/utils/IndividuUtil.java | 75 |
public static final String ELEMENT_INDIVIDU_PROFIL_EMAIL_CONTACT = "profilIndividuDto.emailContact.email";
private IndividuUtil( )
{
}
/**
* Niveau de certification de {@link IdentiteDto#getPreferredUsername()}
* @param individuDto
* @return
*/
public static int recupereNiveauCertificationNomUsage( IndividuDto individuDto )
{
Object niveauCertifNomUsage = DiversUtils.recupereElementDepuisObjet( individuDto, IndividuUtil.ELEMENT_INDIVIDU_IDENTITE_NOM_USAGE_NIVEAU_CERTIFICATION );
if ( niveauCertifNomUsage instanceof Integer )
{
return ( ( Integer ) niveauCertifNomUsage );
}
return 0;
}
/**
* Niveau de certification de {@link fr.paris.lutece.plugins.referentielbo.v1.model.profil.InfoIdentiteDto}
* @param individuDto
* @return
*/
public static int recupereNiveauCertificationIdentite( IndividuDto individuDto )
{
Object niveauCertifIdentite = DiversUtils.recupereElementDepuisObjet( individuDto, IndividuUtil.ELEMENT_INDIVIDU_PROFIL_INFO_IDENTITE_NIVEAU_CERTIFICATION );
if ( niveauCertifIdentite instanceof Integer )
{
return ( ( Integer ) niveauCertifIdentite );
}
return 0;
}
public static int recupereNiveauCertificationLieuNaissance( IndividuDto individuDto )
{
Object niveauCertifIdentite = DiversUtils.recupereElementDepuisObjet( individuDto, IndividuUtil.ELEMENT_INDIVIDU_PROFIL_LIEU_NAISSANCE_NIVEAU_CERTIFICATION );
if ( niveauCertifIdentite instanceof Integer )
{
return ( ( Integer ) niveauCertifIdentite );
}
return 0;
}
/**
* Récupère le téléphone le plus récent du type demandé
* @param individuDto individu
* @param typeTelephoneCode code du type de téléphone
* @return
*/
public static Optional<TelephoneDto> recupereTelephoneParType( IndividuDto individuDto, String typeTelephoneCode ) | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/PreferencesDto.java | 39 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/PreferencesDto.java | 39 |
public class PreferencesDto
{
private String moyenContactPrefere;
private Boolean acceptationInformationVille;
private Boolean acceptationEnqueteSatisfaction;
private String domainesInteretParisFamille;
private Timestamp dateModification;
public String getMoyenContactPrefere( )
{
return moyenContactPrefere;
}
public void setMoyenContactPrefere( String moyenContactPrefere )
{
this.moyenContactPrefere = moyenContactPrefere;
}
public Boolean getAcceptationInformationVille( )
{
return acceptationInformationVille;
}
public void setAcceptationInformationVille( Boolean acceptationInformationVille )
{
this.acceptationInformationVille = acceptationInformationVille;
}
public Boolean getAcceptationEnqueteSatisfaction( )
{
return acceptationEnqueteSatisfaction;
}
public void setAcceptationEnqueteSatisfaction( Boolean acceptationEnqueteSatisfaction )
{
this.acceptationEnqueteSatisfaction = acceptationEnqueteSatisfaction;
}
public String getDomainesInteretParisFamille( )
{
return domainesInteretParisFamille;
}
public void setDomainesInteretParisFamille( String domainesInteretParisFamille )
{
this.domainesInteretParisFamille = domainesInteretParisFamille;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/referentiel/ReferentielMethodeCertification.java | 37 |
| fr/paris/lutece/plugins/referentielbo/v2/model/referentiel/ReferentielMethodeCertification.java | 37 |
public class ReferentielMethodeCertification extends AbstractReferentiel
{
private static final long serialVersionUID = -6466289803184100282L;
private Integer niveau;
/**
* Pour créer ce type en vue de la création/modification dans le RSF utiliser {@link #creer}
*/
public ReferentielMethodeCertification( )
{
}
/**
* Pour créer ce type en vue de la création/modification dans le RSF utiliser {@link #creer}
* @param code
* @param libelle
* @param actif
*/
public ReferentielMethodeCertification( String code, String libelle, Boolean actif )
{
super( code, libelle, actif );
}
/**
* Pour créer ce type en vue de la création/modification dans le RSF utiliser {@link #creer}
* @param code
* @param libelle
* @param niveau
* @param actif
*/
public ReferentielMethodeCertification( String code, String libelle, Integer niveau, Boolean actif )
{
super( code, libelle, actif );
this.niveau = niveau;
}
public Integer getNiveau( )
{
return niveau;
}
public void setNiveau( Integer niveau )
{
this.niveau = niveau;
}
/**
* Créer un item avec le code fourni si non null, sinon retourne null
* @param code
* @return
*/
public static ReferentielMethodeCertification creer( String code )
{
if ( code == null )
{
return null;
}
return new ReferentielMethodeCertification( code, null, null );
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/RessourcesDeductiblesDto.java | 57 |
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/RessourcesDto.java | 56 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/RessourcesDeductiblesDto.java | 57 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/RessourcesDto.java | 56 |
public void setTypeRessource( ReferentielTypeRessourceFinanciereDeductible typeRessource )
{
this.typeRessource = typeRessource;
}
public BigDecimal getMontant( )
{
return montant;
}
public void setMontant( BigDecimal montant )
{
this.montant = montant;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
public String getDateDebut( )
{
return dateDebut;
}
public void setDateDebut( String dateDebut )
{
this.dateDebut = dateDebut;
}
public String getDateFin( )
{
return dateFin;
}
public void setDateFin( String dateFin )
{
this.dateFin = dateFin;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/rs/IReferentielTypesService.java | 53 |
| fr/paris/lutece/plugins/referentielbo/v2/rs/IReferentielTypesService.java | 53 |
public interface IReferentielTypesService
{
List<ReferentielPieceJustificative> recupererReferentielPieceJustificative( ) throws ReferentielException;
List<ReferentielTypeLienIndividus> recupererReferentielTypeLienIndividus( ) throws ReferentielException;
List<ReferentielCategorieSocioProfessionnelle> recupererReferentielCategorieSocioProfessionnelle( ) throws ReferentielException;
List<ReferentielCivilite> recupererReferentielCivilite( ) throws ReferentielException;
List<ReferentielGenre> recupererReferentielGenre( ) throws ReferentielException;
List<ReferentielMethodeCertification> recupererReferentielMethodeCertification( ) throws ReferentielException;
List<ReferentielQualite> recupererReferentielQualite( ) throws ReferentielException;
List<ReferentielRegimeSocioProfessionnel> recupererReferentielRegimeSocioProfessionnel( ) throws ReferentielException;
List<ReferentielStatutMarital> recupererReferentielStatutMarital( ) throws ReferentielException;
List<ReferentielTypeAdresse> recupererReferentielTypeAdresse( ) throws ReferentielException;
List<ReferentielTypePersonneMorale> recupererReferentielTypePersonneMorale( ) throws ReferentielException;
List<ReferentielTypeRessourceFinanciere> recupererReferentielTypeRessourceFinanciere( ) throws ReferentielException;
List<ReferentielTypeTelephone> recupererReferentielTypeTelephone( ) throws ReferentielException;
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/utils/IndividuUtil.java | 123 |
| fr/paris/lutece/plugins/referentielbo/v2/utils/IndividuUtil.java | 129 |
}
/**
* Récupère le téléphone le plus récent du type demandé
* @param individuDto individu
* @param typeTelephoneCode code du type de téléphone
* @return
*/
public static Optional<TelephoneDto> recupereTelephoneParType( IndividuDto individuDto, String typeTelephoneCode )
{
List<TelephoneDto> listTelephones = ( List<TelephoneDto> ) DiversUtils.recupereElementDepuisObjet( individuDto, ELEMENT_INDIVIDU_PROFIL_LISTE_TELEPHONE );
if ( CollectionUtils.isNotEmpty( listTelephones ) )
{
TelephoneDto telephone = listTelephones.stream( ).filter( telephoneDto -> telephoneDto.getType( ) != null && telephoneDto.getType( ).getCode( ).equals( typeTelephoneCode ) ).max( Comparator.comparing( TelephoneDto::getDateModification ) ).orElse( null );
return Optional.ofNullable( telephone );
}
return Optional.empty( );
}
public static Optional<TelephoneDto> recupereTelephoneParType( ProfilIndividuDto profilIndividuDto, String typeTelephoneCode ) | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/utils/IndividuUtil.java | 148 |
| fr/paris/lutece/plugins/referentielbo/v2/utils/IndividuUtil.java | 154 |
return recupereTelephoneParType( individuDto, typeTelephoneCode );
}
/**
* Récupère l'adresse la plus récente du type demandé
* @param individuDto individu
* @param typeAdresseCode code du type d'adresse
* @return
*/
public static Optional<AdresseDto> recupereAdresseParType( IndividuDto individuDto, String typeAdresseCode )
{
List<AdresseDto> listAdresses = ( List<AdresseDto> ) DiversUtils.recupereElementDepuisObjet( individuDto, ELEMENT_INDIVIDU_PROFIL_LISTE_ADRESSE );
if ( CollectionUtils.isNotEmpty( listAdresses ) )
{
AdresseDto adresse = listAdresses.stream( ).filter( adresseDto -> adresseDto.getType( ) != null && adresseDto.getType( ).getCode( ).equals( typeAdresseCode ) ).max( Comparator.comparing( AdresseDto::getDateModification ) ).orElse( null );
return Optional.ofNullable( adresse );
}
return Optional.empty( );
}
public static Optional<AdresseDto> recupereAdresseParType( ProfilIndividuDto profilIndividuDto, String typeAdresseCode ) | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/DonneeSanitaireDto.java | 39 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/DonneeSanitaireDto.java | 39 |
public class DonneeSanitaireDto
{
private String ficheSanitaire;
private String handicap;
private CertificationDto certification;
private Timestamp dateModification;
public String getFicheSanitaire( )
{
return ficheSanitaire;
}
public void setFicheSanitaire( String ficheSanitaire )
{
this.ficheSanitaire = ficheSanitaire;
}
public String getHandicap( )
{
return handicap;
}
public void setHandicap( String handicap )
{
this.handicap = handicap;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
} | |
| Fichier | Ligne |
|---|---|
| fr/paris/lutece/plugins/referentielbo/v1/model/profil/TelephoneDto.java | 41 |
| fr/paris/lutece/plugins/referentielbo/v2/model/profil/TelephoneDto.java | 41 |
public class TelephoneDto
{
private String telephone;
private ReferentielTypeTelephone type;
private CertificationDto certification;
private Timestamp dateModification;
public String getTelephone( )
{
return telephone;
}
public void setTelephone( String telephone )
{
this.telephone = telephone;
}
public ReferentielTypeTelephone getType( )
{
return type;
}
public void setType( ReferentielTypeTelephone type )
{
this.type = type;
}
public CertificationDto getCertification( )
{
return certification;
}
public void setCertification( CertificationDto certification )
{
this.certification = certification;
}
/**
* Timestamp de modification de l'objet courant (format {@link fr.paris.lutece.plugins.referentielbo.v1.rs.Constants#PATTERN_TIMESTAMP timestamp})
* @return
*/
public Timestamp getDateModification( )
{
return dateModification;
}
/**
* N'est pas à utiliser dans le cadre de la création/modification dans le RSF
* @param dateModification
*/
public void setDateModification( Timestamp dateModification )
{
this.dateModification = dateModification;
}
} | |