Sfoglia il codice sorgente

- storicizzati nuovi report

- fix ai log della creazione report
feature/pannello-pratiche
marcoalderighi 2 anni fa
parent
commit
c313b47918
  1. 393
      jasper/reports-2023/FL1_avviso_inizio_lavori.jrxml
  2. 393
      jasper/reports-2023/FL2_avviso_fine_lavori.jrxml
  3. 500
      jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml
  4. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/portos-bo-shared-service.jar
  5. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  6. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  7. 4
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/service/impl/ReportTaskManagerServiceImpl.java
  8. 20
      liferay-plugins-sdk-6.2/shared/portos-report-shared/src/it/tref/liferay/portos/report/shared/util/ReportUtil.java

393
jasper/reports-2023/FL1_avviso_inizio_lavori.jrxml

@ -0,0 +1,393 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.9487171000000059"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="356"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="collaudatore" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="titolareDigitale" class="java.lang.String"/>
<field name="direttoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="parziale" class="java.lang.Boolean"/>
<field name="parzialeNumero" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<field name="richiestaAttestazione" class="java.lang.Boolean"/>
<field name="dataPraticaString" class="java.lang.String"/>
<pageHeader>
<band height="109" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement x="0" y="17" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="67" width="269" height="25" uuid="a329da1c-ce69-4c4e-8461-34eb44195739">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["SEDE DI "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="285" y="17" width="270" height="25" uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[DIPARTIMENTO REGIONALE TECNICO]]></text>
</staticText>
<staticText>
<reportElement x="285" y="42" width="269" height="25" uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[UFFICIO DEL GENIO CIVILE]]></text>
</staticText>
<line>
<reportElement x="0" y="-75" width="555" height="1" uuid="4134836a-6121-4e04-94f5-b4df956806e0"/>
</line>
<rectangle>
<reportElement mode="Transparent" x="0" y="16" width="554" height="93" uuid="43161f21-9f25-415d-a5eb-44f0d8acf9aa"/>
</rectangle>
<staticText>
<reportElement x="9" y="0" width="211" height="16" uuid="b97584e9-6fea-45c9-9d5c-f886e3a5b382">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="12" isBold="false"/>
</textElement>
<text><![CDATA[AVVISO INIZIO LAVORI]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="521">
<staticText>
<reportElement x="0" y="32" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="56" y="32" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Zone Sismiche - D.P.R. n. 380/2001 e ss. mm. ii.]]></text>
</staticText>
<staticText>
<reportElement x="8" y="-15" width="48" height="10" uuid="cf3a9429-2047-45c9-980a-7ac93d430de0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="61" y="-15" width="100" height="10" uuid="e8e8a449-23ae-48da-aa8d-84423c088646">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="101" width="82" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="233" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{direttoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="131" width="82" height="15" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="202" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="233" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.LL.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="116" width="82" height="15" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="161" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="131" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="101" width="458" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="116" width="458" height="15" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="161" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="202" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="176" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="176" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="217" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="217" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="248" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{collaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="248" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="146" width="82" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="146" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="170" y="73" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="true"/>
</textElement>
<text><![CDATA[AVVISO DI INIZIO LAVORI]]></text>
</staticText>
<staticText>
<reportElement x="9" y="263" width="372" height="15" uuid="b15fa02b-5035-4b20-9e6a-e72131d79268">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="263" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="281" y="468" width="269" height="25" uuid="8822d5f2-6675-4305-b713-405fad7a2cb7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="281" y="494" width="269" height="25" uuid="ba47e88b-9538-4cb8-91b8-d5ff2178fdcf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Il Dirigente del Servizio o suo Delegato"]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="1" y="298" width="548" height="100" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[" In relazione all'istanza in oggetto, si rappresenta che i lavori strutturali di che trattasi sono stati iniziati " +
"in data " + $F{dataPraticaString} + " e che la relativa comunicazione è stata fatta " +
"attraverso il sistema informatico “Sismica” della Regione Siciliana. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del " +
"portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico " +
"SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
</band>
<band height="64">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

393
jasper/reports-2023/FL2_avviso_fine_lavori.jrxml

@ -0,0 +1,393 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.9487171000000059"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="331"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="collaudatore" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="titolareDigitale" class="java.lang.String"/>
<field name="direttoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="parziale" class="java.lang.Boolean"/>
<field name="parzialeNumero" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<field name="richiestaAttestazione" class="java.lang.Boolean"/>
<field name="dataPraticaString" class="java.lang.String"/>
<pageHeader>
<band height="109" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement x="0" y="17" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="67" width="269" height="25" uuid="a329da1c-ce69-4c4e-8461-34eb44195739">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["SEDE DI "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="285" y="17" width="270" height="25" uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[DIPARTIMENTO REGIONALE TECNICO]]></text>
</staticText>
<staticText>
<reportElement x="285" y="42" width="269" height="25" uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[UFFICIO DEL GENIO CIVILE]]></text>
</staticText>
<line>
<reportElement x="0" y="-75" width="555" height="1" uuid="4134836a-6121-4e04-94f5-b4df956806e0"/>
</line>
<rectangle>
<reportElement mode="Transparent" x="0" y="16" width="554" height="93" uuid="43161f21-9f25-415d-a5eb-44f0d8acf9aa"/>
</rectangle>
<staticText>
<reportElement x="9" y="0" width="211" height="16" uuid="b97584e9-6fea-45c9-9d5c-f886e3a5b382">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="12" isBold="false"/>
</textElement>
<text><![CDATA[AVVISO FINE LAVORI]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="565">
<staticText>
<reportElement x="0" y="32" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="56" y="32" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Zone Sismiche - D.P.R. n. 380/2001 e ss. mm. ii.]]></text>
</staticText>
<staticText>
<reportElement x="8" y="-15" width="48" height="10" uuid="cf3a9429-2047-45c9-980a-7ac93d430de0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="61" y="-15" width="100" height="10" uuid="e8e8a449-23ae-48da-aa8d-84423c088646">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="101" width="82" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="232" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{direttoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="131" width="82" height="15" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="202" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="232" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.LL.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="116" width="82" height="15" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="161" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="131" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="101" width="458" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="116" width="458" height="15" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="161" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="202" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="176" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="176" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="217" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="217" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="247" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{collaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="247" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="146" width="82" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="146" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="170" y="73" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="true"/>
</textElement>
<text><![CDATA[AVVISO DI FINE LAVORI]]></text>
</staticText>
<staticText>
<reportElement x="22" y="262" width="359" height="15" uuid="b15fa02b-5035-4b20-9e6a-e72131d79268">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="262" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="281" y="472" width="269" height="25" uuid="8822d5f2-6675-4305-b713-405fad7a2cb7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="281" y="498" width="269" height="25" uuid="ba47e88b-9538-4cb8-91b8-d5ff2178fdcf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Il Dirigente del Servizio o suo Delegato"]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="1" y="293" width="548" height="118" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[" In relazione all'istanza in oggetto, si rappresenta che i lavori strutturali di che trattasi sono stati ultimati " +
"in data " + $F{dataPraticaString} + " e che la relativa comunicazione è stata fatta " +
"attraverso il sistema informatico “Sismica” della Regione Siciliana. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del " +
"portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico " +
"SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
</band>
<band height="64">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

500
jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml

@ -0,0 +1,500 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.9487171000000059"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="720"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="collaudatore" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="titolareDigitale" class="java.lang.String"/>
<field name="direttoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="parziale" class="java.lang.Boolean"/>
<field name="parzialeNumero" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<field name="richiestaAttestazione" class="java.lang.Boolean"/>
<field name="dataPraticaString" class="java.lang.String"/>
<pageHeader>
<band height="109" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement x="0" y="17" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="67" width="269" height="25" uuid="a329da1c-ce69-4c4e-8461-34eb44195739">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["SEDE DI "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="285" y="17" width="270" height="25" uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[DIPARTIMENTO REGIONALE TECNICO]]></text>
</staticText>
<staticText>
<reportElement x="285" y="42" width="269" height="25" uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[UFFICIO DEL GENIO CIVILE]]></text>
</staticText>
<line>
<reportElement x="0" y="-75" width="555" height="1" uuid="4134836a-6121-4e04-94f5-b4df956806e0"/>
</line>
<rectangle>
<reportElement mode="Transparent" x="0" y="16" width="554" height="93" uuid="43161f21-9f25-415d-a5eb-44f0d8acf9aa"/>
</rectangle>
<staticText>
<reportElement x="9" y="0" width="211" height="16" uuid="b97584e9-6fea-45c9-9d5c-f886e3a5b382">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="12" isBold="false"/>
</textElement>
<text><![CDATA[AVVISO VIDIMAZIONE FINE LAVORI]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="563">
<staticText>
<reportElement x="0" y="32" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement x="56" y="32" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Zone Sismiche - D.P.R. n. 380/2001 e ss. mm. ii.]]></text>
</staticText>
<staticText>
<reportElement x="56" y="45" width="272" height="14" isRemoveLineWhenBlank="true" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[! $F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement>
<text><![CDATA[- Relazione fine lavori strutturali]]></text>
</staticText>
<staticText>
<reportElement x="8" y="-15" width="48" height="10" uuid="cf3a9429-2047-45c9-980a-7ac93d430de0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="61" y="-15" width="100" height="10" uuid="e8e8a449-23ae-48da-aa8d-84423c088646">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="119" width="82" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="250" width="168" height="15" uuid="d880d447-9438-4750-be22-4b0b5bef3e63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{direttoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="150" width="82" height="15" uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="220" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="250" width="115" height="15" uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.LL.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="135" width="82" height="15" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="180" width="458" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="150" width="458" height="15" uuid="64e8a0c4-3120-4359-9419-0c31feb752ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="119" width="458" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="135" width="458" height="15" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="180" width="82" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="220" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="195" width="458" height="15" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="195" width="82" height="15" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="235" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="235" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="265" width="168" height="15" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{collaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="265" width="115" height="15" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{collaudatore} ) && $F{collaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="165" width="82" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="165" width="458" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="0" y="303" width="554" height="122" isRemoveLineWhenBlank="true" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623">
<printWhenExpression><![CDATA[! $F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[" In relazione all'istanza in oggetto, si comunica che la relazione di fine lavori strutturali relativa al progetto di che trattasi è stata acquisita dal sistema informatico “Sismica” della regione Siciliana. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana."]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="170" y="88" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[! $F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="true"/>
</textElement>
<text><![CDATA[AVVISO DI VIDIMAZIONE]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="280" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="56" y="45" width="483" height="14" isRemoveLineWhenBlank="true" uuid="b1c49ef5-3654-4353-9e9d-082658d95da4">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement>
<text><![CDATA[- Relazione a strutture ultimate, art. 65 D.P.R. n. 380/2001]]></text>
</staticText>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="56" y="59" width="483" height="16" isRemoveLineWhenBlank="true" uuid="c7e2eb73-9e47-44b2-aa3a-92f1fa99acb7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement>
<text><![CDATA[- Dichiarazione di regolare esecuzione, art. 67, commi 8-bis e 8-ter]]></text>
</staticText>
<staticText>
<reportElement x="150" y="88" width="287" height="16" isRemoveLineWhenBlank="true" uuid="e07da770-e27a-4d5e-a3be-e8631aaea1c2">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="true"/>
</textElement>
<text><![CDATA[ATTESTAZIONE DI DEPOSITO FINE LAVORI]]></text>
</staticText>
<componentElement>
<reportElement stretchType="RelativeToTallestObject" x="0" y="466" width="539" height="30" isRemoveLineWhenBlank="true" uuid="1433a1bd-a6fa-450e-9f93-c9eac4a9abb0">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
<datasetRun subDataset="dataset1" uuid="e26d24e0-cd56-499e-89bf-5e962461ddad">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="3" width="519" height="14" uuid="37ebe140-796a-4b56-8891-c0bfbe124731">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="75cfc6de-9d49-4b20-ab57-303c730b67c3">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</ellipse>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="7fef2560-fa53-4b28-8150-81256faa1884">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="0" y="303" width="548" height="122" isRemoveLineWhenBlank="true" uuid="4bd713cd-d736-4511-96f7-60c6ac47d559">
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA[" Vista la richiesta di deposito, trasmessa in data " + $F{dataPraticaString} + ", relativa al progetto di che " +
"trattasi, si comunica che la relazione a strutture ultimate/dichiarazione di regolare esecuzione è " +
"stata acquisita dal sistema informatico “Sismica” della Regione Siciliana. \n" +
" La stessa è da intendersi depositata ai sensi dell’art. 65 del DPR 380/2001 e ss.mm. e ii. " +
"per le opere disciplinate dal “Capo II - Disciplina delle opere di conglomerato cementizio " +
"armato, normale e precompresso ed a struttura metallica” e ai sensi dell’art. 67, commi 8-bis e " +
"8-ter, nel caso di dichiarazione di regolare esecuzione. \n" +
" Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del " +
"portale SISMICA della Regione Siciliana. \n" +
" Il presente documento viene generato automaticamente dal sistema informatico " +
"SISMICA della Regione Siciliana. "]]></textFieldExpression>
</textField>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="1" y="450" width="548" height="16" isRemoveLineWhenBlank="true" uuid="4f7d7917-70d6-434c-a6a8-7df9277a6d19">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all'istanza:]]></text>
</staticText>
<staticText>
<reportElement key="" x="109" y="280" width="272" height="15" uuid="2b364a08-ef1e-44b2-8250-713b1c22f9c3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true" isStrikeThrough="false"/>
</textElement>
<text><![CDATA[e .p.c. : AI SUE/SUAP del Comune di ]]></text>
</staticText>
<textField>
<reportElement x="285" y="496" width="269" height="25" uuid="0c3cb209-1b7e-4f81-b047-b0aeb47b7f47">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Ufficio del Genio Civile"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="284" y="522" width="269" height="25" uuid="1e4609f0-26bb-42ca-8edf-38df96b812c3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/>
</textElement>
<textFieldExpression><![CDATA["Il Dirigente del Servizio o suo Delegato"]]></textFieldExpression>
</textField>
</band>
<band height="64">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

BIN
liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/portos-bo-shared-service.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/portos-report-shared.jar

File binario non mostrato.

4
liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/service/impl/ReportTaskManagerServiceImpl.java

@ -127,6 +127,8 @@ public class ReportTaskManagerServiceImpl extends ReportTaskManagerServiceBaseIm
baos); baos);
rawReports.add(baos.toByteArray()); rawReports.add(baos.toByteArray());
} }
} catch (Exception e){
_log.error(e,e);
} finally { } finally {
StreamUtil.cleanUp(templateInputStream); StreamUtil.cleanUp(templateInputStream);
} }
@ -156,7 +158,7 @@ public class ReportTaskManagerServiceImpl extends ReportTaskManagerServiceBaseIm
fileEntryIds = ArrayUtil.append(fileEntryIds, fileEntry.getFileEntryId()); fileEntryIds = ArrayUtil.append(fileEntryIds, fileEntry.getFileEntryId());
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); _log.error(e,e);
} }
return fileEntryIds; return fileEntryIds;
} }

20
liferay-plugins-sdk-6.2/shared/portos-report-shared/src/it/tref/liferay/portos/report/shared/util/ReportUtil.java

@ -17,11 +17,15 @@ import java.util.concurrent.TimeUnit;
import com.liferay.portal.kernel.json.JSONArray; import com.liferay.portal.kernel.json.JSONArray;
import com.liferay.portal.kernel.json.JSONFactoryUtil; import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.json.JSONObject; import com.liferay.portal.kernel.json.JSONObject;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.messaging.Message; import com.liferay.portal.kernel.messaging.Message;
import com.liferay.portal.kernel.messaging.MessageBusUtil; import com.liferay.portal.kernel.messaging.MessageBusUtil;
public class ReportUtil { public class ReportUtil {
private static final Log _log = LogFactoryUtil.getLog(ReportUtil.class);
/* /*
* Considerazioni per report generati con <i>modalità asincrona</i>. Il risultato finale sarà inviato tramite * Considerazioni per report generati con <i>modalità asincrona</i>. Il risultato finale sarà inviato tramite
* message bus su una destinazione passata in input. La chiave di legame tra l'ack iniziale e il messaggio di esito * message bus su una destinazione passata in input. La chiave di legame tra l'ack iniziale e il messaggio di esito
@ -36,6 +40,7 @@ public class ReportUtil {
public static ReportResultDto generateReport(long companyId, long userId, ReportDto reportDto, Object dataSource) public static ReportResultDto generateReport(long companyId, long userId, ReportDto reportDto, Object dataSource)
throws ReportGenerationException { throws ReportGenerationException {
try { try {
Message message = new Message(); Message message = new Message();
setMessage(message, companyId, userId, ReportProcessMode.SYNC, Collections.singletonList(reportDto), setMessage(message, companyId, userId, ReportProcessMode.SYNC, Collections.singletonList(reportDto),
@ -43,6 +48,9 @@ public class ReportUtil {
String json = (String) MessageBusUtil.sendSynchronousMessage(ReportDestinationNames.SYNC, message, 1); String json = (String) MessageBusUtil.sendSynchronousMessage(ReportDestinationNames.SYNC, message, 1);
return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class); return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class);
} catch (Exception e) { } catch (Exception e) {
if(_log.isDebugEnabled()){
_log.debug(e,e);
}
throw new ReportGenerationException(e); throw new ReportGenerationException(e);
} }
} }
@ -56,6 +64,9 @@ public class ReportUtil {
String json = (String) MessageBusUtil.sendSynchronousMessage(ReportDestinationNames.SYNC, message, 1); String json = (String) MessageBusUtil.sendSynchronousMessage(ReportDestinationNames.SYNC, message, 1);
return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class); return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class);
} catch (Exception e) { } catch (Exception e) {
if(_log.isDebugEnabled()){
_log.debug(e,e);
}
throw new ReportGenerationException(e); throw new ReportGenerationException(e);
} }
} }
@ -71,6 +82,9 @@ public class ReportUtil {
TimeUnit.SECONDS.toMillis(60)); TimeUnit.SECONDS.toMillis(60));
return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class); return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class);
} catch (Exception e) { } catch (Exception e) {
if(_log.isDebugEnabled()){
_log.debug(e,e);
}
throw new ReportGenerationException(e); throw new ReportGenerationException(e);
} }
} }
@ -86,6 +100,9 @@ public class ReportUtil {
TimeUnit.SECONDS.toMillis(60)); TimeUnit.SECONDS.toMillis(60));
return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class); return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class);
} catch (Exception e) { } catch (Exception e) {
if(_log.isDebugEnabled()){
_log.debug(e,e);
}
throw new ReportGenerationException(e); throw new ReportGenerationException(e);
} }
} }
@ -101,6 +118,9 @@ public class ReportUtil {
message, 1); message, 1);
return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class); return JSONFactoryUtil.looseDeserialize(json, ReportResultDto.class);
} catch (Exception e) { } catch (Exception e) {
if(_log.isDebugEnabled()){
_log.debug(e,e);
}
throw new ReportGenerationException(e); throw new ReportGenerationException(e);
} }
} }

Caricamento…
Annulla
Salva