Edit C:\Users\Administrator\Desktop\CGI\LIVRAISONS\V1.6.3\Livraison_20230616\WEB-INF\classes\com\edeal\frontline\custom\EnterpriseBeanExtension.class
Êþº¾ 3è 2com/edeal/frontline/custom/EnterpriseBeanExtension java/lang/Object logger Lorg/apache/commons/logging/Log; ENT_STATUS_BEFORE_SAVING Ljava/lang/String; STATUS_MANAGEMENT <clinit> ()V Code %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; statusBeforeSaving statusManagement LineNumberTable LocalVariableTable <init> ! this 4Lcom/edeal/frontline/custom/EnterpriseBeanExtension; hasSynchFieldsChanged '(Lcom/edeal/frontline/EnterpriseBean;)Z perBean $Lcom/edeal/frontline/EnterpriseBean; postDelete 4(Lcom/edeal/frontline/FlContext;Ljava/lang/Object;)V Exceptions , &com/edeal/frontline/FrontlineException . "com/edeal/frontline/EnterpriseBean 0 entID - 2 3 4 getExternalData &(Ljava/lang/Object;)Ljava/lang/Object; 6 java/lang/String 8 : 9 .com/edeal/frontline/helper/MatchCodeBaseHelper ; < deleteEnterpriseMatchCodeEntries 4(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)V context Lcom/edeal/frontline/FlContext; obj Ljava/lang/Object; entBean id postLoad E com/edeal/frontline/BasicBean G getAddress I K J 9com/edeal/frontline/services/addressnormalisation/Address L M fromBean n(Lcom/edeal/frontline/BasicBean;Ljava/lang/String;)Lcom/edeal/frontline/services/addressnormalisation/Address; O getAddressNormalisationStatus Q setAddressNormalisationStatus I S T U saveAddress F(Lcom/edeal/frontline/BasicBean;Ljava/lang/String;Ljava/lang/String;)V W /com/edeal/frontline/services/FlServiceException bean Lcom/edeal/frontline/BasicBean; address ;Lcom/edeal/frontline/services/addressnormalisation/Address; StackMapTable postSave _ )com/edeal/frontline/AccessDeniedException - a b c getID ()Ljava/lang/String; e $ % - g h i getPersons ()Ljava/util/Vector; k m l /com/edeal/frontline/synchro/SyncManagerParallel n o pushContactVectorToExternal 4(Lcom/edeal/frontline/FlContext;Ljava/util/Vector;)V q java/lang/StringBuilder s M[EnterpriseBeanExtension.postSave()] - Exception in pushContactToExternal(): p u v (Ljava/lang/String;)V + x y c toString p { | } append -(Ljava/lang/String;)Ljava/lang/StringBuilder; p x ? ? ? org/apache/commons/logging/Log ? ? error (Ljava/lang/Object;)V ? AlreadySaved ? true - ? ? ? putExternalData 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; - ? ? ? getEntLa ()F - ? ? ? getEntLo I ? ? ? isEmpty ()Z I ? ? c getAddress1 ? ? ? !org/apache/axis/utils/StringUtils ? ? (Ljava/lang/String;)Z I ¡ ¢ c getAddress2 I ¤ ¥ c getCity I § ¨ c getZipCode I ª « c getCountry - ® updateGeolocalization ° W[EnterpriseBeanExtension.postSave] Unable to update geolocation for Enterprise with id= ² - ´ µ ¶ getClass ()Ljava/lang/Class; ¸ º ¹ java/lang/Class » c getName ½ : ¿ Á À java/lang/Exception  c getMessage Ä STACK TRACE ? Æ ? Ç *(Ljava/lang/Object;Ljava/lang/Throwable;)V É java/util/HashMap È ! È Ì Í ? put - Ï Ð Ñ publish ((Ljava/lang/String;Ljava/util/HashMap;)V Ó ![Exception when publishing task] Õ EntPhotoID_ - × Ø Ù getCustomProperty &(Ljava/lang/String;)Ljava/lang/Object; 5 ? Ü %com/edeal/frontline/custom/Photo_Bean Û Þ ß 4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V Û á â v setPo_Tiers Û ä å æ save '()Lcom/edeal/frontline/OperationResult; è ê é com/edeal/frontline/FlContext ë ì getDataDictionary &()Lcom/edeal/frontline/DataDictionary; î EntThema_ ð java/util/Vector ò Eh_ ô Te1 ö PECHE ø ú ù "com/edeal/frontline/DataDictionary û ü getRefIdByCode J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; þ NEIGE VELO RANDPED NATUSIL CARAC FAMENF CHCOM CHQUAD ? ? warn E1_ SPDET NGE CLM CHRM SEJFAM EXC ï!"# elementAt (I)Ljava/lang/Object; 5%&' equals (Ljava/lang/Object;)Z) &com/edeal/frontline/custom/Envies_Bean (+ , "(Lcom/edeal/frontline/FlContext;)V (./ v setEnvcategoryID (12 v setEnvTiersID 456 sauvegarderEnvie +(Lcom/edeal/frontline/custom/Envies_Bean;)V ï89: size ()I< EntCCsApointer_> GchStatusID@ PO øB ûC 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;E *com/edeal/frontline/custom/GiftCheque_Bean D Þ -HI c getEntID DKL v setGchUseWithAdherent DNO v setGchStatusID D ä -RST setCustomProperty '(Ljava/lang/String;Ljava/lang/Object;)V - ä -WX c getEntTyeIDZ EntTyeID ø\]C getRefCode_ ASSO 5ab ? equalsIgnoreCase ï !e PrtModeg DIFFUSIONi EntPrtCode_k PrtIDm [Ljava/lang/String;o PrtCode = 'q ' sut !com/edeal/frontline/PartitionBeanvw listSummary Z(Lcom/edeal/frontline/FlContext;[Ljava/lang/String;[[Ljava/lang/String;)Ljava/util/Vector; ï ? ïz{| firstElement ()Ljava/lang/Object;~ java/util/Hashtable }?? 4 get ï??' add? PrtMode = '? RESTRICTION ??? GetAllPartIdByAsso i(Lcom/edeal/frontline/FlContext;Lcom/edeal/frontline/EnterpriseBean;Ljava/lang/String;)Ljava/util/Vector; ??? DeleteEntPartition 4(Lcom/edeal/frontline/FlContext;Ljava/util/Vector;)Z? *SupprÃ?©ssion entpartition avec succÃ?¨s ??? ? info ??? java/lang/Boolean?? valueOf (Z)Ljava/lang/Boolean; ??? GetAllEntByAsso j(Lcom/edeal/frontline/FlContext;Lcom/edeal/frontline/EnterpriseBean;Ljava/lang/Boolean;)Ljava/util/Vector; ï¡?#£ EntID ¥¦§ CreateEntPartition F(Lcom/edeal/frontline/FlContext;Ljava/util/Vector;Ljava/lang/String;)Z© )CrÃ?©ation entpartition avec succÃ?¨s :« EntPartitionID ø®¯ getFieldByName 3(Ljava/lang/String;)Lcom/edeal/frontline/FieldBean; ±²³ dbGetMultival d(Lcom/edeal/frontline/FieldBean;Ljava/lang/String;Lcom/edeal/frontline/FlContext;)Ljava/util/Vector; µ·¶ java/sql/SQLException¸ printStackTraceº ,SupprÃ?©ssion entpartition avec succÃ?¨s :¼ EntStructureLocalID_ - Þ ¿À? GetAllEntByAssoNotLoc PRESTAÄ AUDITÆ JOURNÈ Eq_NameIDÊ CHQÌ EntBankCardID_Î ANCVÐ /Entreprise_BeanExtension: => entbankcardidlist ïÒÓÔ iterator ()Ljava/util/Iterator;ÖØ× java/util/IteratorÙ| next ÛÝÜ 3com/edeal/frontline/helper/custom/Equipement_HelperÞß getEquipementByIdAndTiersId W(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;á *com/edeal/frontline/custom/Equipement_Bean à+ àäå v setEq_TiersID àçè v setEq_NameID àêëì setEq_DispHotel (Z)V àîïì setEq_SearchCriteria à äÖòó ? hasNext à Þ àö÷ æ deleteù 0com/edeal/frontline/FieldNotInitializedException e (Lcom/edeal/frontline/FrontlineException; fnie 2Lcom/edeal/frontline/FieldNotInitializedException; newAddress Ljava/lang/Exception; otherInformations Ljava/util/HashMap; attPhotoID po_ 'Lcom/edeal/frontline/custom/Photo_Bean; dico $Lcom/edeal/frontline/DataDictionary; entThema Ljava/util/Vector; neigeID pecheID veloID randonneeID natureSilID caracID famenfID chComID chQuadID neigeCatenvID sportsDetenteCatenvID calmeCatenvID charmeCatenvID sejfamCatenvID exceptionCatenvID i I themaActuelle env (Lcom/edeal/frontline/custom/Envies_Bean; ccsPointe pointeIdStatus gch ,Lcom/edeal/frontline/custom/GiftCheque_Bean; ex ade +Lcom/edeal/frontline/AccessDeniedException; entTyeID codeEntTyeID prtsRest prtsDiff diffusionID IdEnt AssoMode AssoModeCle partitionCode Pfields Pquery [[Ljava/lang/String; Plist tab Ljava/util/Hashtable; prtID fields query list hotels Nohotels getAllEntPrtsDelete compt getentprtsdelete Ljava/sql/SQLException; AssoStruc struct create_rest Z getEntPrtsDelete hotelsNotLoc eq_nameidCHQ entbankcardidANCV entbankcardidlist exist entbankcardid equipID equipementBean ,Lcom/edeal/frontline/custom/Equipement_Bean; equipID_ equipement_ LocalVariableTypeTable 9Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>; &Ljava/util/Vector<Ljava/lang/String;>; )Ljava/util/Vector<Ljava/util/Hashtable;>;/ preDelete preSaveU EntStatusW ON -YZ v setEntStatus\ EntEditListLogis_ ?^_ ? booleanValuea Cg_IDc Cg_Code = 'ASSO' euf )com/edeal/frontline/custom/Catalogue_Beanh EntAssoCatID_j KLe catalogue des associations avec le code 'ASSO' va �tre cr�e...l java/util/Date k ! e+ epqr setCg_CrDt (Ljava/util/Date;)V etu v setCg_Codew Catalogue des Associations eyz v setCg_LibCatalogue e ä e}~ c getCg_ID? e[EnterpriseBeanExtension.preSave] Impossible de lier l'association � un catalogue de type 'ASSO' I??? hasChanged F(Lcom/edeal/frontline/BasicBean;Ljava/lang/String;Ljava/lang/String;)Z -??? setEntLa (F)V -??? setEntLo -?? v setEntGeoCodeStatusID -?? c getEntSiret 5??: length 5??? substring (II)Ljava/lang/String; -?? v setEntSiren? EntTypoStructure_ REGIONAL¢ EntDepartmentID_¤ PAYS¦ EntRegionID_¨ ETABª HOTEL¬ RESTO® EntAtvID_° REST -²³ c getEntStatusµ nouvelle asso ·¸¹ setPartitionForCreation F(Lcom/edeal/frontline/EnterpriseBean;Lcom/edeal/frontline/FlContext;)V» Error when setting Partition½ Ph_¿ NATIONAL1Á EntDispName_ Û+Ä Photo- ÛÆÇ v setPo_NomPhoto ÛÉÊ v setPo_AttFileName ÛÌÍr setPo_DateAjout ÛÏÐÑ setPo_Qualification (Ljava/util/Vector;)V ÛÓÔ v setPo_ApercuÖ "com/edeal/frontline/AttachmentBean Õ Þ ÕÙÚÛ getAttCrDt ()Ljava/util/Date; Û aÞ EntPlaqueCosseRiz_à java/lang/Integer ßâ ã (I)Vå EntPlaqueAlu_ç EntRatachHotelID_ ßé?ê (I)Ljava/lang/Integer;ì EntNbCouverts_î java/lang/StringBuffer í !ñ 'UPDATE Enterprise SET EntNbCouverts_ = íó |ô ,(Ljava/lang/String;)Ljava/lang/StringBuffer; öø÷ com/edeal/frontline/Utilsùú formatToSQL E(Lcom/edeal/frontline/FlContext;Ljava/lang/Number;)Ljava/lang/String;ü WHERE EntID = öþùÿ E(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)Ljava/lang/String; ; í x è getConnection ()Ljava/sql/Connection; java/sql/Connection createStatement ()Ljava/sql/Statement; java/sql/Statement ? execute close ¿· ent activID isAffCatalogue Ljava/lang/Boolean; IdCatalogue dateDuJour Ljava/util/Date; nouvCat +Lcom/edeal/frontline/custom/Catalogue_Bean; entTypoStructureID codeTypoStructureID sectRestID entStatus dateAujourdhui guideNatID qualifphoto NomPhotoID photoID parent nbcouvert Ljava/lang/Integer; Ljava/lang/StringBuffer; con Ljava/sql/Connection; stmt Ljava/sql/Statement;2 java/lang/Throwable4 /com/edeal/frontline/helper/custom/Envies_Helper 36 6 389: existe +(Lcom/edeal/frontline/custom/Envies_Bean;)Z ( ä envieHelper 1Lcom/edeal/frontline/helper/custom/Envies_Helper; E(Lcom/edeal/frontline/FlContext;Ljava/lang/Object;)Ljava/lang/String;@ EntTriName_ n(Lcom/edeal/frontline/FlContext;Ljava/lang/Object;)Lcom/edeal/frontline/services/addressnormalisation/Address; I ! -DE c getEntAd1 IGH v setAddress1 -JK c getEntAd2 IMN v setAddress2 -PQ c getEntAd3 IST v setAddress3 -VW c getEntZip IYZ v setZipCode -\] c getEntCity I_` v setCity -bc c getEntCtrID Ief v setCountryRefIDh Ctr øjkl getRefDisp J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; Ino v setCountry s+r AssoPartitionCode tvu "com/edeal/frontline/CounterFactorywx getCounter 4(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)I ßz y{ (I)Ljava/lang/String;} NewPartition s? v setPrtCode -?? c getEntCorpName s?? v setPrtName s?? v setPrtMode s ä prtBean #Lcom/edeal/frontline/PartitionBean; cnt codePrt corpName restrictionID setAddress P(Ljava/lang/Object;Lcom/edeal/frontline/services/addressnormalisation/Address;)V -?? v setEntAd1 -?? v setEntAd2 I?? c getAddress3 -?? v setEntAd3 - ¡ v setEntZip -£¤ v setEntCity I¦§ c getCountryRefID -©ª v setEntCtrID setEntity Q(Ljava/lang/Object;Lcom/edeal/frontline/services/yellowpages/YellowPagesEntity;)V ®°¯ :com/edeal/frontline/services/yellowpages/YellowPagesEntity± c getCompanyName -³´ v setEntCorpName ®¶· c getPhone -¹º v setEntPhone entity <Lcom/edeal/frontline/services/yellowpages/YellowPagesEntity; '(Ljava/lang/Object;Ljava/lang/String;)V -¿À v setEntAddressStatus statusId -ÃÄ c getEntAddressStatus asynchronousProcessing Y(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/Object;Ljava/util/HashMap;)V Signature (Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/Object;Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;)V È? ËÍÌ 2com/edeal/frontline/helper/custom/EnterpriseHelperÎÏ getEnterpriseNewStatus ?(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;)Lcom/edeal/frontline/helper/EnterpriseBaseHelper$EnterpriseStatus; ÑÓÒ @com/edeal/frontline/helper/EnterpriseBaseHelper$EnterpriseStatusÔ c name ËÖ×Ø updateEnterpriseStatus F(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;)VÚ The enterprise passes to 'Ü ' status ?Þß ? debugá ,[Exception when changing enterprise status] reasonOfOperation entStatusCode BLcom/edeal/frontline/helper/EnterpriseBaseHelper$EnterpriseStatus; oldStatusCode x(Lcom/edeal/frontline/FieldBean;Ljava/lang/String;Lcom/edeal/frontline/FlContext;)Ljava/util/Vector<Ljava/lang/String;>;è FldFltID êìë com/edeal/frontline/FieldBeaní c getFldFltID êïð c getFldSql êòó c getFldTabID êõö c getFldFobID ø²ù k(Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Lcom/edeal/frontline/FlContext;)Ljava/util/Vector; mvField Lcom/edeal/frontline/FieldBean; collID myDic typeChamp fieldName isFob isRef (Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Lcom/edeal/frontline/FlContext;)Ljava/util/Vector<Ljava/lang/String;>; "SELECT Mvaid, MvaPosition FROM Mva WHERE MvaColID = ORDER BY MvaPosition executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; java/sql/ResultSet{ getString ? wasNull ï ? addElementÙ ? CHAR|VARCHAR|LONGVARCHAR|CLOB getClob (I)Ljava/sql/Clob;"$# java/sql/Clob?% ()J"'() getSubString (JI)Ljava/lang/String;+ 6SQLException on clob.getSubString for multival field [- ]: µ Á0 This type can't be multivalued + u type colID monVecteur multRs Ljava/sql/ResultSet; value rsWasNull clobContent Ljava/sql/Clob; sqle getCreationSQLRequest W(Lcom/edeal/frontline/FlContext;Ljava/util/Vector;Ljava/util/Vector;)Ljava/lang/String;? INSERT INTO A mvaentpartitionidC (E , pG |H -(Ljava/lang/Object;)Ljava/lang/StringBuilder;J ) VALUES ( öLù>N ) columnNames values result Ljava/lang/StringBuilder; getDeleteSQLRequest E(Lcom/edeal/frontline/FlContext;Ljava/util/Vector;)Ljava/lang/String;V DELETE FROM X WHERE Z mvaid in ( p\ |] 3(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; Ids `ST 5 xcd rollback query_delete_ent èghi getIdFactory !()Lcom/edeal/frontline/IdFactory;k mvaidm mvacolido mvatext q ar com/edeal/frontline/IdFactory t<= entid myIdFactory Lcom/edeal/frontline/IdFactory; prtsrestnew query_insert_ent dbGetMultivalMvaText |zù~ $SELECT Mvatext, MvaPosition FROM Mva ?(Lcom/edeal/frontline/FlContext;Lcom/edeal/frontline/EnterpriseBean;Ljava/lang/Boolean;)Ljava/util/Vector<Ljava/util/Hashtable;>;? EntRegionID_ =? EntPaysStruct_? EntPaysStruct_ =? DEPARTEMENTALE? EntDepartmentID_ =? MULTI? EntMultiDep_ ?z³? mvatext in ( p !? &SELECT distinct EntID FROM enterprise ? /inner join localite_ on EntLocalityID_ = Lo_ID ? 7inner join refvalues refdept on refdept.refid = Lo_Dep ? >inner join refvalues refreg on refreg.RefVal = refdept.RefTe2 ? ?inner join refvalues refpays on refpays.RefVal = refreg.RefTe2 ? Zinner join tables tbpays ON refpays.RefTabID = tbpays.TabID AND tbpays.TabRadical = 'Ctr' Sinner join tables tbrg ON refreg.RefTabID = tbrg.TabID AND tbrg.TabRadical = 'Rg_' ¢ Tinner join tables tbdp ON refdept.RefTabID = tbdp.TabID AND tbdp.TabRadical = 'Dp_' ¤ WHERE EntStructureLocalID_=¦ ¨ and refreg.refid =ª and refreg.refid !=¬ and refpays.refid =® and refpays.refid !=° and Lo_Dep =² and Lo_Dep !=´ and Lo_Dep in (¶ and Lo_Dep not in (¸ GetAllEntByAsso sqlQuery: -º»¼ listSQL X(Lcom/edeal/frontline/FlContext;[Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector; IsCondition hFieldshotel pays region dept multidept getmultidept condition_typo Ids_dept sqlQuery sqlQueryWhere }(Lcom/edeal/frontline/FlContext;Lcom/edeal/frontline/EnterpriseBean;Ljava/lang/String;)Ljava/util/Vector<Ljava/lang/String;>;Ê $SELECT mvaid FROM mvaentpartitionid Ì WHERE mvacolid=Î WHERE mvatext=Ð AND mvacolid!=Ò sqlQuery: EnterpId EntPrt FieldsEntPrt× .left join localite_ on EntLocalityID_ = Lo_ID Ù 6left join refvalues refdept on refdept.refid = Lo_Dep Û =left join refvalues refreg on refreg.RefVal = refdept.RefTe2 Ý >left join refvalues refpays on refpays.RefVal = refreg.RefTe2 ß and Lo_ID is null á GetAllEntByAssoNotLoc sqlQuery: SourceFile EnterpriseBeanExtension.java InnerClassesæ /com/edeal/frontline/helper/EnterpriseBaseHelper EnterpriseStatus ! ; ¸ ³ ³ ³ ± A C E 3 *· ± K L "