Edit C:\Windows\install\galaxie_p02_26-09\WEB-INF\classes\com\edeal\frontline\controller\actions\custom\ImprimerGiftChequeAction.class
Êþº¾ 3? Fcom/edeal/frontline/controller/actions/custom/ImprimerGiftChequeAction -com/edeal/frontline/controller/actions/Action logger Lorg/apache/commons/logging/Log; <clinit> ()V Code Fcom/edeal/frontline/controller/actions/custom/ValiderOpportunityAction %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; LineNumberTable LocalVariableTable <init> this HLcom/edeal/frontline/controller/actions/custom/ImprimerGiftChequeAction; 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 & ' ( getContext !()Lcom/edeal/frontline/FlContext; * , + com/edeal/frontline/FlContext - . getDataDictionary &()Lcom/edeal/frontline/DataDictionary; 0 id 2 4 3 %javax/servlet/http/HttpServletRequest 5 6 getParameter &(Ljava/lang/String;)Ljava/lang/String; 8 : *com/edeal/frontline/custom/GiftCheque_Bean 9 < = 4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V 9 ? @ A getObjectsBean #()Lcom/edeal/frontline/ObjectsBean; C E D com/edeal/frontline/ObjectsBean F G getObjID ()Ljava/lang/String; I java/lang/String K DocID M DocLngID O DocAttID Q [Ljava/lang/String; S java/lang/StringBuilder U DocObjID = ' R W X (Ljava/lang/String;)V R Z [ \ append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ^ ' R ` a G toString c e d com/edeal/frontline/DocumentBean f g listSummary Z(Lcom/edeal/frontline/FlContext;[Ljava/lang/String;[[Ljava/lang/String;)Ljava/util/Vector; i k j java/util/Vector l m firstElement ()Ljava/lang/Object; o java/util/Hashtable n q r s get &(Ljava/lang/Object;)Ljava/lang/Object; u "com/edeal/frontline/AttachmentBean t < t x y z getAttFile ()[B | UTF-8 H ~ ([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 2 ? ? ? 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 * £ ¤ 6 getContextParameter ¦ § ¨ getPrintService .(Ljava/lang/String;)Ljavax/print/PrintService; ª ¬ « javax/print/PrintService ® isDocFlavorSupported (Ljavax/print/DocFlavor;)Z 2 ° ± ² 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 Ô 9 Ø Ù G 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; 9 X setGchStatusID 9 setGchConfImpr (Z)V 9 save '()Lcom/edeal/frontline/OperationResult; ?! success# 0com/edeal/frontline/FieldNotInitializedException% javax/print/PrintException params Ljava/util/Map; request 'Ljavax/servlet/http/HttpServletRequest; response (Ljavax/servlet/http/HttpServletResponse; flRequest *Lcom/edeal/frontline/navigation/FlRequest; context Lcom/edeal/frontline/FlContext; dico $Lcom/edeal/frontline/DataDictionary; idGch Ljava/lang/String; docid lngId model 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 StackMapTableb java/util/Mapd &javax/servlet/http/HttpServletResponsef javax/print/DocFlavorh javax/print/Docj java/awt/print/PrinterException lnm javax/print/PrintServiceLookupop lookupPrintServices X(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/PrintService;r Invalid print service name: i W ªuv G getName Hxyz equalsIgnoreCase (Ljava/lang/String;)Z pPrintServiceName psr imprimantes [Ljavax/print/PrintService;~ SourceFile ImprimerGiftChequeAction.java InnerClasses INPUT_STREAM ! ) ¸ ³ ± 0 3 *· ± 2 5 û l» Y,· ":¶ %:¶ ):,/¹ 1 :7:7: : :» 9Y· ;:¶ >¶ B: Æ k½ HYJSYLSYNS:½ PY½ HY» RYT· V ¶ Y]¶ Y¶ _SS:¸ b:¶ hÀ n:N¶ pÀ H:L¶ pÀ H: » tY· v:¶ w:» HY{· }: § >:» ?Y?· ?:» ?Y· ?:,?» ?Y· ?¹ ? ,?¹ ? ,-?¸ ?¿² ?: ¶ ¢:¸ ¥:¹ © ?.Æ),¹ ¯ » ³Y· µ¸ ¶:¸ ¼:» ÀY· Â:§ :² Ź Ç ¹ Í :» ÑY· Ó:» ÔY· Ö::¶ ×:§ :² Ź Ç Ú:² ܹ â W» èY» RYê· V¶ Y¶ _² ì· ò¹ â W» õY» RYê· V¶ Y¶ _² ì· ÷¹ ø W» ûY· ý:¹ § :² ¹ Ç : ¶:§ :7:¶¶¶W/¶ ° Á Õ Ø 9hk ??¡"!$3CF ò <