Edit C:\Users\Administrator\Desktop\Back\Livraison EVQG22\com\edeal\frontline\kpi\methods\TodoCustomCountMethod.class
Êþº¾ 3m 5com/edeal/frontline/kpi/methods/TodoCustomCountMethod *com/edeal/frontline/kpi/AbstractCalcMethod <init> ()V Code LineNumberTable LocalVariableTable this 7Lcom/edeal/frontline/kpi/methods/TodoCustomCountMethod; 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 IntCorID 4 Contact 6 Correspondent 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 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; g h i composeQuery ?(Ljava/util/Map;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; k l m logger Lorg/apache/commons/logging/Log; o q p &com/edeal/frontline/FrontlineException r s getMessage ()Ljava/lang/String; u w v org/apache/commons/logging/Log x y error *(Ljava/lang/Object;Ljava/lang/Throwable;)V { #com/edeal/frontline/kpi/ListDataSet } ~ !com/edeal/frontline/kpi/Aggregate ? ? SUM #Lcom/edeal/frontline/kpi/Aggregate; z ? ? £(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; ? ? ? s toString u ? ? ? 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 ³ q ´ 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 î IntType_ à ð ñ ò innerJoin &(Ljava/lang/String;)Ljava/lang/String; ô õ ö addAxisJoin c(Ljava/lang/StringBuilder;Lcom/edeal/frontline/kpi/JoinHelper;Lcom/edeal/frontline/kpi/ICalcAxis;)V ø WHERE ú RefVal à ü ý þ field 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ='ACT' 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(): Ù s getUserCode q! java/lang/Exception u# x ? %&