Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\WEB-INF\classes\com\edeal\frontline\kpi\methods\NetBusinessEmailingLinksStatsMethod.class
Êþº¾ 3? Ccom/edeal/frontline/kpi/methods/NetBusinessEmailingLinksStatsMethod *com/edeal/frontline/kpi/AbstractCalcMethod <init> ()V Code LineNumberTable LocalVariableTable this ELcom/edeal/frontline/kpi/methods/NetBusinessEmailingLinksStatsMethod; getSupportedAxes ()Ljava/util/Collection; Signature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/ICalcAxis;>; java/util/LinkedList com/edeal/frontline/kpi/FobAxis EstEmlID java/lang/String (com/edeal/frontline/kpi/AbstractCalcAxis FRENCH_LOCALE Ljava/lang/String; " E-mailing $ % ENGLISH_LOCALE ' MassEmailing ) * :(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V , . - java/util/List / 0 add (Ljava/lang/Object;)Z 2 "com/edeal/frontline/kpi/StringAxis 4 WopRegroupement 6 WebOperation 1 ) 9 EmlRegroupement ; Code de regroupement = Grouping code axes Ljava/util/List; LocalVariableTypeTable 5Ljava/util/List<Lcom/edeal/frontline/kpi/ICalcAxis;>; run °(Ljava/util/Map;Ljava/util/Calendar;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Lcom/edeal/frontline/kpi/IDataSet; Exceptions F &com/edeal/frontline/FrontlineException ç(Ljava/util/Map<Lcom/edeal/frontline/kpi/CalcParam;Ljava/lang/String;>;Ljava/util/Calendar;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Lcom/edeal/frontline/kpi/IDataSet; I K J !com/edeal/frontline/kpi/ICalcAxis L M getUserCode ()Ljava/lang/String; O P 0 equals R S T ctx Lcom/edeal/frontline/FlContext; V W X getEmailing 6(Lcom/edeal/frontline/FlContext;)Ljava/util/ArrayList; Z [ X getWopGrpOfEmailing ] _ ^ java/util/ArrayList ` a iterator ()Ljava/util/Iterator; c e d java/util/Iterator f g next ()Ljava/lang/Object; ] i j k isEmpty ()Z m n o getNbClicksOfEmailingByWopGrp F(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;)I q s r $com/edeal/frontline/MassEmailingBean t u lookup W(Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; w !com/edeal/frontline/kpi/SnapValue y java/math/BigDecimal x { | (I)V v ~ O(Ljava/math/BigDecimal;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? addFirst (Ljava/lang/Object;)V ? ? ? logger Lorg/apache/commons/logging/Log; ? java/lang/StringBuilder ? 4Exception when trying to adding the entry 'nbClick'= ? ? ? (Ljava/lang/String;)V ? ? ? ? append (I)Ljava/lang/StringBuilder; ? /'emlRegroupement'= ? ? ? ? -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? /'wopGrp'= ? ? ? M toString ? ? org/apache/commons/logging/Log ¡ ? error c £ ¤ k hasNext ¦ #com/edeal/frontline/kpi/ListDataSet ¨ ª © !com/edeal/frontline/kpi/Aggregate « ¬ SUM #Lcom/edeal/frontline/kpi/Aggregate; ¥ ® ¯ £(Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/Aggregate;Ljava/lang/Iterable;)V ± java/lang/Exception params Ljava/util/Map; cal Ljava/util/Calendar; axis1 #Lcom/edeal/frontline/kpi/ICalcAxis; axis2 axis3 list Ljava/util/LinkedList; arrEmailingIDs Ljava/util/ArrayList; arrWopGrp wopGrp emlID nbClick I emlRegroupement e Ljava/lang/Exception; FLjava/util/Map<Lcom/edeal/frontline/kpi/CalcParam;Ljava/lang/String;>; ;Ljava/util/LinkedList<Lcom/edeal/frontline/kpi/SnapValue;>; )Ljava/util/ArrayList<Ljava/lang/String;>; StackMapTable Ë java/util/Map Í java/util/Calendar getUnit 2(Lcom/edeal/frontline/FlLocale;)Ljava/lang/String; Ñ Ó Ò com/edeal/frontline/FlLocale Ô Õ getLocale ()Ljava/util/Locale; × Ø Ù locale Ljava/util/Locale; Û Î Ï Ý ß Þ java/util/Locale à Ù FRANCE Ý O Ý ã ä Ù FRENCH æ Nb clics sur liens des e-mailing è Clicks on links e-mailing Nb flLocale Lcom/edeal/frontline/FlLocale; result getDescription î ì Ï ð *Comptage des clics sur liens des e-mailing ò "Clicks on links e-mailing counting J(Lcom/edeal/frontline/FlContext;)Ljava/util/ArrayList<Ljava/lang/String;>; õ ÷ ö com/edeal/frontline/FlContext ø ù getDataDictionary &()Lcom/edeal/frontline/DataDictionary; û Ses ý Te1 ÿ FINAL "com/edeal/frontline/DataDictionary getRefIdByCode J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ] ESELECT DISTINCT EmlID, EmlSndDate, EmlRegroupement FROM EmailingStats valueOf &(Ljava/lang/Object;)Ljava/lang/String; 1 LEFT OUTER JOIN MassEmailing ON EmlID = EstEmlID WHERE EstEmlStatus = com/edeal/frontline/Utils formatToSQL E(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)Ljava/lang/String; ORDER BY EmlSndDate ASC /com/edeal/frontline/kpi/methods/KPIMethodHelper getSQLlimitForKPImethod 3(Lcom/edeal/frontline/FlContext;)Ljava/lang/String; õ !" getConnection ()Ljava/sql/Connection;$&% java/sql/Connection'( createStatement ()Ljava/sql/Statement;*,+ java/sql/Statement-. executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet;021 java/sql/ResultSet34 getString (I)Ljava/lang/String; ] .07 f k9 )Exception when trying to run the query : ?; ¡< *(Ljava/lang/Object;Ljava/lang/Throwable;)V> (Exception when trying to run the query [@ ]: °BC M getMessage EE F *(Ljava/lang/String;Ljava/lang/Throwable;)V0HI close*H$H context dico $Lcom/edeal/frontline/DataDictionary; finalStatusID query con Ljava/sql/Connection; stmt Ljava/sql/Statement; rs Ljava/sql/ResultSet;X java/lang/Throwable ? [ 2SELECT DISTINCT WopRegroupement FROM EmailingStats] 2 LEFT OUTER JOIN MassEmailing ON EmlID = EstEmlID_ 4 LEFT OUTER JOIN EMailLink ON ElnID = EstElnID LEFTa - OUTER JOIN WebOperation ON WopID = ElnWopIDc WHERE EstEmlStatus = e AND WopRegroupement IS NOT NULLg ORDER BY WopRegroupement ASC ?i ?j -(Ljava/lang/Object;)Ljava/lang/StringBuilder; arrEmailingStats Ljava/lang/StringBuilder;n +SELECT SUM(EstLinkClick) FROM EmailingStatsp / LEFT OUTER JOIN EMailLink ON ElnID = EstElnIDr 2 LEFT OUTER JOIN WebOperation ON WopID = ElnWopIDt WHERE EmlID = v AND EstEmlStatus = x AND WopRegroupement = z GROUP BY WopRegroupement ?|} ? debug0?? getInt (I)I? HUne Exception s'est produite quand on tente d'exÃ?©cuter la requÃ?ªte emailID nbClic ex getSignature *(Ljava/lang/String;)Ljava/util/Collection; O(Ljava/lang/String;)Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; ??? java/util/Collections?? emptyList ()Ljava/util/List; dispose =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; SourceFile (NetBusinessEmailingLinksStatsMethod.java ! / *· ± $ ä ?» Y· L+» Y½ Y² SY!SY² #SY!S&· (¹ + W+» 1Y3½ Y² SY5SY² #SY5S3· 7¹ + W+» 1Y8½ Y² SY:SY² #SY<S8· 7¹ + W+° ( * 4 + ` , ? . ? ? >