Edit C:\Users\Administrator\Desktop\Back\Livraison EVQG22\com\edeal\frontline\kpi\methods\InteractionCountMethod.class
Êþº¾ 3m 6com/edeal/frontline/kpi/methods/InteractionCountMethod *com/edeal/frontline/kpi/AbstractCalcMethod <init> ()V Code LineNumberTable LocalVariableTable this 8Lcom/edeal/frontline/kpi/methods/InteractionCountMethod; getSupportedAxes ()Ljava/util/Collection; Signature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/ICalcAxis;>; java/util/LinkedList com/edeal/frontline/kpi/FobAxis IntActID java/lang/String (com/edeal/frontline/kpi/AbstractCalcAxis FRENCH_LOCALE Ljava/lang/String; " Acteur en charge $ % ENGLISH_LOCALE ' Actor ) * :(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V , . - java/util/List / 0 add (Ljava/lang/Object;)Z 2 IntCreID 4 Créateur 6 Creator 8 com/edeal/frontline/kpi/RefAxis : IntStiID < Etat > Status 7 @ A ((Ljava/lang/String;[Ljava/lang/String;)V C com/edeal/frontline/kpi/TimeAxis E IntDate G Date du Contact I Contact Date K M L 'com/edeal/frontline/kpi/TimeGranularity N O DAY )Lcom/edeal/frontline/kpi/TimeGranularity; B Q R c(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Lcom/edeal/frontline/kpi/TimeGranularity;)V T IntTheme_ V Thème X Theme Z IntCatID \ Canal Media ^ Media Channel ` IntType_ b Type d'intéraction d Interaction Type 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; ç(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; m n o composeQuery ?(Ljava/util/Map;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; q r s logger Lorg/apache/commons/logging/Log; u w v &com/edeal/frontline/FrontlineException x y getMessage ()Ljava/lang/String; { } | org/apache/commons/logging/Log ~ error *(Ljava/lang/Object;Ljava/lang/Throwable;)V ? #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/StringBuilder ? Requete : ? ? ? (Ljava/lang/String;)V ? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ? ? y toString { ? ? ? info (Ljava/lang/Object;)V ? ? ctx Lcom/edeal/frontline/FlContext; ¢ ¤ £ com/edeal/frontline/FlContext ¥ ¦ getConnection ()Ljava/sql/Connection; ¨ ª © java/sql/Connection « ¬ createStatement ()Ljava/sql/Statement; ® ° ¯ java/sql/Statement ± ² executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; ´ !com/edeal/frontline/kpi/DBDataSet ³ ¶ · ¸(Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/Aggregate;Ljava/sql/ResultSet;Ljava/sql/Connection;)V ¹ w º java/sql/SQLException ¼ ¾ ½ com/edeal/frontline/Utils ¿ À cleanUp @(Ljava/sql/Connection;Ljava/sql/Statement;Ljava/sql/ResultSet;)V params Ljava/util/Map; cal Ljava/util/Calendar; axis1 #Lcom/edeal/frontline/kpi/ICalcAxis; axis2 axis3 query e (Lcom/edeal/frontline/FrontlineException; it Ljava/lang/Iterable; dataSet #Lcom/edeal/frontline/kpi/DBDataSet; con Ljava/sql/Connection; st Ljava/sql/Statement; rs Ljava/sql/ResultSet; sqle Ljava/sql/SQLException; FLjava/util/Map<Lcom/edeal/frontline/kpi/CalcParam;Ljava/lang/String;>; 9Ljava/lang/Iterable<Lcom/edeal/frontline/kpi/SnapValue;>; StackMapTable Ü java/util/Map Þ java/util/Calendar à !com/edeal/frontline/kpi/ICalcAxis â java/sql/ResultSet Exceptions Ã(Ljava/util/Map<Lcom/edeal/frontline/kpi/CalcParam;Ljava/lang/String;>;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; ? ç "com/edeal/frontline/kpi/JoinHelper æ é ê "(Lcom/edeal/frontline/FlContext;)V ì SELECT COUNT (*) î ï ð addAxisField d(Ljava/lang/StringBuilder;ZLcom/edeal/frontline/kpi/JoinHelper;Lcom/edeal/frontline/kpi/ICalcAxis;)V ò FROM Interaction ô õ ö addAxisJoin c(Ljava/lang/StringBuilder;Lcom/edeal/frontline/kpi/JoinHelper;Lcom/edeal/frontline/kpi/ICalcAxis;)V ø GROUP BY ú û ü valueOf &(Ljava/lang/Object;)Ljava/lang/String; þ ÿ /com/edeal/frontline/kpi/methods/KPIMethodHelper getSQLlimitForKPImethod 3(Lcom/edeal/frontline/FlContext;)Ljava/lang/String; q Ljava/lang/StringBuilder; jh $Lcom/edeal/frontline/kpi/JoinHelper; dispose getSignature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; java/util/Collections emptyList ()Ljava/util/List; , axis.getUserCode(): ß y getUserCode w java/lang/Exception { ~ ? printStackTrace" IntAtvID $% 0 equals' IntAtvID) IntType_+ IntStiID- IntService_/ IntService_1 ActID3 IntCreID5 IntCrDt7 IntCrDt9 IntDate comma Z axis strComma Ljava/lang/Exception;@ 0 LEFT OUTER JOIN MvaIntActID ON MvaColID = IntIDB ) LEFT OUTER JOIN Actor ON MvaText = ActID getUnit 2(Lcom/edeal/frontline/FlLocale;)Ljava/lang/String; FHG com/edeal/frontline/FlLocaleIJ getLocale ()Ljava/util/Locale; LMN locale Ljava/util/Locale; PCD RTS java/util/LocaleUN FRANCE R$ RXYN FRENCH[ Nombre d'interactions] Interactions Number flLocale Lcom/edeal/frontline/FlLocale; result getDescription caDe !Decompte du nombre d'interactionsg Interactions counting *(Ljava/lang/String;)Ljava/util/Collection; O(Ljava/lang/String;)Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; arg0 SourceFile InteractionCountMethod.java ! / *· ± "