@@ -1902,12 +1902,18 @@ public void ecrireGenApiServiceImpl2(String classeLangueNom) throws Exception {
19021902 l ("ServiceRequest " , i18nGlobale .getString (I18n .var_requeteService ), ", Handler<AsyncResult<ServiceResponse>> " , i18nGlobale .getString (I18n .var_gestionnaireEvenements ), ") {" );
19031903 tl (2 , i18nGlobale .getString (I18n .var_utilisateur ), "(" , i18nGlobale .getString (I18n .var_requeteService ), ", " , classePartsRequeteSite .nomSimple (classeLangueNom ), ".class, " , classePartsUtilisateurSite .nomSimple (classeLangueNom ), ".class, " , classePartsUtilisateurSite .nomSimple (classeLangueNom ), ".get" , i18nGlobale .getString (I18n .var_ClasseApiAddresse ), "(), \" post" , classePartsUtilisateurSite .nomSimple (classeLangueNom ), "Future\" , \" patch" , classePartsUtilisateurSite .nomSimple (classeLangueNom ), "Future\" ).onSuccess(" , i18nGlobale .getString (I18n .var_requeteSite ), " -> {" );
19041904 if (
1905- StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE" )
1905+ StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE"
1906+ , i18nGlobale .getString (I18n .var_PageEdition )
1907+ , i18nGlobale .getString (I18n .var_PageUtilisateur )
1908+ )
19061909 && !(classeRoleSession || classeRoleUtilisateur || classeRoleChacun )
19071910 && (
19081911 classeAuth
19091912 )
1910- || !StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE" ) && (
1913+ || !StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE"
1914+ , i18nGlobale .getString (I18n .var_PageEdition )
1915+ , i18nGlobale .getString (I18n .var_PageUtilisateur )
1916+ ) && (
19111917 BooleanUtils .isNotTrue (classeRoleSession )
19121918 && BooleanUtils .isNotTrue (classePublicLire )
19131919 && BooleanUtils .isNotTrue (classeRoleUtilisateur )
@@ -2014,12 +2020,18 @@ public void ecrireGenApiServiceImpl2(String classeLangueNom) throws Exception {
20142020 tl (6 , "});" );
20152021
20162022 if (
2017- StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE" )
2023+ StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE"
2024+ , i18nGlobale .getString (I18n .var_PageEdition )
2025+ , i18nGlobale .getString (I18n .var_PageUtilisateur )
2026+ )
20182027 && !(classeRoleSession || classeRoleUtilisateur || classeRoleChacun )
20192028 && (
20202029 classeAuth
20212030 )
2022- || !StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE" ) && (
2031+ || !StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE"
2032+ , i18nGlobale .getString (I18n .var_PageEdition )
2033+ , i18nGlobale .getString (I18n .var_PageUtilisateur )
2034+ ) && (
20232035 BooleanUtils .isNotTrue (classeRoleSession )
20242036 && BooleanUtils .isNotTrue (classePublicLire )
20252037 && BooleanUtils .isNotTrue (classeRoleUtilisateur )
@@ -2089,12 +2101,18 @@ public void ecrireGenApiServiceImpl2(String classeLangueNom) throws Exception {
20892101
20902102 tl (2 , i18nGlobale .getString (I18n .var_utilisateur ), "(" , i18nGlobale .getString (I18n .var_requeteService ), ", " , classePartsRequeteSite .nomSimple (classeLangueNom ), ".class, " , classePartsUtilisateurSite .nomSimple (classeLangueNom ), ".class, " , classePartsUtilisateurSite .nomSimple (classeLangueNom ), ".get" , i18nGlobale .getString (I18n .var_ClasseApiAddresse ), "(), \" post" , classePartsUtilisateurSite .nomSimple (classeLangueNom ), "Future\" , \" patch" , classePartsUtilisateurSite .nomSimple (classeLangueNom ), "Future\" ).onSuccess(" , i18nGlobale .getString (I18n .var_requeteSite ), " -> {" );
20912103 if (
2092- StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE" )
2104+ StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE"
2105+ , i18nGlobale .getString (I18n .var_PageEdition )
2106+ , i18nGlobale .getString (I18n .var_PageUtilisateur )
2107+ )
20932108 && !(classeRoleSession || classeRoleUtilisateur || classeRoleChacun )
20942109 && (
20952110 classeAuth
20962111 )
2097- || !StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE" ) && (
2112+ || !StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE"
2113+ , i18nGlobale .getString (I18n .var_PageEdition )
2114+ , i18nGlobale .getString (I18n .var_PageUtilisateur )
2115+ ) && (
20982116 BooleanUtils .isNotTrue (classeRoleSession )
20992117 && BooleanUtils .isNotTrue (classePublicLire )
21002118 && BooleanUtils .isNotTrue (classePageRecherchePublicLire && classeApiMethode .equals (i18nGlobale .getString (I18n .var_PageRecherche )))
@@ -2400,12 +2418,18 @@ else if(classeApiMethode.equals(i18nGlobale.getString(I18n.var_PUTFusion)) || cl
24002418 }
24012419
24022420 if (
2403- StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE" )
2421+ StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE"
2422+ , i18nGlobale .getString (I18n .var_PageEdition )
2423+ , i18nGlobale .getString (I18n .var_PageUtilisateur )
2424+ )
24042425 && !(classeRoleSession || classeRoleUtilisateur || classeRoleChacun )
24052426 && (
24062427 classeAuth
24072428 )
2408- || !StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE" ) && (
2429+ || !StringUtils .containsAny (classeApiMethode , "POST" , "PUT" , "PATCH" , "DELETE"
2430+ , i18nGlobale .getString (I18n .var_PageEdition )
2431+ , i18nGlobale .getString (I18n .var_PageUtilisateur )
2432+ ) && (
24092433 BooleanUtils .isNotTrue (classeRoleSession )
24102434 && BooleanUtils .isNotTrue (classePublicLire )
24112435 && BooleanUtils .isNotTrue (classePageRecherchePublicLire && classeApiMethode .equals (i18nGlobale .getString (I18n .var_PageRecherche )))
0 commit comments