3Kcom/edeal/frontline/controller/actions/custom/ImprimerGiftCheque_MassAction-com/edeal/frontline/controller/actions/Actionlogger Lorg/apache/commons/logging/Log;()VCode  %org/apache/commons/logging/LogFactory getLog3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;  LineNumberTableLocalVariableTable  thisMLcom/edeal/frontline/controller/actions/custom/ImprimerGiftCheque_MassAction;executer(Ljava/util/Map;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/String; Exceptionsjava/lang/Exception(com/edeal/frontline/navigation/FlRequest ! "*(Ljavax/servlet/http/HttpServletRequest;)V $ %&setSelectedIDs-(Lcom/edeal/frontline/navigation/FlRequest;)V ( )*getSelectedIDsA(Lcom/edeal/frontline/navigation/FlRequest;)Ljava/util/ArrayList; , -. getContext!()Lcom/edeal/frontline/FlContext; 021com/edeal/frontline/FlContext 34getDataDictionary&()Lcom/edeal/frontline/DataDictionary; 687java/util/ArrayList 9:size()I 6< =>get(I)Ljava/lang/Object;@java/lang/StringBD*com/edeal/frontline/custom/GiftCheque_Bean CF G4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V CI JKgetObjectsBean#()Lcom/edeal/frontline/ObjectsBean; MONcom/edeal/frontline/ObjectsBean PQgetObjID()Ljava/lang/String;SDocIDUDocLngIDWDocAttIDY[Ljava/lang/String;[java/lang/StringBuilder] DocObjID = ' Z_ `(Ljava/lang/String;)V Zb cdappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;f' Zh iQtoString kml com/edeal/frontline/DocumentBean no listSummaryZ(Lcom/edeal/frontline/FlContext;[Ljava/lang/String;[[Ljava/lang/String;)Ljava/util/Vector; qsrjava/util/Vector tu firstElement()Ljava/lang/Object;wjava/util/Hashtable vy =z&(Ljava/lang/Object;)Ljava/lang/Object;|"com/edeal/frontline/AttachmentBean {F {  getAttFile()[BUTF-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;)VFrontlineException/errors/frontlineException.jsp com/edeal/frontline/Utils forwardd(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;  word2pdfNew5(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)[Bjava/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 getGchNumberUNKNOWN (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/JobNameImpression Chèque_ java/util/Locale FRENCHLjava/util/Locale; '(Ljava/lang/String;Ljava/util/Locale;)V+javax/print/attribute/standard/DocumentName %javax/print/attribute/DocAttributeSetjavax/print/SimpleDoc   S(Ljava/lang/Object;Ljavax/print/DocFlavor;Ljavax/print/attribute/DocAttributeSet;)V    javax/print/DocPrintJob printD(Ljavax/print/Doc;Ljavax/print/attribute/PrintRequestAttributeSet;)V*Impossible d'imprimer le chèque cadeau : Ch_Te1PR "com/edeal/frontline/DataDictionary getRefIdByCodeJ(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.success00com/edeal/frontline/FieldNotInitializedException2javax/print/PrintException4)com/edeal/frontline/AccessDeniedExceptionparamsLjava/util/Map;request'Ljavax/servlet/http/HttpServletRequest;response(Ljavax/servlet/http/HttpServletResponse; flRequest*Lcom/edeal/frontline/navigation/FlRequest;idChqSelectlistLjava/util/ArrayList;contextLcom/edeal/frontline/FlContext;dico$Lcom/edeal/frontline/DataDictionary;modelLjava/lang/String;docidlngIdidGchiIbisLjava/io/ByteArrayInputStream;gch,Lcom/edeal/frontline/custom/GiftCheque_Bean;docObjIDfieldsquery[[Ljava/lang/String;listLjava/util/Vector;tabLjava/util/Hashtable;attach$Lcom/edeal/frontline/AttachmentBean;tabByte[BeLjava/lang/Exception;(Lcom/edeal/frontline/FrontlineException;report#Lcom/edeal/frontline/FailureReport;flavorLjavax/print/DocFlavor;printerServiceName imprimanteLjavax/print/PrintService;resbytestabexprintJobLjavax/print/DocPrintJob;dset'Ljavax/print/attribute/DocAttributeSet;aset0Ljavax/print/attribute/PrintRequestAttributeSet; numeroCheque2Lcom/edeal/frontline/FieldNotInitializedException;docLjavax/print/Doc;Ljavax/print/PrintException;cheqimpStateID+Lcom/edeal/frontline/AccessDeniedException;LocalVariableTypeTable)Ljava/util/ArrayList; StackMapTablex java/util/Mapz&javax/servlet/http/HttpServletResponse|javax/print/DocFlavor~javax/print/Doc SignatureU(Lcom/edeal/frontline/navigation/FlRequest;)Ljava/util/ArrayList;_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 jsonDatamapIDsidscom/edeal/frontline/JSONUtils   fromJSON7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;cannot parse the json data:[]jsonparserLcom/edeal/frontline/JSONUtils;java/awt/print/PrinterException javax/print/PrintServiceLookup lookupPrintServicesX(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/PrintService;Invalid print service name: _  QgetName ? equalsIgnoreCase(Ljava/lang/String;)ZpPrintServiceNamepsr imprimantesjavax/print/PrintService; SourceFile"ImprimerGiftCheque_MassAction.java InnerClasses INPUT_STREAM! )  2 /*1   ûY, :*#*':+:/::: : : 56 o ;?:  [A: A: : CY E:HL:k?YRSYTSYVS:XY?YZY\^aeagSS:j:pv:Vx?: Tx?: {Y }:~:?Y:>:Y:Y:,Y,,-:::HC>,  Y::Y: ::Y:Y:::::WYZY^agWYZY^agWY : ::: :A:!%W:)+  5-+ o/ITW1iy|3&I5 6789&:);,</=2??@EAQBVCZD^EaFnHxI}JKLNOPRTUV WX!Y0Z:[A\D`IcRdYgojlmnorstuwxyz|}~:ITYfiy~@)56789: ;<=>?@&AB)CD,ED /FD 2GD ByHI aMJK n@LMx6NDSOY-PQ"RSTUVW XY 9Z[,\!#]^Ie_`R\aDYUbcdD eY f[ghijklmDfnI^opY Zqi>rD~Z\ Zst =uv,E wy60????C?#wy60????C?{:\wy60????C?{{? 'wy60????C?{{? ?/mwy60????C?{{? ?}1wy60????C?{{? ?}?U3wy60????C?{{? wy60???? )* ? +6  ;<%& 6+M6YN,*,:6YN+-" -5466;<.D&>Yv -?6 ;MYN-+XXM$NZY^+aag-, 94;;D9Y  Z[v?X  "tLM,YZY^*ag,Y:662N-*-L +YZY^*ag+2  &9FHKUYr*tDrcl9bcv4& ?? {