Edit C:\Users\Administrator\Desktop\galaxie\WEB-INF\classes\com\edeal\frontline\controller\actions\custom\ImprimerGiftCheque_MassAction.class
Êþº¾ 3Ç Kcom/edeal/frontline/controller/actions/custom/ImprimerGiftCheque_MassAction -com/edeal/frontline/controller/actions/Action logger Lorg/apache/commons/logging/Log; <clinit> ()V Code %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; LineNumberTable LocalVariableTable <init> this MLcom/edeal/frontline/controller/actions/custom/ImprimerGiftCheque_MassAction; execute r(Ljava/util/Map;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/String; Exceptions java/lang/Exception (com/edeal/frontline/navigation/FlRequest ! " *(Ljavax/servlet/http/HttpServletRequest;)V $ % & setSelectedIDs -(Lcom/edeal/frontline/navigation/FlRequest;)V ( ) * getSelectedIDs A(Lcom/edeal/frontline/navigation/FlRequest;)Ljava/util/ArrayList; , - . getContext !()Lcom/edeal/frontline/FlContext; 0 2 1 com/edeal/frontline/FlContext 3 4 getDataDictionary &()Lcom/edeal/frontline/DataDictionary; 6 8 7 java/util/ArrayList 9 : size ()I 6 < = > get (I)Ljava/lang/Object; @ java/lang/String B D *com/edeal/frontline/custom/GiftCheque_Bean C F G 4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V C I J K getObjectsBean #()Lcom/edeal/frontline/ObjectsBean; M O N com/edeal/frontline/ObjectsBean P Q getObjID ()Ljava/lang/String; S DocID U DocLngID W DocAttID Y [Ljava/lang/String; [ java/lang/StringBuilder ] DocObjID = ' Z _ ` (Ljava/lang/String;)V Z b c d append -(Ljava/lang/String;)Ljava/lang/StringBuilder; f ' Z h i Q toString k m l com/edeal/frontline/DocumentBean n o listSummary Z(Lcom/edeal/frontline/FlContext;[Ljava/lang/String;[[Ljava/lang/String;)Ljava/util/Vector; q s r java/util/Vector t u firstElement ()Ljava/lang/Object; w java/util/Hashtable v y = z &(Ljava/lang/Object;)Ljava/lang/Object; | "com/edeal/frontline/AttachmentBean { F { ? ? getAttFile ()[B ? UTF-8 ? ? ? ([BLjava/lang/String;)V ? &com/edeal/frontline/FrontlineException ? )not able to get document model for fusion ? ? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V ? !com/edeal/frontline/FailureReport ? ? FailureReport ? ? ? %javax/servlet/http/HttpServletRequest ? ? setAttribute '(Ljava/lang/String;Ljava/lang/Object;)V ? FrontlineException ? /errors/frontlineException.jsp ? ? com/edeal/frontline/Utils ¡ ¢ forward d(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)V ¤ ¦ ¥ "javax/print/DocFlavor$INPUT_STREAM § ¨ AUTOSENSE $Ljavax/print/DocFlavor$INPUT_STREAM; ª GiftCheque_.Printer.Name 0 ¬ ® getContextParameter &(Ljava/lang/String;)Ljava/lang/String; ° ± ² getPrintService .(Ljava/lang/String;)Ljavax/print/PrintService; ´ ¶ µ javax/print/PrintService · ¸ isDocFlavorSupported (Ljavax/print/DocFlavor;)Z ? º » ¼ getSession "()Ljavax/servlet/http/HttpSession; ¾ Bcom/edeal/frontline/fusion/parameters/impl/FusionParameterWordImpl ½ Á à  !com/edeal/frontline/fusion/Fusion Ä Å doFusion î(Ljavax/servlet/http/HttpSession;Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/edeal/frontline/fusion/parameters/FusionParameter;Lcom/edeal/frontline/helper/ListSummaryFilter;)Ljava/lang/String; Á Ç È É word2pdfNew 5(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)[B Ë java/io/ByteArrayInputStream Ê Í Î ([B)V Ð STACK TRACE Ò Ô Ó org/apache/commons/logging/Log Õ Ö error *(Ljava/lang/Object;Ljava/lang/Throwable;)V ´ Ø Ù Ú createPrintJob ()Ljavax/print/DocPrintJob; Ü )javax/print/attribute/HashDocAttributeSet Û ß 2javax/print/attribute/HashPrintRequestAttributeSet Þ C â ã Q getGchNumber å UNKNOWN ç é è (javax/print/attribute/standard/MediaName ê ë ISO_A4_WHITE *Ljavax/print/attribute/standard/MediaName; í ï î .javax/print/attribute/PrintRequestAttributeSet ð ñ add $(Ljavax/print/attribute/Attribute;)Z ó &javax/print/attribute/standard/JobName õ Impression Chèque_ ÷ ù ø java/util/Locale ú û FRENCH Ljava/util/Locale; ò ý þ '(Ljava/lang/String;Ljava/util/Locale;)V +javax/print/attribute/standard/DocumentName ÿ ý ï %javax/print/attribute/DocAttributeSet javax/print/SimpleDoc S(Ljava/lang/Object;Ljavax/print/DocFlavor;Ljavax/print/attribute/DocAttributeSet;)V javax/print/DocPrintJob print D(Ljavax/print/Doc;Ljavax/print/attribute/PrintRequestAttributeSet;)V *Impossible d'imprimer le chèque cadeau : Ch_ Te1 PR "com/edeal/frontline/DataDictionary getRefIdByCode J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; C ` setGchStatusID C"#$ setGchConfImpr (Z)V C&'( save '()Lcom/edeal/frontline/OperationResult;* 2Impossible de changer l'état du chèque cadeau : , failure. success0 0com/edeal/frontline/FieldNotInitializedException2 javax/print/PrintException4 )com/edeal/frontline/AccessDeniedException params Ljava/util/Map; request 'Ljavax/servlet/http/HttpServletRequest; response (Ljavax/servlet/http/HttpServletResponse; flRequest *Lcom/edeal/frontline/navigation/FlRequest; idChqSelectlist Ljava/util/ArrayList; context Lcom/edeal/frontline/FlContext; dico $Lcom/edeal/frontline/DataDictionary; model Ljava/lang/String; docid lngId idGch i I bis Ljava/io/ByteArrayInputStream; gch ,Lcom/edeal/frontline/custom/GiftCheque_Bean; docObjID fields query [[Ljava/lang/String; list Ljava/util/Vector; tab Ljava/util/Hashtable; attach $Lcom/edeal/frontline/AttachmentBean; tabByte [B e Ljava/lang/Exception; (Lcom/edeal/frontline/FrontlineException; report #Lcom/edeal/frontline/FailureReport; flavor Ljavax/print/DocFlavor; printerServiceName imprimante Ljavax/print/PrintService; res bytestab ex printJob Ljavax/print/DocPrintJob; dset 'Ljavax/print/attribute/DocAttributeSet; aset 0Ljavax/print/attribute/PrintRequestAttributeSet; numeroCheque 2Lcom/edeal/frontline/FieldNotInitializedException; doc Ljavax/print/Doc; Ljavax/print/PrintException; cheqimpStateID +Lcom/edeal/frontline/AccessDeniedException; LocalVariableTypeTable )Ljava/util/ArrayList<Ljava/lang/String;>; StackMapTablex java/util/Mapz &javax/servlet/http/HttpServletResponse| javax/print/DocFlavor~ javax/print/Doc Signature U(Lcom/edeal/frontline/navigation/FlRequest;)Ljava/util/ArrayList<Ljava/lang/String;>;? _massselect_map ??? getAttribute &(Ljava/lang/String;)Ljava/lang/Object;? data ?? ® getParameter 6 ??? extractMapFromJson '(Ljava/lang/String;)[Ljava/lang/String; ??? java/util/Arrays?? asList %([Ljava/lang/Object;)Ljava/util/List; 6? ? (Ljava/util/Collection;)V ? jsonData mapIDs ids? com/edeal/frontline/JSONUtils ? ?¢£¤ fromJSON 7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;¦ cannot parse the json data:[¨ ] json parser Lcom/edeal/frontline/JSONUtils; java/awt/print/PrinterException ¯±° javax/print/PrintServiceLookup²³ lookupPrintServices X(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/PrintService;µ Invalid print service name: ¬ _ ´¸¹ Q getName ?»¼½ equalsIgnoreCase (Ljava/lang/String;)Z pPrintServiceName psr imprimantes [Ljavax/print/PrintService;Á SourceFile "ImprimerGiftCheque_MassAction.java InnerClasses INPUT_STREAM ! ) ¸ ³ ± 2 / *· ± 1 û Y,· :*¶ #*¶ ':¶ +:¶ /::: : :Æ?¶ 5??6§o¶ ;À ?:Æ[A: A: : » CY· E:¶ H¶ L:Æ k½ ?YRSYTSYVS:½ XY½ ?Y» ZY\· ^¶ ae¶ a¶ gSS:¸ j:¶ pÀ v:V¶ xÀ ?: T¶ xÀ ?: » {Y · }:¶ ~:» ?Y?· ?:§ >:» ?Y?· ?:» ?Y· ?:,?» ?Y· ?¹ ? ,?¹ ? ,-?¸ ?¿² £:©¶ «:¸ ¯:¹ ³ ?HÆCÆ>,¹ ¹ » ½Y· ¿¸ À:¸ Æ:» ÊY· Ì: § :² Ϲ Ñ ¹ × :» ÛY· Ý:» ÞY· à::¶ á:§ :² Ϲ Ñ ä:² æ¹ ì W» òY» ZYô· ^¶ a¶ g² ö· ü¹ ì W» ÿY» ZYô· ^¶ a¶ g² ö·¹ W»Y ·:¹ § :² ¹ Ñ :¶:§ :A:¶¶!¶%W§ :² )¹ Ñ § +°?¶ 5¡ý?-°+° ò o?¡ ÍÔ×/ITW1iy| ????3 &