Edit C:\Windows\install\galaxie_p02_26-09\WEB-INF\classes\com\edeal\frontline\kpi\methods\Classement_CustomCountMethod.class
Êþº¾ 3N <com/edeal/frontline/kpi/methods/Classement_CustomCountMethod *com/edeal/frontline/kpi/AbstractCalcMethod <init> ()V Code LineNumberTable LocalVariableTable this >Lcom/edeal/frontline/kpi/methods/Classement_CustomCountMethod; getSupportedAxes ()Ljava/util/Collection; Signature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/ICalcAxis;>; java/util/LinkedList com/edeal/frontline/kpi/TimeAxis Cl_DateRuptuCt java/lang/String (com/edeal/frontline/kpi/AbstractCalcAxis FRENCH_LOCALE Ljava/lang/String; " Date de rupture $ % ENGLISH_LOCALE ' Date of Contract Termination ) + * 'com/edeal/frontline/kpi/TimeGranularity , - MONTH )Lcom/edeal/frontline/kpi/TimeGranularity; / 0 c(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Lcom/edeal/frontline/kpi/TimeGranularity;)V 2 4 3 java/util/List 5 6 add (Ljava/lang/Object;)Z 8 "com/edeal/frontline/kpi/StringAxis : Cl_MotifRuptCt < Motif de rupture du contrat > End of Contract's cause 7 @ A :(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V C com/edeal/frontline/kpi/FobAxis E Cl_Comite G Partenaire I Partner K Event B @ N com/edeal/frontline/kpi/RefAxis P Cl_ClassDecision R Décision T Decision M V W ((Ljava/lang/String;[Ljava/lang/String;)V Y EvtCategory [ Type de comité ] Comitee Category 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; f g h composeQuery ?(Ljava/util/Map;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; j k l logger Lorg/apache/commons/logging/Log; n p o &com/edeal/frontline/FrontlineException q r getMessage ()Ljava/lang/String; t v u org/apache/commons/logging/Log w x error *(Ljava/lang/Object;Ljava/lang/Throwable;)V z #com/edeal/frontline/kpi/ListDataSet | ~ } !com/edeal/frontline/kpi/Aggregate ? SUM #Lcom/edeal/frontline/kpi/Aggregate; y ? ? £(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; ? ? ? r toString t ? ? ? 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 ² p ³ 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 Classement_ ß í î ï 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; ý ='RUPTCONTRAT' ÿ GROUP BY 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; , Ø r getUserCode 6 equals Cl_DateRuptuCt Cl_MotifRuptCt Cl_Comite Cl_ClassDecision E.EvtCategory comma Z axis# , INNER JOIN Event as E ON Cl_Comite=E.EvtID getUnit 2(Lcom/edeal/frontline/FlLocale;)Ljava/lang/String; ')( com/edeal/frontline/FlLocale*+ getLocale ()Ljava/util/Locale; -./ locale Ljava/util/Locale; 1$% 354 java/util/Locale6/ FRANCE 3 39:/ FRENCH< Nombre de ruptures de contrats> Contracts Breaks flLocale Lcom/edeal/frontline/FlLocale; result getDescription DB%F *Decompte du nombre de ruptures de contratsH Contracts Breakings number *(Ljava/lang/String;)Ljava/util/Collection; O(Ljava/lang/String;)Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; arg0 SourceFile !Classement_CustomCountMethod.java ! / *· ± "