Edit C:\Windows\install\galaxie_p02_26-09\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 õ getConnection ()Ljava/sql/Connection; java/sql/Connection!" createStatement ()Ljava/sql/Statement;$&% java/sql/Statement'( executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet;*,+ java/sql/ResultSet-. getString (I)Ljava/lang/String; ] .*1 f k3 )Exception when trying to run the query : ?5 ¡6 *(Ljava/lang/Object;Ljava/lang/Throwable;)V8 (Exception when trying to run the query [: ]: °<= M getMessage E? @ *(Ljava/lang/String;Ljava/lang/Throwable;)V*BC close$BB context dico $Lcom/edeal/frontline/DataDictionary; finalStatusID query con Ljava/sql/Connection; stmt Ljava/sql/Statement; rs Ljava/sql/ResultSet;R java/lang/Throwable ? U 2SELECT DISTINCT WopRegroupement FROM EmailingStatsW 2 LEFT OUTER JOIN MassEmailing ON EmlID = EstEmlIDY 4 LEFT OUTER JOIN EMailLink ON ElnID = EstElnID LEFT[ - OUTER JOIN WebOperation ON WopID = ElnWopID] WHERE EstEmlStatus = _ AND WopRegroupement IS NOT NULLa ORDER BY WopRegroupement ASC ?c ?d -(Ljava/lang/Object;)Ljava/lang/StringBuilder; arrEmailingStats Ljava/lang/StringBuilder;h +SELECT SUM(EstLinkClick) FROM EmailingStatsj / LEFT OUTER JOIN EMailLink ON ElnID = EstElnIDl 2 LEFT OUTER JOIN WebOperation ON WopID = ElnWopIDn WHERE EmlID = p AND EstEmlStatus = r AND WopRegroupement = t GROUP BY WopRegroupement ?vw ? debug*yz{ 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 + ` , ? . ? ? >