Edit C:\Windows\install\galaxie_p02_26-09\WEB-INF\classes\com\edeal\frontline\kpi\methods\Contrat_CustomCountMethod.class
Êþº¾ 3e 9com/edeal/frontline/kpi/methods/Contrat_CustomCountMethod *com/edeal/frontline/kpi/AbstractCalcMethod entJoinCount I <init> ()V Code LineNumberTable LocalVariableTable this ;Lcom/edeal/frontline/kpi/methods/Contrat_CustomCountMethod; getSupportedAxes ()Ljava/util/Collection; Signature =()Ljava/util/Collection<Lcom/edeal/frontline/kpi/ICalcAxis;>; java/util/LinkedList com/edeal/frontline/kpi/TimeAxis Ct_DateAdhesion java/lang/String (com/edeal/frontline/kpi/AbstractCalcAxis ! " FRENCH_LOCALE Ljava/lang/String; $ Date d'adhésion & ' " ENGLISH_LOCALE ) Date of Accession + - , 'com/edeal/frontline/kpi/TimeGranularity . / DAY )Lcom/edeal/frontline/kpi/TimeGranularity; 1 2 c(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Lcom/edeal/frontline/kpi/TimeGranularity;)V 4 6 5 java/util/List 7 8 add (Ljava/lang/Object;)Z : Ct_DateEffet < Date d'effet > Effective Date @ Ct_DateSignature B Date de signature D Date of signature F Ct_DateFin H Date de fin J Date of end L com/edeal/frontline/kpi/RefAxis N Ct_TypeContrat P Type de Contrat R Contract Type K T U ((Ljava/lang/String;[Ljava/lang/String;)V W com/edeal/frontline/kpi/FobAxis Y Ct_Marque [ Marque ] Marque_ V _ ` :(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V b Ct_Statut d Statut f Status h EntCheNbID_ j Nombre de cheminées l Number of Cheminees n EntCocNbID_ p Nombre de cocottes r Number of Cocottes 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; { | } composeQuery ?(Ljava/util/Map;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;Lcom/edeal/frontline/kpi/ICalcAxis;)Ljava/lang/String; ? ? logger Lorg/apache/commons/logging/Log; ? ? ? &com/edeal/frontline/FrontlineException ? ? 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; ? ¥ ¦ ? 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 Ç ? È 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 Contrat_ addAxisJoin c(Ljava/lang/StringBuilder;Lcom/edeal/frontline/kpi/JoinHelper;Lcom/edeal/frontline/kpi/ICalcAxis;)V WHERE Ct_DateFin IS NULL 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; , í ? getUserCode 8 equals Ct_DateAdhesion! Ct_Statut# Ct_DateEffet% Ct_DateSignature' Ct_DateFin) Ct_TypeContrat+ Ct_Marque- EntCheNbID_/ EntCocNbID_ comma Z axis 4 6 2 LEFT OUTER JOIN Signataire_ ON Sg_Contrat = Ct_ID8 0 LEFT OUTER JOIN MvaSg_Tiers ON MvaColID = Sg_ID: . LEFT OUTER JOIN Enterprise ON EntID = MvaText getUnit 2(Lcom/edeal/frontline/FlLocale;)Ljava/lang/String; >@? com/edeal/frontline/FlLocaleAB getLocale ()Ljava/util/Locale; DEF locale Ljava/util/Locale; H;< JLK java/util/LocaleMF FRANCE J JPQF FRENCHS Nombre de ContratsU Number of Contrats flLocale Lcom/edeal/frontline/FlLocale; result getDescription [Y<] Decompte du nombre de contrats_ Contrats counting *(Ljava/lang/String;)Ljava/util/Collection; O(Ljava/lang/String;)Ljava/util/Collection<Lcom/edeal/frontline/kpi/CalcParam;>; arg0 SourceFile Contrat_CustomCountMethod.java ! / *· ± ! ?» Y· L+» Y½ Y² SY#SY² %SY(S² *· 0¹ 3 W+» Y9½ Y² SY;SY² %SY=S9² *· 0¹ 3 W+» Y?½ Y² SYASY² %SYCS?² *· 0¹ 3 W+» YE½ Y² SYGSY² %SYISE² *· 0¹ 3 W+» KYM½ Y² SYOSY² %SYQS· S¹ 3 W+» VYX½ Y² SYZSY² %SYZS\· ^¹ 3 W+» KYa½ Y² SYcSY² %SYeS· S¹ 3 W+» KYg½ Y² SYiSY² %SYkS· S¹ 3 W+» KYm½ Y² SYoSY² %SYqS· S¹ 3 W+° . % &