Sfoglia il codice sorgente

Pratiche di tipo C e report nuovo sorteggio

master 20.06
Salvatore La Manna 4 anni fa
parent
commit
d320b11b58
  1. 349
      jasper/Modello_A.jrxml
  2. 427
      jasper/Modello_B.jrxml
  3. 530
      jasper/Modello_B2.jrxml
  4. 383
      jasper/Modello_C.jrxml
  5. 410
      jasper/Modello_S.jrxml
  6. 77
      jasper/Sorteggio.vm
  7. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-portlet.xml
  8. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  9. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  10. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  11. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  12. 151
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java
  13. 183
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/WorkflowUtil.java
  14. 56
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/scheduler/SchedulerWorkflow.java
  15. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java
  16. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/PortosAdministrationPortlet.java
  17. 68
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/bean/ReportAvvisoBean.java
  18. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java
  19. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneLocalServiceImpl.java
  20. 64
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ControlloPraticaLocalServiceImpl.java
  21. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DelegaLocalServiceImpl.java
  22. 21
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  23. 538
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/SoggettoLocalServiceImpl.java
  24. 502
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/util/SorteggioPraticaUtil.java
  25. 0
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/resource/asseverazioni/committente.html
  26. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  27. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/advanced_search.jsp
  28. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/advanced_search.jsp
  29. 35
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/sorteggio/view.jsp
  30. 6
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/content/Language.properties
  31. 9
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java
  32. 18
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/edit_modal_fascicolo.jsp
  33. 4
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/common/save_actions.jspf
  34. 24
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp
  35. 15
      liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/tref/liferay/portos/bo/shared/util/DocumentiPraticaUtil.java
  36. 300
      template/doc/Sorteggio.jrxml
  37. 128
      template/doc/Sorteggio_BO.jrxml
  38. 388
      template/doc/accettata_integrazione.jrxml
  39. 15
      template/doc/allegato_pagamento.vm
  40. 363
      template/doc/annullamento.jrxml
  41. 14
      template/doc/annullamento_istanza.vm
  42. 15
      template/doc/asseverazione.vm
  43. 601
      template/doc/autorizzazione.jrxml
  44. 490
      template/doc/autorizzazione_negata.jrxml
  45. 384
      template/doc/avvio_procedimento.jrxml
  46. 391
      template/doc/cambio_istruttore.jrxml
  47. 392
      template/doc/conformita.jrxml
  48. 15
      template/doc/delega_geologo.vm
  49. 246
      template/doc/pratica.vm
  50. 383
      template/doc/richiesta_integrazione_portos2.jrxml
  51. 411
      template/doc/vidimazione.jrxml
  52. 397
      template/doc/vidimazione_cl.jrxml
  53. 398
      template/doc/vidimazione_fl.jrxml
  54. 416
      template/doc/vidimazione_var_sog.jrxml
  55. 444
      template/doc/visualizza_collaudo.jrxml
  56. 368
      template/doc/visualizza_fascicolo.jrxml
  57. 487
      template/doc/visualizza_fine_lavori.jrxml

349
jasper/Modello_A.jrxml

@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 --> <!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello_A" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71"> <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="Presa in carico A" 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.3636363636363653"/> <property name="ireport.zoom" value="1.3310000000000004"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="1180"/> <property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/> <subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="4b1c6a6c-b7f8-4969-b59b-6adf90795cd8">
<field name="codiceAllegato" class="java.lang.String"/> <field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/> <field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/> <field name="sha256Allegato" class="java.lang.String"/>
@ -15,9 +14,13 @@
<field name="allegati" class="java.util.List"/> <field name="allegati" class="java.util.List"/>
<field name="codiceUnivoco" class="java.lang.String"/> <field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/> <field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/> <field name="comune" class="java.lang.String">
<field name="dataAvviso" class="java.util.Date"/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
<field name="dirigente" class="java.lang.String"> </field>
<field name="dataAvviso" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="dataPratica" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="lavoriDi" class="java.lang.String"/> <field name="lavoriDi" class="java.lang.String"/>
@ -25,17 +28,15 @@
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="numeroProtocollo" class="java.lang.String"/> <field name="numeroProtocollo" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/> <field name="sedeGenioCivile" class="java.lang.String"/>
<field name="titolareDigitale" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/> <field name="ubicazione" class="java.lang.String"/>
<group name="Dettaglio2"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader> <pageHeader>
<band height="119" splitType="Stretch"> <band height="122" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame> <frame>
<reportElement x="0" y="12" width="550" height="107" uuid="2ba1d618-2fc5-4462-a206-946fe6a1ed8e"> <reportElement x="0" y="12" width="550" height="96" uuid="d783c1dd-6e94-480d-add7-a7870e6305e5">
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -45,14 +46,14 @@
<pen lineWidth="1.0"/> <pen lineWidth="1.0"/>
</box> </box>
<image> <image>
<reportElement x="5" y="5" width="224" height="68" uuid="32c7b82c-7e0f-4bb8-b3c2-6e48152da99f"> <reportElement x="5" y="5" width="224" height="68" uuid="a734e88f-f3f5-48b7-bc72-c9f1fc71bdc4">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> <imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image> </image>
<staticText> <staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="6f1212d1-f7ca-4244-a312-ad62be259176"> <reportElement x="275" y="5" width="270" height="25" uuid="11ba33d2-6085-4682-af10-0565e4343ae9">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -63,7 +64,7 @@
<text><![CDATA[Dipartimento Regionale Tecnico]]></text> <text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="782963fb-8f7d-44f8-b9da-1897bf3f28ff"> <reportElement x="275" y="30" width="270" height="25" uuid="024b8d99-fab6-430a-a36a-9e1044bdebfd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -75,7 +76,7 @@
<text><![CDATA[Ufficio del Genio Civile]]></text> <text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText> </staticText>
<textField> <textField>
<reportElement x="275" y="55" width="270" height="25" uuid="67ec1c12-068c-49ef-bb62-af5127b37797"> <reportElement x="275" y="55" width="270" height="25" uuid="2d6bc04f-7216-4f80-a572-267bd1cc69f5">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -87,7 +88,7 @@
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression> <textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="60" y="84" width="100" height="12" uuid="e9539ea7-20a4-41ac-af8b-bd9316a61a82"> <reportElement x="60" y="80" width="100" height="12" uuid="edaaf892-abf8-4c99-8315-2f0c896541a6">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
@ -97,7 +98,7 @@
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression> <textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="5" y="84" width="53" height="12" uuid="b799d48a-748a-41ec-994d-4b0d30275824"> <reportElement x="5" y="80" width="53" height="12" uuid="5ae412fc-4a5c-4591-9a49-d4ec8fa91c66">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
@ -109,25 +110,28 @@
</staticText> </staticText>
</frame> </frame>
<staticText> <staticText>
<reportElement x="0" y="0" width="550" height="12" uuid="bbb26edd-cbaa-48b2-a87e-88218031ddef"> <reportElement x="0" y="0" width="550" height="12" uuid="b8776206-ac57-4373-b1c9-204087b65a57">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement markup="html">
<font fontName="DejaVu Sans" size="8"/> <font fontName="DejaVu Sans" size="8"/>
</textElement> </textElement>
<text><![CDATA[Mod. A – attestato di presa in carico - interventi rilevanti, rientranti tra quelli di cui al DDG 189/2019, Allegato A), lettera A)]]></text> <text><![CDATA[<b>Mod. A</b> – avviso di presa in carico - interventi rilevanti, rientranti tra quelli di cui al DDG 344/2020, Allegato A), lettera A)]]></text>
</staticText> </staticText>
</band> </band>
</pageHeader> </pageHeader>
<detail> <detail>
<band height="187"> <band height="108">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText> <staticText>
<reportElement x="1" y="12" width="56" height="13" uuid="9f68e9a8-cba6-4f14-bfd8-00b5bb45ebcb"> <reportElement x="0" y="0" width="53" height="14" uuid="fb872576-43df-4483-8b75-8fd76aa193bb">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans" isBold="true"/>
@ -135,40 +139,47 @@
<text><![CDATA[Oggetto:]]></text> <text><![CDATA[Oggetto:]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="9" y="50" width="82" height="14" uuid="1475b832-260b-41ac-8d78-16ea429dc32a"> <reportElement x="53" y="0" width="497" height="61" uuid="8f16791f-44c9-4c4c-bf08-5fa67078ea61">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[Comune:]]></text> <text><![CDATA[<b>richiesta autorizzazione, ai sensi degli artt.65, 93 e 94 del D.P.R. 380/2001</b>, come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – artt. 17-18 L.64/74), con le modifiche di cui all’art. 94 bis, come introdotto dal DL 32/2019, convertito in legge <b>55/2019, modificato dalla Legge 156/2019 - NTC di riferimento: DM 17 Gennaio 2018 - D.D.G. n. 344/2020 Allegato A) lett. A.</b>]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="9" y="78" width="82" height="14" uuid="d89e57d5-254d-4c8a-adfd-2ad26336a66b"> <reportElement x="0" y="75" width="550" height="19" uuid="ff0b6599-21ce-45ae-b768-f8847e9977d5">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Center">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans" size="14" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Lavori di:]]></text> <text><![CDATA[AVVISO DI PRESA IN CARICO]]></text>
</staticText> </staticText>
</band>
<band height="28">
<staticText> <staticText>
<reportElement key="" x="435" y="141" width="115" height="14" uuid="76345dc3-d457-41cd-b72d-d26059883003"> <reportElement positionType="Float" x="0" y="0" width="82" height="14" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Al Committente]]></text> <text><![CDATA[Comune:]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="9" y="64" width="82" height="14" uuid="b8b13fd5-8c23-4baf-b236-4e5d6468eaa8"> <reportElement x="0" y="14" width="82" height="14" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -176,49 +187,83 @@
<text><![CDATA[Committente:]]></text> <text><![CDATA[Committente:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="106" width="458" height="14" uuid="f3947e1c-706e-4445-bf3e-b8e9707b8b28"> <reportElement x="82" y="0" width="468" height="14" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="78" width="458" height="14" uuid="81865073-a9c6-4850-b090-930d6afd2846"> <reportElement x="82" y="14" width="468" height="14" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> </band>
<reportElement x="91" y="50" width="458" height="14" uuid="b4415a3f-2764-411d-9fa8-e97e8dfd7e2e"> <band height="14">
<staticText>
<reportElement x="0" y="0" width="82" height="14" uuid="73851677-5e12-47f6-87f8-4116846db634">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="82" y="0" width="468" height="14" uuid="1f7c4107-bd69-4ad4-8244-0aedd8e7c564">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField> </textField>
</band>
<band height="241">
<staticText>
<reportElement key="" x="266" y="56" width="115" height="14" uuid="34c76220-8ce3-4108-bece-7462800dfb81">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="64" width="458" height="14" uuid="7d36ccf7-fd5b-4e38-993f-b3ff86672d60"> <reportElement x="82" y="14" width="468" height="14" uuid="9a11f165-1666-4c5a-8320-a2d079b5eead">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="9" y="106" width="82" height="14" uuid="e31bb23e-55b0-4098-96a9-6ae30c3d5623"> <reportElement x="0" y="14" width="82" height="14" uuid="9ebd5820-10fe-4e69-a741-a8558ddea45d">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -226,9 +271,21 @@
<text><![CDATA[Progetto n.]]></text> <text><![CDATA[Progetto n.]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="120" width="458" height="14" uuid="810ef857-47d5-46d9-8d66-5594a07eedfe"> <reportElement x="381" y="56" width="168" height="14" uuid="42df5c98-8327-4567-bd5b-bc111faa08f0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="82" y="42" width="468" height="14" uuid="1a5b0e92-e43a-4bdc-aa90-20c3c8dab2aa">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
@ -236,9 +293,10 @@
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="9" y="120" width="82" height="14" uuid="61a3bf9c-13ed-4d5f-8e79-e16b50818504"> <reportElement x="0" y="42" width="82" height="14" uuid="09f9a400-4f37-4a5e-8c23-ee6017aa1139">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -246,20 +304,55 @@
<text><![CDATA[Protocollo n.]]></text> <text><![CDATA[Protocollo n.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement key="" x="435" y="155" width="115" height="14" uuid="4f607d8d-2377-4807-81f8-d5e7ca013e57"> <reportElement x="0" y="28" width="82" height="14" isRemoveLineWhenBlank="true" uuid="e464dddc-3f0a-46f1-b47a-cb7354695a0f">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="28" width="468" height="14" isRemoveLineWhenBlank="true" uuid="f2e50719-bb44-4349-9ded-fd2aba53c8bf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="381" y="70" width="168" height="14" uuid="bf466b70-b9cd-40f2-abfc-ed28de769266">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="70" width="115" height="14" uuid="fe5091eb-741e-4e5f-8a0e-497f01583675">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[c/o il suo delegato]]></text> <text><![CDATA[c/o il suo delegato]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="9" y="92" width="82" height="14" uuid="f79b0de0-ff27-4e71-bc97-f77b7ba0cc5f"> <reportElement x="0" y="0" width="82" height="14" uuid="0a75889c-c9ef-48e1-b20c-9ee133e8948a">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -267,60 +360,102 @@
<text><![CDATA[Ubicazione:]]></text> <text><![CDATA[Ubicazione:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="91" y="92" width="458" height="14" uuid="76b10fd2-33f4-4ccb-95c0-7757285f0665"> <reportElement x="82" y="0" width="468" height="14" uuid="6ea64372-68a4-4519-b8ba-7c0b744ca304">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> <textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField> </textField>
<textField> <staticText>
<reportElement x="57" y="12" width="491" height="32" uuid="3111a1a4-7a50-46f3-ae96-9c9559dab1ff"> <reportElement x="0" y="98" width="550" height="26" uuid="eecbbc14-b274-45bc-9213-2213102d2011">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[In relazione all’istanza in oggetto, si comunica che la stessa è stata accolta ed il progetto è stato acquisito dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="175" width="550" height="26" uuid="e767e3ae-b512-4d8c-abfe-21a063dc21b6">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["Istanza relativa a:" + $F{lavoriDi}]]></textFieldExpression> <text><![CDATA[Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana.]]></text>
</textField> </staticText>
</band> <staticText>
<band height="190"> <reportElement x="0" y="215" width="550" height="26" uuid="e8da9273-f3b2-49e4-aa35-884b0b7e04fc">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText>
<staticText> <staticText>
<reportElement x="0" y="0" width="550" height="144" uuid="be3d8c82-cd22-4c8a-968c-143900eec3ef"> <reportElement x="0" y="124" width="550" height="37" uuid="249a7f05-6755-4fe5-8c78-37275a654178">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[L’inizio dei lavori rimane subordinato al successivo rilascio del provvedimento di autorizzazione, che sarà emesso dall’Ufficio ai sensi dell’art. 94 DPR 380/2001 (art. 18 L.64/74) e nel rispetto del DDG 344/2020 del Dirigente Generale del DRT.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="161" width="550" height="14" uuid="8ea32b64-43d2-4777-b495-abae51a7031c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/> <property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
<paragraph lineSpacing="1_1_2" firstLineIndent="30"/> <paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[In relazione all’istanza in oggetto, si comunica che la stessa è stata accolta ed il progetto è stato acquisito dal sistema informatico “Sismica” della Regione Siciliana. <text><![CDATA[Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del portale Sismica. ]]></text>
L’inizio dei lavori rimane subordinato al successivo rilascio del provvedimento di autorizzazione, che sarà emesso dall’Ufficio ai sensi del DPR 380/2001 (L.64/74) e nel rispetto del DDG 189/2019 del Dirigente Generale del DRT.
Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText> </staticText>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement> <componentElement>
<reportElement x="0" y="150" width="539" height="30" uuid="ae899686-6aaf-485c-a3c4-1d5888f21ae2"> <reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/> <property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </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"> <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="49b5eda0-5360-407d-ad99-898a9bd665f9"> <datasetRun subDataset="dataset1" uuid="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun> </datasetRun>
<jr:listContents height="30" width="539"> <jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="533d148b-6520-4d72-9c8b-4dfdee716918"> <reportElement x="20" y="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"> <textElement textAlignment="Left" verticalAlignment="Middle">
@ -330,13 +465,13 @@ Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed ac
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField> </textField>
<ellipse> <ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="91ecc8de-b204-47ca-8d69-483b16ad026b"> <reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="55fefa3b-cabb-48e7-9db4-22251af05daf">
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
</ellipse> </ellipse>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="08ff7e67-73bc-4d3c-81d0-40425949aa4b"> <reportElement x="20" y="14" width="519" height="14" uuid="ff5ded57-1002-4409-a269-035990359b7b">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"> <textElement textAlignment="Left" verticalAlignment="Middle">
@ -349,38 +484,30 @@ Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed ac
</jr:list> </jr:list>
</componentElement> </componentElement>
</band> </band>
<band height="48"> <band height="125">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement key="" x="250" y="10" width="300" height="14" uuid="97f1a5e8-1c85-470a-bcb7-2ebcf8a87fb6">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="14" width="550" height="97" uuid="e70930e1-b679-47f7-b396-82becd726e30">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<text><![CDATA[Il Dirigente del Servizio o Suo Delegato]]></text>
</staticText>
<textField>
<reportElement x="250" y="24" width="300" height="14" uuid="543d4eb0-5adf-49d4-a73a-834df961588b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dirigente}]]></textFieldExpression> <textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo:"+
"- Le unità Operative che si occupano di Sismica in ogni ufficio del Genio civile, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile dell'istruttoria e di ogni atto procedimentale interlocutorio.\n"+
"­ l'ingegnere Capo dell'Ufficio del Genio Civile di "+$F{sedeGenioCivile}+" è responsabile dell'adozione del provvedimeto finale;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il Dirigente Generale del Dipartimento Regionale Tecnico, nella persona dell'Arch. Salvatore Lizzio;\n\n"+
"Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio mparlavecchio@regione.sicilia.it"]]></textFieldExpression>
</textField> </textField>
</band> </band>
</detail> </detail>
<pageFooter> <pageFooter>
<band height="125" splitType="Stretch"> <band height="151" splitType="Stretch">
<staticText> <staticText>
<reportElement x="0" y="102" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"> <reportElement x="1" y="128" width="284" height="23" uuid="b789abed-475b-4046-a3fa-581afcbb6de3">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
@ -390,23 +517,35 @@ Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed ac
https://sismica.lavoripubblici.sicilia.it]]></text> https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/> <reportElement x="0" y="125" width="555" height="1" uuid="cb7ee3b9-b7ed-4cec-887e-c18052190bc4"/>
</line> </line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="0e732148-8462-4199-a338-2080bfe271c3"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<componentElement> <componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"> <reportElement x="183" y="52" width="188" height="50" uuid="b6456d66-8f1d-4fcc-84d6-e7e10632b157">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression> <printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement> </reportElement>
<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: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:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417> </jr:PDF417>
</componentElement> </componentElement>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/> <reportElement x="300" y="2" width="250" height="26" isRemoveLineWhenBlank="true" uuid="4bf817b5-b2ae-41d2-b905-5efd6fd7462c">
<textElement textAlignment="Center"> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<font fontName="DejaVu Sans"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression> <text><![CDATA[Ufficio del Genio Civile
</textField> Il Dirigente del Servizio o suo Delegato]]></text>
</staticText>
</band> </band>
</pageFooter> </pageFooter>
</jasperReport> </jasperReport>

427
jasper/Modello_B.jrxml

@ -1,30 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 --> <!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello_B" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71"> <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="Presa in carico B" 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.3636363636363653"/> <property name="ireport.zoom" value="1.3310000000000004"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="1180"/> <property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/> <subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="4b1c6a6c-b7f8-4969-b59b-6adf90795cd8">
<field name="codiceAllegato" class="java.lang.String"/> <field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/> <field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/> <field name="sha256Allegato" class="java.lang.String"/>
</subDataset> </subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/> <parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/> <field name="allegati" class="java.util.List"/>
<field name="codiceUnivoco" class="java.lang.String"/> <field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/> <field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/> <field name="comune" class="java.lang.String">
<field name="dataAvviso" class="java.util.Date"/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
<field name="dataPratica" class="java.util.Date"> </field>
<field name="dataAvviso" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="dirigente" class="java.lang.String"> <field name="dataPratica" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="lavoriDi" class="java.lang.String"/> <field name="lavoriDi" class="java.lang.String"/>
@ -32,17 +28,15 @@
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="numeroProtocollo" class="java.lang.String"/> <field name="numeroProtocollo" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/> <field name="sedeGenioCivile" class="java.lang.String"/>
<field name="titolareDigitale" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/> <field name="ubicazione" class="java.lang.String"/>
<group name="Dettaglio2"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader> <pageHeader>
<band height="119" splitType="Stretch"> <band height="122" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame> <frame>
<reportElement x="0" y="12" width="550" height="107" uuid="2ba1d618-2fc5-4462-a206-946fe6a1ed8e"> <reportElement x="0" y="12" width="550" height="96" uuid="d783c1dd-6e94-480d-add7-a7870e6305e5">
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -52,14 +46,14 @@
<pen lineWidth="1.0"/> <pen lineWidth="1.0"/>
</box> </box>
<image> <image>
<reportElement x="5" y="5" width="224" height="68" uuid="32c7b82c-7e0f-4bb8-b3c2-6e48152da99f"> <reportElement x="5" y="5" width="224" height="68" uuid="a734e88f-f3f5-48b7-bc72-c9f1fc71bdc4">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> <imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image> </image>
<staticText> <staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="6f1212d1-f7ca-4244-a312-ad62be259176"> <reportElement x="275" y="5" width="270" height="25" uuid="11ba33d2-6085-4682-af10-0565e4343ae9">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -70,7 +64,7 @@
<text><![CDATA[Dipartimento Regionale Tecnico]]></text> <text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="782963fb-8f7d-44f8-b9da-1897bf3f28ff"> <reportElement x="275" y="30" width="270" height="25" uuid="024b8d99-fab6-430a-a36a-9e1044bdebfd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -82,7 +76,7 @@
<text><![CDATA[Ufficio del Genio Civile]]></text> <text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText> </staticText>
<textField> <textField>
<reportElement x="275" y="55" width="270" height="25" uuid="67ec1c12-068c-49ef-bb62-af5127b37797"> <reportElement x="275" y="55" width="270" height="25" uuid="2d6bc04f-7216-4f80-a572-267bd1cc69f5">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -93,27 +87,51 @@
</textElement> </textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression> <textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField> </textField>
<textField>
<reportElement x="60" y="80" width="100" height="12" uuid="edaaf892-abf8-4c99-8315-2f0c896541a6">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" 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="5" y="80" width="53" height="12" uuid="5ae412fc-4a5c-4591-9a49-d4ec8fa91c66">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso:]]></text>
</staticText>
</frame> </frame>
<staticText> <staticText>
<reportElement x="0" y="0" width="550" height="12" uuid="bbb26edd-cbaa-48b2-a87e-88218031ddef"> <reportElement x="0" y="0" width="550" height="12" uuid="b8776206-ac57-4373-b1c9-204087b65a57">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement markup="html">
<font fontName="DejaVu Sans" size="6"/> <font fontName="DejaVu Sans" size="8"/>
</textElement> </textElement>
<text><![CDATA[Mod. B – Attestato di Deposito in tempo reale - Interventi di minor rilevanza, ricadenti in zone sismiche 3-4, rientranti nel DDG 189/2019, Allegato A), lettera B)]]></text> <text><![CDATA[<b>Mod. B</b> Avviso di vidimazione <i>(interventi B in zona sismica 1, 2, 3 e 4)</i>]]></text>
</staticText> </staticText>
</band> </band>
</pageHeader> </pageHeader>
<detail> <detail>
<band height="307"> <band height="96">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText> <staticText>
<reportElement x="1" y="12" width="56" height="13" uuid="9f68e9a8-cba6-4f14-bfd8-00b5bb45ebcb"> <reportElement x="0" y="0" width="53" height="14" uuid="fb872576-43df-4483-8b75-8fd76aa193bb">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans" isBold="true"/>
@ -121,44 +139,47 @@
<text><![CDATA[Oggetto:]]></text> <text><![CDATA[Oggetto:]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="9" y="98" width="115" height="14" uuid="1475b832-260b-41ac-8d78-16ea429dc32a"> <reportElement x="53" y="0" width="497" height="49" uuid="8f16791f-44c9-4c4c-bf08-5fa67078ea61">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[Comune:]]></text> <text><![CDATA[<b>deposito del progetto a seguito della denuncia dei lavori, ai sensi degli artt. 65 e 93 del D.P.R. 380/2001 e ss.mm.ii.</b>, come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – art. 17 della L.64/74), con le modifiche di cui all’art. 94-bis, come introdotto dal DL 32/2019, convertito in legge 55/2019 - NTC di riferimento: DM 17 gennaio 2018.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="9" y="126" width="115" height="14" uuid="d89e57d5-254d-4c8a-adfd-2ad26336a66b"> <reportElement x="0" y="63" width="550" height="19" uuid="ff0b6599-21ce-45ae-b768-f8847e9977d5">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Center">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans" size="14" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Lavori di:]]></text> <text><![CDATA[AVVISO DI PRESA IN CARICO]]></text>
</staticText> </staticText>
</band>
<band height="28">
<staticText> <staticText>
<reportElement key="" x="350" y="230" width="205" height="14" uuid="76345dc3-d457-41cd-b72d-d26059883003"> <reportElement positionType="Float" x="0" y="0" width="82" height="14" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Al Committente]]></text> <text><![CDATA[Comune:]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="9" y="112" width="115" height="14" uuid="b8b13fd5-8c23-4baf-b236-4e5d6468eaa8"> <reportElement x="0" y="14" width="82" height="14" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -166,7 +187,7 @@
<text><![CDATA[Committente:]]></text> <text><![CDATA[Committente:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="124" y="182" width="424" height="14" uuid="f3947e1c-706e-4445-bf3e-b8e9707b8b28"> <reportElement x="82" y="0" width="468" height="14" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -175,10 +196,10 @@
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="124" y="126" width="424" height="14" uuid="81865073-a9c6-4850-b090-930d6afd2846"> <reportElement x="82" y="14" width="468" height="14" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -187,22 +208,23 @@
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> </band>
<reportElement x="124" y="98" width="424" height="14" uuid="b4415a3f-2764-411d-9fa8-e97e8dfd7e2e"> <band height="14">
<staticText>
<reportElement x="0" y="0" width="82" height="14" uuid="73851677-5e12-47f6-87f8-4116846db634">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> <text><![CDATA[Lavori di:]]></text>
</textField> </staticText>
<textField isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="124" y="112" width="424" height="14" uuid="7d36ccf7-fd5b-4e38-993f-b3ff86672d60"> <reportElement x="82" y="0" width="468" height="14" uuid="1f7c4107-bd69-4ad4-8244-0aedd8e7c564">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -211,21 +233,24 @@
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField> </textField>
</band>
<band height="255">
<staticText> <staticText>
<reportElement x="9" y="182" width="115" height="14" uuid="e31bb23e-55b0-4098-96a9-6ae30c3d5623"> <reportElement key="" x="0" y="56" width="345" height="14" uuid="34c76220-8ce3-4108-bece-7462800dfb81">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Progetto n.]]></text> <text><![CDATA[Al Committente]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="124" y="196" width="424" height="14" uuid="810ef857-47d5-46d9-8d66-5594a07eedfe"> <reportElement x="82" y="14" width="468" height="14" uuid="9a11f165-1666-4c5a-8320-a2d079b5eead">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -234,159 +259,116 @@
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="9" y="196" width="115" height="14" uuid="61a3bf9c-13ed-4d5f-8e79-e16b50818504"> <reportElement x="0" y="14" width="82" height="14" uuid="9ebd5820-10fe-4e69-a741-a8558ddea45d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<staticText>
<reportElement key="" positionType="Float" x="350" y="245" width="205" height="14" uuid="4f607d8d-2377-4807-81f8-d5e7ca013e57">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<staticText>
<reportElement x="9" y="140" width="115" height="14" uuid="f79b0de0-ff27-4e71-bc97-f77b7ba0cc5f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Ubicazione:]]></text> <text><![CDATA[Progetto n.]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="124" y="140" width="424" height="14" uuid="76b10fd2-33f4-4ccb-95c0-7757285f0665"> <reportElement x="350" y="56" width="200" height="14" uuid="42df5c98-8327-4567-bd5b-bc111faa08f0">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> <textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isBlankWhenNull="true">
<reportElement x="57" y="12" width="491" height="48" uuid="3111a1a4-7a50-46f3-ae96-9c9559dab1ff"> <reportElement x="82" y="42" width="468" height="14" uuid="1a5b0e92-e43a-4bdc-aa90-20c3c8dab2aa">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans" isBold="false"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["Deposito/denuncia, ai sensi degli artt.65 comma 1 e 93 del D.P.R. 380/2001, come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – art. 17 della L.64/74), con le modifiche di cui all’art. 94 bis, come introdotto dal DL 32/2019, convertito in legge 55/2019 - NTC di riferimento: DM 17/Gennaio /2018."]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="0" y="70" width="550" height="13" uuid="ae797f97-0877-4905-8b03-4ec1b781e674"> <reportElement x="0" y="42" width="82" height="14" uuid="09f9a400-4f37-4a5e-8c23-ee6017aa1139">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans Bold" isBold="true" isUnderline="true"/>
</textElement>
<text><![CDATA[ATTESTAZIONE DI DEPOSITO PROGETTO]]></text>
</staticText>
<staticText>
<reportElement key="" positionType="Float" x="350" y="260" width="205" height="14" uuid="20bae8a9-a74d-4b85-b27e-971908cd39fb">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[e p.c. al S.U.E. del Comune di *]]></text> <text><![CDATA[Protocollo n.]]></text>
</staticText> </staticText>
<textField>
<reportElement x="350" y="275" width="205" height="14" uuid="a165097d-eb75-4694-bf32-5f1bc3fddd0b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<staticText> <staticText>
<reportElement x="9" y="154" width="115" height="14" uuid="659beb58-92a9-41df-9b0a-9b239c9bc31a"> <reportElement x="0" y="28" width="82" height="14" isRemoveLineWhenBlank="true" uuid="e464dddc-3f0a-46f1-b47a-cb7354695a0f">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Direttore dei lavori:]]></text> <text><![CDATA[Variante n.]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="124" y="154" width="424" height="14" uuid="c010df58-3dd2-43e3-9d4d-fa94b057f31d"> <reportElement x="82" y="28" width="468" height="14" isRemoveLineWhenBlank="true" uuid="f2e50719-bb44-4349-9ded-fd2aba53c8bf">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField> </textField>
<staticText> <textField isBlankWhenNull="true">
<reportElement x="9" y="168" width="115" height="14" uuid="8023361c-2109-4360-a157-38e88be6d5e0"> <reportElement x="350" y="70" width="200" height="14" uuid="bf466b70-b9cd-40f2-abfc-ed28de769266">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[Collaudatore:]]></text> <textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</staticText> </textField>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="124" y="168" width="424" height="14" uuid="9566ff1e-4d94-4833-a066-b3ce0af8905f"> <reportElement key="" x="0" y="70" width="345" height="14" uuid="fe5091eb-741e-4e5f-8a0e-497f01583675">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Right">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression> <text><![CDATA[c/o il suo delegato]]></text>
</textField> </staticText>
<staticText> <staticText>
<reportElement x="9" y="210" width="115" height="14" uuid="18cc4dc3-b4b5-4f8c-a0de-c0dc2fc6b734"> <reportElement x="0" y="0" width="82" height="14" uuid="0a75889c-c9ef-48e1-b20c-9ee133e8948a">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Data istanza:]]></text> <text><![CDATA[Ubicazione:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="124" y="210" width="424" height="14" uuid="10bf80e2-c0b5-4866-bd0c-54f1480428e8"> <reportElement x="82" y="0" width="468" height="14" uuid="6ea64372-68a4-4519-b8ba-7c0b744ca304">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -395,73 +377,66 @@
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})]]></textFieldExpression> <textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField> </textField>
</band>
<band height="180">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText> <staticText>
<reportElement x="0" y="20" width="550" height="60" uuid="be3d8c82-cd22-4c8a-968c-143900eec3ef"> <reportElement x="0" y="112" width="550" height="26" uuid="eecbbc14-b274-45bc-9213-2213102d2011">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/> <property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
<paragraph lineSpacing="AtLeast" firstLineIndent="0"/> <paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[Considerato che: <text><![CDATA[In relazione all’istanza in oggetto, si comunica che la stessa è stata accolta ed il progetto è stato acquisito dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
• l’istanza riguarda un intervento che risulta tra quelli individuati con DDG 189/2019, allegato A),
lettera B);
• il progetto non riguarda interventi da sottoporre a verifica a campione di cui al sopra richiamato
DDG 189/2019, allegato A, lettera D):]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="0" y="0" width="550" height="14" uuid="dfa22fee-aa75-415e-9e33-15fb5e98f818"> <reportElement x="0" y="189" width="550" height="26" uuid="e767e3ae-b512-4d8c-abfe-21a063dc21b6">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Center"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[QUESTO UFFICIO]]></text> <text><![CDATA[Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="2" y="90" width="550" height="14" uuid="0bce0b09-9722-4d02-bd45-bbdcd8ba6b00"> <reportElement x="0" y="229" width="550" height="26" uuid="e8da9273-f3b2-49e4-aa35-884b0b7e04fc">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Center"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[ATTESTA]]></text> <text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="2" y="110" width="550" height="70" uuid="63a46e0f-e913-4b8d-8bc1-4d30afbc4b0a"> <reportElement x="0" y="138" width="550" height="37" uuid="249a7f05-6755-4fe5-8c78-37275a654178">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/> <property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
<paragraph lineSpacing="AtLeast" firstLineIndent="0"/> <paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[l’avvenuto deposito del progetto, per la realizzazione delle opere di che trattasi, ai sensi degli artt. 65 comma 1 e 93 del D.P.R. 380/01, come recepito dalla L.R. 16/2016 e dell’art. 94 bis del medesimo D.P.R. 380/01, come introdotto dal D.L. 32/2019, convertito in L. 55/2019. <text><![CDATA[Considerato che, secondo quanto dichiarato, l’intervento in oggetto rientra tra quelli di cui al DDG 344/2020, allegato A), lettera B), l’inizio dei lavori rimane subordinato al rilascio dell’attestazione di avvenuto deposito del progetto, che sarà successivamente emessa da questo Ufficio.]]></text>
Per tutte le successive comunicazioni, si dovrà fare riferimento ai dati riportati nel presente provvedimento.
I lavori dovranno essere eseguiti in conformità al progetto a cui il provvedimento fa riferimento e nel rispetto delle norme di cui al D.P.R. 380/2001, come recepito dalla L.R.16/2016 ed al D.M. 17.01.2018.
L’esecuzione di eventuali varianti, che si rendessero necessarie nel corso dei lavori, rimangono subordinate al rilascio, da parte di quest’Ufficio, di un ulteriore provvedimento, a seguito di nuova istanza.]]></text>
</staticText> </staticText>
</band>
<band height="75">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText> <staticText>
<reportElement key="" x="250" y="10" width="300" height="14" uuid="97f1a5e8-1c85-470a-bcb7-2ebcf8a87fb6"> <reportElement key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -470,42 +445,49 @@ Per tutte le successive comunicazioni, si dovrà fare riferimento ai dati ripor
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Il Dirigente del Servizio o Suo Delegato]]></text> <text><![CDATA[e p.c. : Al Sindaco SUE/SUAP del Comune di]]></text>
</staticText> </staticText>
<textField> <textField isBlankWhenNull="true">
<reportElement x="250" y="24" width="300" height="14" uuid="543d4eb0-5adf-49d4-a73a-834df961588b"> <reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dirigente}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="-1" y="53" width="544" height="14" uuid="fd0a1776-71c1-4b0b-8e5f-921cb0af1f04"> <reportElement x="0" y="175" width="550" height="14" uuid="a7de5411-b0e4-469e-b5f0-0d7b98a427f9">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<text><![CDATA[* in mancanza di SUE, al Sindaco del Comune competente per territorio]]></text> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del portale Sismica. ]]></text>
</staticText> </staticText>
</band> </band>
<band height="30"> <band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement> <componentElement>
<reportElement x="0" y="0" width="550" height="30" uuid="ae899686-6aaf-485c-a3c4-1d5888f21ae2"> <reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/> <property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </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"> <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="49b5eda0-5360-407d-ad99-898a9bd665f9"> <datasetRun subDataset="dataset1" uuid="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun> </datasetRun>
<jr:listContents height="30" width="550"> <jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="533d148b-6520-4d72-9c8b-4dfdee716918"> <reportElement x="20" y="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"> <textElement textAlignment="Left" verticalAlignment="Middle">
@ -515,13 +497,13 @@ Per tutte le successive comunicazioni, si dovrà fare riferimento ai dati ripor
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField> </textField>
<ellipse> <ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="91ecc8de-b204-47ca-8d69-483b16ad026b"> <reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="55fefa3b-cabb-48e7-9db4-22251af05daf">
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
</ellipse> </ellipse>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="08ff7e67-73bc-4d3c-81d0-40425949aa4b"> <reportElement x="20" y="14" width="519" height="14" uuid="ff5ded57-1002-4409-a269-035990359b7b">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"> <textElement textAlignment="Left" verticalAlignment="Middle">
@ -534,11 +516,30 @@ Per tutte le successive comunicazioni, si dovrà fare riferimento ai dati ripor
</jr:list> </jr:list>
</componentElement> </componentElement>
</band> </band>
<band height="125">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="14" width="550" height="97" uuid="f19d5e84-1828-430b-9c26-88e84d292a29">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo:"+
"- Le unità Operative che si occupano di Sismica in ogni ufficio del Genio civile, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile dell'istruttoria e di ogni atto procedimentale interlocutorio.\n"+
"­ l'ingegnere Capo dell'Ufficio del Genio Civile di "+$F{sedeGenioCivile}+" è responsabile dell'adozione del provvedimeto finale;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il Dirigente Generale del Dipartimento Regionale Tecnico, nella persona dell'Arch. Salvatore Lizzio;\n\n"+
"Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio mparlavecchio@regione.sicilia.it"]]></textFieldExpression>
</textField>
</band>
</detail> </detail>
<pageFooter> <pageFooter>
<band height="125" splitType="Stretch"> <band height="151" splitType="Stretch">
<staticText> <staticText>
<reportElement x="0" y="102" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"> <reportElement x="1" y="128" width="284" height="23" uuid="b789abed-475b-4046-a3fa-581afcbb6de3">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
@ -548,23 +549,35 @@ Per tutte le successive comunicazioni, si dovrà fare riferimento ai dati ripor
https://sismica.lavoripubblici.sicilia.it]]></text> https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/> <reportElement x="0" y="125" width="555" height="1" uuid="cb7ee3b9-b7ed-4cec-887e-c18052190bc4"/>
</line> </line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="0e732148-8462-4199-a338-2080bfe271c3"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<componentElement> <componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"> <reportElement x="183" y="52" width="188" height="50" uuid="b6456d66-8f1d-4fcc-84d6-e7e10632b157">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression> <printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement> </reportElement>
<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: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:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417> </jr:PDF417>
</componentElement> </componentElement>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/> <reportElement x="300" y="2" width="250" height="26" isRemoveLineWhenBlank="true" uuid="4bf817b5-b2ae-41d2-b905-5efd6fd7462c">
<textElement textAlignment="Center"> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<font fontName="DejaVu Sans"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression> <text><![CDATA[Ufficio del Genio Civile
</textField> Il Dirigente del Servizio o suo Delegato]]></text>
</staticText>
</band> </band>
</pageFooter> </pageFooter>
</jasperReport> </jasperReport>

530
jasper/Modello_B2.jrxml

@ -1,47 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 --> <!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello B2" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71"> <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="Attestazione di deposito" 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.5"/> <property name="ireport.zoom" value="1.3310000000000004"/>
<property name="ireport.x" value="3"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/> <subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<subDataset name="dataset1" uuid="0d488bd4-c86e-468f-92b1-30dc180516f9">
<field name="codiceAllegato" class="java.lang.String"/> <field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/> <field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/> <field name="sha256Allegato" class="java.lang.String"/>
</subDataset> </subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/> <parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/> <field name="allegati" class="java.util.List"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="allegati" class="java.util.List">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/> <field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/> <field name="committente" class="java.lang.String"/>
<field name="comune" 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="sedeGenioCivile" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="tecnico" class="java.lang.String"> <field name="dataAvviso" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="tipo" class="java.lang.String"> <field name="dataPratica" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="titolareDigitale" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/> <field name="ubicazione" class="java.lang.String"/>
<pageHeader> <pageHeader>
<band height="121" splitType="Stretch"> <band height="122" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame> <frame>
<reportElement x="0" y="24" width="550" height="96" uuid="0bd6c6a9-3d3d-4fd8-a40c-46086907581d"> <reportElement x="0" y="12" width="550" height="96" uuid="d783c1dd-6e94-480d-add7-a7870e6305e5">
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -51,14 +46,14 @@
<pen lineWidth="1.0"/> <pen lineWidth="1.0"/>
</box> </box>
<image> <image>
<reportElement x="5" y="5" width="224" height="68" uuid="407562c5-4d1d-4ad7-9318-af3aac4a74bb"> <reportElement x="5" y="5" width="224" height="68" uuid="a734e88f-f3f5-48b7-bc72-c9f1fc71bdc4">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> <imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image> </image>
<staticText> <staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="f2c4fa1f-8075-415d-966a-e8187ffacdda"> <reportElement x="275" y="5" width="270" height="25" uuid="11ba33d2-6085-4682-af10-0565e4343ae9">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -69,7 +64,7 @@
<text><![CDATA[Dipartimento Regionale Tecnico]]></text> <text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="91aa1907-55af-4b7e-84c5-c4a601c2e18d"> <reportElement x="275" y="30" width="270" height="25" uuid="024b8d99-fab6-430a-a36a-9e1044bdebfd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -81,7 +76,7 @@
<text><![CDATA[Ufficio del Genio Civile]]></text> <text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText> </staticText>
<textField> <textField>
<reportElement x="275" y="55" width="270" height="25" uuid="3ee4e487-6318-4336-b9bd-8adaf52a23bc"> <reportElement x="275" y="55" width="270" height="25" uuid="2d6bc04f-7216-4f80-a572-267bd1cc69f5">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -93,7 +88,7 @@
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression> <textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="60" y="80" width="100" height="12" uuid="5f2898c1-fdc8-4cce-a055-cb1f41e760de"> <reportElement x="60" y="80" width="100" height="12" uuid="edaaf892-abf8-4c99-8315-2f0c896541a6">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
@ -103,7 +98,7 @@
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression> <textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="5" y="80" width="53" height="12" uuid="fdd7282f-aeba-440b-9c1e-e8cfd2b27e33"> <reportElement x="5" y="80" width="53" height="12" uuid="5ae412fc-4a5c-4591-9a49-d4ec8fa91c66">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
@ -115,7 +110,7 @@
</staticText> </staticText>
</frame> </frame>
<staticText> <staticText>
<reportElement x="0" y="0" width="550" height="24" uuid="a3e7a11b-5bc5-4145-9d6f-2e2911aaee2c"> <reportElement x="0" y="0" width="550" height="12" uuid="b8776206-ac57-4373-b1c9-204087b65a57">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
@ -124,16 +119,19 @@
<textElement markup="html"> <textElement markup="html">
<font fontName="DejaVu Sans" size="8"/> <font fontName="DejaVu Sans" size="8"/>
</textElement> </textElement>
<text><![CDATA[<b>Mod. B2</b> – Attestato di deposito pratiche non sorteggiate e non sottoposte a verifica dal Dirigente dell’Ufficio, interventi di minor rilevanza (solo zone sismiche 1-2) e abitati da consolidare]]></text> <text><![CDATA[<b>Mod. B2</b> Avviso di deposito <i>(interventi B in zona sismica 1, 2, 3 e 4)</i>]]></text>
</staticText> </staticText>
</band> </band>
</pageHeader> </pageHeader>
<detail> <detail>
<band height="105"> <band height="96">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText> <staticText>
<reportElement x="1" y="5" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"> <reportElement x="0" y="0" width="53" height="14" uuid="fb872576-43df-4483-8b75-8fd76aa193bb">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans" isBold="true"/>
@ -141,23 +139,36 @@
<text><![CDATA[Oggetto:]]></text> <text><![CDATA[Oggetto:]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="58" width="548" height="14" uuid="564dde5b-a570-46aa-a051-da5ab36efaa2"> <reportElement x="53" y="0" width="497" height="49" uuid="8f16791f-44c9-4c4c-bf08-5fa67078ea61">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[<b>deposito del progetto a seguito della denuncia dei lavori, ai sensi degli artt. 65 e 93 del D.P.R. 380/2001 e ss.mm.ii.</b>, come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – art. 17 della L.64/74), con le modifiche di cui all’art. 94-bis, come introdotto dal DL 32/2019, convertito in legge 55/2019 - NTC di riferimento: DM 17 gennaio 2018.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="63" width="550" height="19" uuid="ff0b6599-21ce-45ae-b768-f8847e9977d5">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true" isUnderline="true"/> <font fontName="DejaVu Sans" size="14" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[ATTESTAZIONE DI DEPOSITO PROGETTO]]></text> <text><![CDATA[ATTESTAZIONE DI DEPOSITO DEL PROGETTO]]></text>
</staticText> </staticText>
</band>
<band height="28">
<staticText> <staticText>
<reportElement x="1" y="77" width="120" height="14" uuid="e1ced47d-520c-470c-9615-b41d83286e59"> <reportElement positionType="Float" x="0" y="0" width="82" height="14" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -165,11 +176,10 @@
<text><![CDATA[Comune:]]></text> <text><![CDATA[Comune:]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="91" width="120" height="14" uuid="3eaa8c73-6198-4a43-b7b0-7f93315f1b79"> <reportElement x="0" y="14" width="82" height="14" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -177,11 +187,11 @@
<text><![CDATA[Committente:]]></text> <text><![CDATA[Committente:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="120" y="77" width="429" height="14" uuid="52db2b1a-87f3-47af-ab5d-8baf1390b91a"> <reportElement x="82" y="0" width="468" height="14" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
@ -189,406 +199,395 @@
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="120" y="91" width="429" height="14" uuid="467ad1ff-8cfa-44b2-b87c-c6df7cbb1729"> <reportElement x="82" y="14" width="468" height="14" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField> </textField>
</band>
<band height="14">
<staticText> <staticText>
<reportElement x="57" y="5" width="492" height="48" uuid="7d2af6ab-977a-46b1-940b-817e6113d45b"> <reportElement x="0" y="0" width="82" height="14" uuid="73851677-5e12-47f6-87f8-4116846db634">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified" markup="html"> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[<b>Deposito/denuncia, ai sensi degli artt. 65 comma 1 e 93 del D.P.R. 380/2001</b>, come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 - art. 17 della L.64/74), con le modifiche di cui all’art. 94 bis, come introdotto dal DL 32/2019, convertito in legge <b>55/2019 - NTC di riferimento: DM 17/Gennaio /2018</b>.]]></text> <text><![CDATA[Lavori di:]]></text>
</staticText> </staticText>
</band>
<band height="14">
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="120" y="0" width="429" height="14" uuid="70151a31-09fa-485a-8a65-8c3d6ca4fffa"> <reportElement x="82" y="0" width="468" height="14" uuid="1f7c4107-bd69-4ad4-8244-0aedd8e7c564">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField> </textField>
</band>
<band height="507">
<staticText> <staticText>
<reportElement x="1" y="0" width="120" height="14" uuid="bb6b350d-4465-46c5-a636-7426d7955f49"> <reportElement key="" x="0" y="56" width="345" height="14" uuid="34c76220-8ce3-4108-bece-7462800dfb81">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
</band>
<band height="437">
<staticText>
<reportElement x="1" y="141" width="548" height="14" uuid="8c64dd00-c019-4f08-b9d9-a3740a78df7e">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Center"> <textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[QUESTO UFFICIO]]></text> <text><![CDATA[Al Committente]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="120" y="70" width="429" height="14" uuid="97acf74f-c385-48d3-b26e-4f64e5b3ddaf"> <reportElement x="82" y="14" width="468" height="14" uuid="9a11f165-1666-4c5a-8320-a2d079b5eead">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dataPratica}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="1" y="160" width="548" height="14" uuid="91e928ae-27ba-4895-b7c6-2b970126fd4f"> <reportElement x="0" y="14" width="82" height="14" uuid="9ebd5820-10fe-4e69-a741-a8558ddea45d">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement markup="html"> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[<b>Vista</b> l’istanza indicata in oggetto e gli allegati, trasmessi con sistema informatico “Sismica”;]]></text> <text><![CDATA[Progetto n.]]></text>
</staticText> </staticText>
<staticText> <textField isBlankWhenNull="true">
<reportElement x="1" y="0" width="120" height="14" uuid="026ee306-958f-41e2-a32e-e864224f7d7f"> <reportElement x="350" y="56" width="200" height="14" uuid="42df5c98-8327-4567-bd5b-bc111faa08f0">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[Ubicazione:]]></text> <textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</staticText> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="120" y="0" width="429" height="14" uuid="c31a499e-1a3f-4d60-8fde-13163fd5b6a1"> <reportElement x="82" y="42" width="468" height="14" uuid="1a5b0e92-e43a-4bdc-aa90-20c3c8dab2aa">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="1" y="383" width="548" height="28" uuid="a6efc1c0-97d9-459c-8bae-82ff661b68bb"> <reportElement x="0" y="42" width="82" height="14" uuid="09f9a400-4f37-4a5e-8c23-ee6017aa1139">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified" markup="html"> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[L’esecuzione di eventuali varianti, che si rendessero necessarie nel corso dei lavori, rimane subordinata al rilascio da parte di quest’Ufficio di un ulteriore provvedimento, a seguito di nuova istanza.]]></text> <text><![CDATA[Protocollo n.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="42" width="120" height="14" uuid="7fb8e318-07f1-4d54-a7b0-8d6b471f6bbc"> <reportElement x="0" y="28" width="82" height="14" isRemoveLineWhenBlank="true" uuid="e464dddc-3f0a-46f1-b47a-cb7354695a0f">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Progetto n.]]></text> <text><![CDATA[Variante n.]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="120" y="14" width="429" height="14" uuid="2f915ce1-95ca-433f-a2ad-673e78825567"> <reportElement x="82" y="28" width="468" height="14" isRemoveLineWhenBlank="true" uuid="f2e50719-bb44-4349-9ded-fd2aba53c8bf">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField> </textField>
<staticText> <textField isBlankWhenNull="true">
<reportElement x="1" y="352" width="548" height="28" uuid="71724ff7-4890-4257-bc55-47b3f8eb1545"> <reportElement x="350" y="70" width="200" height="14" uuid="bf466b70-b9cd-40f2-abfc-ed28de769266">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified" markup="html"> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[I lavori dovranno essere eseguiti in conformità al progetto a cui il provvedimento fa riferimento e nel rispetto delle norme di cui al D.P.R. 380/2001, come recepito dalla L.R.16/2016 ed al D.M. 17.01.2018. ]]></text> <textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</staticText> </textField>
<staticText> <staticText>
<reportElement x="1" y="177" width="548" height="14" uuid="8455aaac-18f1-476b-8604-2ee1d15f449b"> <reportElement key="" x="0" y="70" width="345" height="14" uuid="fe5091eb-741e-4e5f-8a0e-497f01583675">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement markup="html"> <textElement textAlignment="Right">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[<b>Considerato che</b> la pratica in oggetto:]]></text> <text><![CDATA[c/o il suo delegato]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="120" y="28" width="429" height="14" uuid="84d8a16e-db93-4100-bff0-1bb7f5e64ed6"> <reportElement x="0" y="0" width="82" height="14" uuid="0a75889c-c9ef-48e1-b20c-9ee133e8948a">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="1" y="335" width="548" height="14" uuid="b48bb822-ef66-4ff4-84fb-9980a57c9363">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement markup="html"> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Per tutte le successive comunicazioni, si dovrà fare riferimento ai dati riportati nel presente provvedimento.]]></text> <text><![CDATA[Ubicazione:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="120" y="56" width="429" height="14" uuid="3b613f6d-9ee2-4e04-8897-6f83c797fda9"> <reportElement x="82" y="0" width="468" height="14" uuid="6ea64372-68a4-4519-b8ba-7c0b744ca304">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement key="" x="249" y="89" width="300" height="14" uuid="498c071f-8a65-4522-b663-8267e1c1c38d"> <reportElement x="0" y="112" width="550" height="14" uuid="eecbbc14-b274-45bc-9213-2213102d2011">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Center">
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans" isBold="true"/>
<paragraph firstLineIndent="0"/>
</textElement> </textElement>
<text><![CDATA[Al Committente]]></text> <text><![CDATA[QUESTO UFFICIO]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="194" width="14" height="60" uuid="3f9959cb-310f-44f9-bd4e-d502acc53931"> <reportElement x="0" y="177" width="550" height="14" uuid="e767e3ae-b512-4d8c-abfe-21a063dc21b6">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans" isBold="true"/>
<paragraph firstLineIndent="0"/>
</textElement> </textElement>
<text><![CDATA[▷ <text><![CDATA[ATTESTA]]></text>
▷]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="28" width="120" height="14" uuid="f0ad8d19-b4e9-4929-a3c5-3258277a5214"> <reportElement x="2" y="481" width="550" height="26" uuid="e8da9273-f3b2-49e4-aa35-884b0b7e04fc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[Collaudatore:]]></text> <text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="257" width="548" height="14" uuid="b46b2b8a-137c-4af3-a87f-8a90636f1ec3"> <reportElement x="0" y="126" width="550" height="37" uuid="249a7f05-6755-4fe5-8c78-37275a654178">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement markup="html"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[<b>Facendo seguito</b> alla comunicazione di avvenuta presa in carico del progetto;]]></text> <text><![CDATA[Vista l’istanza indicata in oggetto e gli allegati, trasmessi con sistema informatico “Sismica”;
Considerato che la pratica in oggetto risulta, secondo quanto dichiarato, tra quelle di cui al DDG 344 del 19/05/2020, Allegato A), lettera B) e/o ricadenti in zona sismica 3 e 4;]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="276" width="548" height="14" uuid="95c03ffa-3522-4491-8e78-5ce16b02738c"> <reportElement key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Center"> <textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[ATTESTA]]></text> <text><![CDATA[e p.c. : Al Sindaco SUE/SUAP del Comune di]]></text>
</staticText> </staticText>
<staticText> <textField isBlankWhenNull="true">
<reportElement x="1" y="70" width="120" height="14" uuid="2f547dd3-d21d-45cd-b805-9fe74dc1ed7f"> <reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[Data istanza:]]></text> <textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</staticText> </textField>
<staticText> <staticText>
<reportElement x="14" y="194" width="535" height="60" uuid="75e65695-da9b-4885-9490-4ea822068d94"> <reportElement x="0" y="191" width="550" height="37" uuid="241a0d98-1fb3-4b70-9cbd-ee29abc7d5f8">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified" markup="none"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[è stata proposta dal professionista quale intervento di “minor rilevanza”; <text><![CDATA[l’avvenuto deposito del progetto, per la realizzazione delle opere di che trattasi, ai sensi degli artt. 65 e 93 del DPR 380/2001, come recepito dalla L.R. 16/2016 e dell’art. 94 bis del medesimo D.P.R. 380/01, come introdotto dal D.L. 32/2019 convertito in L. 55/2019.
risulta tra quelle di cui al DDG 189 del 23/04/2019, Allegato A), lettera B) e/o ricadenti in abitati da consolidare, ai sensi dell’art. 61 D.P.R. 380/01; ]]></text>
non risulta tra quelle sorteggiate e/o da sottoporre a verifica dal Dirigente dell’Ufficio, in applicazione alla lettera D) di cui all’allegato A) al DDG 189 del 23/04/2019;]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="295" width="548" height="37" uuid="50891660-b2d9-4de3-8335-2e8e53961f4f"> <reportElement x="0" y="441" width="550" height="26" uuid="69896251-fd30-488a-b230-8b16a94e7a1a">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified" markup="html"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[l’avvenuto deposito del progetto, per la realizzazione delle opere di che trattasi, ai sensi degli artt. 65 comma 1 D.P.R. e 93 del DPR 380/2001, come recepito dalla L.R. 16/2016 e dell’art. 94 bis del medesimo D.P.R. 380/01, come introdotto dal D.L. 32/2019 convertito in L. 55/2019.]]></text> <text><![CDATA[Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="1" y="14" width="120" height="14" uuid="bc5a0e43-a548-4083-971b-d0da3bb15d2f"> <reportElement x="0" y="228" width="550" height="26" uuid="93b64aec-3d16-4dde-8355-60a086bcce23">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[Direttore dei Lavori:]]></text> <text><![CDATA[Per tutte le successive comunicazioni, si dovrà fare riferimento ai dati riportati nel presente provvedimento. ]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="120" y="42" width="429" height="14" uuid="912ef481-1991-436e-b0f5-020c411d9808"> <reportElement x="0" y="254" width="550" height="61" uuid="48e24619-1187-42da-8ba3-1b0386a814bc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> <text><![CDATA[I lavori dovranno essere eseguiti in conformità al progetto a cui il presente provvedimento fa riferimento e nel rispetto delle norme di cui al D.P.R. 380/2001, come recepito dalla L.R.16/2016, e delle Norme Tecniche per le Costruzioni di cui al D.M. 17.01.2018, la cui osservanza viene demandata esclusivamente al progettista, al calcolista, al direttore dei lavori, al collaudatore statico ed al costruttore, secondo rispettive responsabilità e obblighi derivanti dalle norme vigenti.]]></text>
</textField> </staticText>
<staticText> <staticText>
<reportElement x="1" y="56" width="120" height="14" uuid="f36a2b1e-bc85-4a8d-aaf8-dd2c8e349a42"> <reportElement x="0" y="315" width="550" height="49" uuid="6996f22a-5990-44af-a9d2-01504d4d0acd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[Protocollo n.]]></text> <text><![CDATA[Il progetto potrà essere sottoposto ai controlli previsti dall’art. 94-bis, comma 5, DPR 380/2001 e ss.mm. e ii., secondo le modalità, estrazione a sorte con pubblicazione settimanale nella sezione “sorteggio pratiche” e apposito avviso ai soggetti interessati, stabilite dall’allegato A, lettera E, del Decreto del Dirigente Generale del Dipartimento Regionale Tecnico n. 344 del 19/05/2020.]]></text>
</staticText> </staticText>
<textField> <staticText>
<reportElement x="57" y="103" width="492" height="14" uuid="06a29ae3-3e30-41bb-898a-e674dac9853f"> <reportElement x="0" y="364" width="550" height="49" uuid="13e71610-58d4-4962-9616-3dca8d1206aa">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["Presso il suo delegato "+$F{alTitolareDigitale}]]></textFieldExpression> <text><![CDATA[L’esecuzione di eventuali varianti sostanziali, che si rendessero necessarie nel corso dei lavori, rimane subordinata al rilascio da parte di quest’Ufficio di un ulteriore provvedimento, a seguito di nuova istanza, mentre nel caso di varianti non sostanziali la relativa documentazione tecnica potrà essere prodotta anche successivamente, purché prima della trasmissione della relazione finale del direttore dei lavori.]]></text>
</textField> </staticText>
<textField> <staticText>
<reportElement x="1" y="122" width="548" height="14" uuid="57562498-1de8-4a86-b0a6-4eee48a32781"> <reportElement x="0" y="413" width="550" height="14" uuid="4bee75e9-720b-4190-a987-c0632faef156">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["e, p.c.: Al SUE del Comune di "+ $F{comune} +" *"]]></textFieldExpression> <text><![CDATA[Rimane comunque facoltà di questo Ufficio eseguire controlli ai sensi dell’art. 103 del DPR 380/2001.]]></text>
</textField> </staticText>
</band>
<band height="29">
<staticText> <staticText>
<reportElement x="1" y="1" width="548" height="28" uuid="2067e2cb-8834-4d8e-b2c0-8ccf7a6185da"> <reportElement x="0" y="427" width="550" height="14" uuid="12a90a4f-47d8-4ac7-ba8c-82f8cd5c7031">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified" markup="html"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text> <text><![CDATA[Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del portale Sismica. ]]></text>
</staticText> </staticText>
</band> </band>
<band height="40"> <band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement> <componentElement>
<reportElement x="1" y="5" width="548" height="30" uuid="b16480e8-29a2-4ea0-8ff8-27d47d23cd77"> <reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/> <property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </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"> <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="eba2b13d-ad89-47f1-9c6e-c6f4daff7039"> <datasetRun subDataset="dataset1" uuid="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun> </datasetRun>
<jr:listContents height="30" width="548"> <jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="6d1407d5-3a0e-4bbd-8341-334b26050f7e"> <reportElement x="20" y="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"> <textElement textAlignment="Left" verticalAlignment="Middle">
@ -598,13 +597,13 @@ non risulta tra quelle sorteggiate e/o da sottoporre a verifica dal Dirigente de
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField> </textField>
<ellipse> <ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="503ecd24-e6f2-41e4-9c8a-3b4020f2809f"> <reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="55fefa3b-cabb-48e7-9db4-22251af05daf">
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
</ellipse> </ellipse>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="5a63584f-b21f-4a3a-a4a9-fe80839be61d"> <reportElement x="20" y="14" width="519" height="14" uuid="ff5ded57-1002-4409-a269-035990359b7b">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"> <textElement textAlignment="Left" verticalAlignment="Middle">
@ -617,11 +616,30 @@ non risulta tra quelle sorteggiate e/o da sottoporre a verifica dal Dirigente de
</jr:list> </jr:list>
</componentElement> </componentElement>
</band> </band>
<band height="125">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="14" width="550" height="97" uuid="f549e05c-7851-4c5f-80f0-e9a7e880d078">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo:"+
"- Le unità Operative che si occupano di Sismica in ogni ufficio del Genio civile, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile dell'istruttoria e di ogni atto procedimentale interlocutorio.\n"+
"­ l'ingegnere Capo dell'Ufficio del Genio Civile di "+$F{sedeGenioCivile}+" è responsabile dell'adozione del provvedimeto finale;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il Dirigente Generale del Dipartimento Regionale Tecnico, nella persona dell'Arch. Salvatore Lizzio;\n\n"+
"Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio mparlavecchio@regione.sicilia.it"]]></textFieldExpression>
</textField>
</band>
</detail> </detail>
<pageFooter> <pageFooter>
<band height="156" splitType="Stretch"> <band height="151" splitType="Stretch">
<staticText> <staticText>
<reportElement x="1" y="128" width="284" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"> <reportElement x="1" y="128" width="284" height="23" uuid="b789abed-475b-4046-a3fa-581afcbb6de3">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
@ -631,36 +649,17 @@ non risulta tra quelle sorteggiate e/o da sottoporre a verifica dal Dirigente de
https://sismica.lavoripubblici.sicilia.it]]></text> https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="0" y="125" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/> <reportElement x="0" y="125" width="555" height="1" uuid="cb7ee3b9-b7ed-4cec-887e-c18052190bc4"/>
</line> </line>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/> <reportElement x="8" y="102" width="538" height="20" uuid="0e732148-8462-4199-a338-2080bfe271c3"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField> </textField>
<staticText>
<reportElement x="380" y="11" width="151" height="15" isRemoveLineWhenBlank="true" uuid="eaee654a-f053-4128-ac44-46e217297eb0"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Il Dirigente Responsabile]]></text>
</staticText>
<staticText>
<reportElement x="300" y="128" width="248" height="14" uuid="a44ec935-de26-4c84-bd38-59de207c8ca1">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[* in mancanza di SUE, al Sindaco del Comune competente per territorio]]></text>
</staticText>
<componentElement> <componentElement>
<reportElement x="183" y="52" width="188" height="50" uuid="4e8fab2e-91ec-48f5-bfd6-b52f2f2b2a14"> <reportElement x="183" y="52" width="188" height="50" uuid="b6456d66-8f1d-4fcc-84d6-e7e10632b157">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression> <printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement> </reportElement>
@ -668,6 +667,17 @@ https://sismica.lavoripubblici.sicilia.it]]></text>
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression> <jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417> </jr:PDF417>
</componentElement> </componentElement>
<staticText>
<reportElement x="300" y="2" width="250" height="26" isRemoveLineWhenBlank="true" uuid="4bf817b5-b2ae-41d2-b905-5efd6fd7462c">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Ufficio del Genio Civile
Il Dirigente del Servizio o suo Delegato]]></text>
</staticText>
</band> </band>
</pageFooter> </pageFooter>
</jasperReport> </jasperReport>

383
jasper/Modello_C.jrxml

@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 --> <!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello_A" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71"> <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="Presa in carico B" 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.3636363636363653"/> <property name="ireport.zoom" value="1.3310000000000004"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="1180"/> <property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/> <subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="4b1c6a6c-b7f8-4969-b59b-6adf90795cd8">
<field name="codiceAllegato" class="java.lang.String"/> <field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/> <field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/> <field name="sha256Allegato" class="java.lang.String"/>
@ -15,9 +14,13 @@
<field name="allegati" class="java.util.List"/> <field name="allegati" class="java.util.List"/>
<field name="codiceUnivoco" class="java.lang.String"/> <field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/> <field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/> <field name="comune" class="java.lang.String">
<field name="dataAvviso" class="java.util.Date"/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
<field name="dirigente" class="java.lang.String"> </field>
<field name="dataAvviso" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="dataPratica" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="lavoriDi" class="java.lang.String"/> <field name="lavoriDi" class="java.lang.String"/>
@ -25,17 +28,15 @@
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="numeroProtocollo" class="java.lang.String"/> <field name="numeroProtocollo" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/> <field name="sedeGenioCivile" class="java.lang.String"/>
<field name="titolareDigitale" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/> <field name="ubicazione" class="java.lang.String"/>
<group name="Dettaglio2"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader> <pageHeader>
<band height="119" splitType="Stretch"> <band height="122" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame> <frame>
<reportElement x="0" y="12" width="550" height="107" uuid="2ba1d618-2fc5-4462-a206-946fe6a1ed8e"> <reportElement x="0" y="12" width="550" height="96" uuid="d783c1dd-6e94-480d-add7-a7870e6305e5">
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -45,14 +46,14 @@
<pen lineWidth="1.0"/> <pen lineWidth="1.0"/>
</box> </box>
<image> <image>
<reportElement x="5" y="5" width="224" height="68" uuid="32c7b82c-7e0f-4bb8-b3c2-6e48152da99f"> <reportElement x="5" y="5" width="224" height="68" uuid="a734e88f-f3f5-48b7-bc72-c9f1fc71bdc4">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> <imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image> </image>
<staticText> <staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="6f1212d1-f7ca-4244-a312-ad62be259176"> <reportElement x="275" y="5" width="270" height="25" uuid="11ba33d2-6085-4682-af10-0565e4343ae9">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -63,7 +64,7 @@
<text><![CDATA[Dipartimento Regionale Tecnico]]></text> <text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="782963fb-8f7d-44f8-b9da-1897bf3f28ff"> <reportElement x="275" y="30" width="270" height="25" uuid="024b8d99-fab6-430a-a36a-9e1044bdebfd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -75,7 +76,7 @@
<text><![CDATA[Ufficio del Genio Civile]]></text> <text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText> </staticText>
<textField> <textField>
<reportElement x="275" y="55" width="270" height="25" uuid="67ec1c12-068c-49ef-bb62-af5127b37797"> <reportElement x="275" y="55" width="270" height="25" uuid="2d6bc04f-7216-4f80-a572-267bd1cc69f5">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -87,7 +88,7 @@
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression> <textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="68" y="87" width="100" height="12" uuid="e9539ea7-20a4-41ac-af8b-bd9316a61a82"> <reportElement x="60" y="80" width="100" height="12" uuid="edaaf892-abf8-4c99-8315-2f0c896541a6">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
@ -97,7 +98,7 @@
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression> <textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="11" y="86" width="53" height="12" uuid="b799d48a-748a-41ec-994d-4b0d30275824"> <reportElement x="5" y="80" width="53" height="12" uuid="5ae412fc-4a5c-4591-9a49-d4ec8fa91c66">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
@ -109,25 +110,28 @@
</staticText> </staticText>
</frame> </frame>
<staticText> <staticText>
<reportElement x="0" y="0" width="550" height="12" uuid="bbb26edd-cbaa-48b2-a87e-88218031ddef"> <reportElement x="0" y="0" width="550" height="12" uuid="b8776206-ac57-4373-b1c9-204087b65a57">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement markup="html">
<font fontName="DejaVu Sans" size="8"/> <font fontName="DejaVu Sans" size="8"/>
</textElement> </textElement>
<text><![CDATA[Mod. C- Interventi privi di rilevanza - acquisizione comunicazione]]></text> <text><![CDATA[<b>Mod. C</b> Interventi privi di rilevanza - acquisizione comunicazione- Allegato a) lettera C) del D.D.G. 344/2020]]></text>
</staticText> </staticText>
</band> </band>
</pageHeader> </pageHeader>
<detail> <detail>
<band height="252"> <band height="84">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText> <staticText>
<reportElement x="10" y="12" width="56" height="13" uuid="9f68e9a8-cba6-4f14-bfd8-00b5bb45ebcb"> <reportElement x="0" y="0" width="53" height="14" uuid="fb872576-43df-4483-8b75-8fd76aa193bb">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans" isBold="true"/>
@ -135,40 +139,47 @@
<text><![CDATA[Oggetto:]]></text> <text><![CDATA[Oggetto:]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="10" y="70" width="119" height="14" uuid="1475b832-260b-41ac-8d78-16ea429dc32a"> <reportElement x="53" y="0" width="497" height="37" uuid="8f16791f-44c9-4c4c-bf08-5fa67078ea61">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<text><![CDATA[Comune:]]></text> <text><![CDATA[D.P.R. 380/2001 e ss.mm.ii. art. 94-bis, comma 1 lettera c - NTC di riferimento D.M.17/01/2018 - D.D.G. n. 344 del 19/05/2020 del DRT Allegato A) lett. C (comunicazione per la realizzazione di opere prive di rilevanza nei riguardi della pubblica incolumità)]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="10" y="98" width="119" height="14" uuid="d89e57d5-254d-4c8a-adfd-2ad26336a66b"> <reportElement x="0" y="63" width="550" height="19" uuid="ff0b6599-21ce-45ae-b768-f8847e9977d5">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Center">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans" size="14" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Lavori di:]]></text> <text><![CDATA[AVVISO DI PRESA IN CARICO]]></text>
</staticText> </staticText>
</band>
<band height="28">
<staticText> <staticText>
<reportElement key="" x="435" y="170" width="115" height="14" uuid="76345dc3-d457-41cd-b72d-d26059883003"> <reportElement positionType="Float" x="0" y="0" width="82" height="14" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement> </textElement>
<text><![CDATA[Al Committente]]></text> <text><![CDATA[Comune:]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="10" y="84" width="119" height="14" uuid="b8b13fd5-8c23-4baf-b236-4e5d6468eaa8"> <reportElement x="0" y="14" width="82" height="14" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -176,49 +187,85 @@
<text><![CDATA[Committente:]]></text> <text><![CDATA[Committente:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="130" y="126" width="419" height="14" uuid="f3947e1c-706e-4445-bf3e-b8e9707b8b28"> <reportElement x="82" y="0" width="468" height="14" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="130" y="98" width="419" height="14" uuid="81865073-a9c6-4850-b090-930d6afd2846"> <reportElement x="82" y="14" width="468" height="14" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> </band>
<reportElement x="130" y="70" width="419" height="14" uuid="b4415a3f-2764-411d-9fa8-e97e8dfd7e2e"> <band height="14">
<staticText>
<reportElement x="0" y="0" width="82" height="14" uuid="73851677-5e12-47f6-87f8-4116846db634">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="82" y="0" width="468" height="14" uuid="1f7c4107-bd69-4ad4-8244-0aedd8e7c564">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField> </textField>
</band>
<band height="278">
<staticText>
<reportElement key="" x="0" y="56" width="345" height="14" uuid="34c76220-8ce3-4108-bece-7462800dfb81">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="130" y="84" width="419" height="14" uuid="7d36ccf7-fd5b-4e38-993f-b3ff86672d60"> <reportElement x="82" y="14" width="468" height="14" uuid="9a11f165-1666-4c5a-8320-a2d079b5eead">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="10" y="126" width="119" height="14" uuid="e31bb23e-55b0-4098-96a9-6ae30c3d5623"> <reportElement x="0" y="14" width="82" height="14" uuid="9ebd5820-10fe-4e69-a741-a8558ddea45d">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -226,9 +273,23 @@
<text><![CDATA[Progetto n.]]></text> <text><![CDATA[Progetto n.]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="130" y="140" width="419" height="14" uuid="810ef857-47d5-46d9-8d66-5594a07eedfe"> <reportElement x="350" y="56" width="200" height="14" uuid="42df5c98-8327-4567-bd5b-bc111faa08f0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="82" y="42" width="468" height="14" uuid="1a5b0e92-e43a-4bdc-aa90-20c3c8dab2aa">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
@ -236,9 +297,10 @@
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="10" y="140" width="119" height="14" uuid="61a3bf9c-13ed-4d5f-8e79-e16b50818504"> <reportElement x="0" y="42" width="82" height="14" uuid="09f9a400-4f37-4a5e-8c23-ee6017aa1139">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -246,10 +308,48 @@
<text><![CDATA[Protocollo n.]]></text> <text><![CDATA[Protocollo n.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement key="" x="435" y="184" width="115" height="14" uuid="4f607d8d-2377-4807-81f8-d5e7ca013e57"> <reportElement x="0" y="28" width="82" height="14" isRemoveLineWhenBlank="true" uuid="e464dddc-3f0a-46f1-b47a-cb7354695a0f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="28" width="468" height="14" isRemoveLineWhenBlank="true" uuid="f2e50719-bb44-4349-9ded-fd2aba53c8bf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="350" y="70" width="200" height="14" uuid="bf466b70-b9cd-40f2-abfc-ed28de769266">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="0" y="70" width="345" height="14" uuid="fe5091eb-741e-4e5f-8a0e-497f01583675">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
@ -257,9 +357,10 @@
<text><![CDATA[c/o il suo delegato]]></text> <text><![CDATA[c/o il suo delegato]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="10" y="112" width="119" height="14" uuid="f79b0de0-ff27-4e71-bc97-f77b7ba0cc5f"> <reportElement x="0" y="0" width="82" height="14" uuid="0a75889c-c9ef-48e1-b20c-9ee133e8948a">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="false"/>
@ -267,110 +368,126 @@
<text><![CDATA[Ubicazione:]]></text> <text><![CDATA[Ubicazione:]]></text>
</staticText> </staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="130" y="112" width="419" height="14" uuid="76b10fd2-33f4-4ccb-95c0-7757285f0665"> <reportElement x="82" y="0" width="468" height="14" uuid="6ea64372-68a4-4519-b8ba-7c0b744ca304">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> <textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField> </textField>
<textField> <staticText>
<reportElement x="70" y="12" width="478" height="32" uuid="3111a1a4-7a50-46f3-ae96-9c9559dab1ff"> <reportElement x="0" y="112" width="550" height="49" uuid="eecbbc14-b274-45bc-9213-2213102d2011">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["Comunicazione relativa a:" + $F{lavoriDi}]]></textFieldExpression> <text><![CDATA[Vista la comunicazione in oggetto, con la quale le opere di che trattasi, sono state ritenute tra quelle indicate alla lettera C (“Interventi privi di rilevanza”) di cui all’allegato A del D.D.G. 344/2020 si comunica che la stessa, unitamente alla documentazione allegata, è stata accolta ed acquisita dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</textField> </staticText>
<staticText> <staticText>
<reportElement x="10" y="50" width="538" height="19" uuid="048b259e-18d1-4450-bad1-60aa44c6100c"> <reportElement x="0" y="212" width="550" height="26" uuid="e767e3ae-b512-4d8c-abfe-21a063dc21b6">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Center"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="12" isBold="true" isUnderline="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[AVVISO DI PRESA DI CARICO]]></text> <text><![CDATA[Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana.]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement key="" x="380" y="204" width="170" height="14" uuid="afa77cba-9138-4129-9d30-a722555ce466"> <reportElement x="0" y="252" width="550" height="26" uuid="e8da9273-f3b2-49e4-aa35-884b0b7e04fc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[e, p.c.: Al SUE del Comune di]]></text> <text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana.]]></text>
</staticText> </staticText>
<textField> <staticText>
<reportElement x="250" y="218" width="300" height="14" uuid="7697a524-f6e9-426e-b028-54f13a51cd1b"> <reportElement x="0" y="161" width="550" height="37" uuid="249a7f05-6755-4fe5-8c78-37275a654178">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> <text><![CDATA[I lavori saranno eseguiti sotto la responsabilità del Direttore dei Lavori, il quale - nel rispetto dell’art. 67 comma 8 bis, come introdotto dall’art. 3 del D.L.32/2019, convertito il L.55/2019 - dopo la fine dei lavori, è tenuto a redigere una dichiarazione di regolare esecuzione, da conservare agli atti e da esibire a richiesta.]]></text>
</textField> </staticText>
<staticText> <staticText>
<reportElement x="10" y="154" width="119" height="14" uuid="41156a52-3432-4e69-8196-79839b886df3"> <reportElement key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="false"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Data comunicazione:]]></text> <text><![CDATA[e p.c. : Al Sindaco SUE/SUAP del Comune di]]></text>
</staticText> </staticText>
<textField> <textField isBlankWhenNull="true">
<reportElement x="130" y="155" width="418" height="15" uuid="43cc72aa-dc2f-4807-aeae-9763d508bd29"> <reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans" size="8"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression> <textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField> </textField>
</band>
<band height="194">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText> <staticText>
<reportElement x="0" y="0" width="550" height="144" uuid="be3d8c82-cd22-4c8a-968c-143900eec3ef"> <reportElement x="0" y="198" width="550" height="14" uuid="a7de5411-b0e4-469e-b5f0-0d7b98a427f9">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/> <property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
<paragraph lineSpacing="1_1_2" firstLineIndent="30"/> <paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[Vista la nota in oggetto, con la quale le opere in oggetto sono state ritenute tra quelle indicate alla lettera C (“Interventi privi di rilevanza”) di cui all’allegato A del D.D.G. 189/2019, si comunica che la stessa nota, unitamente alla documentazione allegata, è stata accolta ed acquisita dal sistema informatico “Sismica” della Regione Siciliana. <text><![CDATA[Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del portale Sismica. ]]></text>
I lavori saranno eseguiti sotto la responsabilità del Direttore dei Lavori, il quale - nel rispetto dell’art. 67 comma 8 bis, come introdotto dall’art. 3 del D.L.32/2019, convertito il L.55/2019 - dopo la fine dei lavori, è tenuto a redigere una dichiarazione di regolare esecuzione, da conservare agli atti e da esibire a richiesta.
Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Sismica” della Regione Siciliana. ]]></text>
</staticText> </staticText>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement> <componentElement>
<reportElement x="0" y="150" width="539" height="30" uuid="ae899686-6aaf-485c-a3c4-1d5888f21ae2"> <reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/> <property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </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"> <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="49b5eda0-5360-407d-ad99-898a9bd665f9"> <datasetRun subDataset="dataset1" uuid="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun> </datasetRun>
<jr:listContents height="30" width="539"> <jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="533d148b-6520-4d72-9c8b-4dfdee716918"> <reportElement x="20" y="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"> <textElement textAlignment="Left" verticalAlignment="Middle">
@ -380,13 +497,13 @@ Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed ac
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression>
</textField> </textField>
<ellipse> <ellipse>
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="91ecc8de-b204-47ca-8d69-483b16ad026b"> <reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="55fefa3b-cabb-48e7-9db4-22251af05daf">
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
</ellipse> </ellipse>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="08ff7e67-73bc-4d3c-81d0-40425949aa4b"> <reportElement x="20" y="14" width="519" height="14" uuid="ff5ded57-1002-4409-a269-035990359b7b">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle"> <textElement textAlignment="Left" verticalAlignment="Middle">
@ -399,38 +516,30 @@ Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed ac
</jr:list> </jr:list>
</componentElement> </componentElement>
</band> </band>
<band height="49"> <band height="125">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement key="" x="250" y="10" width="300" height="14" uuid="97f1a5e8-1c85-470a-bcb7-2ebcf8a87fb6">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="14" width="550" height="97" uuid="f19d5e84-1828-430b-9c26-88e84d292a29">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans Bold" isBold="true"/> <font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<text><![CDATA[Il Dirigente del Servizio o Suo Delegato]]></text>
</staticText>
<textField>
<reportElement x="250" y="24" width="300" height="14" uuid="543d4eb0-5adf-49d4-a73a-834df961588b">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dirigente}]]></textFieldExpression> <textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo:"+
"- Le unità Operative che si occupano di Sismica in ogni ufficio del Genio civile, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile dell'istruttoria e di ogni atto procedimentale interlocutorio.\n"+
"­ l'ingegnere Capo dell'Ufficio del Genio Civile di "+$F{sedeGenioCivile}+" è responsabile dell'adozione del provvedimeto finale;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il Dirigente Generale del Dipartimento Regionale Tecnico, nella persona dell'Arch. Salvatore Lizzio;\n\n"+
"Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio mparlavecchio@regione.sicilia.it"]]></textFieldExpression>
</textField> </textField>
</band> </band>
</detail> </detail>
<pageFooter> <pageFooter>
<band height="131" splitType="Stretch"> <band height="151" splitType="Stretch">
<staticText> <staticText>
<reportElement x="0" y="102" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"> <reportElement x="1" y="128" width="284" height="23" uuid="b789abed-475b-4046-a3fa-581afcbb6de3">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
@ -440,23 +549,35 @@ Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed ac
https://sismica.lavoripubblici.sicilia.it]]></text> https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/> <reportElement x="0" y="125" width="555" height="1" uuid="cb7ee3b9-b7ed-4cec-887e-c18052190bc4"/>
</line> </line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="0e732148-8462-4199-a338-2080bfe271c3"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<componentElement> <componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="586d1740-a7d0-477f-b980-b843aa376ab2"> <reportElement x="183" y="52" width="188" height="50" uuid="b6456d66-8f1d-4fcc-84d6-e7e10632b157">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression> <printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement> </reportElement>
<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: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:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417> </jr:PDF417>
</componentElement> </componentElement>
<textField isBlankWhenNull="true"> <staticText>
<reportElement x="8" y="76" width="538" height="20" uuid="fc5cee0f-e4e3-4382-9736-51e6cc4ae270"/> <reportElement x="300" y="2" width="250" height="26" isRemoveLineWhenBlank="true" uuid="4bf817b5-b2ae-41d2-b905-5efd6fd7462c">
<textElement textAlignment="Center"> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<font fontName="DejaVu Sans"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression> <text><![CDATA[Ufficio del Genio Civile
</textField> Il Dirigente del Servizio o suo Delegato]]></text>
</staticText>
</band> </band>
</pageFooter> </pageFooter>
</jasperReport> </jasperReport>

410
jasper/Modello_S.jrxml

@ -1,50 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 --> <!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="Modello B2" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71"> <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="Presa in carico B" 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.5"/> <property name="ireport.zoom" value="1.3310000000000004"/>
<property name="ireport.x" value="3"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.report.description" value=""/> <subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<subDataset name="dataset1" uuid="0d488bd4-c86e-468f-92b1-30dc180516f9">
<field name="codiceAllegato" class="java.lang.String"/> <field name="codiceAllegato" class="java.lang.String"/>
<field name="titoloAllegato" class="java.lang.String"/> <field name="titoloAllegato" class="java.lang.String"/>
<field name="sha256Allegato" class="java.lang.String"/> <field name="sha256Allegato" class="java.lang.String"/>
</subDataset> </subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/> <parameter name="LOGO_REGIONE" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/> <field name="allegati" class="java.util.List"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="allegati" class="java.util.List">
<property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/> <field name="codiceUnivoco" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/> <field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/> <field name="comune" class="java.lang.String">
<field name="dataAvviso" class="java.util.Date"/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
<field name="dataPratica" class="java.util.Date"/> </field>
<field name="dataSorteggio" class="java.util.Date"/> <field name="dataAvviso" 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="sedeGenioCivile" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="tecnico" class="java.lang.String"> <field name="dataPratica" class="java.util.Date">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="tipo" class="java.lang.String"> <field name="dataSorteggio" class="java.util.Date"/>
<field name="direttoreLavori" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="ubicazione" class="java.lang.String"> <field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String">
<property name="com.jaspersoft.studio.field.tree.path" value=""/> <property name="com.jaspersoft.studio.field.tree.path" value=""/>
</field> </field>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="titolareDigitale" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader> <pageHeader>
<band height="121" splitType="Stretch"> <band height="122" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame> <frame>
<reportElement x="0" y="24" width="550" height="96" uuid="0bd6c6a9-3d3d-4fd8-a40c-46086907581d"> <reportElement x="0" y="12" width="550" height="96" uuid="d783c1dd-6e94-480d-add7-a7870e6305e5">
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -54,14 +50,14 @@
<pen lineWidth="1.0"/> <pen lineWidth="1.0"/>
</box> </box>
<image> <image>
<reportElement x="5" y="5" width="224" height="68" uuid="407562c5-4d1d-4ad7-9318-af3aac4a74bb"> <reportElement x="5" y="5" width="224" height="68" uuid="a734e88f-f3f5-48b7-bc72-c9f1fc71bdc4">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> <imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image> </image>
<staticText> <staticText>
<reportElement x="275" y="5" width="270" height="25" uuid="f2c4fa1f-8075-415d-966a-e8187ffacdda"> <reportElement x="275" y="5" width="270" height="25" uuid="11ba33d2-6085-4682-af10-0565e4343ae9">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -72,7 +68,7 @@
<text><![CDATA[Dipartimento Regionale Tecnico]]></text> <text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="275" y="30" width="270" height="25" uuid="91aa1907-55af-4b7e-84c5-c4a601c2e18d"> <reportElement x="275" y="30" width="270" height="25" uuid="024b8d99-fab6-430a-a36a-9e1044bdebfd">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -84,7 +80,7 @@
<text><![CDATA[Ufficio del Genio Civile]]></text> <text><![CDATA[Ufficio del Genio Civile]]></text>
</staticText> </staticText>
<textField> <textField>
<reportElement x="275" y="55" width="270" height="25" uuid="3ee4e487-6318-4336-b9bd-8adaf52a23bc"> <reportElement x="275" y="55" width="270" height="25" uuid="2d6bc04f-7216-4f80-a572-267bd1cc69f5">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
@ -96,7 +92,7 @@
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression> <textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="60" y="80" width="100" height="12" uuid="5f2898c1-fdc8-4cce-a055-cb1f41e760de"> <reportElement x="60" y="80" width="100" height="12" uuid="edaaf892-abf8-4c99-8315-2f0c896541a6">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
@ -106,7 +102,7 @@
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression> <textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="5" y="80" width="53" height="12" uuid="fdd7282f-aeba-440b-9c1e-e8cfd2b27e33"> <reportElement x="5" y="80" width="53" height="12" uuid="5ae412fc-4a5c-4591-9a49-d4ec8fa91c66">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
@ -118,7 +114,7 @@
</staticText> </staticText>
</frame> </frame>
<staticText> <staticText>
<reportElement x="0" y="0" width="550" height="24" uuid="a3e7a11b-5bc5-4145-9d6f-2e2911aaee2c"> <reportElement x="0" y="0" width="550" height="12" uuid="b8776206-ac57-4373-b1c9-204087b65a57">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
@ -127,24 +123,39 @@
<textElement markup="html"> <textElement markup="html">
<font fontName="DejaVu Sans" size="8"/> <font fontName="DejaVu Sans" size="8"/>
</textElement> </textElement>
<text><![CDATA[<b>Mod. S</b> – Attestato pratiche sorteggiate, interventi di minor rilevanza (solo zone sismiche 1-2) e abitati da consolidare]]></text> <text><![CDATA[<b>Mod. S</b> Avviso di sorteggio <i>(interventi B in zona sismica 1, 2, 3 e 4)</i>]]></text>
</staticText> </staticText>
</band> </band>
</pageHeader> </pageHeader>
<detail> <detail>
<band height="418"> <band height="96">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText> <staticText>
<reportElement x="1" y="19" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"> <reportElement x="0" y="0" width="53" height="14" uuid="fb872576-43df-4483-8b75-8fd76aa193bb">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Oggetto:]]></text> <text><![CDATA[Oggetto:]]></text>
</staticText> </staticText>
<staticText>
<reportElement x="0" y="63" width="550" height="19" uuid="ff0b6599-21ce-45ae-b768-f8847e9977d5">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" size="14" isBold="true"/>
</textElement>
<text><![CDATA[COMUNICAZIONE]]></text>
</staticText>
<textField> <textField>
<reportElement key="" x="57" y="19" width="492" height="61" uuid="d0b4d944-c3c7-4489-b56a-8981d11a9110"> <reportElement x="53" y="1" width="497" height="49" uuid="d3ae6f4c-a8d5-467d-810b-b55c1ea2cba9">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
@ -153,50 +164,328 @@
<textElement textAlignment="Justified" markup="html"> <textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["<b>Avviso di sorteggio relativo al Deposito/denuncia del progetto n. "+$F{numeroProgetto}+ " del "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica}))+" ai sensi degli artt. 65 comma 1 e 93 del D.P.R.380/2001</b>, come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – art. 17 della L.64/74), con le modifiche di cui all’art. 94 bis, come introdotto dal DL 32/2019, convertito in legge <b>55/2019 - NTC di riferimento: DM 17/Gennaio /2018</b>."]]></textFieldExpression> <textFieldExpression><![CDATA["Avviso di sorteggio relativo al Deposito/denuncia dei lavori del progetto n. "+$F{numeroProgetto}+" del "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica}))+" ai sensi degli artt. 65 e 93 del D.P.R.380/2001 e ss.mm.ii., come recepito dalla LR. 16/2016 (art. 4 della L.1086/71 – art. 17 della L.64/74), con le modifiche di cui all’art. 94 bis, come introdotto dal DL 32/2019, convertito in legge 55/2019 - NTC di riferimento: DM 17 gennaio 2018."]]></textFieldExpression>
</textField> </textField>
<textField> </band>
<reportElement key="" x="1" y="148" width="548" height="37" uuid="54663451-34c7-4029-835e-57fc286f262d"> <band height="28">
<staticText>
<reportElement positionType="Float" x="0" y="0" width="82" height="14" uuid="db348311-9894-42af-ae4e-727d96f8aa08">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="14" width="82" height="14" uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="0" width="468" height="14" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="82" y="14" width="468" height="14" uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified" markup="html"> <textElement>
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["Pertanto L’inizio dei lavori rimane subordinato al successivo rilascio del provvedimento di autorizzazione, che sarà emesso da questo Ufficio, conseguentemente all’istruttoria della pratica."]]></textFieldExpression> <textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField> </textField>
<textField> </band>
<reportElement x="1" y="108" width="548" height="26" uuid="c7e5dad2-982a-4301-a6a4-300d3982551b"> <band height="14">
<staticText>
<reportElement x="0" y="0" width="82" height="14" uuid="73851677-5e12-47f6-87f8-4116846db634">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="82" y="0" width="468" height="14" uuid="1f7c4107-bd69-4ad4-8244-0aedd8e7c564">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
</band>
<band height="340">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement key="" x="0" y="56" width="345" height="14" uuid="34c76220-8ce3-4108-bece-7462800dfb81">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified"> <textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="14" width="468" height="14" uuid="9a11f165-1666-4c5a-8320-a2d079b5eead">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="14" width="82" height="14" uuid="9ebd5820-10fe-4e69-a741-a8558ddea45d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="56" width="200" height="14" uuid="42df5c98-8327-4567-bd5b-bc111faa08f0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="82" y="42" width="468" height="14" uuid="1a5b0e92-e43a-4bdc-aa90-20c3c8dab2aa">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="42" width="82" height="14" uuid="09f9a400-4f37-4a5e-8c23-ee6017aa1139">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="28" width="82" height="14" isRemoveLineWhenBlank="true" uuid="e464dddc-3f0a-46f1-b47a-cb7354695a0f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="28" width="468" height="14" isRemoveLineWhenBlank="true" uuid="f2e50719-bb44-4349-9ded-fd2aba53c8bf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="350" y="70" width="200" height="14" uuid="bf466b70-b9cd-40f2-abfc-ed28de769266">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["La pratica presentata dalla S.V. risulta sorteggiata ai sensi del Decreto Dirigenziale DRT n. 189/2019 nel sorteggio effettuato in data "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio}))]]></textFieldExpression> <textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="1" y="199" width="548" height="26" uuid="d9bab9dc-8d94-4a76-aed9-90816523269b"> <reportElement key="" x="0" y="70" width="345" height="14" uuid="fe5091eb-741e-4e5f-8a0e-497f01583675">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<staticText>
<reportElement x="0" y="0" width="82" height="14" uuid="0a75889c-c9ef-48e1-b20c-9ee133e8948a">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="82" y="0" width="468" height="14" uuid="6ea64372-68a4-4519-b8ba-7c0b744ca304">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="175" width="550" height="14" uuid="e767e3ae-b512-4d8c-abfe-21a063dc21b6">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Justified"> <textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement> </textElement>
<text><![CDATA[Copia del presente provvedimento sarà disponibile nella sezione “Cronologia” del portale Sismica.]]></text> <text><![CDATA[Copia della presente comunicazione sarà disponibile nella sezione “Cronologia” del portale Sismica. ]]></text>
</staticText> </staticText>
<staticText>
<reportElement x="0" y="189" width="550" height="26" uuid="e8da9273-f3b2-49e4-aa35-884b0b7e04fc">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[Il presente documento viene generato automaticamente dal sistema informatico SISMICA della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="138" width="550" height="37" uuid="249a7f05-6755-4fe5-8c78-37275a654178">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<text><![CDATA[Successivamente verrà comunicato il nominativo del dirigente/funzionario incaricato di eseguire i controlli previsti dall’art. 94-bis, comma 5, i cui esiti saranno resi noti attraverso avviso disponibile nell’apposita sezione della piattaforma informatica Sismica della Regione Siciliana.]]></text>
</staticText>
<staticText>
<reportElement key="" x="0" y="84" width="345" height="14" uuid="687c87a0-7c60-4ff9-b047-196fa3e86747">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[al D.LL.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="350" y="84" width="200" height="14" uuid="07a4410d-2927-4b2a-b099-fd01781442b7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{direttoreLavori}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="112" width="550" height="26" uuid="6f41f679-2f73-45af-b625-5587591a39b2">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14"/>
</textElement>
<textFieldExpression><![CDATA["La pratica presentata dalla S.V. risulta estratta nel sorteggio effettuato in data "+(new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio}))+" ai sensi del Decreto Dirigenziale del DRT n. 344 del 19/05/2020"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="229" width="550" height="97" uuid="ba355dad-8bef-460b-8c50-699392764109">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo:"+
"- Le unità Operative che si occupano di Sismica in ogni ufficio del Genio civile, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile dell'istruttoria e di ogni atto procedimentale interlocutorio.\n"+
"­ l'ingegnere Capo dell'Ufficio del Genio Civile di "+$F{sedeGenioCivile}+" è responsabile dell'adozione del provvedimeto finale;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il Dirigente Generale del Dipartimento Regionale Tecnico, nella persona dell'Arch. Salvatore Lizzio;\n\n"+
"Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio mparlavecchio@regione.sicilia.it"]]></textFieldExpression>
</textField>
</band> </band>
</detail> </detail>
<pageFooter> <pageFooter>
<band height="156" splitType="Stretch"> <band height="151" splitType="Stretch">
<staticText> <staticText>
<reportElement x="1" y="128" width="284" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"> <reportElement x="1" y="128" width="284" height="23" uuid="b789abed-475b-4046-a3fa-581afcbb6de3">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement> </reportElement>
<textElement> <textElement>
@ -206,17 +495,17 @@
https://sismica.lavoripubblici.sicilia.it]]></text> https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="0" y="125" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/> <reportElement x="0" y="125" width="555" height="1" uuid="cb7ee3b9-b7ed-4cec-887e-c18052190bc4"/>
</line> </line>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/> <reportElement x="8" y="102" width="538" height="20" uuid="0e732148-8462-4199-a338-2080bfe271c3"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font fontName="DejaVu Sans"/> <font fontName="DejaVu Sans"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField> </textField>
<componentElement> <componentElement>
<reportElement x="183" y="52" width="188" height="50" uuid="4e8fab2e-91ec-48f5-bfd6-b52f2f2b2a14"> <reportElement x="183" y="52" width="188" height="50" uuid="b6456d66-8f1d-4fcc-84d6-e7e10632b157">
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression> <printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement> </reportElement>
@ -224,18 +513,17 @@ https://sismica.lavoripubblici.sicilia.it]]></text>
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression> <jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417> </jr:PDF417>
</componentElement> </componentElement>
<textField> <staticText>
<reportElement x="1" y="14" width="548" height="15" uuid="8eaa510b-9f79-4947-b538-0a6e67ba73a2"> <reportElement x="300" y="2" width="250" height="26" isRemoveLineWhenBlank="true" uuid="4bf817b5-b2ae-41d2-b905-5efd6fd7462c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement> </reportElement>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font fontName="DejaVu Sans" isBold="true"/> <font fontName="DejaVu Sans" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA["L'ufficio del Genio Civile di "+$F{sedeGenioCivile}]]></textFieldExpression> <text><![CDATA[Ufficio del Genio Civile
</textField> Il Dirigente del Servizio o suo Delegato]]></text>
</staticText>
</band> </band>
</pageFooter> </pageFooter>
</jasperReport> </jasperReport>

77
jasper/Sorteggio.vm

@ -0,0 +1,77 @@
<html>
<head>
<style>
.versione {
font-size: 10px;
margin: 5px 0;
}
.logo {
border-collapse: collapse;
width: 100%;
}
.logo td {
border: 1px solid #000;
padding: 10px;
}
.logo img {
width: 200px;
}
.text-center {
text-align: center;
}
h1 {
font-size: 20px;
margin-bottom: 0;
}
h2 {
font-size:15px;
margin-bottom:0;
}
li, p {
font-size: 14px;
margin: 0 0 4px 0;
}
p.text-center {
margin-bottom: 9px;
}
</style>
</head>
<body>
<p class="versione">
<b>Mod. SR</b> Rapporto sorteggio pratiche
</p>
<table class="logo">
<tr>
<td>
<p><img src="rs.jpg"/></p>
<p>Piattaforma Regionale Sismica Sicilia</p>
</td>
<td class="text-center">
<p>DIPARTIMENTO REGIONALE TECNICO</p>
<p>UFFICIO DEL GENIO CIVILE</p>
</td>
</tr>
</table>
<div>
<br>Viene utilizzato il <a
href="https://it.wikipedia.org/wiki/Generatore_di_numeri_pseudocasuali_crittograficamente_sicuro"
target="_blank">generatore di numeri pseudocasuali crittograficamente sicuro</a> <a
href="https://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html" target="_blank">SecureRandom</a> per
assegnare a ciascuna pratica un numero intero casuale compreso tra -2147483647 e 2147483648.<br><br>Le pratiche alle
quali verranno assegnati i valori più bassi risulteranno sorteggiate.<br><br>Di seguito sono elencate le pratiche
sottoposte a sorteggio, divise per provincia e ordinate per valore di sorteggio.<br><br>
</div>
<div>
$html
</div>
<div>
<small>
Ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della
celerità, è il Dirigente Generale del Dipartimento Regionale Tecnico, nella persona dell'Arch. Salvatore
Lizzio.<br><br>
Il Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio <a
href="mailto:mparlavecchio@regione.sicilia.it">mparlavecchio@regione.sicilia.it</a>
</small><br><br>
</div>
</body>
</html>

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-portlet.xml

@ -77,6 +77,16 @@
</simple> </simple>
</trigger> </trigger>
</scheduler-entry> </scheduler-entry>
<scheduler-entry>
<scheduler-description>Correzioni workflow</scheduler-description>
<scheduler-event-listener-class>it.mwg.sismica.bo.scheduler.SchedulerWorkflow</scheduler-event-listener-class>
<trigger>
<simple>
<simple-trigger-value>60</simple-trigger-value>
<time-unit>minute</time-unit>
</simple>
</trigger>
</scheduler-entry>
<asset-renderer-factory>it.tref.liferay.portos.bo.asset.ControlloPraticaAssetRendererFactory</asset-renderer-factory> <asset-renderer-factory>it.tref.liferay.portos.bo.asset.ControlloPraticaAssetRendererFactory</asset-renderer-factory>
<workflow-handler>it.tref.liferay.portos.bo.workflow.ControlloPraticaWorkflowHandler</workflow-handler> <workflow-handler>it.tref.liferay.portos.bo.workflow.ControlloPraticaWorkflowHandler</workflow-handler>
<header-portlet-css>/css/main.css</header-portlet-css> <header-portlet-css>/css/main.css</header-portlet-css>

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java

@ -323,7 +323,7 @@ public interface IntPraticaLocalService extends BaseLocalService,
* *
* @author Manifattura Web Group per Regione Siciliana. * @author Manifattura Web Group per Regione Siciliana.
*/ */
public java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabiliNew( public java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabiliNew(
long companyId, java.util.Date dtSorteggio) long companyId, java.util.Date dtSorteggio)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException; com.liferay.portal.kernel.exception.SystemException;
@ -334,7 +334,7 @@ public interface IntPraticaLocalService extends BaseLocalService,
* *
* @author Manifattura Web Group per Regione Siciliana. * @author Manifattura Web Group per Regione Siciliana.
*/ */
public java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabili( public java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabili(
long companyId, java.util.Date dtSorteggio) long companyId, java.util.Date dtSorteggio)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException; com.liferay.portal.kernel.exception.SystemException;

8
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java

@ -1155,7 +1155,7 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
} }
@Override @Override
public java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabiliNew( public java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabiliNew(
long companyId, java.util.Date dtSorteggio) long companyId, java.util.Date dtSorteggio)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
@ -1190,11 +1190,11 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
} }
} }
return (java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>>)ClpSerializer.translateOutput(returnObj); return (java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>>)ClpSerializer.translateOutput(returnObj);
} }
@Override @Override
public java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabili( public java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabili(
long companyId, java.util.Date dtSorteggio) long companyId, java.util.Date dtSorteggio)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
@ -1229,7 +1229,7 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
} }
} }
return (java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>>)ClpSerializer.translateOutput(returnObj); return (java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>>)ClpSerializer.translateOutput(returnObj);
} }
@Override @Override

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java

@ -348,7 +348,7 @@ public class IntPraticaLocalServiceUtil {
* *
* @author Manifattura Web Group per Regione Siciliana. * @author Manifattura Web Group per Regione Siciliana.
*/ */
public static java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabiliNew( public static java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabiliNew(
long companyId, java.util.Date dtSorteggio) long companyId, java.util.Date dtSorteggio)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
@ -361,7 +361,7 @@ public class IntPraticaLocalServiceUtil {
* *
* @author Manifattura Web Group per Regione Siciliana. * @author Manifattura Web Group per Regione Siciliana.
*/ */
public static java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabili( public static java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabili(
long companyId, java.util.Date dtSorteggio) long companyId, java.util.Date dtSorteggio)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java

@ -369,7 +369,7 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
* @author Manifattura Web Group per Regione Siciliana. * @author Manifattura Web Group per Regione Siciliana.
*/ */
@Override @Override
public java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabiliNew( public java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabiliNew(
long companyId, java.util.Date dtSorteggio) long companyId, java.util.Date dtSorteggio)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
@ -384,7 +384,7 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
* @author Manifattura Web Group per Regione Siciliana. * @author Manifattura Web Group per Regione Siciliana.
*/ */
@Override @Override
public java.util.HashMap<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabili( public java.util.Map<java.lang.String, java.util.List<it.tref.liferay.portos.bo.model.IntPratica>> findSorteggiabili(
long companyId, java.util.Date dtSorteggio) long companyId, java.util.Date dtSorteggio)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {

151
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java

@ -21,6 +21,7 @@ import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.service.persistence.AsseverazioneUtil; import it.tref.liferay.portos.bo.service.persistence.AsseverazioneUtil;
import it.tref.liferay.portos.bo.shared.bean.FirmeBean; import it.tref.liferay.portos.bo.shared.bean.FirmeBean;
import it.tref.liferay.portos.bo.shared.util.Constants;
import it.tref.liferay.portos.bo.shared.util.DocumentiPraticaUtil; import it.tref.liferay.portos.bo.shared.util.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.shared.util.FirmeUtil; import it.tref.liferay.portos.bo.shared.util.FirmeUtil;
import it.tref.liferay.portos.bo.shared.util.GenericUtils; import it.tref.liferay.portos.bo.shared.util.GenericUtils;
@ -519,8 +520,9 @@ public class ValidazionePraticaUtil {
.getClRischioPostInt())); .getClRischioPostInt()));
// ADT BUG ID = 17 // ADT BUG ID = 17
boolean tipologiaCostruttiva = dettPratica.getTcInCA() || dettPratica.getTcInAcciaio() boolean tipologiaCostruttiva = intPratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_C)
|| dettPratica.getTcInMuratura() || dettPratica.getTcInLegno() || dettPratica.getTcAltro(); || dettPratica.getTcInCA() || dettPratica.getTcInAcciaio() || dettPratica.getTcInMuratura()
|| dettPratica.getTcInLegno() || dettPratica.getTcAltro();
boolean intervFinPub = !dettPratica.getIntervFinPub() boolean intervFinPub = !dettPratica.getIntervFinPub()
|| Validator.isNotNull(dettPratica.getIntervFinPubDesc()); || Validator.isNotNull(dettPratica.getIntervFinPubDesc());
boolean controllo = ag boolean controllo = ag
@ -552,7 +554,7 @@ public class ValidazionePraticaUtil {
// !"|||".equalsIgnoreCase(dettPratica.getDcParticelle())) // !"|||".equalsIgnoreCase(dettPratica.getDcParticelle()))
; ;
// Se è importata da Portos 1 nessun controllo su localizzazione // Se è importata da Portos 1 nessun controllo su localizzazione
// geografica // geografica
boolean coordinateGeografiche = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true boolean coordinateGeografiche = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true
: Validator.isNotNull(dettPratica.getLocalizzazioneGeografica()) : Validator.isNotNull(dettPratica.getLocalizzazioneGeografica())
@ -601,7 +603,7 @@ public class ValidazionePraticaUtil {
notCompleted.add("interv-fin-pub-desc"); notCompleted.add("interv-fin-pub-desc");
} }
if (!Validator.isNotNull(dettPratica.getDescLongIntervento())) { if (Validator.isNull(dettPratica.getDescLongIntervento())) {
notCompleted.add("desc-long-intervento"); notCompleted.add("desc-long-intervento");
} }
@ -610,18 +612,18 @@ public class ValidazionePraticaUtil {
notCompleted.add("fascicolo_title_intervento"); notCompleted.add("fascicolo_title_intervento");
} }
if (!Validator.isNotNull(dettPratica.getDestinazione())) { if (Validator.isNull(dettPratica.getDestinazione())) {
notCompleted.add("destinazione"); notCompleted.add("destinazione");
} }
// if( !Validator.isNotNull(dettPratica.getLocalita()) ){ // if( Validator.isNull(dettPratica.getLocalita()) ){
// notCompleted.add("localita");} // notCompleted.add("localita");}
if (!Validator.isNotNull(dettPratica.getVia())) { if (Validator.isNull(dettPratica.getVia())) {
notCompleted.add("via"); notCompleted.add("via");
} }
// if (!Validator.isNotNull(dettPratica.getDcFoglio())) { // if (Validator.isNull(dettPratica.getDcFoglio())) {
// notCompleted.add("dc-foglio"); // notCompleted.add("dc-foglio");
// } // }
// if (!Validator.isNotNull(dettPratica.getDcAllegato())) { // if (Validator.isNull(dettPratica.getDcAllegato())) {
// notCompleted.add("dp-allegato"); // notCompleted.add("dp-allegato");
// } // }
// if (!(Validator.isNotNull(dettPratica.getDcParticelle()) && // if (!(Validator.isNotNull(dettPratica.getDcParticelle()) &&
@ -640,8 +642,9 @@ public class ValidazionePraticaUtil {
notCompleted.add("Localizzazione geografica mancante"); notCompleted.add("Localizzazione geografica mancante");
} }
// ADT BUG ID = 17 // ADT BUG ID = 17
boolean tipologiaCostruttiva = dettPratica.getTcInCA() || dettPratica.getTcInAcciaio() boolean tipologiaCostruttiva = intPratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_C)
|| dettPratica.getTcInMuratura() || dettPratica.getTcInLegno() || dettPratica.getTcAltro(); || dettPratica.getTcInCA() || dettPratica.getTcInAcciaio() || dettPratica.getTcInMuratura()
|| dettPratica.getTcInLegno() || dettPratica.getTcAltro();
if (!tipologiaCostruttiva) { if (!tipologiaCostruttiva) {
notCompleted.add("Tipologia Costruttiva Mancante"); notCompleted.add("Tipologia Costruttiva Mancante");
} }
@ -914,7 +917,7 @@ public class ValidazionePraticaUtil {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { if (intPratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_C)) {
return true; return true;
} }
@ -1012,11 +1015,6 @@ public class ValidazionePraticaUtil {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
// se da Portos 1 non controllo
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
Collections.emptyList();
}
List<String> notCompleted = new ArrayList<>(); List<String> notCompleted = new ArrayList<>();
List<String> infrastrutture = Arrays.asList("1A", "2A", "A4A", "A4B", "A4C", "A4D", "A4E", "A4F", List<String> infrastrutture = Arrays.asList("1A", "2A", "A4A", "A4B", "A4C", "A4D", "A4E", "A4F",
@ -1039,31 +1037,33 @@ public class ValidazionePraticaUtil {
} }
// se non infrastruttura controllo il resto // se non infrastruttura controllo il resto
if (!Validator.isNotNull(dettPratica.getDePiani())) { // if (Validator.isNull(dettPratica.getDePiani())) {
// Ma perché generare bruttezza quando non è necessario?
if (Validator.isNull(dettPratica.getDePiani())) {
notCompleted.add("de-piani"); notCompleted.add("de-piani");
} }
if (!Validator.isNotNull(dettPratica.getDeAltezza())) { if (Validator.isNull(dettPratica.getDeAltezza())) {
notCompleted.add("de-altezza"); notCompleted.add("de-altezza");
} }
if (!Validator.isNotNull(dettPratica.getDeInterrati())) { if (Validator.isNull(dettPratica.getDeInterrati())) {
notCompleted.add("de-interrati"); notCompleted.add("de-interrati");
} }
if (!Validator.isNotNull(dettPratica.getDeSuperficie())) { if (Validator.isNull(dettPratica.getDeSuperficie())) {
notCompleted.add("de-superficie"); notCompleted.add("de-superficie");
} }
if (!Validator.isNotNull(dettPratica.getDeCostruzione())) { if (Validator.isNull(dettPratica.getDeCostruzione())) {
notCompleted.add("de-costruzione"); notCompleted.add("de-costruzione");
} }
if (!Validator.isNotNull(dettPratica.getDeUso())) { if (Validator.isNull(dettPratica.getDeUso())) {
notCompleted.add("de-uso"); notCompleted.add("de-uso");
} }
if (!Validator.isNotNull(dettPratica.getDeUtilizzazione())) { if (Validator.isNull(dettPratica.getDeUtilizzazione())) {
notCompleted.add("de-utilizzazione"); notCompleted.add("de-utilizzazione");
} }
if (!Validator.isNotNull(dettPratica.getDePrivata())) { if (Validator.isNull(dettPratica.getDePrivata())) {
notCompleted.add("de-privata"); notCompleted.add("de-privata");
} }
if (!Validator.isNotNull(dettPratica.getDePubblica())) { if (Validator.isNull(dettPratica.getDePubblica())) {
notCompleted.add("de-pubblica"); notCompleted.add("de-pubblica");
} }
@ -1074,7 +1074,7 @@ public class ValidazionePraticaUtil {
return notCompleted; return notCompleted;
} }
if (!Validator.isNotNull(dettPratica.getDccFondazioni())) { if (Validator.isNull(dettPratica.getDccFondazioni())) {
notCompleted.add("dcc-fondazioni"); notCompleted.add("dcc-fondazioni");
} }
@ -1149,28 +1149,6 @@ public class ValidazionePraticaUtil {
notCompleted.add("dcc-opere-di-rinforzo"); notCompleted.add("dcc-opere-di-rinforzo");
} }
// List<String> infrastrutture =
// Arrays.asList("1A", "2A", "A4A", "A4B", "A4C", "A4D", "A4E", "A4F",
// "A5A", "B4A", "B4B", "B4C", "B5A");
// boolean infrastruttura =
// !infrastrutture.contains(dettPratica.getDestinazione())
// || (dettPratica.getDeInfStradaleStrada() ||
// dettPratica.getDeInfStradalePonte()
// || dettPratica.getDeInfStradaleAltro() ||
// dettPratica.getDeInfIdraulicaLong()
// || dettPratica.getDeInfIdraulicaTrasv() ||
// dettPratica.getDeInfIdraulicaAltro()
// || dettPratica.getDeInfOperaAccStradale() ||
// dettPratica.getDeInfOperaAccIdraulica()
// || dettPratica.getDeInfOperaAccAltro() ||
// dettPratica.getDeInfAltraInfrastruttura() ||
// Validator
// .isNotNull(dettPratica.getDeInfAltroDesc()));
// if (!infrastruttura) {
// notCompleted.add("de-inf-title");
// }
return notCompleted; return notCompleted;
} }
@ -1723,7 +1701,8 @@ public class ValidazionePraticaUtil {
long intPraticaId = dettPratica.getIntPraticaId(); long intPraticaId = dettPratica.getIntPraticaId();
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
List<String> tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatoriDomanda(); List<String> tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatoriDomanda(intPratica
.getTipoProcedura());
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1()); tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1());
} }
@ -1775,17 +1754,13 @@ public class ValidazionePraticaUtil {
} }
// Se il documento proviene da una dett precedente non viene // Se il documento proviene da una dett precedente non viene
// controllato // controllato perche si presuppone che sia stata gia
// perche si presuppone che sia stata gia verificato // verificato
if (!doc.getClassName().equalsIgnoreCase(DettPratica.class.getName()) if (!doc.getClassName().equalsIgnoreCase(DettPratica.class.getName())
|| doc.getClassPk() != dettPraticaId) { || doc.getClassPk() != dettPraticaId) {
continue; continue;
} }
// if(codiceDoc.equals("A06")){
// System.out.println("a");
// }
FirmeBean firme = FirmeUtil.deserialize(doc.getJsonFirmatari()); FirmeBean firme = FirmeUtil.deserialize(doc.getJsonFirmatari());
List<String> signatures = firme.allSignatures(); List<String> signatures = firme.allSignatures();
GenericUtils.addAllIfnotExist(firmeTotali, signatures); GenericUtils.addAllIfnotExist(firmeTotali, signatures);
@ -1801,14 +1776,6 @@ public class ValidazionePraticaUtil {
// OR Geologo ) AND Direttore_Lavori // OR Geologo ) AND Direttore_Lavori
return false; return false;
} }
// } else if
// (DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A07.equals(codiceDoc)
// ||
// DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A15.equals(codiceDoc))
// {
// if (!isA07A15A16Valid(dettPratica, signatures)) {
// return false;
// }
} else if (DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A07.equals(codiceDoc)) { } else if (DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A07.equals(codiceDoc)) {
if (!isA07A15Valid(dettPratica, intPraticaId, signatures, doc)) { if (!isA07A15Valid(dettPratica, intPraticaId, signatures, doc)) {
// Return false if A07 doesn't contain Progettista // Return false if A07 doesn't contain Progettista
@ -1855,8 +1822,7 @@ public class ValidazionePraticaUtil {
} }
// Ogni progettista e direttore dei lavori deve avere apposto almeno una // Ogni progettista e direttore dei lavori deve avere apposto almeno una
// firma sulla totalità // firma sulla totalità degli allegati
// degli allegati
List<Soggetto> progettisti = SoggettoLocalServiceUtil.getValidTmpByIntPratica_TipologiaSoggetto( List<Soggetto> progettisti = SoggettoLocalServiceUtil.getValidTmpByIntPratica_TipologiaSoggetto(
intPraticaId, TipoSoggettoUtil.PROGETTISTA); intPraticaId, TipoSoggettoUtil.PROGETTISTA);
for (Soggetto progettista : progettisti) { for (Soggetto progettista : progettisti) {
@ -1889,7 +1855,8 @@ public class ValidazionePraticaUtil {
List<String> notCompleted = new ArrayList<>(); List<String> notCompleted = new ArrayList<>();
List<String> tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatoriDomanda(); List<String> tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatoriDomanda(intPratica
.getTipoProcedura());
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1()); tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1());
} }
@ -2101,41 +2068,6 @@ public class ValidazionePraticaUtil {
} }
// public static boolean isA06Valid(DettPratica dettPratica, long
// intPraticaId, List<String>
// signatures,
// DocPratica docPratica) throws SystemException {
// boolean isGeologoOrProgettista = false;
// boolean isDirettoreLavori = false;
//
// // Se check NormArt3com3 A06 non obbligatorio
// if (dettPratica.getNormArt3com3()) {
// return true;
// }
//
// for (String sign : signatures) {
// // List<Soggetto> soggetti =
// // SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId,
// sign);
// List<Soggetto> soggetti =
// SoggettoLocalServiceUtil.getValidTmpByIntPratica_CodiceFiscale(intPraticaId,
// sign,
// docPratica.getClassPk());
// for (Soggetto soggetto : soggetti) {
// if (TipoSoggettoUtil.GEOLOGO.equals(soggetto.getTipologiaSoggetto())
// || TipoSoggettoUtil.PROGETTISTA.equals(soggetto.getTipologiaSoggetto()))
// {
// isGeologoOrProgettista = true;
// } else if
// (TipoSoggettoUtil.DIRETTORE_LAVORI.equals(soggetto.getTipologiaSoggetto()))
// {
// isDirettoreLavori = true;
// }
// }
// }
// return isGeologoOrProgettista && isDirettoreLavori;
// }
public static boolean isA06Valid(DettPratica dettPratica, long intPraticaId, List<String> signatures, public static boolean isA06Valid(DettPratica dettPratica, long intPraticaId, List<String> signatures,
DocPratica docPratica) throws SystemException { DocPratica docPratica) throws SystemException {
@ -2237,8 +2169,7 @@ public class ValidazionePraticaUtil {
} }
// A17 richiesto se CF ditta = CF committente e in quel caso dev'essere // A17 richiesto se CF ditta = CF committente e in quel caso dev'essere
// firmato da almeno un // firmato da almeno un soggetto
// soggetto
public static boolean isA17Valid(DettPratica dettPratica, List<String> signatures) throws SystemException { public static boolean isA17Valid(DettPratica dettPratica, List<String> signatures) throws SystemException {
boolean isRequired = isA17Required(dettPratica); boolean isRequired = isA17Required(dettPratica);
@ -2329,7 +2260,7 @@ public class ValidazionePraticaUtil {
FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId); FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId);
List<String> notCompleted = new ArrayList<>(); List<String> notCompleted = new ArrayList<>();
if (!Validator.isNotNull(fineLavori.getParziale())) { if (Validator.isNull(fineLavori.getParziale())) {
notCompleted.add("fl-tipo"); notCompleted.add("fl-tipo");
} }
if (fineLavori.getParziale() if (fineLavori.getParziale()
@ -2337,7 +2268,7 @@ public class ValidazionePraticaUtil {
false) > 0) { false) > 0) {
notCompleted.add("fl-parziale-not-possibile"); notCompleted.add("fl-parziale-not-possibile");
} }
if (!Validator.isNotNull(fineLavori.getDataFineLavori())) { if (Validator.isNull(fineLavori.getDataFineLavori())) {
notCompleted.add("fl-data-fine"); notCompleted.add("fl-data-fine");
} }
@ -2347,7 +2278,7 @@ public class ValidazionePraticaUtil {
notCompleted.add("fl-data-fine-early"); notCompleted.add("fl-data-fine-early");
} }
if (!Validator.isNotNull(fineLavori.getCodiceFiscaleDelegato())) { if (Validator.isNull(fineLavori.getCodiceFiscaleDelegato())) {
notCompleted.add("fl-dir-lav"); notCompleted.add("fl-dir-lav");
} }
@ -2403,7 +2334,7 @@ public class ValidazionePraticaUtil {
Collaudo collaudo = CollaudoServiceUtil.getCollaudo(collaudoId); Collaudo collaudo = CollaudoServiceUtil.getCollaudo(collaudoId);
List<String> notCompleted = new ArrayList<>(); List<String> notCompleted = new ArrayList<>();
if (!Validator.isNotNull(collaudo.getParziale())) { if (Validator.isNull(collaudo.getParziale())) {
notCompleted.add("col-tipo"); notCompleted.add("col-tipo");
} }
if (collaudo.getParziale() if (collaudo.getParziale()
@ -2415,10 +2346,10 @@ public class ValidazionePraticaUtil {
collaudo.getIntPraticaId(), false, true) == 0) { collaudo.getIntPraticaId(), false, true) == 0) {
notCompleted.add("col-totale-not-possibile"); notCompleted.add("col-totale-not-possibile");
} }
if (!Validator.isNotNull(collaudo.getDataCollaudo())) { if (Validator.isNull(collaudo.getDataCollaudo())) {
notCompleted.add("col-data-fine"); notCompleted.add("col-data-fine");
} }
if (!Validator.isNotNull(collaudo.getCodiceFiscaleDelegato())) { if (Validator.isNull(collaudo.getCodiceFiscaleDelegato())) {
notCompleted.add("col-collaudatore"); notCompleted.add("col-collaudatore");
} }

183
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/WorkflowUtil.java

@ -193,189 +193,6 @@ public class WorkflowUtil {
} }
} }
// @SuppressWarnings("unchecked")
// public static boolean startWorkflow(IntPratica intPratica, DettPratica
// dettPratica, long
// userId,
// Map<String, Serializable> workflowContext, ServiceContext serviceContext)
// throws Exception {
//
// boolean avviato = false;
//
// Territorio territorio =
// TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
// Comune comune =
// ComuneLocalServiceUtil.getComune(territorio.getComuneId());
// Provincia provincia =
// ProvinciaLocalServiceUtil.fetchByC_C(intPratica.getCompanyId(),
// comune.getCodiceProvincia());
//
// if (workflowContext == null) {
// workflowContext = new HashMap<String, Serializable>();
// }
//
// Map<String, String> formParameters =
// (Map<String, String>)
// workflowContext.get(WorkflowConstants.CONTEXT_WORKFLOW_PARAMETERS);
// if (formParameters == null) {
// formParameters = new HashMap<String, String>();
// workflowContext.put(WorkflowConstants.CONTEXT_WORKFLOW_PARAMETERS,
// (Serializable)
// formParameters);
// }
//
// formParameters.put(WorkflowConstants.WORKFLOW_PARAM_NAME_PROVINCIA,
// provincia.getCodiceProvincia());
//
// try {
// WorkflowInstanceLinkLocalServiceUtil.getWorkflowInstanceLink(dettPratica.getCompanyId(),
// dettPratica.getGroupId(), DettPratica.class.getName(),
// dettPratica.getDettPraticaId());
// } catch (NoSuchWorkflowInstanceLinkException e) {
// // workflow non avviato -> start
// WorkflowHandlerRegistryUtil.startWorkflowInstance(dettPratica.getCompanyId(),
// dettPratica.getGroupId(), userId,
// DettPratica.class.getName(), dettPratica.getDettPraticaId(), dettPratica,
// serviceContext,
// workflowContext);
// }
//
// DettPratica dettPraticaUpdated =
// DettPraticaLocalServiceUtil.getDettPratica(dettPratica.getDettPraticaId());
// if (dettPraticaUpdated.getStatus() == WorkflowConstants.STATUS_PENDING) {
// avviato = true;
// }
//
// return avviato;
// }
//
// public static Date
// getDateAvvioWorkflowSanatoriaDepositoOpereNonConformi() {
// return SorteggioPraticaUtil.getDateMinSorteggioAnno(new Date());
// }
//
// public static Date getDateAvvioWorkflowSanatoriaDepositoOpereConformi() {
// return SorteggioPraticaUtil.getDateMinSorteggioMese(new Date());
// }
//
// public static WorkflowTipoPratica getWorkflowTipoPratica(IntPratica
// intPratica) throws
// PortalException,
// SystemException {
// TipoPratica tipoPratica =
// TipoPraticaLocalServiceUtil.getTipoPratica(intPratica.getTipoPraticaId());
// long tipoPraticaId = tipoPratica.getTipoPraticaId();
// String flagPratica = WorkflowTipoPraticaConstants.FLAG_PRATICA_NUOVA;
// if
// (tipoPratica.getCodTipoPratica().equals(TipoPraticaConstants.SANATORIA))
// {
// tipoPraticaId = intPratica.getTipoPraticaIdSanatoria();
// flagPratica = WorkflowTipoPraticaConstants.FLAG_PRATICA_SANATORIA;
// }
// return
// WorkflowTipoPraticaLocalServiceUtil.fetchByG_TipoPratica_FlagPratica(tipoPraticaId,
// intPratica.getGroupId(),
// flagPratica);
// }
//
// public static boolean isFineLavoroSanatoriaDepositoPerWorkflow(IntPratica
// intPratica, String
// tipoIntegrazione)
// throws SystemException {
// // tipo integrazione e' vuoto in caso di avvio workflow se arriva un fine
// lavori perch? il
// // workflow si lancia sulla pratica principale.
// if (Validator.isNull(tipoIntegrazione) && intPratica.getDtSorteggio() ==
// null) {
// // Cercare l'ultima fine lavori e mettere tipo integrazione a 07
// if
// (DettPraticaLocalServiceUtil.countAllIntegrazioniByIntPraticaId(intPratica.getIntPraticaId(),
// new String[] {TipoIntegrazioneConstants.FINE_LAVORO}, null, true) > 0) {
// tipoIntegrazione = TipoIntegrazioneConstants.FINE_LAVORO;
// }
// }
//
// if (tipoIntegrazione.equals(TipoIntegrazioneConstants.FINE_LAVORO)) {
// if (intPratica.getTipoPraticaId() ==
// TipoPraticaLocalServiceUtil.getTipoPraticaByCodTipoPratica(
// TipoPraticaConstants.SANATORIA).getTipoPraticaId()) {
// long praticaIdSanatoria = intPratica.getTipoPraticaIdSanatoria();
// if (praticaIdSanatoria ==
// TipoPraticaLocalServiceUtil.getTipoPraticaByCodTipoPratica(
// TipoPraticaConstants.DEPOSITO).getTipoPraticaId()
// && !intPratica.isOperaConforme()) {
// return true;
// }
// }
// }
// return false;
// }
//
// public static int
// countIntPraticaIdsPerAvvioWorkflowSanatoriaDepositoOpereConformi() throws
// SystemException {
// Date dt = getDateAvvioWorkflowSanatoriaDepositoOpereConformi();
// return
// IntPraticaLocalServiceUtil.countIntPraticaIdsPerAvvioWorkflowSanatoriaDepositoOpereConformi(dt,
// null, true);
// }
//
// public static List<Long>
// findIntPraticaIdsPerAvvioWorkflowSanatoriaDepositoOpereConformi(int
// start, int end)
// throws SystemException {
// Date dt = getDateAvvioWorkflowSanatoriaDepositoOpereConformi();
// return
// IntPraticaLocalServiceUtil.findIntPraticaIdsPerAvvioWorkflowSanatoriaDepositoOpereConformi(dt,
// null, true,
// start, end);
// }
//
// public static boolean
// isIntPraticaPerAvvioWorkflowSanatoriaDepositoOpereConformi(long
// intPraticaId)
// throws SystemException {
// Date dt = getDateAvvioWorkflowSanatoriaDepositoOpereConformi();
// return
// IntPraticaLocalServiceUtil.isIntPraticaPerAvvioWorkflowSanatoriaDepositoOpereConformi(dt,
// intPraticaId,
// false);
// }
//
// public static int
// countIntPraticaIdsPerAvvioWorkflowSanatoriaDepositoOpereNonConformi()
// throws
// SystemException {
// Date dt = getDateAvvioWorkflowSanatoriaDepositoOpereNonConformi();
// return
// IntPraticaLocalServiceUtil.countIntPraticaIdsPerAvvioWorkflowSanatoriaDepositoOpereNonConformi(dt,
// null,
// true);
// }
//
// public static List<Long>
// findIntPraticaIdsPerAvvioWorkflowSanatoriaDepositoOpereNonConformi(int
// start, int end)
// throws SystemException {
// Date dt = getDateAvvioWorkflowSanatoriaDepositoOpereNonConformi();
// return
// IntPraticaLocalServiceUtil.findIntPraticaIdsPerAvvioWorkflowSanatoriaDepositoOpereNonConformi(dt,
// null,
// true, start, end);
// }
//
// public static boolean
// isIntPraticaPerAvvioWorkflowSanatoriaDepositoOpereNonConformi(long
// intPraticaId)
// throws SystemException {
// Date dt = getDateAvvioWorkflowSanatoriaDepositoOpereNonConformi();
// return
// IntPraticaLocalServiceUtil.isIntPraticaPerAvvioWorkflowSanatoriaDepositoOpereNonConformi(dt,
// intPraticaId,
// false);
// }
private static void disattiva(long intPraticaId, long groupId, long userId, long dettPraticaId, private static void disattiva(long intPraticaId, long groupId, long userId, long dettPraticaId,
ServiceContext serviceContext) throws SystemException, PortalException { ServiceContext serviceContext) throws SystemException, PortalException {

56
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/scheduler/SchedulerWorkflow.java

@ -0,0 +1,56 @@
package it.mwg.sismica.bo.scheduler;
import it.mwg.sismica.bo.util.SismicaUtil;
import java.util.Date;
import java.util.List;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
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.MessageListener;
import com.liferay.portal.kernel.messaging.MessageListenerException;
import com.liferay.portal.model.Company;
import com.liferay.portal.model.Role;
import com.liferay.portal.model.RoleConstants;
import com.liferay.portal.model.User;
import com.liferay.portal.security.auth.PrincipalThreadLocal;
import com.liferay.portal.security.permission.PermissionChecker;
import com.liferay.portal.security.permission.PermissionCheckerFactoryUtil;
import com.liferay.portal.security.permission.PermissionThreadLocal;
import com.liferay.portal.service.CompanyLocalServiceUtil;
import com.liferay.portal.service.RoleLocalServiceUtil;
import com.liferay.portal.service.UserLocalServiceUtil;
public class SchedulerWorkflow implements MessageListener {
private static final Log _log = LogFactoryUtil.getLog(SchedulerWorkflow.class);
private static final Lock lock = new ReentrantLock();
public void receive(Message message) throws MessageListenerException {
if (lock.tryLock()) {
_log.info("Inizio elaborazione");
try {
for (Company company : CompanyLocalServiceUtil.getCompanies()) {
long companyId = company.getCompanyId();
Role role = RoleLocalServiceUtil.getRole(companyId, RoleConstants.ADMINISTRATOR);
User user = UserLocalServiceUtil.getRoleUsers(role.getRoleId(), 0, 1).get(0);
PermissionChecker permissionChecker = PermissionCheckerFactoryUtil.create(user);
PermissionThreadLocal.setPermissionChecker(permissionChecker);
List<String> esito = SismicaUtil.riparaWorkflow(companyId, user.getUserId());
for (String riga : esito) {
_log.info(riga);
}
}
} catch (Exception e) {
e.printStackTrace();
}
lock.unlock();
}
}
}

11
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java

@ -86,8 +86,7 @@ public class SismicaUtil {
reference.add(Calendar.DAY_OF_MONTH, -7); reference.add(Calendar.DAY_OF_MONTH, -7);
Date start = reference.getTime(); Date start = reference.getTime();
try { try {
if (start.equals((new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")).parse("2020-03-09 00:00:00"))) start = (new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")).parse("2020-05-18 00:00:00");
start = (new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")).parse("2020-03-02 00:00:00");
} catch (ParseException e) { } catch (ParseException e) {
} }
return new Date[] { start, end }; return new Date[] { start, end };
@ -411,10 +410,7 @@ public class SismicaUtil {
controlli = new ArrayList<>(); controlli = new ArrayList<>();
} }
if (pratica.getStatoPratica().equals(StatoPraticaConstants.VIDIMATA) if (pratica.getStatoPratica().equals(StatoPraticaConstants.VIDIMATA)
&& (totali.size() == 1) && (controlli.size() == 0)) {
&& (controlli.size() == 0)
&& (Validator.isNotNull(pratica.getDtSorteggio()) || !pratica
.getTipoProcedura().equals(Constants.PROCEDURA_B1))) {
esito.add("Progetto: " + pratica.getNumeroProgetto() + " (" esito.add("Progetto: " + pratica.getNumeroProgetto() + " ("
+ pratica.getIntPraticaId() + "), procedura=" + pratica.getIntPraticaId() + "), procedura="
+ pratica.getTipoProcedura() + ", avvisi=" + totali.size() + ", stato=" + pratica.getTipoProcedura() + ", avvisi=" + totali.size() + ", stato="
@ -461,6 +457,8 @@ public class SismicaUtil {
if (Validator.isNotNull(fileEntryIdTemplate)) { if (Validator.isNotNull(fileEntryIdTemplate)) {
try { try {
if (!pratica.getTipoProcedura().equalsIgnoreCase(
Constants.PROCEDURA_C)) {
AvvisoLocalServiceUtil.addAvviso(pratica.getIntPraticaId(), AvvisoLocalServiceUtil.addAvviso(pratica.getIntPraticaId(),
"Attestazione di deposito progetto", new Date(), "Attestazione di deposito progetto", new Date(),
AvvisoUtil.TIPO_AVVISO_DIRETTO, AvvisoUtil.TIPO_AVVISO_DIRETTO,
@ -468,6 +466,7 @@ public class SismicaUtil {
dettPratica.getDettPraticaId(), dettPratica.getDettPraticaId(),
DettPratica.class.getName(), DettPratica.class.getName(),
controllo.getControlloPraticaId(), serviceContext); controllo.getControlloPraticaId(), serviceContext);
}
pratica.setStatoPratica(StatoPraticaConstants.CONFORME); pratica.setStatoPratica(StatoPraticaConstants.CONFORME);
IntPraticaLocalServiceUtil.updateIntPratica(pratica); IntPraticaLocalServiceUtil.updateIntPratica(pratica);
} catch (PortalException | SystemException e) { } catch (PortalException | SystemException e) {

9
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/PortosAdministrationPortlet.java

@ -70,9 +70,12 @@ public class PortosAdministrationPortlet extends MVCPortlet {
} }
public void riparaWorkflow(ActionRequest actionRequest, ActionResponse actionResponse) { public void riparaWorkflow(ActionRequest actionRequest, ActionResponse actionResponse) {
ThemeDisplay td = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); // ThemeDisplay td = (ThemeDisplay)
List<String> esito = SismicaUtil.riparaWorkflow(td.getCompanyId(), td.getUserId()); // actionRequest.getAttribute(WebKeys.THEME_DISPLAY);
actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()])); // List<String> esito = SismicaUtil.riparaWorkflow(td.getCompanyId(),
// td.getUserId());
// actionResponse.setRenderParameter("esito", esito.toArray(new
// String[esito.size()]));
} }
public void inviaComunicazione(ActionRequest actionRequest, ActionResponse actionResponse) { public void inviaComunicazione(ActionRequest actionRequest, ActionResponse actionResponse) {

68
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/bean/ReportAvvisoBean.java

@ -11,6 +11,8 @@ public class ReportAvvisoBean implements Serializable {
private static final long serialVersionUID = -1229588050032694212L; private static final long serialVersionUID = -1229588050032694212L;
private static final Log _log = LogFactoryUtil.getLog(ReportAvvisoBean.class);
private String tipo; private String tipo;
private String codiceUnivoco; private String codiceUnivoco;
private String lavoriDi; private String lavoriDi;
@ -26,10 +28,9 @@ public class ReportAvvisoBean implements Serializable {
private Date dataProtocolloAnnullato; private Date dataProtocolloAnnullato;
private String tipoAnnullato; private String tipoAnnullato;
private String tecnicoEmail; private String tecnicoEmail;
private String alCommittente; private String direttoreLavori;
private String alDirettoreLavori; private String collaudatore;
private String alCollaudatore; private String titolareDigitale;
private String alTitolareDigitale;
private String sedeGenioCivile; private String sedeGenioCivile;
private String dirigente; private String dirigente;
private String tecnico; private String tecnico;
@ -47,6 +48,7 @@ public class ReportAvvisoBean implements Serializable {
private List<ReportAvvisoAllegatoBean> allegati; private List<ReportAvvisoAllegatoBean> allegati;
private List<ReportAvvisoSoggettoBean> soggetti; private List<ReportAvvisoSoggettoBean> soggetti;
private String tipoPratica; private String tipoPratica;
private String tipoProcedura;
private String po; private String po;
private String presidio; private String presidio;
private String numeroVariante; // numero totali private String numeroVariante; // numero totali
@ -108,38 +110,33 @@ public class ReportAvvisoBean implements Serializable {
this.numeroProgetto = numeroProgetto; this.numeroProgetto = numeroProgetto;
} }
public String getAlCommittente() { @Deprecated
public String getAlDirettoreLavori() {
return alCommittente; return direttoreLavori;
} }
public void setAlCommittente(String alCommittente) { public String getDirettoreLavori() {
return direttoreLavori;
this.alCommittente = alCommittente;
} }
public String getAlDirettoreLavori() { public void setDirettoreLavori(String direttoreLavori) {
this.direttoreLavori = direttoreLavori;
return alDirettoreLavori;
} }
public void setAlDirettoreLavori(String alDirettoreLavori) { @Deprecated
public String getAlCommittente() {
this.alDirettoreLavori = alDirettoreLavori; return committente;
} }
public String getCommittente() { public String getCommittente() {
return committente; return committente;
} }
public void setCommittente(String committente) { public void setCommittente(String committente) {
this.committente = committente; this.committente = committente;
} }
public String getCodiceUnivoco() { public String getCodiceUnivoco() {
return codiceUnivoco; return codiceUnivoco;
} }
@ -321,6 +318,16 @@ public class ReportAvvisoBean implements Serializable {
this.tipoPratica = tipoPratica; this.tipoPratica = tipoPratica;
} }
public String getTipoProcedura() {
return tipoProcedura;
}
public void setTipoProcedura(String tipoProcedura) {
this.tipoProcedura = tipoProcedura;
}
public long getVarianteNumero() { public long getVarianteNumero() {
return varianteNumero; return varianteNumero;
@ -390,25 +397,30 @@ public class ReportAvvisoBean implements Serializable {
this.elencoNumeriProtocolloIntegrazione = elencoNumeriProtocolloIntegrazione; this.elencoNumeriProtocolloIntegrazione = elencoNumeriProtocolloIntegrazione;
} }
@Deprecated
public String getAlCollaudatore() { public String getAlCollaudatore() {
return collaudatore;
return alCollaudatore;
} }
public void setAlCollaudatore(String alCollaudatore) { public String getCollaudatore() {
return collaudatore;
}
this.alCollaudatore = alCollaudatore; public void setCollaudatore(String collaudatore) {
this.collaudatore = collaudatore;
} }
@Deprecated
public String getAlTitolareDigitale() { public String getAlTitolareDigitale() {
return titolareDigitale;
return alTitolareDigitale;
} }
public void setAlTitolareDigitale(String alTitolareDigitale) { public String getTitolareDigitale() {
return titolareDigitale;
}
this.alTitolareDigitale = alTitolareDigitale; public void setTitolareDigitale(String titolareDigitale) {
this.titolareDigitale = titolareDigitale;
} }
public String getTecnicoEmail() { public String getTecnicoEmail() {

11
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java

@ -225,6 +225,7 @@ public class ReportAvvisoBeanBuilder {
bean.setDataAvviso(avviso.getModifiedDate()); bean.setDataAvviso(avviso.getModifiedDate());
bean.setTipoPratica(intPratica.getTipoPratica()); bean.setTipoPratica(intPratica.getTipoPratica());
bean.setTipoProcedura(intPratica.getTipoProcedura());
bean.setCodiceUnivoco(uuid); bean.setCodiceUnivoco(uuid);
bean.setLavoriDi(dettPratica.getDescLongIntervento()); bean.setLavoriDi(dettPratica.getDescLongIntervento());
@ -249,7 +250,7 @@ public class ReportAvvisoBeanBuilder {
bean.setSedeGenioCivile(organizzation.getName()); bean.setSedeGenioCivile(organizzation.getName());
User user = UserLocalServiceUtil.getUser(intPratica.getUserId()); User user = UserLocalServiceUtil.getUser(intPratica.getUserId());
bean.setAlTitolareDigitale(user.getFullName()); bean.setTitolareDigitale(user.getFullName());
// RIEMPIO I SOGGETTI // RIEMPIO I SOGGETTI
Soggetto committenteBean = SoggettoLocalServiceUtil Soggetto committenteBean = SoggettoLocalServiceUtil
@ -268,7 +269,6 @@ public class ReportAvvisoBeanBuilder {
// committenteBean.getCognome(); // committenteBean.getCognome();
String committente = committenteBean.getTitle(); String committente = committenteBean.getTitle();
bean.setCommittente(committente); bean.setCommittente(committente);
bean.setAlCommittente(committente);
} }
Soggetto direttoreLavoriBean = SoggettoLocalServiceUtil Soggetto direttoreLavoriBean = SoggettoLocalServiceUtil
@ -278,7 +278,7 @@ public class ReportAvvisoBeanBuilder {
if (Validator.isNotNull(direttoreLavoriBean)) { if (Validator.isNotNull(direttoreLavoriBean)) {
String direttoreLavori = direttoreLavoriBean.getNome() + StringPool.SPACE String direttoreLavori = direttoreLavoriBean.getNome() + StringPool.SPACE
+ direttoreLavoriBean.getCognome(); + direttoreLavoriBean.getCognome();
bean.setAlDirettoreLavori(direttoreLavori); bean.setDirettoreLavori(direttoreLavori);
} }
Soggetto collaudatoreBean = SoggettoLocalServiceUtil Soggetto collaudatoreBean = SoggettoLocalServiceUtil
@ -287,7 +287,7 @@ public class ReportAvvisoBeanBuilder {
if (Validator.isNotNull(collaudatoreBean)) { if (Validator.isNotNull(collaudatoreBean)) {
String collaudatore = collaudatoreBean.getNome() + StringPool.SPACE String collaudatore = collaudatoreBean.getNome() + StringPool.SPACE
+ collaudatoreBean.getCognome(); + collaudatoreBean.getCognome();
bean.setAlCollaudatore(collaudatore); bean.setCollaudatore(collaudatore);
} }
if (WorkflowUtil.isWorkflowDisattivabile(intPraticaId)) { if (WorkflowUtil.isWorkflowDisattivabile(intPraticaId)) {
@ -324,8 +324,7 @@ public class ReportAvvisoBeanBuilder {
if (parameters.containsKey("tipoValido")) if (parameters.containsKey("tipoValido"))
bean.setTipoValido((String) parameters.get("tipoValido")); bean.setTipoValido((String) parameters.get("tipoValido"));
// ADT:bug id 14:<EFBFBD>correzione<EFBFBD>testo<EFBFBD>del<EFBFBD>documento<EFBFBD>di<EFBFBD>non<EFBFBD>autorizzazione // ADT:bug id 14: correzione testo del documento di non autorizzazione
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if (avviso.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.NON_AUTORIZZATA) if (avviso.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.NON_AUTORIZZATA)
|| avviso.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.NON_CONFORME)) { || avviso.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.NON_CONFORME)) {
if (Validator.isNull(parameters.get("motivazioni"))) if (Validator.isNull(parameters.get("motivazioni")))

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

@ -280,7 +280,6 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
DettPratica dettPratica = dettPraticaLocalService.getDettPratica(dettPraticaId); DettPratica dettPratica = dettPraticaLocalService.getDettPratica(dettPraticaId);
long intPraticaId = dettPratica.getIntPraticaId(); long intPraticaId = dettPratica.getIntPraticaId();
IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId); IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId);
if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(dettPratica.getTipoIntegrazione()) if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())
|| TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione()) || TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())
|| TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equalsIgnoreCase(dettPratica || TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equalsIgnoreCase(dettPratica
@ -294,7 +293,6 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
TipoSoggettoUtil.COMMITTENTE, TipoSoggettoUtil.DIRETTORE_LAVORI, TipoSoggettoUtil.COMMITTENTE, TipoSoggettoUtil.DIRETTORE_LAVORI,
TipoSoggettoUtil.GEOLOGO, TipoSoggettoUtil.DITTA, TipoSoggettoUtil.PROGETTISTA }, TipoSoggettoUtil.GEOLOGO, TipoSoggettoUtil.DITTA, TipoSoggettoUtil.PROGETTISTA },
new String[] { AsseverazioniUtil.STATO_ESEGUITA })); new String[] { AsseverazioniUtil.STATO_ESEGUITA }));
nuoviDelegati.removeAll(cfNuoviSoggetti); nuoviDelegati.removeAll(cfNuoviSoggetti);
for (String cfDelegato : nuoviDelegati) { for (String cfDelegato : nuoviDelegati) {
List<Soggetto> delegato = soggettoLocalService.getValidTmpByIntPratica_CodiceFiscale( List<Soggetto> delegato = soggettoLocalService.getValidTmpByIntPratica_CodiceFiscale(
@ -446,7 +444,7 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
reportDto.setHeader(""); reportDto.setHeader("");
reportDto.setHeaderHeight(1); reportDto.setHeaderHeight(1);
reportDto.setFooter(""); reportDto.setFooter("");
reportDto.setFooterHeight(1); reportDto.setFooterHeight(40);
Map<String, Object> parameters = new HashMap<String, Object>(); Map<String, Object> parameters = new HashMap<String, Object>();
String relazioni = ""; String relazioni = "";

64
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ControlloPraticaLocalServiceImpl.java

@ -760,39 +760,73 @@ public class ControlloPraticaLocalServiceImpl extends ControlloPraticaLocalServi
.fetchControlloPratica(controlloPraticaId); .fetchControlloPratica(controlloPraticaId);
IntPratica pratica = IntPraticaLocalServiceUtil.fetchIntPratica(controllo.getIntPraticaId()); IntPratica pratica = IntPraticaLocalServiceUtil.fetchIntPratica(controllo.getIntPraticaId());
Long giorni = SismicaUtil.daysPast(pratica.getDtPratica()); Date apertura = pratica.getDtPratica();
Date chiusura = null;
long stop = 0;
if (Validator.isNotNull(giorni)) {
List<Avviso> avvisi = AvvisoLocalServiceUtil.findByIntPratica(pratica.getIntPraticaId(), List<Avviso> avvisi = AvvisoLocalServiceUtil.findByIntPratica(pratica.getIntPraticaId(),
QueryUtil.ALL_POS, QueryUtil.ALL_POS, OrderByComparatorFactoryUtil QueryUtil.ALL_POS, QueryUtil.ALL_POS, OrderByComparatorFactoryUtil
.getOrderByComparatorFactory().create("portos_bo_Avviso", "dtAvviso", true)); .getOrderByComparatorFactory().create("portos_bo_Avviso", "createDate", true));
Date start = null; Date start = null;
Date end = null; Date end = null;
// _log.info("Pratica " + pratica.getNumeroProgetto()); _log.info("Pratica " + pratica.getNumeroProgetto());
for (Avviso avviso : avvisi) { for (Avviso avviso : avvisi) {
if (!avviso.isAnnullato()) { if (!avviso.isAnnullato()) {
// _log.info("Avviso " + avviso.getTipoDocumento() + " " + String tipo = avviso.getTipoDocumento().toUpperCase();
// avviso.getDtAvviso()); _log.info("Avviso " + avviso.getTipoDocumento() + " " + avviso.getDtAvviso() + " "
if (avviso.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.INTEGRAZIONE)) { + avviso.getCreateDate());
start = avviso.getDtInvio(); if (tipo.equals(StatoPraticaConstants.INTEGRAZIONE)) {
start = avviso.getCreateDate();
end = null; end = null;
_log.info("start = " + start + ", pratica " + pratica.getNumeroProgetto()); if (Validator.isNotNull(chiusura)) {
} else if (avviso.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.VIDIMATA)) { apertura = avviso.getDtAvviso();
end = avviso.getDtAvviso(); chiusura = null;
// _log.info("end = " + end + " (" + start + ")"); stop = 0;
_log.info("Reset apertura al " + apertura);
}
_log.info("IN start = " + start + ", pratica " + pratica.getNumeroProgetto());
} else if (tipo.equals(StatoPraticaConstants.VIDIMATA)) {
if (Validator.isNull(chiusura)) {
end = avviso.getCreateDate();
_log.info(tipo + " end = " + end + ", pratica " + pratica.getNumeroProgetto());
} else {
apertura = avviso.getDtAvviso();
chiusura = start = end = null;
stop = 0;
_log.info("Reset apertura al " + apertura);
}
} else if (tipo.equals(StatoPraticaConstants.INTEGRAZIONE_ACCETTATA)) {
end = avviso.getCreateDate();
_log.info(tipo + " end = " + end + ", pratica " + pratica.getNumeroProgetto());
} else if (tipo.equals(StatoPraticaConstants.AUTORIZZATA)
|| tipo.equals(StatoPraticaConstants.NON_AUTORIZZATA)) {
chiusura = avviso.getCreateDate();
_log.info("Chiusura al " + chiusura);
} }
} }
if (Validator.isNotNull(start) && Validator.isNotNull(end)) { if (Validator.isNotNull(start) && Validator.isNotNull(end)) {
Long diff = SismicaUtil.daysBetween(start, end); Long diff = SismicaUtil.daysBetween(start, end);
if (Validator.isNotNull(diff)) {
stop += diff;
}
_log.info("Differenza: " + diff + ", pratica " + pratica.getNumeroProgetto()); _log.info("Differenza: " + diff + ", pratica " + pratica.getNumeroProgetto());
start = end = null; start = end = null;
} else {
// _log.info(start + " --- " + end);
} }
} }
// C'è uno stop ancora attivo
if (Validator.isNotNull(start)) {
chiusura = start;
}
Long giorni = null;
if (Validator.isNull(chiusura)) {
giorni = SismicaUtil.daysPast(apertura);
} else {
giorni = SismicaUtil.daysBetween(apertura, chiusura);
} }
return giorni; return giorni - stop;
} }
/* /*

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DelegaLocalServiceImpl.java

@ -378,7 +378,7 @@ public class DelegaLocalServiceImpl extends DelegaLocalServiceBaseImpl {
reportDto.setHeader(""); reportDto.setHeader("");
reportDto.setHeaderHeight(1); reportDto.setHeaderHeight(1);
reportDto.setFooter(""); reportDto.setFooter("");
reportDto.setFooterHeight(1); reportDto.setFooterHeight(40);
reportDto.setParameters(parameters); reportDto.setParameters(parameters);
reportDto.setShowNumberOfPage(true); reportDto.setShowNumberOfPage(true);

21
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java

@ -40,7 +40,6 @@ import it.tref.liferay.portos.bo.service.ConfigurazioneServiceUtil;
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.ProvinciaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.StoricoSoggettoPraticaLocalServiceUtil; import it.tref.liferay.portos.bo.service.StoricoSoggettoPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.service.base.IntPraticaLocalServiceBaseImpl; import it.tref.liferay.portos.bo.service.base.IntPraticaLocalServiceBaseImpl;
@ -154,7 +153,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
* *
* @author Manifattura Web Group per Regione Siciliana. * @author Manifattura Web Group per Regione Siciliana.
*/ */
public HashMap<String, List<IntPratica>> findSorteggiabiliNew(long companyId, Date dtSorteggio) public Map<String, List<IntPratica>> findSorteggiabiliNew(long companyId, Date dtSorteggio)
throws SystemException, PortalException { throws SystemException, PortalException {
HashMap<String, List<IntPratica>> ret = new HashMap<>(); HashMap<String, List<IntPratica>> ret = new HashMap<>();
List<IntPratica> lista = new ArrayList<IntPratica>(); List<IntPratica> lista = new ArrayList<IntPratica>();
@ -167,15 +166,19 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
DynamicQuery dq = intPraticaLocalService.dynamicQuery(); DynamicQuery dq = intPraticaLocalService.dynamicQuery();
dq.add(PropertyFactoryUtil.forName("companyId").eq(companyId)); dq.add(PropertyFactoryUtil.forName("companyId").eq(companyId));
dq.add(PropertyFactoryUtil.forName("status").eq(WorkflowConstants.STATUS_DRAFT)); dq.add(PropertyFactoryUtil.forName("status").eq(WorkflowConstants.STATUS_DRAFT));
dq.add(PropertyFactoryUtil.forName("statoPratica").eq(StatoPraticaConstants.VIDIMATA)); dq.add(PropertyFactoryUtil.forName("statoPratica").eq(StatoPraticaConstants.CONFORME));
dq.add(PropertyFactoryUtil.forName("tipoProcedura").ne(Constants.PROCEDURA_A));
Disjunction or = RestrictionsFactoryUtil.disjunction();
or.add(RestrictionsFactoryUtil.eq("tipoProcedura", Constants.PROCEDURA_B));
or.add(RestrictionsFactoryUtil.eq("tipoProcedura", Constants.PROCEDURA_B1));
dq.add(or);
dq.add(PropertyFactoryUtil.forName("dtPratica").between(date[0], date[1])); dq.add(PropertyFactoryUtil.forName("dtPratica").between(date[0], date[1]));
dq.add(PropertyFactoryUtil.forName("dtSorteggio").isNull()); dq.add(PropertyFactoryUtil.forName("dtSorteggio").isNull());
try { try {
lista = intPraticaPersistence.findWithDynamicQuery(dq); lista = intPraticaPersistence.findWithDynamicQuery(dq);
} catch (SystemException e) { } catch (SystemException e) {
_log.error("Errore durante la selezione di mappe sorteggiabili.", e); _log.error("Errore durante la selezione di pratiche sorteggiabili.", e);
} }
HashMap<Long, String> territoriProvince = new HashMap<Long, String>(); HashMap<Long, String> territoriProvince = new HashMap<Long, String>();
for (IntPratica pratica : lista) { for (IntPratica pratica : lista) {
@ -189,12 +192,10 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
if (!ret.containsKey(codiceProvincia)) if (!ret.containsKey(codiceProvincia))
ret.put(codiceProvincia, new ArrayList<IntPratica>()); ret.put(codiceProvincia, new ArrayList<IntPratica>());
ret.get(codiceProvincia).add(pratica); ret.get(codiceProvincia).add(pratica);
_log.info("Pratica numero " + pratica.getNumeroProgetto() + ", id " + pratica.getIntPraticaId());
} }
return ret; return ret;
} }
/** /**
* Restituisce la lista di pratiche da sottoporre a sorteggio suddivisa per * Restituisce la lista di pratiche da sottoporre a sorteggio suddivisa per
* codice provincia. * codice provincia.
@ -202,7 +203,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
* @author Manifattura Web Group per Regione Siciliana. * @author Manifattura Web Group per Regione Siciliana.
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public HashMap<String, List<IntPratica>> findSorteggiabili(long companyId, Date dtSorteggio) public Map<String, List<IntPratica>> findSorteggiabili(long companyId, Date dtSorteggio)
throws SystemException, PortalException { throws SystemException, PortalException {
HashMap<String, List<IntPratica>> ret = new HashMap<>(); HashMap<String, List<IntPratica>> ret = new HashMap<>();
List<IntPratica> lista = new ArrayList<IntPratica>(); List<IntPratica> lista = new ArrayList<IntPratica>();
@ -216,8 +217,6 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
dq.add(PropertyFactoryUtil.forName("companyId").eq(companyId)); dq.add(PropertyFactoryUtil.forName("companyId").eq(companyId));
dq.add(PropertyFactoryUtil.forName("status").eq(WorkflowConstants.STATUS_DRAFT)); dq.add(PropertyFactoryUtil.forName("status").eq(WorkflowConstants.STATUS_DRAFT));
dq.add(PropertyFactoryUtil.forName("statoPratica").eq(StatoPraticaConstants.VIDIMATA)); dq.add(PropertyFactoryUtil.forName("statoPratica").eq(StatoPraticaConstants.VIDIMATA));
// dq.add(PropertyFactoryUtil.forName("statoPratica").ne(StatoPraticaConstants.SOTTOPOSTA_A_PARERE));
// dq.add(PropertyFactoryUtil.forName("validata").eq(true));
dq.add(PropertyFactoryUtil.forName("tipoProcedura").eq(Constants.PROCEDURA_B1)); dq.add(PropertyFactoryUtil.forName("tipoProcedura").eq(Constants.PROCEDURA_B1));
dq.add(PropertyFactoryUtil.forName("dtPratica").between(date[0], date[1])); dq.add(PropertyFactoryUtil.forName("dtPratica").between(date[0], date[1]));
dq.add(PropertyFactoryUtil.forName("dtSorteggio").isNull()); dq.add(PropertyFactoryUtil.forName("dtSorteggio").isNull());

538
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/SoggettoLocalServiceImpl.java

@ -32,6 +32,8 @@ import com.liferay.portal.kernel.dao.orm.ProjectionFactoryUtil;
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil;
import com.liferay.portal.kernel.exception.PortalException; import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException; import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.util.OrderByComparator; import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.portal.kernel.util.StringPool; import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator; import com.liferay.portal.kernel.util.Validator;
@ -43,13 +45,14 @@ import com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
* The implementation of the soggetto local service. * The implementation of the soggetto local service.
* *
* <p> * <p>
* All custom service methods should be put in this class. Whenever methods are added, rerun * All custom service methods should be put in this class. Whenever methods are
* ServiceBuilder to copy their definitions into the * added, rerun ServiceBuilder to copy their definitions into the
* {@link it.tref.liferay.portos.bo.service.SoggettoLocalService} interface. * {@link it.tref.liferay.portos.bo.service.SoggettoLocalService} interface.
* *
* <p> * <p>
* This is a local service. Methods of this service will not have security checks based on the * This is a local service. Methods of this service will not have security
* propagated JAAS credentials because this service can only be accessed from within the same VM. * checks based on the propagated JAAS credentials because this service can only
* be accessed from within the same VM.
* </p> * </p>
* *
* @author Davide Barbagallo, 3F Consulting * @author Davide Barbagallo, 3F Consulting
@ -58,38 +61,44 @@ import com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
*/ */
public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl { public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
/* /*
* NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use
* it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil} to access the soggetto local * {@link it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil} to
* service. * access the soggetto local service.
*/ */
public Soggetto addSoggetto(long userId, long dettPraticaId, long intPraticaId, String nome, String cognome, public static final Log _log = LogFactoryUtil.getLog(SoggettoLocalServiceImpl.class);
String codiceFiscale, String codiceFiscaleDelegato, Date dataNascita, String provinciaNascita,
String comuneNascita, String comuneDomicilio, String comuneDomicilioEstero, String provinciaDomicilio, public Soggetto addSoggetto(long userId, long dettPraticaId, long intPraticaId, String nome,
String viaDomicilio, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra, String comune, String cognome, String codiceFiscale, String codiceFiscaleDelegato, Date dataNascita,
String comuneEstero, String provincia, String via, String numeroCivico, String cap, String denominazione, String provinciaNascita, String comuneNascita, String comuneDomicilio,
String sedeLegale, String legaleRap, Date dataNascitaRap, String provinciaNascitaRap, String comuneNascitaRap, String comuneDomicilioEstero, String provinciaDomicilio, String viaDomicilio,
String viaRap, String numeroCivicoRap, String capRap, String provinciaRap, String comuneRap, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra, String comune,
String comuneRapEstero, String albo, String alboDescr, String regAlbo, String provAlbo, String numIscrAlbo, String comuneEstero, String provincia, String via, String numeroCivico, String cap,
String telefono, String fax, String email, String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso, String denominazione, String sedeLegale, String legaleRap, Date dataNascitaRap,
String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione, long dettPraticaIdRimozione, String provinciaNascitaRap, String comuneNascitaRap, String viaRap, String numeroCivicoRap,
Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId, boolean tmp, ServiceContext serviceContext) String capRap, String provinciaRap, String comuneRap, String comuneRapEstero, String albo,
throws PortalException, SystemException { String alboDescr, String regAlbo, String provAlbo, String numIscrAlbo, String telefono,
String fax, String email, String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso,
String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione,
long dettPraticaIdRimozione, Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId,
boolean tmp, ServiceContext serviceContext) throws PortalException, SystemException {
User user = userPersistence.findByPrimaryKey(userId); User user = userPersistence.findByPrimaryKey(userId);
Date now = new Date(); Date now = new Date();
validate(serviceContext.getScopeGroupId(), 0L, dettPraticaId, intPraticaId, nome, cognome, codiceFiscale, validate(serviceContext.getScopeGroupId(), 0L, dettPraticaId, intPraticaId, nome, cognome,
codiceFiscaleDelegato, dataNascita, provinciaNascita, comuneNascita, comuneDomicilio, comuneDomicilioEstero, codiceFiscale, codiceFiscaleDelegato, dataNascita, provinciaNascita, comuneNascita,
provinciaDomicilio, viaDomicilio, numeroCivicoDomicilio, capDomicilio, domicilioExtra, comune, comuneEstero, comuneDomicilio, comuneDomicilioEstero, provinciaDomicilio, viaDomicilio,
provincia, via, numeroCivico, cap, denominazione, sedeLegale, legaleRap, dataNascitaRap, provinciaNascitaRap, numeroCivicoDomicilio, capDomicilio, domicilioExtra, comune, comuneEstero, provincia, via,
comuneNascitaRap, viaRap, numeroCivicoRap, capRap, provinciaRap, comuneRap, comuneRapEstero, albo, alboDescr, numeroCivico, cap, denominazione, sedeLegale, legaleRap, dataNascitaRap, provinciaNascitaRap,
regAlbo, provAlbo, numIscrAlbo, telefono, fax, email, tipologiaSoggetto, aggiuntivo, rimosso, ambitoAttivita, comuneNascitaRap, viaRap, numeroCivicoRap, capRap, provinciaRap, comuneRap, comuneRapEstero,
ambitoProfessione, intPraticaIdRimozione, dettPraticaIdRimozione, dtDataRimozione, soggettoSostituitoId, albo, alboDescr, regAlbo, provAlbo, numIscrAlbo, telefono, fax, email, tipologiaSoggetto,
oldSoggettoId); aggiuntivo, rimosso, ambitoAttivita, ambitoProfessione, intPraticaIdRimozione,
dettPraticaIdRimozione, dtDataRimozione, soggettoSostituitoId, oldSoggettoId);
Soggetto soggetto = soggettoPersistence.create(counterLocalService.increment(Soggetto.class.getName())); Soggetto soggetto = soggettoPersistence
.create(counterLocalService.increment(Soggetto.class.getName()));
soggetto.setCompanyId(serviceContext.getCompanyId()); soggetto.setCompanyId(serviceContext.getCompanyId());
soggetto.setUserId(user.getUserId()); soggetto.setUserId(user.getUserId());
@ -155,71 +164,83 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
soggetto = soggettoPersistence.update(soggetto); soggetto = soggettoPersistence.update(soggetto);
if (!SoggettiUtil.hasSoggettoPrincipale(dettPraticaId, soggetto.getTipologiaSoggetto())) { if (!SoggettiUtil.hasSoggettoPrincipale(dettPraticaId, soggetto.getTipologiaSoggetto())) {
updatePrincipale(soggetto.getDettPraticaId(), soggetto.getCodiceFiscale(), soggetto.getTipologiaSoggetto()); updatePrincipale(soggetto.getDettPraticaId(), soggetto.getCodiceFiscale(),
soggetto.getTipologiaSoggetto());
} }
return soggetto; return soggetto;
} }
public Soggetto addSoggettoValidatedByFile(long userId, long dettPraticaId, long intPraticaId, String nome, public Soggetto addSoggettoValidatedByFile(long userId, long dettPraticaId, long intPraticaId,
String cognome, String codiceFiscale, String codiceFiscaleDelegato, Date dataNascita, String provinciaNascita, String nome, String cognome, String codiceFiscale, String codiceFiscaleDelegato,
String comuneNascita, String comuneDomicilio, String comuneDomicilioEstero, String provinciaDomicilio, Date dataNascita, String provinciaNascita, String comuneNascita, String comuneDomicilio,
String viaDomicilio, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra, String comune, String comuneDomicilioEstero, String provinciaDomicilio, String viaDomicilio,
String comuneEstero, String provincia, String via, String numeroCivico, String cap, String denominazione, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra, String comune,
String sedeLegale, String legaleRap, Date dataNascitaRap, String provinciaNascitaRap, String comuneNascitaRap, String comuneEstero, String provincia, String via, String numeroCivico, String cap,
String viaRap, String numeroCivicoRap, String capRap, String provinciaRap, String comuneRap, String denominazione, String sedeLegale, String legaleRap, Date dataNascitaRap,
String comuneRapEstero, String albo, String alboDescr, String regAlbo, String provAlbo, String numIscrAlbo, String provinciaNascitaRap, String comuneNascitaRap, String viaRap, String numeroCivicoRap,
String telefono, String fax, String email, String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso, String capRap, String provinciaRap, String comuneRap, String comuneRapEstero, String albo,
String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione, long dettPraticaIdRimozione, String alboDescr, String regAlbo, String provAlbo, String numIscrAlbo, String telefono,
Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId, byte[] content, String sourceFileName, String fax, String email, String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso,
String jsonFirmatari, boolean tmp, ServiceContext serviceContext) throws PortalException, SystemException { String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione,
long dettPraticaIdRimozione, Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId,
Soggetto soggetto = byte[] content, String sourceFileName, String jsonFirmatari, boolean tmp,
addSoggetto(userId, dettPraticaId, intPraticaId, nome, cognome, codiceFiscale, codiceFiscaleDelegato, ServiceContext serviceContext) throws PortalException, SystemException {
dataNascita, provinciaNascita, comuneNascita, comuneDomicilio, comuneDomicilioEstero, provinciaDomicilio,
viaDomicilio, numeroCivicoDomicilio, capDomicilio, domicilioExtra, comune, comuneEstero, provincia, via,
numeroCivico, cap, denominazione, sedeLegale, legaleRap, dataNascitaRap, provinciaNascitaRap,
comuneNascitaRap, viaRap, numeroCivicoRap, capRap, provinciaRap, comuneRap, comuneRapEstero, albo,
alboDescr, regAlbo, provAlbo, numIscrAlbo, telefono, fax, email, tipologiaSoggetto, aggiuntivo, rimosso,
ambitoAttivita, ambitoProfessione, intPraticaIdRimozione, dettPraticaIdRimozione, dtDataRimozione,
soggettoSostituitoId, oldSoggettoId, tmp, serviceContext);
soggetto = Soggetto soggetto = addSoggetto(userId, dettPraticaId, intPraticaId, nome, cognome, codiceFiscale,
allegaFileModifica(soggetto.getSoggettoId(), userId, intPraticaId, content, sourceFileName, jsonFirmatari, codiceFiscaleDelegato, dataNascita, provinciaNascita, comuneNascita, comuneDomicilio,
serviceContext); comuneDomicilioEstero, provinciaDomicilio, viaDomicilio, numeroCivicoDomicilio, capDomicilio,
domicilioExtra, comune, comuneEstero, provincia, via, numeroCivico, cap, denominazione,
sedeLegale, legaleRap, dataNascitaRap, provinciaNascitaRap, comuneNascitaRap, viaRap,
numeroCivicoRap, capRap, provinciaRap, comuneRap, comuneRapEstero, albo, alboDescr, regAlbo,
provAlbo, numIscrAlbo, telefono, fax, email, tipologiaSoggetto, aggiuntivo, rimosso,
ambitoAttivita, ambitoProfessione, intPraticaIdRimozione, dettPraticaIdRimozione,
dtDataRimozione, soggettoSostituitoId, oldSoggettoId, tmp, serviceContext);
soggetto = allegaFileModifica(soggetto.getSoggettoId(), userId, intPraticaId, content,
sourceFileName, jsonFirmatari, serviceContext);
return soggetto; return soggetto;
} }
public Soggetto addSoggettoForImport(long userId, long dettPraticaId, long intPraticaId, String nome, String cognome, public Soggetto addSoggettoForImport(long userId, long dettPraticaId, long intPraticaId, String nome,
String codiceFiscale, String codiceFiscaleDelegato, Date dataNascita, String provinciaNascita, String cognome, String codiceFiscale, String codiceFiscaleDelegato, Date dataNascita,
String comuneNascita, String comuneDomicilio, String provinciaDomicilio, String viaDomicilio, String provinciaNascita, String comuneNascita, String comuneDomicilio, String provinciaDomicilio,
String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra, String comune, String provincia, String viaDomicilio, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra,
String via, String numeroCivico, String cap, String denominazione, String sedeLegale, String legaleRap, String comune, String provincia, String via, String numeroCivico, String cap,
Date dataNascitaRap, String provinciaNascitaRap, String comuneNascitaRap, String viaRap, String numeroCivicoRap, String denominazione, String sedeLegale, String legaleRap, Date dataNascitaRap,
String capRap, String provinciaRap, String comuneRap, String albo, String alboDescr, String regAlbo, String provinciaNascitaRap, String comuneNascitaRap, String viaRap, String numeroCivicoRap,
String provAlbo, String numIscrAlbo, String telefono, String fax, String email, String tipologiaSoggetto, String capRap, String provinciaRap, String comuneRap, String albo, String alboDescr,
boolean aggiuntivo, boolean rimosso, String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione, String regAlbo, String provAlbo, String numIscrAlbo, String telefono, String fax, String email,
long dettPraticaIdRimozione, Date dtDataRimozione, long oldSoggettoId, boolean tmp, ServiceContext serviceContext) String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso, String ambitoAttivita,
String ambitoProfessione, long intPraticaIdRimozione, long dettPraticaIdRimozione,
Date dtDataRimozione, long oldSoggettoId, boolean tmp, ServiceContext serviceContext)
throws PortalException, SystemException { throws PortalException, SystemException {
Date now = new Date(); Date now = new Date();
// validate(serviceContext.getScopeGroupId(), 0L, dettPraticaId, intPraticaId, nome, cognome, // validate(serviceContext.getScopeGroupId(), 0L, dettPraticaId,
// intPraticaId, nome, cognome,
// codiceFiscale, // codiceFiscale,
// codiceFiscaleDelegato, dataNascita, provinciaNascita, comuneNascita, comuneDomicilio, // codiceFiscaleDelegato, dataNascita, provinciaNascita, comuneNascita,
// comuneDomicilio,
// comuneDomicilioEstero, provinciaDomicilio, // comuneDomicilioEstero, provinciaDomicilio,
// viaDomicilio, numeroCivicoDomicilio, capDomicilio, domicilioExtra, comune, provincia, via, // viaDomicilio, numeroCivicoDomicilio, capDomicilio, domicilioExtra,
// comune, provincia, via,
// numeroCivico, cap, // numeroCivico, cap,
// denominazione, sedeLegale, legaleRap, dataNascitaRap, provinciaNascitaRap, comuneNascitaRap, // denominazione, sedeLegale, legaleRap, dataNascitaRap,
// provinciaNascitaRap, comuneNascitaRap,
// viaRap, // viaRap,
// numeroCivicoRap, capRap, provinciaRap, comuneRap, albo, regAlbo, provAlbo, numIscrAlbo, // numeroCivicoRap, capRap, provinciaRap, comuneRap, albo, regAlbo,
// provAlbo, numIscrAlbo,
// telefono, fax, email, // telefono, fax, email,
// tipologiaSoggetto, aggiuntivo, rimosso, ambitoAttivita, ambitoProfessione, // tipologiaSoggetto, aggiuntivo, rimosso, ambitoAttivita,
// ambitoProfessione,
// intPraticaIdRimozione, // intPraticaIdRimozione,
// dettPraticaIdRimozione, dtDataRimozione, 0l, oldSoggettoId); // dettPraticaIdRimozione, dtDataRimozione, 0l, oldSoggettoId);
Soggetto soggetto = soggettoPersistence.create(counterLocalService.increment(Soggetto.class.getName())); Soggetto soggetto = soggettoPersistence
.create(counterLocalService.increment(Soggetto.class.getName()));
soggetto.setCompanyId(serviceContext.getCompanyId()); soggetto.setCompanyId(serviceContext.getCompanyId());
soggetto.setUserId(userId); soggetto.setUserId(userId);
@ -289,34 +310,38 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return soggetto; return soggetto;
} }
public Soggetto cloneSoggetto(long userId, long dettPraticaId, long intPraticaId,
public Soggetto cloneSoggetto(long userId, long dettPraticaId, long intPraticaId, Soggetto soggettoToClone, Soggetto soggettoToClone, ServiceContext serviceContext) throws PortalException, SystemException {
ServiceContext serviceContext) throws PortalException, SystemException {
Date now = new Date(); Date now = new Date();
validate(serviceContext.getScopeGroupId(), 0L, dettPraticaId, intPraticaId, soggettoToClone.getNome(), validate(serviceContext.getScopeGroupId(), 0L, dettPraticaId, intPraticaId,
soggettoToClone.getCognome(), soggettoToClone.getCodiceFiscale(), soggettoToClone.getCodiceFiscaleDelegato(), soggettoToClone.getNome(), soggettoToClone.getCognome(), soggettoToClone.getCodiceFiscale(),
soggettoToClone.getDataNascita(), soggettoToClone.getProvinciaNascita(), soggettoToClone.getComuneNascita(), soggettoToClone.getCodiceFiscaleDelegato(), soggettoToClone.getDataNascita(),
soggettoToClone.getProvinciaNascita(), soggettoToClone.getComuneNascita(),
soggettoToClone.getComuneDomicilio(), soggettoToClone.getComuneDomicilioEstero(), soggettoToClone.getComuneDomicilio(), soggettoToClone.getComuneDomicilioEstero(),
soggettoToClone.getProvinciaDomicilio(), soggettoToClone.getViaDomicilio(), soggettoToClone.getProvinciaDomicilio(), soggettoToClone.getViaDomicilio(),
soggettoToClone.getNumeroCivicoDomicilio(), soggettoToClone.getCapDomicilio(), soggettoToClone.getNumeroCivicoDomicilio(), soggettoToClone.getCapDomicilio(),
soggettoToClone.getDomicilioExtra(), soggettoToClone.getComune(), soggettoToClone.getComuneEstero(), soggettoToClone.getDomicilioExtra(), soggettoToClone.getComune(),
soggettoToClone.getProvincia(), soggettoToClone.getVia(), soggettoToClone.getNumeroCivico(), soggettoToClone.getComuneEstero(), soggettoToClone.getProvincia(), soggettoToClone.getVia(),
soggettoToClone.getCap(), soggettoToClone.getDenominazione(), soggettoToClone.getSedeLegale(), soggettoToClone.getNumeroCivico(), soggettoToClone.getCap(),
soggettoToClone.getLegaleRap(), soggettoToClone.getDataNascitaRap(), soggettoToClone.getProvinciaNascitaRap(), soggettoToClone.getDenominazione(), soggettoToClone.getSedeLegale(),
soggettoToClone.getComuneNascitaRap(), soggettoToClone.getViaRap(), soggettoToClone.getNumeroCivicoRap(), soggettoToClone.getLegaleRap(), soggettoToClone.getDataNascitaRap(),
soggettoToClone.getCapRap(), soggettoToClone.getProvinciaRap(), soggettoToClone.getComuneRap(), soggettoToClone.getProvinciaNascitaRap(), soggettoToClone.getComuneNascitaRap(),
soggettoToClone.getComuneRapEstero(), soggettoToClone.getAlbo(), soggettoToClone.getAlboDescr(), soggettoToClone.getViaRap(), soggettoToClone.getNumeroCivicoRap(),
soggettoToClone.getRegAlbo(), soggettoToClone.getProvinciaAlbo(), soggettoToClone.getNumIscrAlbo(), soggettoToClone.getCapRap(), soggettoToClone.getProvinciaRap(),
soggettoToClone.getComuneRap(), soggettoToClone.getComuneRapEstero(),
soggettoToClone.getAlbo(), soggettoToClone.getAlboDescr(), soggettoToClone.getRegAlbo(),
soggettoToClone.getProvinciaAlbo(), soggettoToClone.getNumIscrAlbo(),
soggettoToClone.getTelefono(), soggettoToClone.getFax(), soggettoToClone.getEmail(), soggettoToClone.getTelefono(), soggettoToClone.getFax(), soggettoToClone.getEmail(),
soggettoToClone.getTipologiaSoggetto(), soggettoToClone.getAggiuntivo(), soggettoToClone.getRimosso(), soggettoToClone.getTipologiaSoggetto(), soggettoToClone.getAggiuntivo(),
soggettoToClone.getAmbitoAttivita(), soggettoToClone.getAmbitoProfessione(), soggettoToClone.getRimosso(), soggettoToClone.getAmbitoAttivita(),
soggettoToClone.getIntPraticaIdRimozione(), soggettoToClone.getDettPraticaIdRimozione(), soggettoToClone.getAmbitoProfessione(), soggettoToClone.getIntPraticaIdRimozione(),
soggettoToClone.getDtDataRimozione(), soggettoToClone.getSoggettoSostituitoId(), soggettoToClone.getDettPraticaIdRimozione(), soggettoToClone.getDtDataRimozione(),
soggettoToClone.getOldSoggettoId()); soggettoToClone.getSoggettoSostituitoId(), soggettoToClone.getOldSoggettoId());
Soggetto soggetto = soggettoPersistence.create(counterLocalService.increment(Soggetto.class.getName())); Soggetto soggetto = soggettoPersistence
.create(counterLocalService.increment(Soggetto.class.getName()));
soggetto.setCompanyId(serviceContext.getCompanyId()); soggetto.setCompanyId(serviceContext.getCompanyId());
soggetto.setUserId(userId); soggetto.setUserId(userId);
@ -405,7 +430,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
Soggetto soggetto = soggettoPersistence.findByPrimaryKey(soggettoId); Soggetto soggetto = soggettoPersistence.findByPrimaryKey(soggettoId);
// se la pratica è in compilazione e non sono ancora al pagamento // se la pratica è in compilazione e non sono ancora al pagamento
// IntPratica intPratica = intPraticaLocalService.getIntPratica(soggetto.getIntPraticaId()); // IntPratica intPratica =
// intPraticaLocalService.getIntPratica(soggetto.getIntPraticaId());
// if (intPratica.getStatus() != WorkflowConstants.STATUS_ANY) { // if (intPratica.getStatus() != WorkflowConstants.STATUS_ANY) {
// return null; // return null;
// } // }
@ -417,31 +443,34 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return deleteSoggetto(soggetto); return deleteSoggetto(soggetto);
} }
public Soggetto updateSoggetto(long userId, long soggettoId, long dettPraticaId, long intPraticaId, String nome, public Soggetto updateSoggetto(long userId, long soggettoId, long dettPraticaId, long intPraticaId,
String cognome, String codiceFiscale, String codiceFiscaleDelegato, Date dataNascita, String provinciaNascita, String nome, String cognome, String codiceFiscale, String codiceFiscaleDelegato,
String comuneNascita, String comuneDomicilio, String comuneDomicilioEstero, String provinciaDomicilio, Date dataNascita, String provinciaNascita, String comuneNascita, String comuneDomicilio,
String viaDomicilio, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra, String comune, String comuneDomicilioEstero, String provinciaDomicilio, String viaDomicilio,
String comuneEstero, String provincia, String via, String numeroCivico, String cap, String denominazione, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra, String comune,
String sedeLegale, String legaleRap, Date dataNascitaRap, String provinciaNascitaRap, String comuneNascitaRap, String comuneEstero, String provincia, String via, String numeroCivico, String cap,
String viaRap, String numeroCivicoRap, String capRap, String provinciaRap, String comuneRap, String denominazione, String sedeLegale, String legaleRap, Date dataNascitaRap,
String comuneRapEstero, String albo, String alboDescr, String regAlbo, String provAlbo, String numIscrAlbo, String provinciaNascitaRap, String comuneNascitaRap, String viaRap, String numeroCivicoRap,
String telefono, String fax, String email, String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso, String capRap, String provinciaRap, String comuneRap, String comuneRapEstero, String albo,
String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione, long dettPraticaIdRimozione, String alboDescr, String regAlbo, String provAlbo, String numIscrAlbo, String telefono,
Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId, boolean tmp, ServiceContext serviceContext) String fax, String email, String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso,
throws PortalException, SystemException { String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione,
long dettPraticaIdRimozione, Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId,
boolean tmp, ServiceContext serviceContext) throws PortalException, SystemException {
User user = userPersistence.findByPrimaryKey(userId); User user = userPersistence.findByPrimaryKey(userId);
Date now = new Date(); Date now = new Date();
validate(serviceContext.getScopeGroupId(), soggettoId, dettPraticaId, intPraticaId, nome, cognome, codiceFiscale, validate(serviceContext.getScopeGroupId(), soggettoId, dettPraticaId, intPraticaId, nome, cognome,
codiceFiscaleDelegato, dataNascita, provinciaNascita, comuneNascita, comuneDomicilio, comuneDomicilioEstero, codiceFiscale, codiceFiscaleDelegato, dataNascita, provinciaNascita, comuneNascita,
provinciaDomicilio, viaDomicilio, numeroCivicoDomicilio, capDomicilio, domicilioExtra, comune, comuneEstero, comuneDomicilio, comuneDomicilioEstero, provinciaDomicilio, viaDomicilio,
provincia, via, numeroCivico, cap, denominazione, sedeLegale, legaleRap, dataNascitaRap, provinciaNascitaRap, numeroCivicoDomicilio, capDomicilio, domicilioExtra, comune, comuneEstero, provincia, via,
comuneNascitaRap, viaRap, numeroCivicoRap, capRap, provinciaRap, comuneRap, comuneRapEstero, albo, alboDescr, numeroCivico, cap, denominazione, sedeLegale, legaleRap, dataNascitaRap, provinciaNascitaRap,
regAlbo, provAlbo, numIscrAlbo, telefono, fax, email, tipologiaSoggetto, aggiuntivo, rimosso, ambitoAttivita, comuneNascitaRap, viaRap, numeroCivicoRap, capRap, provinciaRap, comuneRap, comuneRapEstero,
ambitoProfessione, intPraticaIdRimozione, dettPraticaIdRimozione, dtDataRimozione, soggettoSostituitoId, albo, alboDescr, regAlbo, provAlbo, numIscrAlbo, telefono, fax, email, tipologiaSoggetto,
oldSoggettoId); aggiuntivo, rimosso, ambitoAttivita, ambitoProfessione, intPraticaIdRimozione,
dettPraticaIdRimozione, dtDataRimozione, soggettoSostituitoId, oldSoggettoId);
Soggetto soggetto = soggettoPersistence.fetchByPrimaryKey(soggettoId); Soggetto soggetto = soggettoPersistence.fetchByPrimaryKey(soggettoId);
@ -510,49 +539,54 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return soggetto; return soggetto;
} }
public Soggetto updateSoggettoValidatedByFile(long userId, long soggettoId, long dettPraticaId, long intPraticaId, public Soggetto updateSoggettoValidatedByFile(long userId, long soggettoId, long dettPraticaId,
String nome, String cognome, String codiceFiscale, String codiceFiscaleDelegato, Date dataNascita, long intPraticaId, String nome, String cognome, String codiceFiscale,
String provinciaNascita, String comuneNascita, String comuneDomicilio, String comuneDomicilioEstero, String codiceFiscaleDelegato, Date dataNascita, String provinciaNascita, String comuneNascita,
String provinciaDomicilio, String viaDomicilio, String numeroCivicoDomicilio, String capDomicilio, String comuneDomicilio, String comuneDomicilioEstero, String provinciaDomicilio,
String domicilioExtra, String comune, String comuneEstero, String provincia, String via, String numeroCivico, String viaDomicilio, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra,
String comune, String comuneEstero, String provincia, String via, String numeroCivico,
String cap, String denominazione, String sedeLegale, String legaleRap, Date dataNascitaRap, String cap, String denominazione, String sedeLegale, String legaleRap, Date dataNascitaRap,
String provinciaNascitaRap, String comuneNascitaRap, String viaRap, String numeroCivicoRap, String capRap, String provinciaNascitaRap, String comuneNascitaRap, String viaRap, String numeroCivicoRap,
String provinciaRap, String comuneRap, String comuneRapEstero, String albo, String alboDescr, String regAlbo, String capRap, String provinciaRap, String comuneRap, String comuneRapEstero, String albo,
String provAlbo, String numIscrAlbo, String telefono, String fax, String email, String tipologiaSoggetto, String alboDescr, String regAlbo, String provAlbo, String numIscrAlbo, String telefono,
boolean aggiuntivo, boolean rimosso, String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione, String fax, String email, String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso,
long dettPraticaIdRimozione, Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId, byte[] content, String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione,
String sourceFileName, String jsonFirmatari, ServiceContext serviceContext) throws PortalException, long dettPraticaIdRimozione, Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId,
SystemException { byte[] content, String sourceFileName, String jsonFirmatari, ServiceContext serviceContext)
throws PortalException, SystemException {
Soggetto soggetto = Soggetto soggetto = updateSoggetto(userId, soggettoId, dettPraticaId, intPraticaId, nome, cognome,
updateSoggetto(userId, soggettoId, dettPraticaId, intPraticaId, nome, cognome, codiceFiscale, codiceFiscale, codiceFiscaleDelegato, dataNascita, provinciaNascita, comuneNascita,
codiceFiscaleDelegato, dataNascita, provinciaNascita, comuneNascita, comuneDomicilio, comuneDomicilio, comuneDomicilioEstero, provinciaDomicilio, viaDomicilio,
comuneDomicilioEstero, provinciaDomicilio, viaDomicilio, numeroCivicoDomicilio, capDomicilio, numeroCivicoDomicilio, capDomicilio, domicilioExtra, comune, comuneEstero, provincia, via,
domicilioExtra, comune, comuneEstero, provincia, via, numeroCivico, cap, denominazione, sedeLegale, numeroCivico, cap, denominazione, sedeLegale, legaleRap, dataNascitaRap, provinciaNascitaRap,
legaleRap, dataNascitaRap, provinciaNascitaRap, comuneNascitaRap, viaRap, numeroCivicoRap, capRap, comuneNascitaRap, viaRap, numeroCivicoRap, capRap, provinciaRap, comuneRap, comuneRapEstero,
provinciaRap, comuneRap, comuneRapEstero, albo, alboDescr, regAlbo, provAlbo, numIscrAlbo, telefono, fax, albo, alboDescr, regAlbo, provAlbo, numIscrAlbo, telefono, fax, email, tipologiaSoggetto,
email, tipologiaSoggetto, aggiuntivo, rimosso, ambitoAttivita, ambitoProfessione, intPraticaIdRimozione, aggiuntivo, rimosso, ambitoAttivita, ambitoProfessione, intPraticaIdRimozione,
dettPraticaIdRimozione, dtDataRimozione, soggettoSostituitoId, oldSoggettoId, false, serviceContext); dettPraticaIdRimozione, dtDataRimozione, soggettoSostituitoId, oldSoggettoId, false,
soggetto =
allegaFileModifica(soggetto.getSoggettoId(), userId, intPraticaId, content, sourceFileName, jsonFirmatari,
serviceContext); serviceContext);
soggetto = allegaFileModifica(soggetto.getSoggettoId(), userId, intPraticaId, content,
sourceFileName, jsonFirmatari, serviceContext);
return soggetto; return soggetto;
} }
private void validate(long groupId, long soggettoId, long dettPraticaId, long intPraticaId, String nome, private void validate(long groupId, long soggettoId, long dettPraticaId, long intPraticaId, String nome,
String cognome, String codiceFiscale, String codiceFiscaleDelegato, Date dataNascita, String provinciaNascita, String cognome, String codiceFiscale, String codiceFiscaleDelegato, Date dataNascita,
String comuneNascita, String comuneDomicilio, String comuneDomicilioEstero, String provinciaDomicilio, String provinciaNascita, String comuneNascita, String comuneDomicilio,
String viaDomicilio, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra, String comune, String comuneDomicilioEstero, String provinciaDomicilio, String viaDomicilio,
String comuneEstero, String provincia, String via, String numeroCivico, String cap, String denominazione, String numeroCivicoDomicilio, String capDomicilio, String domicilioExtra, String comune,
String sedeLegale, String legaleRap, Date dataNascitaRap, String provinciaNascitaRap, String comuneNascitaRap, String comuneEstero, String provincia, String via, String numeroCivico, String cap,
String viaRap, String numeroCivicoRap, String capRap, String provinciaRap, String comuneRap, String denominazione, String sedeLegale, String legaleRap, Date dataNascitaRap,
String comuneRapEstero, String albo, String alboDescr, String regAlbo, String provAlbo, String numIscrAlbo, String provinciaNascitaRap, String comuneNascitaRap, String viaRap, String numeroCivicoRap,
String telefono, String fax, String email, String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso, String capRap, String provinciaRap, String comuneRap, String comuneRapEstero, String albo,
String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione, long dettPraticaIdRimozione, String alboDescr, String regAlbo, String provAlbo, String numIscrAlbo, String telefono,
Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId) throws PortalException, SystemException { String fax, String email, String tipologiaSoggetto, boolean aggiuntivo, boolean rimosso,
String ambitoAttivita, String ambitoProfessione, long intPraticaIdRimozione,
long dettPraticaIdRimozione, Date dtDataRimozione, long soggettoSostituitoId, long oldSoggettoId)
throws PortalException, SystemException {
// TODO Write your own validation code // TODO Write your own validation code
@ -592,40 +626,47 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
public List<Soggetto> findByDettPratica_CodiceFiscale_Rimosso(long dettPraticaId, String codiceFiscale, public List<Soggetto> findByDettPratica_CodiceFiscale_Rimosso(long dettPraticaId, String codiceFiscale,
boolean rimosso) throws SystemException { boolean rimosso) throws SystemException {
return soggettoPersistence.findByDettPratica_CodiceFiscale_Rimosso(dettPraticaId, codiceFiscale, rimosso); return soggettoPersistence.findByDettPratica_CodiceFiscale_Rimosso(dettPraticaId, codiceFiscale,
rimosso);
} }
public int countByDettPratica_CodiceFiscale(long dettPraticaId, String codiceFiscale) throws SystemException { public int countByDettPratica_CodiceFiscale(long dettPraticaId, String codiceFiscale)
throws SystemException {
return soggettoPersistence.countByDettPratica_CodiceFiscale(dettPraticaId, codiceFiscale); return soggettoPersistence.countByDettPratica_CodiceFiscale(dettPraticaId, codiceFiscale);
} }
public int countByDettPratica_CodiceFiscale_Rimosso(long dettPraticaId, String codiceFiscale, boolean rimosso) public int countByDettPratica_CodiceFiscale_Rimosso(long dettPraticaId, String codiceFiscale,
throws SystemException { boolean rimosso) throws SystemException {
return soggettoPersistence.countByDettPratica_CodiceFiscale_Rimosso(dettPraticaId, codiceFiscale, rimosso); return soggettoPersistence.countByDettPratica_CodiceFiscale_Rimosso(dettPraticaId, codiceFiscale,
rimosso);
} }
public List<Soggetto> findByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale) throws SystemException { public List<Soggetto> findByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale)
throws SystemException {
return soggettoPersistence.findByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale); return soggettoPersistence.findByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale);
} }
public List<Soggetto> findByIntPratica_CodiceFiscale_Rimosso(long intPraticaId, String codiceFiscale, boolean rimosso) public List<Soggetto> findByIntPratica_CodiceFiscale_Rimosso(long intPraticaId, String codiceFiscale,
throws SystemException { boolean rimosso) throws SystemException {
return soggettoPersistence.findByIntPratica_CodiceFiscale_Rimosso(intPraticaId, codiceFiscale, rimosso); return soggettoPersistence.findByIntPratica_CodiceFiscale_Rimosso(intPraticaId, codiceFiscale,
rimosso);
} }
public int countByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale) throws SystemException { public int countByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale)
throws SystemException {
return soggettoPersistence.countByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale); return soggettoPersistence.countByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale);
} }
public int countByIntPratica_CodiceFiscale_Rimosso(long intPraticaId, String codiceFiscale, boolean rimosso) public int countByIntPratica_CodiceFiscale_Rimosso(long intPraticaId, String codiceFiscale,
throws SystemException { boolean rimosso) throws SystemException {
return soggettoPersistence.countByIntPratica_CodiceFiscale_Rimosso(intPraticaId, codiceFiscale, rimosso); return soggettoPersistence.countByIntPratica_CodiceFiscale_Rimosso(intPraticaId, codiceFiscale,
rimosso);
} }
public List<Soggetto> findByIntPratica_TipologiaSoggetto(long intPraticaId, String tipologiaSoggetto) public List<Soggetto> findByIntPratica_TipologiaSoggetto(long intPraticaId, String tipologiaSoggetto)
@ -640,17 +681,18 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return soggettoPersistence.findByDettPratica_TipologiaSoggetto(dettPraticaId, tipologiaSoggetto); return soggettoPersistence.findByDettPratica_TipologiaSoggetto(dettPraticaId, tipologiaSoggetto);
} }
public List<Soggetto> findByDettPratica_TipologiaSoggetto_CodiceFiscale(long dettPraticaId, String tipologiaSoggetto, public List<Soggetto> findByDettPratica_TipologiaSoggetto_CodiceFiscale(long dettPraticaId,
String codiceFiscale) throws SystemException { String tipologiaSoggetto, String codiceFiscale) throws SystemException {
return soggettoPersistence.findByDettPratica_TipologiaSoggetto_CodiceFiscale(dettPraticaId, tipologiaSoggetto, return soggettoPersistence.findByDettPratica_TipologiaSoggetto_CodiceFiscale(dettPraticaId,
codiceFiscale); tipologiaSoggetto, codiceFiscale);
} }
public List<Soggetto> findByIntPratica_TipologiaSoggetto_Rimosso(long intPraticaId, String tipologiaSoggetto, public List<Soggetto> findByIntPratica_TipologiaSoggetto_Rimosso(long intPraticaId,
boolean rimosso) throws SystemException { String tipologiaSoggetto, boolean rimosso) throws SystemException {
return soggettoPersistence.findByIntPratica_TipologiaSoggetto_Rimosso(intPraticaId, tipologiaSoggetto, rimosso); return soggettoPersistence.findByIntPratica_TipologiaSoggetto_Rimosso(intPraticaId,
tipologiaSoggetto, rimosso);
} }
public List<Soggetto> findByIntPratica_TipologiaSoggetto_DettPraticaIdRimozione(long intPraticaId, public List<Soggetto> findByIntPratica_TipologiaSoggetto_DettPraticaIdRimozione(long intPraticaId,
@ -692,7 +734,6 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
} }
public List<Soggetto> getValidTmpByIntPratica(long intPraticaId) throws SystemException { public List<Soggetto> getValidTmpByIntPratica(long intPraticaId) throws SystemException {
DynamicQuery dynamicQuery = createValidTmpQueryByIntPratica(intPraticaId); DynamicQuery dynamicQuery = createValidTmpQueryByIntPratica(intPraticaId);
dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId")); dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId"));
return soggettoPersistence.findWithDynamicQuery(dynamicQuery); return soggettoPersistence.findWithDynamicQuery(dynamicQuery);
@ -738,8 +779,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return dynamicQuery; return dynamicQuery;
} }
public List<Soggetto> getSoggettiPrincipaliValidTmpByDettPratica(long dettPraticaId) throws SystemException, public List<Soggetto> getSoggettiPrincipaliValidTmpByDettPratica(long dettPraticaId)
PortalException { throws SystemException, PortalException {
DynamicQuery dynamicQuery = createPrincipaliValidQueryByDettPratica(dettPraticaId); DynamicQuery dynamicQuery = createPrincipaliValidQueryByDettPratica(dettPraticaId);
dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId")); dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId"));
@ -768,7 +809,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
DynamicQuery dynamicQuery = createPrincipaliValidQueryByDettPratica(dettPraticaId); DynamicQuery dynamicQuery = createPrincipaliValidQueryByDettPratica(dettPraticaId);
dynamicQuery.add(RestrictionsFactoryUtil.in("tipologiaSoggetto", tipologieSoggetto)); dynamicQuery.add(RestrictionsFactoryUtil.in("tipologiaSoggetto", tipologieSoggetto));
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("codiceFiscale"))); dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil
.property("codiceFiscale")));
return soggettoPersistence.findWithDynamicQuery(dynamicQuery); return soggettoPersistence.findWithDynamicQuery(dynamicQuery);
} }
@ -776,11 +818,12 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
SystemException { SystemException {
DettPratica dettPratica = dettPraticaLocalService.getDettPratica(dettPraticaId); DettPratica dettPratica = dettPraticaLocalService.getDettPratica(dettPraticaId);
String[] cfPrincipali = String[] cfPrincipali = new String[] { dettPratica.getCodiceFiscalePrincipaleCollaudatore(),
new String[] {dettPratica.getCodiceFiscalePrincipaleCollaudatore(),
dettPratica.getCodiceFiscalePrincipaleCommittente(), dettPratica.getCodiceFiscalePrincipaleCommittente(),
dettPratica.getCodiceFiscalePrincipaleDirettoreLavori(), dettPratica.getCodiceFiscalePrincipaleDitta(), dettPratica.getCodiceFiscalePrincipaleDirettoreLavori(),
dettPratica.getCodiceFiscalePrincipaleGeologo(), dettPratica.getCodiceFiscalePrincipaleProgettista()}; dettPratica.getCodiceFiscalePrincipaleDitta(),
dettPratica.getCodiceFiscalePrincipaleGeologo(),
dettPratica.getCodiceFiscalePrincipaleProgettista() };
DynamicQuery dynamicQuery = dynamicQuery(); DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", dettPratica.getIntPraticaId())); dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", dettPratica.getIntPraticaId()));
@ -801,28 +844,31 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
public List<String> getCfValidTmpByDettPratica(long dettPraticaId) throws SystemException { public List<String> getCfValidTmpByDettPratica(long dettPraticaId) throws SystemException {
DynamicQuery dynamicQuery = createValidTmpQueryByDettPratica(dettPraticaId); DynamicQuery dynamicQuery = createValidTmpQueryByDettPratica(dettPraticaId);
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("codiceFiscale"))); dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil
.property("codiceFiscale")));
return soggettoPersistence.findWithDynamicQuery(dynamicQuery); return soggettoPersistence.findWithDynamicQuery(dynamicQuery);
} }
public List<String> getCfValidTmpByIntPratica_TipologiaSoggetto(long intPraticaId, String tipologiaSoggetto) public List<String> getCfValidTmpByIntPratica_TipologiaSoggetto(long intPraticaId,
throws SystemException { String tipologiaSoggetto) throws SystemException {
DynamicQuery dynamicQuery = dynamicQuery(); DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId));
dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto)); dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto));
dynamicQuery.add(RestrictionsFactoryUtil.eq("dettPraticaIdRimozione", 0l)); dynamicQuery.add(RestrictionsFactoryUtil.eq("dettPraticaIdRimozione", 0l));
dynamicQuery.add(RestrictionsFactoryUtil.eq("tmp", false)); dynamicQuery.add(RestrictionsFactoryUtil.eq("tmp", false));
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("codiceFiscale"))); dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil
.property("codiceFiscale")));
return soggettoPersistence.findWithDynamicQuery(dynamicQuery); return soggettoPersistence.findWithDynamicQuery(dynamicQuery);
} }
public List<String> getCfValidTmpByDettPratica_TipologiaSoggetto(long dettPraticaId, String tipologiaSoggetto) public List<String> getCfValidTmpByDettPratica_TipologiaSoggetto(long dettPraticaId,
throws SystemException { String tipologiaSoggetto) throws SystemException {
DynamicQuery dynamicQuery = createValidTmpQueryByDettPratica(dettPraticaId); DynamicQuery dynamicQuery = createValidTmpQueryByDettPratica(dettPraticaId);
dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto)); dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto));
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("codiceFiscale"))); dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil
.property("codiceFiscale")));
return soggettoPersistence.findWithDynamicQuery(dynamicQuery); return soggettoPersistence.findWithDynamicQuery(dynamicQuery);
} }
@ -845,24 +891,25 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
public List<Soggetto> getValidTmpByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale, public List<Soggetto> getValidTmpByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale,
long docDettPraticaId) throws SystemException { long docDettPraticaId) throws SystemException {
DynamicQuery dynamicQuery = DynamicQuery dynamicQuery = createValidTmpQueryByIntPratica_CodiceFiscale(intPraticaId,
createValidTmpQueryByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale, docDettPraticaId); codiceFiscale, docDettPraticaId);
dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId")); dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId"));
return soggettoPersistence.findWithDynamicQuery(dynamicQuery); return soggettoPersistence.findWithDynamicQuery(dynamicQuery);
} }
public int countValidTmpByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale, long docDettPraticaId) public int countValidTmpByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale,
throws SystemException { long docDettPraticaId) throws SystemException {
DynamicQuery dynamicQuery = DynamicQuery dynamicQuery = createValidTmpQueryByIntPratica_CodiceFiscale(intPraticaId,
createValidTmpQueryByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale, docDettPraticaId); codiceFiscale, docDettPraticaId);
return (int) soggettoPersistence.countWithDynamicQuery(dynamicQuery); return (int) soggettoPersistence.countWithDynamicQuery(dynamicQuery);
} }
public Soggetto getValidTmpByIntPratica_CodiceFiscale_TipologiaSoggetto(long intPraticaId, String codiceFiscale, public Soggetto getValidTmpByIntPratica_CodiceFiscale_TipologiaSoggetto(long intPraticaId,
String tipologiaSoggetto) throws SystemException { String codiceFiscale, String tipologiaSoggetto) throws SystemException {
DynamicQuery dynamicQuery = createValidTmpQueryByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale, 0l); DynamicQuery dynamicQuery = createValidTmpQueryByIntPratica_CodiceFiscale(intPraticaId,
codiceFiscale, 0l);
dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto)); dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto));
dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId")); dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId"));
List<Soggetto> soggetti = soggettoPersistence.findWithDynamicQuery(dynamicQuery); List<Soggetto> soggetti = soggettoPersistence.findWithDynamicQuery(dynamicQuery);
@ -873,11 +920,11 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
} }
} }
public Soggetto getValidTmpByIntPratica_CodiceFiscale_TipologiaSoggetto(long intPraticaId, String codiceFiscale, public Soggetto getValidTmpByIntPratica_CodiceFiscale_TipologiaSoggetto(long intPraticaId,
String tipologiaSoggetto, long docDettPraticaId) throws SystemException { String codiceFiscale, String tipologiaSoggetto, long docDettPraticaId) throws SystemException {
DynamicQuery dynamicQuery = DynamicQuery dynamicQuery = createValidTmpQueryByIntPratica_CodiceFiscale(intPraticaId,
createValidTmpQueryByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale, docDettPraticaId); codiceFiscale, docDettPraticaId);
dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto)); dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto));
dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId")); dynamicQuery.addOrder(OrderFactoryUtil.asc("soggettoId"));
List<Soggetto> soggetti = soggettoPersistence.findWithDynamicQuery(dynamicQuery); List<Soggetto> soggetti = soggettoPersistence.findWithDynamicQuery(dynamicQuery);
@ -888,8 +935,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
} }
} }
private DynamicQuery createValidTmpQueryByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale, private DynamicQuery createValidTmpQueryByIntPratica_CodiceFiscale(long intPraticaId,
long docDettPraticaId) { String codiceFiscale, long docDettPraticaId) {
DynamicQuery dynamicQuery = dynamicQuery(); DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId));
@ -906,8 +953,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return dynamicQuery; return dynamicQuery;
} }
public Soggetto getValidByIntPratica_CodiceFiscale_TipologiaSoggetto(long intPraticaId, String codiceFiscale, public Soggetto getValidByIntPratica_CodiceFiscale_TipologiaSoggetto(long intPraticaId,
String tipologiaSoggetto) throws SystemException { String codiceFiscale, String tipologiaSoggetto) throws SystemException {
DynamicQuery dynamicQuery = createValidQueryByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale); DynamicQuery dynamicQuery = createValidQueryByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale);
dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto)); dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", tipologiaSoggetto));
@ -940,7 +987,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return soggettoPersistence.findWithDynamicQuery(dynamicQuery); return soggettoPersistence.findWithDynamicQuery(dynamicQuery);
} }
public int countValidByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale) throws SystemException { public int countValidByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale)
throws SystemException {
DynamicQuery dynamicQuery = createValidQueryByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale); DynamicQuery dynamicQuery = createValidQueryByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale);
return (int) soggettoPersistence.countWithDynamicQuery(dynamicQuery); return (int) soggettoPersistence.countWithDynamicQuery(dynamicQuery);
@ -969,8 +1017,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return soggetti; return soggetti;
} }
public List<Soggetto> getValidTmpByIntPratica_TipologiaSoggetto(long intPraticaId, String tipologiaSoggetto) public List<Soggetto> getValidTmpByIntPratica_TipologiaSoggetto(long intPraticaId,
throws SystemException { String tipologiaSoggetto) throws SystemException {
DynamicQuery dynamicQuery = dynamicQuery(); DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId));
@ -982,8 +1030,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return soggetti; return soggetti;
} }
public List<Soggetto> getValidTmpByDettPratica_TipologiaSoggetto(long dettPraticaId, String tipologiaSoggetto) public List<Soggetto> getValidTmpByDettPratica_TipologiaSoggetto(long dettPraticaId,
throws SystemException { String tipologiaSoggetto) throws SystemException {
DynamicQuery dynamicQuery = dynamicQuery(); DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPraticaId)); dynamicQuery.add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPraticaId));
@ -998,7 +1046,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
public List<String> getCfValidByIntPratica(long intPraticaId) throws SystemException { public List<String> getCfValidByIntPratica(long intPraticaId) throws SystemException {
DynamicQuery dynamicQuery = createValidQueryByIntPratica(intPraticaId); DynamicQuery dynamicQuery = createValidQueryByIntPratica(intPraticaId);
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("codiceFiscale"))); dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil
.property("codiceFiscale")));
return soggettoPersistence.findWithDynamicQuery(dynamicQuery); return soggettoPersistence.findWithDynamicQuery(dynamicQuery);
} }
@ -1059,11 +1108,13 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
public List<Soggetto> getValidUntilDettPraticaByIntPratica(long intPraticaId, long dettPraticaId, public List<Soggetto> getValidUntilDettPraticaByIntPratica(long intPraticaId, long dettPraticaId,
String tipologiaSoggetto) throws SystemException { String tipologiaSoggetto) throws SystemException {
DynamicQuery dynamicQuery = findValidUntilDettPraticaByIntPratica(intPraticaId, dettPraticaId, tipologiaSoggetto); DynamicQuery dynamicQuery = findValidUntilDettPraticaByIntPratica(intPraticaId, dettPraticaId,
tipologiaSoggetto);
return soggettoPersistence.findWithDynamicQuery(dynamicQuery); return soggettoPersistence.findWithDynamicQuery(dynamicQuery);
} }
public int countValidUntilDettPraticaByIntPratica(long intPraticaId, long dettPraticaId) throws SystemException { public int countValidUntilDettPraticaByIntPratica(long intPraticaId, long dettPraticaId)
throws SystemException {
DynamicQuery dynamicQuery = findValidUntilDettPraticaByIntPratica(intPraticaId, dettPraticaId, null); DynamicQuery dynamicQuery = findValidUntilDettPraticaByIntPratica(intPraticaId, dettPraticaId, null);
return (int) soggettoPersistence.countWithDynamicQuery(dynamicQuery); return (int) soggettoPersistence.countWithDynamicQuery(dynamicQuery);
@ -1084,25 +1135,25 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
return dynamicQuery; return dynamicQuery;
} }
public List<Soggetto> findByDettPratica_TipologiaSoggetto_Aggiuntivo(long dettPraticaId, String TipologiaSoggetto, public List<Soggetto> findByDettPratica_TipologiaSoggetto_Aggiuntivo(long dettPraticaId,
boolean aggiuntivo) throws SystemException { String TipologiaSoggetto, boolean aggiuntivo) throws SystemException {
return soggettoPersistence.findByDettPratica_TipologiaSoggetto_Aggiuntivo(dettPraticaId, TipologiaSoggetto, return soggettoPersistence.findByDettPratica_TipologiaSoggetto_Aggiuntivo(dettPraticaId,
aggiuntivo); TipologiaSoggetto, aggiuntivo);
} }
public List<Soggetto> findByDettPratica_TipologiaSoggetto_Aggiuntivo_Rimosso(long dettPraticaId, public List<Soggetto> findByDettPratica_TipologiaSoggetto_Aggiuntivo_Rimosso(long dettPraticaId,
String TipologiaSoggetto, boolean aggiuntivo, boolean rimosso) throws SystemException { String TipologiaSoggetto, boolean aggiuntivo, boolean rimosso) throws SystemException {
return soggettoPersistence.findByDettPratica_TipologiaSoggetto_Aggiuntivo_Rimosso(dettPraticaId, TipologiaSoggetto, return soggettoPersistence.findByDettPratica_TipologiaSoggetto_Aggiuntivo_Rimosso(dettPraticaId,
aggiuntivo, rimosso); TipologiaSoggetto, aggiuntivo, rimosso);
} }
public List<Soggetto> findByIntPratica_TipologiaSoggetto_Aggiuntivo_Rimosso(long intPraticaId, public List<Soggetto> findByIntPratica_TipologiaSoggetto_Aggiuntivo_Rimosso(long intPraticaId,
String TipologiaSoggetto, boolean aggiuntivo, boolean rimosso) throws SystemException { String TipologiaSoggetto, boolean aggiuntivo, boolean rimosso) throws SystemException {
return soggettoPersistence.findByIntPratica_TipologiaSoggetto_Aggiuntivo_Rimosso(intPraticaId, TipologiaSoggetto, return soggettoPersistence.findByIntPratica_TipologiaSoggetto_Aggiuntivo_Rimosso(intPraticaId,
aggiuntivo, rimosso); TipologiaSoggetto, aggiuntivo, rimosso);
} }
public Soggetto findByUserId(long userId) throws SystemException { public Soggetto findByUserId(long userId) throws SystemException {
@ -1123,7 +1174,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
public List<Soggetto> findByUserId_CodiceFiscale(long userId, String codiceFiscale, int start, int end, public List<Soggetto> findByUserId_CodiceFiscale(long userId, String codiceFiscale, int start, int end,
OrderByComparator orderByComparator) throws SystemException { OrderByComparator orderByComparator) throws SystemException {
return soggettoPersistence.findByUserId_CodiceFiscale(userId, codiceFiscale, start, end, orderByComparator); return soggettoPersistence.findByUserId_CodiceFiscale(userId, codiceFiscale, start, end,
orderByComparator);
} }
public int countByUserId_CodiceFiscale(long userId, String codiceFiscale) throws SystemException { public int countByUserId_CodiceFiscale(long userId, String codiceFiscale) throws SystemException {
@ -1132,16 +1184,18 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
} }
public List<Soggetto> findByUserId_CodiceFiscale_TipologiaSoggetto(long userId, String codiceFiscale, public List<Soggetto> findByUserId_CodiceFiscale_TipologiaSoggetto(long userId, String codiceFiscale,
String tipologiaSoggetto, int start, int end, OrderByComparator orderByComparator) throws SystemException { String tipologiaSoggetto, int start, int end, OrderByComparator orderByComparator)
throws SystemException {
return soggettoPersistence.findByUserId_CodiceFiscale_TipologiaSoggetto(userId, codiceFiscale, tipologiaSoggetto, return soggettoPersistence.findByUserId_CodiceFiscale_TipologiaSoggetto(userId, codiceFiscale,
start, end, orderByComparator); tipologiaSoggetto, start, end, orderByComparator);
} }
public int countByUserId_CodiceFiscale_TipologiaSoggetto(long userId, String codiceFiscale, String tipologiaSoggetto) public int countByUserId_CodiceFiscale_TipologiaSoggetto(long userId, String codiceFiscale,
throws SystemException { String tipologiaSoggetto) throws SystemException {
return soggettoPersistence.countByUserId_CodiceFiscale_TipologiaSoggetto(userId, codiceFiscale, tipologiaSoggetto); return soggettoPersistence.countByUserId_CodiceFiscale_TipologiaSoggetto(userId, codiceFiscale,
tipologiaSoggetto);
} }
public List<Long> findIntPraticaBySoggettoId(long soggettoId) throws PortalException, SystemException { public List<Long> findIntPraticaBySoggettoId(long soggettoId) throws PortalException, SystemException {
@ -1150,7 +1204,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
DynamicQuery dynamicQuerySoggetti = soggettoLocalService.dynamicQuery(); DynamicQuery dynamicQuerySoggetti = soggettoLocalService.dynamicQuery();
dynamicQuerySoggetti.add(RestrictionsFactoryUtil.ilike("codiceFiscale", user.getScreenName())); dynamicQuerySoggetti.add(RestrictionsFactoryUtil.ilike("codiceFiscale", user.getScreenName()));
dynamicQuerySoggetti.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("intPraticaId"))); dynamicQuerySoggetti.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil
.property("intPraticaId")));
List<Long> ids = soggettoPersistence.findWithDynamicQuery(dynamicQuerySoggetti); List<Long> ids = soggettoPersistence.findWithDynamicQuery(dynamicQuerySoggetti);
return ids; return ids;
@ -1185,12 +1240,14 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
DynamicQuery dynamicQuery = dynamicQuery(); DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId));
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("soggettoSostituitoId"))); dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil
.property("soggettoSostituitoId")));
List<Long> ids = soggettoPersistence.findWithDynamicQuery(dynamicQuery); List<Long> ids = soggettoPersistence.findWithDynamicQuery(dynamicQuery);
return ids; return ids;
} }
public Soggetto validaSoggetto(long soggettoId, long dettPraticaId) throws SystemException, PortalException { public Soggetto validaSoggetto(long soggettoId, long dettPraticaId) throws SystemException,
PortalException {
Soggetto soggetto = soggettoPersistence.findByPrimaryKey(soggettoId); Soggetto soggetto = soggettoPersistence.findByPrimaryKey(soggettoId);
soggetto.setDettPraticaIdRimozione(0l); soggetto.setDettPraticaIdRimozione(0l);
@ -1206,18 +1263,25 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
Soggetto soggetto = soggettoPersistence.findByPrimaryKey(soggettoId); Soggetto soggetto = soggettoPersistence.findByPrimaryKey(soggettoId);
soggetto.setDettPraticaIdRimozione(dettPraticaIdRimozione); // setto solo il soggetto.setDettPraticaIdRimozione(dettPraticaIdRimozione); // setto
// dettPraticaRimozione. La // solo il
// rimozione diventa definitiva al // dettPraticaRimozione.
// completamento della variante // La
// rimozione
// diventa
// definitiva
// al
// completamento
// della
// variante
if (SoggettiUtil.isSoggettoPrincipale(soggetto.getSoggettoId(), dettPraticaIdRimozione)) { if (SoggettiUtil.isSoggettoPrincipale(soggetto.getSoggettoId(), dettPraticaIdRimozione)) {
updatePrincipale(dettPraticaIdRimozione, StringPool.BLANK, soggetto.getTipologiaSoggetto()); updatePrincipale(dettPraticaIdRimozione, StringPool.BLANK, soggetto.getTipologiaSoggetto());
} }
return soggettoLocalService.updateSoggetto(soggetto); return soggettoLocalService.updateSoggetto(soggetto);
} }
public Soggetto invalidaESostituisciSoggetto(long soggettoId, long dettPraticaIdRimozione, long sostituitoDa) public Soggetto invalidaESostituisciSoggetto(long soggettoId, long dettPraticaIdRimozione,
throws SystemException, PortalException { long sostituitoDa) throws SystemException, PortalException {
Soggetto soggetto = invalidaSoggetto(soggettoId, dettPraticaIdRimozione); Soggetto soggetto = invalidaSoggetto(soggettoId, dettPraticaIdRimozione);
soggetto.setSostituitoDa(sostituitoDa); soggetto.setSostituitoDa(sostituitoDa);
@ -1225,8 +1289,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
} }
public Soggetto allegaFileModifica(long soggettoId, long userId, long intPraticaId, byte[] content, public Soggetto allegaFileModifica(long soggettoId, long userId, long intPraticaId, byte[] content,
String sourceFileName, String jsonFirmatari, ServiceContext serviceContext) throws SystemException, String sourceFileName, String jsonFirmatari, ServiceContext serviceContext)
PortalException { throws SystemException, PortalException {
Date now = new Date(); Date now = new Date();
@ -1235,10 +1299,9 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
docPraticaLocalService.deleteDocPratica(soggetto.getFileVariazioneId()); docPraticaLocalService.deleteDocPratica(soggetto.getFileVariazioneId());
} }
DocPratica allegatoInserimento = DocPratica allegatoInserimento = docPraticaLocalService.addDocPratica(userId,
docPraticaLocalService.addDocPratica(userId, Soggetto.class.getName(), soggetto.getDettPraticaId(), Soggetto.class.getName(), soggetto.getDettPraticaId(), intPraticaId, content, sourceFileName,
intPraticaId, content, sourceFileName, DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_VARIAZIONE_SOGGETTO, DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_VARIAZIONE_SOGGETTO, jsonFirmatari, serviceContext);
jsonFirmatari, serviceContext);
soggetto.setModifiedDate(now); soggetto.setModifiedDate(now);
soggetto.setFileVariazioneId(allegatoInserimento.getDocPraticaId()); soggetto.setFileVariazioneId(allegatoInserimento.getDocPraticaId());
soggetto.setTmp(false); soggetto.setTmp(false);
@ -1249,7 +1312,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
} }
if (!SoggettiUtil.hasSoggettoPrincipale(soggetto.getDettPraticaId(), soggetto.getTipologiaSoggetto())) { if (!SoggettiUtil.hasSoggettoPrincipale(soggetto.getDettPraticaId(), soggetto.getTipologiaSoggetto())) {
updatePrincipale(soggetto.getDettPraticaId(), soggetto.getCodiceFiscale(), soggetto.getTipologiaSoggetto()); updatePrincipale(soggetto.getDettPraticaId(), soggetto.getCodiceFiscale(),
soggetto.getTipologiaSoggetto());
} }
soggetto = soggettoLocalService.updateSoggetto(soggetto); soggetto = soggettoLocalService.updateSoggetto(soggetto);

502
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/util/SorteggioPraticaUtil.java

@ -33,14 +33,13 @@ import it.tref.liferay.portos.report.shared.util.ReportUtil;
import java.io.File; import java.io.File;
import java.io.FileWriter; import java.io.FileWriter;
import java.io.IOException; import java.io.IOException;
import java.math.BigDecimal; import java.security.Provider;
import java.math.RoundingMode;
import java.security.SecureRandom; import java.security.SecureRandom;
import java.security.Security;
import java.text.MessageFormat; import java.text.MessageFormat;
import java.text.ParseException; import java.text.ParseException;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar; import java.util.Calendar;
import java.util.Collections; import java.util.Collections;
import java.util.Comparator; import java.util.Comparator;
@ -48,7 +47,6 @@ import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set;
import java.util.TreeMap; import java.util.TreeMap;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
@ -77,59 +75,29 @@ import com.liferay.portal.service.RoleLocalServiceUtil;
import com.liferay.portal.service.ServiceContext; import com.liferay.portal.service.ServiceContext;
import com.liferay.portal.service.UserLocalServiceUtil; import com.liferay.portal.service.UserLocalServiceUtil;
import com.liferay.portlet.documentlibrary.NoSuchFileException; import com.liferay.portlet.documentlibrary.NoSuchFileException;
import com.liferay.portlet.documentlibrary.model.DLFolder;
import com.liferay.portlet.documentlibrary.model.DLFolderConstants; import com.liferay.portlet.documentlibrary.model.DLFolderConstants;
import com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil; import com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil;
import com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil;
public class SorteggioPraticaUtil { public class SorteggioPraticaUtil {
private static Log _log = LogFactoryUtil.getLog(SorteggioPraticaUtil.class.getName()); private static Log _log = LogFactoryUtil.getLog(SorteggioPraticaUtil.class);
public static final String DATE_TIME_FORMAT = "dd/MM/yyyy HH:mm:ss"; public static final String DATE_TIME_FORMAT = "dd/MM/yyyy HH:mm:ss";
private static final String[] zoneSorteggio;
private static final Map<String, Object> zonaToFascia;
private static final String[] tipiPraticaMese;
private static final String[] tipiPraticaAnno;
private static final String[] statiPratica;
private static final String[] statiPraticaSorteggioMese;
public final static String APERTO = "APERTO"; public final static String APERTO = "APERTO";
public final static String CHIUSO = "CHIUSO"; public final static String CHIUSO = "CHIUSO";
private static final String FOLDER_TEMPLATE_SORTEGGIO = "Template_Sorteggio"; private static final String FOLDER_TEMPLATE_SORTEGGIO = "Template_Sorteggio";
private static final String FOLDER_SORTEGGIO_BO = "Report_Sorteggio_BO";
private static final String FOLDER_SORTEGGIO = "Report_Sorteggio"; private static final String FOLDER_SORTEGGIO = "Report_Sorteggio";
private static final String FILE_ENTRY_TEMPLATE_SORTEGGIO_BO = "Sorteggio_BO";
private static final String FILE_ENTRY_TEMPLATE_SORTEGGIO = "Sorteggio"; private static final String FILE_ENTRY_TEMPLATE_SORTEGGIO = "Sorteggio";
private static final String FILE_ENTRY_SORTEGGIO_BO = "Sorteggio_BO_{0}_{1}_{2}_{3}"; private static final String FILE_ENTRY_SORTEGGIO = "Sorteggio_{0}_{1}_{2}";
private static final String FILE_ENTRY_SORTEGGIO = "Sorteggio_{0}_{1}_{2}_{3}";
private static final String FILE_ENTRY_SORTEGGIO_OLD = "Sorteggio_{0}_{1}_{2}_{3}"; private static final String FILE_ENTRY_SORTEGGIO_OLD = "Sorteggio_{0}_{1}_{2}_{3}";
static {
zoneSorteggio = new String[] { Constants.ZONA_3, Constants.ZONA_4 };
zonaToFascia = new HashMap<String, Object>();
Map<String, Integer> fasciaToPercentuale = new HashMap<String, Integer>();
fasciaToPercentuale.put(Constants.FASCIA_A, 40);
fasciaToPercentuale.put(Constants.FASCIA_B, 10);
fasciaToPercentuale.put(Constants.FASCIA_C, 5);
zonaToFascia.put(Constants.ZONA_3, fasciaToPercentuale);
zonaToFascia.put(Constants.ZONA_4, 1);
tipiPraticaMese = new String[] { Constants.TIPO_PRATICA_DEPOSITO, Constants.TIPO_PRATICA_SANATORIA };
tipiPraticaAnno = new String[] { Constants.TIPO_PRATICA_DEPOSITO };
statiPratica = new String[] { StatoPraticaConstants.FINE_LAVORI,
StatoPraticaConstants.COLLAUDO_PARZIALE, StatoPraticaConstants.COLLAUDO,
StatoPraticaConstants.INTEGRAZIONE, StatoPraticaConstants.SOTTOPOSTA_A_PARERE,
StatoPraticaConstants.ANNULLATA };
statiPraticaSorteggioMese = new String[] { StatoPraticaConstants.INTEGRAZIONE,
StatoPraticaConstants.SOTTOPOSTA_A_PARERE, StatoPraticaConstants.ANNULLATA };
}
public static Date getDataSorteggio(long companyId, boolean next) throws SystemException { public static Date getDataSorteggio(long companyId, boolean next) throws SystemException {
Date dtSorteggio = null; Date dtSorteggio = null;
@ -179,34 +147,6 @@ public class SorteggioPraticaUtil {
return true; return true;
} }
public static boolean isGiornoSorteggioOld(long companyId, Date dt) throws Exception {
SimpleDateFormat simpleDateTimeFormat = new SimpleDateFormat(DATE_TIME_FORMAT);
boolean isGiornoSorteggio = false;
Date dtSorteggio = getDataSorteggio(companyId, false);
if (dtSorteggio != null) {
Date date = DateUtils.truncate(dt, Calendar.DATE);
Date dtUltimoSorteggio = null;
String dataUltimoSorteggioString = ConfigurazioneLocalServiceUtil.findByC_ChiaveString(companyId,
ConfigurazioneConstants.DATE_ULTIMO_SORTEGGIO);
if (Validator.isNotNull(dataUltimoSorteggioString)) {
dtUltimoSorteggio = DateUtils.truncate(simpleDateTimeFormat.parse(dataUltimoSorteggioString),
Calendar.DATE);
}
if ((date.equals(dtSorteggio) || date.after(dtSorteggio))
&& (dtUltimoSorteggio == null || (dtUltimoSorteggio != null && dtUltimoSorteggio
.before(dtSorteggio)))) {
isGiornoSorteggio = true;
}
}
return isGiornoSorteggio;
}
/** /**
* *
* Implementazione della procedura di sorteggio secondo i requisiti della * Implementazione della procedura di sorteggio secondo i requisiti della
@ -222,16 +162,17 @@ public class SorteggioPraticaUtil {
SystemException { SystemException {
List<String> esito = new ArrayList<>(); List<String> esito = new ArrayList<>();
Map<String, List<IntPratica>> sorteggiabili = IntPraticaLocalServiceUtil.findSorteggiabili(companyId, SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
dtSorteggio); esito.add("Sorteggio iniziato in data " + sdf.format(dtSorteggio) + ".<br><br>");
Map<String, List<IntPratica>> sorteggiabili = IntPraticaLocalServiceUtil.findSorteggiabiliNew(
companyId, dtSorteggio);
int numeroSorteggiabili = 0; int numeroSorteggiabili = 0;
for (Map.Entry<String, List<IntPratica>> s : sorteggiabili.entrySet()) { for (Map.Entry<String, List<IntPratica>> s : sorteggiabili.entrySet()) {
numeroSorteggiabili += s.getValue().size(); numeroSorteggiabili += s.getValue().size();
} }
esito.add(numeroSorteggiabili + " pratiche sorteggiabili"); esito.add("<h1>" + numeroSorteggiabili + " pratiche sottoposte a sorteggio.</h1>");
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
SecureRandom rnd = new SecureRandom(); SecureRandom rnd = new SecureRandom();
List<IntPratica> sorteggiate = new ArrayList<>(); List<IntPratica> sorteggiate = new ArrayList<>();
@ -240,25 +181,31 @@ public class SorteggioPraticaUtil {
List<IntPratica> elenco = s.getValue(); List<IntPratica> elenco = s.getValue();
Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(companyId, codiceProvincia); Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(companyId, codiceProvincia);
long numeroSorteggiate = (long) Math.ceil(0.2 * elenco.size()); long numeroSorteggiate = (long) Math.ceil(0.1 * elenco.size());
esito.add("<b>Provincia " + provincia.getProvincia() + " " + elenco.size() String testoSorteggio;
+ " pratiche, vanno a sorteggio " + numeroSorteggiate + "</b>"); if (numeroSorteggiate > 1) {
testoSorteggio = "saranno estratte " + numeroSorteggiate + " pratiche";
} else {
testoSorteggio = "sarà estratta 1 pratica";
}
esito.add("<h2>Provincia di " + provincia.getProvincia() + " " + elenco.size()
+ " pratiche, " + testoSorteggio + ".</h2><ol>");
Map<Long, IntPratica> ordinate = new HashMap<>(); Map<Integer, IntPratica> ordinate = new HashMap<>();
long chiave; int chiave;
for (IntPratica pratica : elenco) { for (IntPratica pratica : elenco) {
do { do {
chiave = rnd.nextLong(); chiave = rnd.nextInt();
} while (ordinate.containsKey(chiave)); } while (ordinate.containsKey(chiave));
ordinate.put(chiave, pratica); ordinate.put(chiave, pratica);
} }
TreeMap<Long, IntPratica> mescolate = new TreeMap<Long, IntPratica>(ordinate); TreeMap<Integer, IntPratica> mescolate = new TreeMap<Integer, IntPratica>(ordinate);
long contatore = 0; long contatore = 0;
long fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, long fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId,
"conf.geniocivile.avviso.template.id.deposito.B2"); "conf.geniocivile.avviso.template.id.deposito.B2");
for (Map.Entry<Long, IntPratica> m : mescolate.entrySet()) { for (Map.Entry<Integer, IntPratica> m : mescolate.entrySet()) {
IntPratica pratica = m.getValue(); IntPratica pratica = m.getValue();
long intPraticaId = pratica.getIntPraticaId(); long intPraticaId = pratica.getIntPraticaId();
DettPratica dettPratica = DettPraticaLocalServiceUtil DettPratica dettPratica = DettPraticaLocalServiceUtil
@ -271,35 +218,24 @@ public class SorteggioPraticaUtil {
if (contatore++ < numeroSorteggiate) { if (contatore++ < numeroSorteggiate) {
sorteggiate.add(pratica); sorteggiate.add(pratica);
esito.add("Sorteggiata: " + pratica.getNumeroProgetto() + "/" + intPraticaId + " del " esito.add("<li>Sorteggiata: " + pratica.getNumeroProgetto() + " (id " + intPraticaId
+ sdf.format(pratica.getDtPratica()) + " (" + m.getKey() + ")"); + ") del " + sdf.format(pratica.getDtPratica()) + " (" + m.getKey() + ")</li>");
} else { } else {
long dettPraticaId = dettPratica.getDettPraticaId(); pratica.setDtSorteggio(dtSorteggio);
IntPraticaLocalServiceUtil.updateIntPratica(pratica);
// Aggiungo un controllo pratica conforme con status Approved
ControlloPratica controlloPratica = ControlloPraticaLocalServiceUtil.addControlloPratica(
dettPratica.getGroupId(), dettPratica.getUserId(), intPraticaId, dettPraticaId,
false, serviceContext);
controlloPratica.setStatus(WorkflowConstants.STATUS_APPROVED);
ControlloPraticaLocalServiceUtil.updateControlloPratica(controlloPratica);
AvvisoLocalServiceUtil.addAvviso(intPraticaId, "Attestazione di deposito progetto",
dtSorteggio, AvvisoUtil.TIPO_AVVISO_DIRETTO, StatoPraticaConstants.CONFORME,
fileEntryIdTemplate, dettPraticaId, DettPratica.class.getName(),
controlloPratica.getControlloPraticaId(), serviceContext);
IntPraticaLocalServiceUtil.updateIntPraticaSorteggio(intPraticaId, dtSorteggio,
StatoPraticaConstants.CONFORME);
esito.add("Non sorteggiata: " + pratica.getNumeroProgetto() + "/" + intPraticaId esito.add("<li>Non sorteggiata: " + pratica.getNumeroProgetto() + " (id " + intPraticaId
+ " del " + sdf.format(pratica.getDtPratica()) + " (" + m.getKey() + ")"); + ") del " + sdf.format(pratica.getDtPratica()) + " (" + m.getKey() + ")</li>");
} }
} }
esito.add("</ol>");
} }
if (sorteggiate.size() > 0) { if (sorteggiate.size() > 0) {
esito.add("Salvo " + sorteggiate.size() + " pratiche sorteggiate");
saveSorteggio(companyId, sorteggiate, dtSorteggio); saveSorteggio(companyId, sorteggiate, dtSorteggio);
} }
esito.add("Sorteggio terminato in data " + sdf.format(dtSorteggio) + ".<br><br>");
creaReportSorteggio(companyId, dtSorteggio, esito);
// Salvataggio data ultimo sorteggio // Salvataggio data ultimo sorteggio
ServiceContext serviceContext = new ServiceContext(); ServiceContext serviceContext = new ServiceContext();
@ -313,10 +249,11 @@ public class SorteggioPraticaUtil {
// Log su file // Log su file
String path = PropsUtil.get("liferay.home") + "/sorteggi"; String path = PropsUtil.get("liferay.home") + "/sorteggi";
try {
File folder = new File(path); File folder = new File(path);
if (!folder.exists()) if (!folder.exists()) {
folder.mkdirs(); folder.mkdirs();
try { }
FileWriter writer = new FileWriter(path + "/sorteggio-" FileWriter writer = new FileWriter(path + "/sorteggio-"
+ new SimpleDateFormat("yyyy-MM-dd").format(dtSorteggio) + ".txt"); + new SimpleDateFormat("yyyy-MM-dd").format(dtSorteggio) + ".txt");
for (String string : esito) for (String string : esito)
@ -329,6 +266,62 @@ public class SorteggioPraticaUtil {
return esito; return esito;
} }
private static FileEntry creaReportSorteggio(long companyId, Date dtSorteggio, List<String> contenuto)
throws PortalException, SystemException {
Role role = RoleLocalServiceUtil.getRole(companyId, RoleConstants.ADMINISTRATOR);
long userId = UserLocalServiceUtil.getRoleUsers(role.getRoleId(), 0, 1).get(0).getUserId();
Company company = CompanyLocalServiceUtil.getCompany(companyId);
Folder folderTemplate = DLAppLocalServiceUtil.getFolder(company.getGroupId(),
DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, "Template");
FileEntry fileEntryTemplate = DLAppLocalServiceUtil.getFileEntry(folderTemplate.getGroupId(),
folderTemplate.getFolderId(), FILE_ENTRY_TEMPLATE_SORTEGGIO);
Folder folderReport = DLAppLocalServiceUtil.getFolder(company.getGroupId(),
DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, FOLDER_SORTEGGIO);
StringBuilder sb = new StringBuilder(contenuto.size());
for (String riga : contenuto) {
sb.append(riga);
}
Map<String, Object> parameters = new HashMap<String, Object>();
parameters.put("html", sb.toString());
ReportDto reportDto = new ReportDto();
reportDto.setFileEntryIds(new long[] { fileEntryTemplate.getFileEntryId() });
reportDto.setFolderId(folderReport.getFolderId());
reportDto.setFileName(reportFileName(companyId, dtSorteggio));
reportDto.setHeader("");
reportDto.setHeaderHeight(1);
reportDto.setFooter("");
reportDto.setFooterHeight(40);
reportDto.setParameters(parameters);
reportDto.setShowNumberOfPage(true);
reportDto.setType(ReportConstants.ReportType.VELOCITY_TO_PDF.toString());
String resourcePath = SorteggioPraticaUtil.class.getName().replaceAll("\\w+\\.", "../")
.replace(SorteggioPraticaUtil.class.getSimpleName(), "resource/asseverazioni");
reportDto.setPortalURL(SorteggioPraticaUtil.class.getResource(resourcePath).getPath());
ReportUtil.generateReport(companyId, userId, reportDto, null);
return null;
}
private static String reportFileName(long companyId, Date dtSorteggio) {
Calendar calSorteggio = DateUtils.toCalendar(dtSorteggio);
String anno = String.valueOf(calSorteggio.get(Calendar.YEAR));
int settimana = calSorteggio.get(Calendar.WEEK_OF_YEAR);
return reportFileName(companyId, anno, settimana);
}
private static String reportFileName(long companyId, String anno, int settimana) {
return "Sorteggio_" + settimana + "_" + anno + "_" + companyId;
}
private static void invioMailSorteggio(IntPratica intPratica, DettPratica dettPratica, private static void invioMailSorteggio(IntPratica intPratica, DettPratica dettPratica,
ServiceContext serviceContext) { ServiceContext serviceContext) {
try { try {
@ -367,136 +360,6 @@ public class SorteggioPraticaUtil {
} }
} }
public static void sorteggio(long companyId, Date dtSorteggio, boolean disattivato) throws Exception {
String mese = getMeseSorteggio(dtSorteggio);
Date[] rangeMese = rangeSorteggioMese(mese);
Date[] rangeAnno = rangeSorteggioAnno(mese);
// list genio civile
List<Long> groupIds = TerritorioLocalServiceUtil.getAllTerritorioGroup();
for (Long groupId : groupIds) {
long[] numeroEstrazione = new long[] { 1L };
for (String zonaSorteggio : zoneSorteggio) {
// Zona zona =
// ZonaLocalServiceUtil.getZonaByCodZona(zonaSorteggio);
Object obj = zonaToFascia.get(zonaSorteggio);
if (obj instanceof Map) {
Set<String> keys = ((Map<String, Integer>) obj).keySet();
for (String fascia : keys) {
List<Long> territoroIds = TerritorioLocalServiceUtil
.getTerritoriByGroupAndZonaAndFascia(groupId, zonaSorteggio, fascia);
if (!territoroIds.isEmpty()) {
sorteggio(companyId, numeroEstrazione, dtSorteggio, rangeMese, rangeAnno,
territoroIds, zonaSorteggio, fascia);
}
}
} else {
List<Long> territoroIds = TerritorioLocalServiceUtil.getTerritoriByGroupAndZona(groupId,
zonaSorteggio);
if (!territoroIds.isEmpty()) {
sorteggio(companyId, numeroEstrazione, dtSorteggio, rangeMese, rangeAnno,
territoroIds, zonaSorteggio);
}
}
}
// Report
generateReportBO(companyId, groupId, dtSorteggio);
Thread.sleep(5000);
generateReport(companyId, dtSorteggio, groupId);
}
// update data ultima sorteggio
ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(companyId);
serviceContext.setScopeGroupId(-1L);
serviceContext.setUserId(UserLocalServiceUtil.getDefaultUserId(companyId));
SimpleDateFormat simpleDateTimeFormat = new SimpleDateFormat(DATE_TIME_FORMAT);
ConfigurazioneLocalServiceUtil.storeConfig(ConfigurazioneConstants.DATE_ULTIMO_SORTEGGIO,
simpleDateTimeFormat.format(dtSorteggio), serviceContext);
}
private static void sorteggio(long companyId, long[] numeroEstrazione, Date dtSorteggio,
Date[] rangeMese, Date[] rangeAnno, List<Long> territori, String zona) throws Exception {
sorteggio(companyId, numeroEstrazione, dtSorteggio, rangeMese, rangeAnno, territori, zona, null);
}
private static void sorteggio(long companyId, long[] numeroEstrazione, Date dtSorteggio,
Date[] rangeMese, Date[] rangeAnno, List<Long> territorioIds, String zona, String fascia)
throws Exception {
int percentuale = 0;
Object obj = zonaToFascia.get(zona);
if (obj instanceof Map) {
percentuale = ((Map<String, Integer>) obj).get(fascia);
} else {
percentuale = (Integer) obj;
}
/*
* List<Long> tipoPraticaMeseIds = getTipoPraticaIds(tipiPraticaMese);
* List<Long> tipoPraticaAnnoIds = getTipoPraticaIds(tipiPraticaAnno);
*/
List<String> statoPraticaList = Arrays.asList(statiPratica);
List<String> statoPraticaListMese = Arrays.asList(statiPraticaSorteggioMese);
int praticheMese = SorteggioLocalServiceUtil.countSorteggioMese(rangeMese[0], rangeMese[1],
territorioIds, Arrays.asList(tipiPraticaMese));
int numeroPratiche = 0;
if (praticheMese > 0) {
// calcolo campione
BigDecimal campioneCalcolato = new BigDecimal((praticheMese * percentuale) / (float) 100);
campioneCalcolato = campioneCalcolato.setScale(0, RoundingMode.UP);
int campione = campioneCalcolato.intValue(); // se dispari -> in
// eccesso al pari
// prossimo
if (campione % 2 != 0) {
campione++;
}
numeroPratiche = (campione / 2);
// sorteggio mese
List<Object[]> praticheSorteggioMese = SorteggioLocalServiceUtil.findSorteggioMese(rangeMese[0],
rangeMese[1], territorioIds, Arrays.asList(tipiPraticaMese), statoPraticaListMese,
numeroPratiche);
saveSorteggio(companyId, numeroEstrazione, praticheSorteggioMese, dtSorteggio, true, true);
}
// sorteggio anno
if (praticheMese == 0) {
// comma 5 bis
numeroPratiche = 2;
}
List<Object[]> praticheSorteggioAnno = SorteggioLocalServiceUtil
.findSorteggioAnno(rangeAnno[0], rangeAnno[1], territorioIds, Arrays.asList(tipiPraticaAnno),
statoPraticaList, numeroPratiche);
saveSorteggio(companyId, numeroEstrazione, praticheSorteggioAnno, dtSorteggio, false, true);
}
/** /**
* @author Manifattura Web Group per Regione Siciliana * @author Manifattura Web Group per Regione Siciliana
* *
@ -646,184 +509,36 @@ public class SorteggioPraticaUtil {
return rangeAnno[0]; return rangeAnno[0];
} }
public static Date getDateMinSorteggioMese(Date dt) {
Date[] rangeMese = rangeSorteggioMese(getMeseSorteggio(dt));
return rangeMese[0];
}
public static Date[] getDateMinAndMaxSorteggioMese(Date dt) {
return rangeSorteggioMese(getMeseSorteggio(dt));
}
public static FileEntry getFileEntrySorteggio(long companyId, long groupId, Date dtSorteggio) public static FileEntry getFileEntrySorteggio(long companyId, long groupId, Date dtSorteggio)
throws PortalException, SystemException { throws PortalException, SystemException {
Company company = CompanyLocalServiceUtil.getCompany(companyId); Company company = CompanyLocalServiceUtil.getCompany(companyId);
// anno, mese della data sorteggio
Calendar calSorteggio = DateUtils.toCalendar(dtSorteggio);
String anno = String.valueOf(calSorteggio.get(Calendar.YEAR));
String mese = StringUtils.leftPad(String.valueOf(calSorteggio.get(Calendar.MONTH) + 1), 2, '0');
int settimana = calSorteggio.get(Calendar.WEEK_OF_YEAR);
Folder folder = DLAppLocalServiceUtil.getFolder(company.getGroupId(), Folder folder = DLAppLocalServiceUtil.getFolder(company.getGroupId(),
DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, FOLDER_SORTEGGIO); DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, FOLDER_SORTEGGIO);
String fileName = MessageFormat.format(FILE_ENTRY_SORTEGGIO_OLD, mese, anno, settimana, groupId); String fileName = reportFileName(companyId, dtSorteggio);
FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(groupId, folder.getFolderId(), fileName); FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(groupId, folder.getFolderId(), fileName);
_log.debug("GetFileSorteggio - fileName:" + fileName + " | anno:" + anno + " | mese:" + mese
+ " | fileEntryId=" + fileEntry.getFileEntryId());
return fileEntry; return fileEntry;
} }
public static FileEntry getFileEntrySorteggio(long companyId, long groupId, int settimana, String mese, public static FileEntry getFileEntrySorteggio(long companyId, long groupId, int settimana, String anno)
String anno) throws PortalException, SystemException {
Company company = CompanyLocalServiceUtil.getCompany(companyId);
// anno, mese della data sorteggio
// Calendar calSorteggio = DateUtils.toCalendar(dtSorteggio);
// String anno = String.valueOf(calSorteggio.get(Calendar.YEAR));
// String mese =
// StringUtils.leftPad(String.valueOf(calSorteggio.get(Calendar.MONTH) +
// 1), 2,
// '0');
Folder folder = DLAppLocalServiceUtil.getFolder(company.getGroupId(),
DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, FOLDER_SORTEGGIO);
String fileName = MessageFormat.format(FILE_ENTRY_SORTEGGIO, mese, anno, settimana, groupId);
return DLAppLocalServiceUtil.getFileEntry(groupId, folder.getFolderId(), fileName);
}
public static FileEntry getFileEntrySorteggioBo(long companyId, long groupId, Date dtSorteggio)
throws PortalException, SystemException { throws PortalException, SystemException {
Company company = CompanyLocalServiceUtil.getCompany(companyId); Company company = CompanyLocalServiceUtil.getCompany(companyId);
// anno, mese della data sorteggio
Calendar calSorteggio = DateUtils.toCalendar(dtSorteggio);
String anno = String.valueOf(calSorteggio.get(Calendar.YEAR));
String mese = StringUtils.leftPad(String.valueOf(calSorteggio.get(Calendar.MONTH) + 1), 2, '0');
int settimana = calSorteggio.get(Calendar.WEEK_OF_YEAR);
Folder folder = DLAppLocalServiceUtil.getFolder(company.getGroupId(), Folder folder = DLAppLocalServiceUtil.getFolder(company.getGroupId(),
DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, FOLDER_SORTEGGIO_BO); DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, FOLDER_SORTEGGIO);
String fileName = MessageFormat.format(FILE_ENTRY_SORTEGGIO_BO, settimana, mese, anno, groupId); String fileName = reportFileName(companyId, anno, settimana);
return DLAppLocalServiceUtil.getFileEntry(groupId, folder.getFolderId(), fileName); return DLAppLocalServiceUtil.getFileEntry(groupId, folder.getFolderId(), fileName);
} }
/* /*
* Metodi Utilit? * Metodi Utilità
*/ */
private static void generateReportBO(long companyId, long groupId, Date dtSorteggio) throws Exception {
Role role = RoleLocalServiceUtil.getRole(companyId, RoleConstants.ADMINISTRATOR);
long userId = UserLocalServiceUtil.getRoleUsers(role.getRoleId(), 0, 1).get(0).getUserId();
// anno, mese della data sorteggio
Calendar calSorteggio = DateUtils.toCalendar(dtSorteggio);
String anno = String.valueOf(calSorteggio.get(Calendar.YEAR));
String mese = StringUtils.leftPad(String.valueOf(calSorteggio.get(Calendar.MONTH) + 1), 2, '0');
int settimana = calSorteggio.get(Calendar.WEEK_OF_YEAR);
List<Sorteggio> sorteggios = new ArrayList<Sorteggio>(
SorteggioLocalServiceUtil.findByGroupId_Anno_Mese_Settimana(groupId, anno, mese, settimana));
List<ReportSorteggioBean> reportSorteggioBeans = new ArrayList<ReportSorteggioBean>(sorteggios.size());
for (Sorteggio sorteggio : sorteggios) {
ReportSorteggioBean bean = ReportSorteggioBeanBuilder.build(sorteggio);
reportSorteggioBeans.add(bean);
}
Collections.sort(reportSorteggioBeans, new Comparator<ReportSorteggioBean>() {
@Override
public int compare(ReportSorteggioBean b1, ReportSorteggioBean b2) {
int compare = new Long(b1.getNumeroEstrazione()).compareTo(new Long(b2.getNumeroEstrazione()));
if (compare == 0) {
if (Validator.isNull(b1.getFascia())) {
return -1;
}
compare = b1.getFascia().compareTo(b2.getFascia());
if (compare == 0) {
return new Long(b1.getPratica()).compareTo(new Long(b2.getPratica()));
}
return compare;
}
return compare;
}
});
// vuoto per forzare visualizzazione
if (reportSorteggioBeans.isEmpty()) {
reportSorteggioBeans.add(new ReportSorteggioBean());
}
Company company = CompanyLocalServiceUtil.getCompany(companyId);
Folder folderTemplate = DLAppLocalServiceUtil.getFolder(company.getGroupId(),
DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, FOLDER_TEMPLATE_SORTEGGIO);
FileEntry fileEntryTemplate = DLAppLocalServiceUtil.getFileEntry(folderTemplate.getGroupId(),
folderTemplate.getFolderId(), FILE_ENTRY_TEMPLATE_SORTEGGIO_BO);
String fileName = MessageFormat.format(FILE_ENTRY_SORTEGGIO_BO, mese, anno, groupId);
Folder folder = null;
try {
folder = DLAppLocalServiceUtil.getFolder(company.getGroupId(),
DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, FOLDER_SORTEGGIO_BO);
} catch (PortalException e) {
folder = DLAppLocalServiceUtil.addFolder(userId, company.getGroupId(),
DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, FOLDER_SORTEGGIO_BO, StringPool.BLANK,
new ServiceContext());
}
Map<String, Object> paramaters = new HashMap<String, Object>();
paramaters.put("DATA_SORTEGGIO",
new SimpleDateFormat("MMMM yyyy", java.util.Locale.ITALY).format(dtSorteggio));
ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(companyId);
serviceContext.setScopeGroupId(groupId);
serviceContext.setUserId(userId);
ReportDto reportDto = new ReportDto();
reportDto.setFileEntryIds(new long[] { fileEntryTemplate.getFileEntryId() });
reportDto.setFolderId(folder.getFolderId());
reportDto.setFileName(fileName);
reportDto.setParameters(paramaters);
// reportDto.setDataSource(reportSorteggioBeans);
reportDto.setShowNumberOfPage(true);
reportDto.setType(ReportConstants.ReportType.JRXML_TO_PDF.toString());
ReportResultDto result = ReportUtil
.generateReport(companyId, userId, reportDto, reportSorteggioBeans);
long idFileEntry = result.getFileEntryIds()[0];
/*
* Message messageReport = new Message();
* messageReport.put(ReportConstants.FILE_ENTRY_ID_TEMPLATE,
* fileEntryTemplate.getFileEntryId());
* messageReport.put(ReportConstants.FOLDER_ID_REPORT,
* folder.getFolderId()); messageReport.put(ReportConstants.REPORT_NAME,
* fileName); messageReport.put(ReportConstants.SERVICE_CONTEXT,
* serviceContext); messageReport.put(ReportConstants.REPORT_PARAMETERS,
* paramaters); messageReport.put(ReportConstants.REPORT_DATASOURCE,
* reportSorteggioBeans); long idFileEntry = (Long)
* MessageBusUtil.sendSynchronousMessage(ReportDestinationNames.SYNC,
* messageReport, 1);
*/
if (Validator.isNull(idFileEntry)) {
throw new NoSuchFileException();
}
}
private static void generateReport(long companyId, Date dtSorteggio, long gropuId) throws Exception { private static void generateReport(long companyId, Date dtSorteggio, long gropuId) throws Exception {
Role role = RoleLocalServiceUtil.getRole(companyId, RoleConstants.ADMINISTRATOR); Role role = RoleLocalServiceUtil.getRole(companyId, RoleConstants.ADMINISTRATOR);
@ -1007,23 +722,6 @@ public class SorteggioPraticaUtil {
return calendar; return calendar;
} }
private static Date[] rangeSorteggioMese(String mese) {
// min
Calendar calMin = getCalendarNoTimeFirstDay();
if (mese.equalsIgnoreCase("12")) {
calMin.add(Calendar.YEAR, -1);
}
calMin.set(Calendar.MONTH, (Integer.parseInt(mese) - 1));
// max
Calendar calMax = getCalendarNoTimeFirstDay();
if (mese.equalsIgnoreCase("12")) {
calMax.add(Calendar.YEAR, -1);
}
calMax.set(Calendar.MONTH, (Integer.parseInt(mese)));
return new Date[] { calMin.getTime(), calMax.getTime() };
}
private static Date[] rangeSorteggioAnno(String mese) { private static Date[] rangeSorteggioAnno(String mese) {
// min // min

0
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/resource/asseverazioni/committente.html

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
## ##
build.namespace=portos_bo build.namespace=portos_bo
build.number=2279 build.number=2301
build.date=1590675408364 build.date=1591708070626
build.auto.upgrade=true build.auto.upgrade=true
## ##

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/advanced_search.jsp

@ -39,7 +39,6 @@
<aui:option value="01"><liferay-ui:message key="deposito"/></aui:option> <aui:option value="01"><liferay-ui:message key="deposito"/></aui:option>
<aui:option value="02"><liferay-ui:message key="autorizzazione"/></aui:option> <aui:option value="02"><liferay-ui:message key="autorizzazione"/></aui:option>
<aui:option value="03"><liferay-ui:message key="sanatoria"/></aui:option> <aui:option value="03"><liferay-ui:message key="sanatoria"/></aui:option>
<aui:option value="co"><liferay-ui:message key="controllo obbligatorio"/></aui:option>
<aui:option value="sorteggio"><liferay-ui:message key="sorteggiata"/></aui:option> <aui:option value="sorteggio"><liferay-ui:message key="sorteggiata"/></aui:option>
</aui:select> </aui:select>
</div> </div>

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/advanced_search.jsp

@ -46,7 +46,6 @@ List<Organization> organizationList = OrganizationLocalServiceUtil.getUserOrgani
</aui:option> </aui:option>
<!-- ADT - BUG-11 Aggiunta filtro ricerca --> <!-- ADT - BUG-11 Aggiunta filtro ricerca -->
<aui:option value="co"><liferay-ui:message key="controllo obbligatorio"/></aui:option>
<aui:option value="sorteggio"><liferay-ui:message key="sorteggiata"/></aui:option> <aui:option value="sorteggio"><liferay-ui:message key="sorteggiata"/></aui:option>
</aui:select> </aui:select>
</div> </div>

35
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/sorteggio/view.jsp

@ -246,7 +246,7 @@ boolean isPublicLayout = layout.isPublicLayout();
try { try {
FileEntry fileEntry = SorteggioPraticaUtil.getFileEntrySorteggio(companyId, FileEntry fileEntry = SorteggioPraticaUtil.getFileEntrySorteggio(companyId,
themeDisplay.getScopeGroupId(), settimana, mese, anno); themeDisplay.getScopeGroupId(), settimana, anno);
%> %>
@ -350,38 +350,6 @@ boolean isPublicLayout = layout.isPublicLayout();
try { try {
FileEntry fileEntry = SorteggioPraticaUtil.getFileEntrySorteggio(themeDisplay.getCompanyId(), FileEntry fileEntry = SorteggioPraticaUtil.getFileEntrySorteggio(themeDisplay.getCompanyId(),
sorteggio.getGroupId(), sorteggio.getDtSorteggio()); sorteggio.getGroupId(), sorteggio.getDtSorteggio());
//FileEntry fileEntry = SorteggioPraticaUtil.getFileEntrySorteggioBo(companyId,
// sorteggio.getGroupId(), sorteggio.getDtSorteggio());
%>
<liferay-portlet:resourceURL var="downloadReportURL" id="downloadReport">
<liferay-portlet:param name="fileEntryId" value="<%= String.valueOf(fileEntry.getFileEntryId()) %>" />
</liferay-portlet:resourceURL>
<liferay-ui:icon
cssClass="btn"
image="links"
message="Download"
target="_blank"
url="<%= downloadReportURL %>"
/>
<%
} catch(PortalException e) {
}
%>
</liferay-ui:search-container-column-text>
<c:if test="<%=themeDisplay.getLayout().getGroup().getName().equals(Constants.PORTOS_BO_SITE_NAME) %>">
<liferay-ui:search-container-column-text name="Report Sorteggio BO">
<%
try {
FileEntry fileEntry = SorteggioPraticaUtil.getFileEntrySorteggioBo(themeDisplay.getCompanyId(),
sorteggio.getGroupId(), sorteggio.getDtSorteggio());
//FileEntry fileEntry = SorteggioPraticaUtil.getFileEntrySorteggioBo(companyId,
// sorteggio.getGroupId(), sorteggio.getDtSorteggio());
%> %>
<liferay-portlet:resourceURL var="downloadReportURL" id="downloadReport"> <liferay-portlet:resourceURL var="downloadReportURL" id="downloadReport">
@ -400,7 +368,6 @@ boolean isPublicLayout = layout.isPublicLayout();
} }
%> %>
</liferay-ui:search-container-column-text> </liferay-ui:search-container-column-text>
</c:if>
</liferay-ui:search-container-row> </liferay-ui:search-container-row>

6
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/content/Language.properties

@ -99,10 +99,10 @@ no-deleghe-archivio = Nessuna Delega in Archivio
label-documenti-tipologia-AI = Allegati obbligatori annullamento label-documenti-tipologia-AI = Allegati obbligatori annullamento
tipo_procedura_a = A - Interventi “rilevanti” da realizzare previo rilascio di autorizzazione ai sensi dell'art. 94 D.P.R. 380/01 D.D.G. 189/19 all. A - lettera A<br><span style="color:red">A - varianti da realizzare su autorizzazione, per pratiche cartacee già acquisite dagli Uffici del Genio Civile</span> tipo_procedura_a = A - Interventi “rilevanti” da realizzare previo rilascio di autorizzazione ai sensi dell'art. 94 D.P.R. 380/01 D.D.G. 344/20 all. A - lettera A<br><span style="color:red">A - varianti da realizzare su autorizzazione, per pratiche cartacee già acquisite dagli Uffici del Genio Civile</span>
tipo_procedura_b = B - Interventi di “minore rilevanza” zone 3-4 D.D.G. 189/2019 all. A - lettera B tipo_procedura_b = B - Interventi di “minore rilevanza” D.D.G. 344/20 all. A - lettera B
tipo_procedura_b1 = B1 - Interventi di “minore rilevanza” zone 1-2 ed interventi in abitati da consolidare, art.61 (zone 3-4) tipo_procedura_b1 = B1 - Interventi di “minore rilevanza” zone 1-2 ed interventi in abitati da consolidare, art.61 (zone 3-4)
tipo_procedura_c = C - Interventi “privi di rilevanza“ D.D.G. 189/19 all. A - lett. C tipo_procedura_c = C - Interventi “privi di rilevanza“ D.D.G. 344/20 all. A - lett. C
persona-responsabile-compilazione-sezione=Responsabile della compilazione di questa sezione persona-responsabile-compilazione-sezione=Responsabile della compilazione di questa sezione
persone-responsabili-compilazione-sezione=Responsabili della compilazione di questa sezione persone-responsabili-compilazione-sezione=Responsabili della compilazione di questa sezione

9
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java

@ -577,6 +577,15 @@ public class FascicoloFePortlet extends MVCPortlet {
ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest);
DettPratica dettPratica = DettPraticaServiceUtil.addDettPratica(territorioId, tipoProcedura, DettPratica dettPratica = DettPraticaServiceUtil.addDettPratica(territorioId, tipoProcedura,
serviceContext); serviceContext);
if (tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_C)) {
dettPratica.setNormEsenteBollo(true);
dettPratica.setNormEsenteSpese(true);
dettPratica.setCollaudoStatico(true);
dettPratica.setNormArt3com3(true);
dettPratica.setNormArt3com4(true);
dettPratica.setTcRiparazioneInterventoLocale(true);
DettPraticaLocalServiceUtil.updateDettPratica(dettPratica);
}
successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "mvcPath", successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "mvcPath",
"/html/fascicolofe/edit_fascicolo.jsp"); "/html/fascicolofe/edit_fascicolo.jsp");
successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "dettPraticaId", successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "dettPraticaId",

18
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/edit_modal_fascicolo.jsp

@ -29,12 +29,12 @@
<div class="row add-new-project__row"> <div class="row add-new-project__row">
<div class="col-xs-12 add-new-project__procedura"> <div class="col-xs-12 add-new-project__procedura">
<aui:field-wrapper label="Tipo di procedura" helpMessage="è necessario selezionare una voce"> <aui:field-wrapper label="Tipo di procedura" helpMessage="è necessario selezionare una voce">
<aui:input label="tipo_procedura_a" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_A %>" type="radio" value="<%= Constants.PROCEDURA_A %>" showRequiredLabel="true" disabled="<%=true%>"> <aui:input label="tipo_procedura_a" name="tipoProcedura" id="tipo_procedura_<%= Constants.PROCEDURA_A %>" type="radio" value="<%= Constants.PROCEDURA_A %>" showRequiredLabel="true" disabled="<%=true%>">
<aui:validator name="required" /> <aui:validator name="required" />
</aui:input> </aui:input>
<aui:input label="tipo_procedura_b" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_B %>" type="radio" value="<%= Constants.PROCEDURA_B %>" showRequiredLabel="true" disabled="<%=true%>" /> <aui:input label="tipo_procedura_b" name="tipoProcedura" id="tipo_procedura_<%= Constants.PROCEDURA_B %>" type="radio" value="<%= Constants.PROCEDURA_B %>" showRequiredLabel="true" disabled="<%=true%>" />
<aui:input label="tipo_procedura_b1" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_B1 %>" type="radio" value="<%= Constants.PROCEDURA_B1 %>" showRequiredLabel="true" disabled="<%=true%>" /> <%-- <aui:input label="tipo_procedura_b1" name="tipoProcedura" id="tipo_procedura_<%= Constants.PROCEDURA_B1 %>" type="radio" value="<%= Constants.PROCEDURA_B1 %>" showRequiredLabel="true" disabled="<%=true%>" /> --%>
<aui:input label="tipo_procedura_c" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_C %>" type="radio" value="<%= Constants.PROCEDURA_C %>" showRequiredLabel="true" disabled="<%=true%>" /> <aui:input label="tipo_procedura_c" name="tipoProcedura" id="tipo_procedura_<%= Constants.PROCEDURA_C %>" type="radio" value="<%= Constants.PROCEDURA_C %>" showRequiredLabel="true" disabled="<%=true%>" />
</aui:field-wrapper> </aui:field-wrapper>
</div> </div>
</div> </div>
@ -210,11 +210,11 @@
$('.add-new-project__procedura div').removeClass('success'); $('.add-new-project__procedura div').removeClass('success');
}else if(val !== 0) { }else if(val !== 0) {
$('.add-new-project__procedura input').prop('disabled', false).removeClass('disabled').parent().css('display', 'block'); $('.add-new-project__procedura input').prop('disabled', false).removeClass('disabled').parent().css('display', 'block');
if ('<%= Constants.PROCEDURA_B %>' == procedure[val]) // if ('<%= Constants.PROCEDURA_B %>' == procedure[val])
$('#<portlet:namespace />tipo_procedura_<%= Constants.PROCEDURA_B1 %>').prop('disabled', 'disabled').prop('checked', false).parent().css('display', 'none'); // $('#<portlet:namespace />tipo_procedura_<%= Constants.PROCEDURA_B1 %>').prop('disabled', 'disabled').prop('checked', false).parent().css('display', 'none');
else // else
$('#<portlet:namespace />tipo_procedura_<%= Constants.PROCEDURA_B %>').prop('disabled', 'disabled').prop('checked', false).parent().css('display', 'none'); // $('#<portlet:namespace />tipo_procedura_<%= Constants.PROCEDURA_B %>').prop('disabled', 'disabled').prop('checked', false).parent().css('display', 'none');
$('#<portlet:namespace />tipo_procedura_<%= Constants.PROCEDURA_C %>').prop('disabled', 'disabled').prop('checked', false); // $('#<portlet:namespace />tipo_procedura_<%= Constants.PROCEDURA_C %>').prop('disabled', 'disabled').prop('checked', false);
} }
}); });

4
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/common/save_actions.jspf

@ -298,8 +298,8 @@
/> />
<div id='<%=renderResponse.getNamespace()+"asSaveAndCloseDiv_"+randomId %>' class="hide" > <div id='<%=renderResponse.getNamespace()+"asSaveAndCloseDiv_"+randomId %>' class="hide" >
<input type="hidden" name="_<%= PortletKeys.FASCICOLOFE %>_asPresenti" value="1" /> <input type="hidden" name="_<%= PortletKeys.FASCICOLOFE %>_asPresenti" value="1" />
<label><input required type="radio" name="_<%= PortletKeys.FASCICOLOFE %>_asConiugio" onclick="$('#<portlet:namespace />asrelazioni').hide()" value="0" /> Dichiara di non avere relazioni di parentela con funzionari del Genio Civile.</label><br> <label><input required type="radio" name="_<%= PortletKeys.FASCICOLOFE %>_asConiugio" onclick="$('#<portlet:namespace />asrelazioni').hide()" value="0" /> di non trovarsi in rapporti di coniugio, parentela o affinità, del coniuge o del convivente, entro il 2° grado, con i dirigenti e i dipendenti dell'Ufficio del Genio Civile deputati alla trattazione del procedimento.</label><br>
<label><input type="radio" name="_<%= PortletKeys.FASCICOLOFE %>_asConiugio" onclick="$('#<portlet:namespace />asrelazioni').show()" value="1" /> Dichiara di avere le seguenti relazioni di parentela con funzionari del Genio Civile (indicare nomi e relazioni di parentela).</label> <label><input type="radio" name="_<%= PortletKeys.FASCICOLOFE %>_asConiugio" onclick="$('#<portlet:namespace />asrelazioni').show()" value="1" /> di trovarsi in rapporti di coniugio, parentela o affinità entro il 2° grado con i seguenti dipendenti dell'Ufficio del Genio Civile (indicare un nominativo per riga).</label>
<textarea id="<portlet:namespace />asrelazioni" name="_<%= PortletKeys.FASCICOLOFE %>_asRelazioni" style="display:none"></textarea> <textarea id="<portlet:namespace />asrelazioni" name="_<%= PortletKeys.FASCICOLOFE %>_asRelazioni" style="display:none"></textarea>
<hr> <hr>
<ol class="asseverazioni-list"> <ol class="asseverazioni-list">

24
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp

@ -33,6 +33,8 @@
Soggetto soggettoDelegato = DelegheUtil.getPersonaDelegaCompilazioneDomanda(dettPratica.getDettPraticaId()); Soggetto soggettoDelegato = DelegheUtil.getPersonaDelegaCompilazioneDomanda(dettPratica.getDettPraticaId());
request.setAttribute("bean.dettPratica",dettPratica); request.setAttribute("bean.dettPratica",dettPratica);
boolean proceduraC = intPratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_C);
boolean disabledInput = !DelegheUtil.hasDelegaCompilazioneDomanda(user.getUserId(),dettPratica.getDettPraticaId()) boolean disabledInput = !DelegheUtil.hasDelegaCompilazioneDomanda(user.getUserId(),dettPratica.getDettPraticaId())
|| TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(dettPratica.getTipoIntegrazione()) || TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(dettPratica.getTipoIntegrazione())
|| TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equals(dettPratica.getTipoIntegrazione()); || TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equals(dettPratica.getTipoIntegrazione());
@ -155,20 +157,20 @@
</div> </div>
<div class="row row-padding-custom "> <div class="row row-padding-custom ">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="normEsenteBollo" <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || proceduraC%>" name="normEsenteBollo"
label="norm-esente-bollo"/> label="norm-esente-bollo"/>
</div> </div>
</div> </div>
<div class="row row-padding-custom "> <div class="row row-padding-custom ">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="normEsenteSpese" <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || proceduraC%>" name="normEsenteSpese"
label="norm-esente-spese"/> label="norm-esente-spese"/>
</div> </div>
</div> </div>
<div class="row row-padding-custom"> <div class="row row-padding-custom">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<c:if test='<%= (disabledInput && !enabledByIntegrazione) || !disabledCollaudoStatico || intPratica.getStatoPratica().equals("")%>'> <c:if test='<%= (disabledInput && !enabledByIntegrazione) || !disabledCollaudoStatico || intPratica.getStatoPratica().equals("")%>'>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="collaudoStatico" <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || proceduraC%>" name="collaudoStatico"
label="collaudo-statico" checked="<%=dettPratica.getCollaudoStatico() %>" /> label="collaudo-statico" checked="<%=dettPratica.getCollaudoStatico() %>" />
</c:if> </c:if>
<c:if test='<%= disabledCollaudoStatico && !intPratica.getStatoPratica().equals("") %>'> <c:if test='<%= disabledCollaudoStatico && !intPratica.getStatoPratica().equals("") %>'>
@ -180,7 +182,7 @@
<div class="row row-padding-custom"> <div class="row row-padding-custom">
<div class="col-xs-1 col-sm-1 col-md-1 col-lg-1"> <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1">
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" name="normArt3com3" label="" /> <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || proceduraC%>" name="normArt3com3" label="" />
</div> </div>
<div class="col-xs-11 col-sm-11 col-md-11 col-lg-11"> <div class="col-xs-11 col-sm-11 col-md-11 col-lg-11">
<div class="container-regolamento"> <div class="container-regolamento">
@ -196,7 +198,7 @@
</div> </div>
<div class="row row-padding-custom"> <div class="row row-padding-custom">
<div class="col-xs-1 col-sm-1 col-md-1 col-lg-1"> <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1">
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" name="normArt3com4" label=""/> <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || proceduraC%>" name="normArt3com4" label=""/>
</div> </div>
<div class="col-xs-11 col-sm-11 col-md-11 col-lg-11"> <div class="col-xs-11 col-sm-11 col-md-11 col-lg-11">
<div class="container-regolamento"> <div class="container-regolamento">
@ -595,10 +597,10 @@
<div class="col-xs-12"> <div class="col-xs-12">
<ul> <ul>
<li> <li>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="tcNuovaCostruzione" label="tc-nuova-costruzione" id="tc-nuova-costruzione"/> <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || proceduraC%>" name="tcNuovaCostruzione" label="tc-nuova-costruzione" id="tc-nuova-costruzione"/>
</li> </li>
<li> <li>
<aui:input disabled="<%= (disabledInput && !enabledByIntegrazione) || !intPratica.getTipoProcedura().equals(Constants.PROCEDURA_A) %>" name="tcNuovaCostruzioneComplessa" label="tc-nuova-costruzione-complessa" id="tc-nuova-costruzione-complessa"/> <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || !intPratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_A)%>" name="tcNuovaCostruzioneComplessa" label="tc-nuova-costruzione-complessa" id="tc-nuova-costruzione-complessa"/>
</li> </li>
<li class="costruzioni_esistenti"> <li class="costruzioni_esistenti">
<% <%
@ -607,16 +609,16 @@
BeanParamUtil.getBoolean(dettPratica, request, "tcMiglioramentoSismico") || BeanParamUtil.getBoolean(dettPratica, request, "tcMiglioramentoSismico") ||
BeanParamUtil.getBoolean(dettPratica, request, "tcRiparazioneInterventoLocale"); BeanParamUtil.getBoolean(dettPratica, request, "tcRiparazioneInterventoLocale");
%> %>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="checkbox" name="tcInterventi" checked="<%=checked%>" label="tc-interventi-esistenti"/> <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || proceduraC%>" type="checkbox" name="tcInterventi" checked="<%=checked%>" label="tc-interventi-esistenti"/>
<ul style="padding-left: 20px;"> <ul style="padding-left: 20px;">
<li> <li>
<aui:input disabled="<%= (disabledInput && !enabledByIntegrazione) || !checked %>" name="tcAdeguamentoSismico" label="tc-adeguamento-sismico"/> <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || !checked || proceduraC%>" name="tcAdeguamentoSismico" label="tc-adeguamento-sismico"/>
</li> </li>
<li> <li>
<aui:input disabled="<%= (disabledInput && !enabledByIntegrazione) || !checked %>" name="tcMiglioramentoSismico" label="tc-miglioramento-sismico"/> <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || !checked || proceduraC%>" name="tcMiglioramentoSismico" label="tc-miglioramento-sismico"/>
</li> </li>
<li> <li>
<aui:input disabled="<%= (disabledInput && !enabledByIntegrazione) || !checked %>" name="tcRiparazioneInterventoLocale" label="tc-riparazione-intervento-locale"/> <aui:input disabled="<%=(disabledInput && !enabledByIntegrazione) || !checked || proceduraC%>" name="tcRiparazioneInterventoLocale" label="tc-riparazione-intervento-locale"/>
</li> </li>
</ul> </ul>
</li> </li>

15
liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/tref/liferay/portos/bo/shared/util/DocumentiPraticaUtil.java

@ -41,7 +41,8 @@ public class DocumentiPraticaUtil {
public final static String TIPOLOGIA_ALLEGATO_FINE_LAVORI_PARZIALE = "111FP"; public final static String TIPOLOGIA_ALLEGATO_FINE_LAVORI_PARZIALE = "111FP";
public final static String TIPOLOGIA_ALLEGATO_COLLAUDO = "111C"; public final static String TIPOLOGIA_ALLEGATO_COLLAUDO = "111C";
public final static String TIPOLOGIA_ALLEGATO_COLLAUDO_PARZIALE = "111CP"; public final static String TIPOLOGIA_ALLEGATO_COLLAUDO_PARZIALE = "111CP";
// public final static String TIPOLOGIA_ALLEGATO_DOMANDA_NON_FIRMATA = "DNF"; // public final static String TIPOLOGIA_ALLEGATO_DOMANDA_NON_FIRMATA =
// "DNF";
public final static String TIPOLOGIA_ALLEGATO_CERTIFICATO_CALCESTRUZZO_PORTOS_1 = "CCA"; public final static String TIPOLOGIA_ALLEGATO_CERTIFICATO_CALCESTRUZZO_PORTOS_1 = "CCA";
public final static String TIPOLOGIA_ALLEGATO_CERTIFICATO_ACCIAIO_PORTOS_1 = "CAC"; public final static String TIPOLOGIA_ALLEGATO_CERTIFICATO_ACCIAIO_PORTOS_1 = "CAC";
@ -78,14 +79,11 @@ public class DocumentiPraticaUtil {
public final static String TIPOLOGIA_ALLEGATO_VARIAZIONE_SOGGETTO = "VS"; public final static String TIPOLOGIA_ALLEGATO_VARIAZIONE_SOGGETTO = "VS";
public final static String TIPOLOGIA_ALLEGATO_ANNULLAMENTO_FASCICOLO = "AI"; public final static String TIPOLOGIA_ALLEGATO_ANNULLAMENTO_FASCICOLO = "AI";
public static String getDescriptionFromCode(String code, PageContext pageContext) { public static String getDescriptionFromCode(String code, PageContext pageContext) {
return LanguageUtil.get(pageContext, "label.geniocivilefe.domanda.allegati." + code.toLowerCase()); return LanguageUtil.get(pageContext, "label.geniocivilefe.domanda.allegati." + code.toLowerCase());
} }
public static List<String> getDocConUnicaCopiaPresente() { public static List<String> getDocConUnicaCopiaPresente() {
List<String> docUnici = new ArrayList<String>(); List<String> docUnici = new ArrayList<String>();
docUnici.add(TIPOLOGIA_ALLEGATO_A00); docUnici.add(TIPOLOGIA_ALLEGATO_A00);
@ -98,7 +96,6 @@ public class DocumentiPraticaUtil {
return docUnici; return docUnici;
} }
public static List<String> getDocObbligatori() { public static List<String> getDocObbligatori() {
List<String> docObbligatori = new ArrayList<String>(); List<String> docObbligatori = new ArrayList<String>();
docObbligatori.add(TIPOLOGIA_ALLEGATO_A00); docObbligatori.add(TIPOLOGIA_ALLEGATO_A00);
@ -163,10 +160,12 @@ public class DocumentiPraticaUtil {
return doc; return doc;
} }
public static List<String> getDocObbligatoriDomanda() { public static List<String> getDocObbligatoriDomanda(String tipoProcedura) {
List<String> docObbligatori = new ArrayList<String>(); List<String> docObbligatori = new ArrayList<String>();
if (tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_C)) {
docObbligatori.add(TIPOLOGIA_ALLEGATO_A03);
} else {
docObbligatori.add(TIPOLOGIA_ALLEGATO_A00); docObbligatori.add(TIPOLOGIA_ALLEGATO_A00);
// docObbligatori.add(TIPOLOGIA_ALLEGATO_A01);
docObbligatori.add(TIPOLOGIA_ALLEGATO_A02); docObbligatori.add(TIPOLOGIA_ALLEGATO_A02);
docObbligatori.add(TIPOLOGIA_ALLEGATO_A03); docObbligatori.add(TIPOLOGIA_ALLEGATO_A03);
docObbligatori.add(TIPOLOGIA_ALLEGATO_A04); docObbligatori.add(TIPOLOGIA_ALLEGATO_A04);
@ -178,6 +177,7 @@ public class DocumentiPraticaUtil {
docObbligatori.add(TIPOLOGIA_ALLEGATO_A13); docObbligatori.add(TIPOLOGIA_ALLEGATO_A13);
docObbligatori.add(TIPOLOGIA_ALLEGATO_A17); docObbligatori.add(TIPOLOGIA_ALLEGATO_A17);
docObbligatori.add(TIPOLOGIA_ALLEGATO_DELEGA); docObbligatori.add(TIPOLOGIA_ALLEGATO_DELEGA);
}
return docObbligatori; return docObbligatori;
} }
@ -351,7 +351,6 @@ public class DocumentiPraticaUtil {
return doc; return doc;
} }
public static HashMap<String, Boolean> getDocControllo() { public static HashMap<String, Boolean> getDocControllo() {
HashMap<String, Boolean> docControl = new HashMap<String, Boolean>(); HashMap<String, Boolean> docControl = new HashMap<String, Boolean>();
docControl.put(TIPOLOGIA_ALLEGATO_A00, false); docControl.put(TIPOLOGIA_ALLEGATO_A00, false);

300
template/doc/Sorteggio.jrxml

@ -1,300 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="report_sorteggio" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="6f886958-7039-4440-9db7-8ca2344a61a8">
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="205"/>
<parameter name="DATA_SORTEGGIO" class="java.lang.String"/>
<parameter name="FASCIA_A_MESE" class="java.lang.Integer"/>
<parameter name="FASCIA_A_MESI_PREC" class="java.lang.Integer"/>
<parameter name="FASCIA_B_MESE" class="java.lang.Integer"/>
<parameter name="FASCIA_B_MESI_PREC" class="java.lang.Integer"/>
<parameter name="FASCIA_C_MESE" class="java.lang.Integer"/>
<parameter name="FASCIA_C_MESI_PREC" class="java.lang.Integer"/>
<parameter name="DATA_INIZIO_MESE" class="java.util.Date"/>
<parameter name="DATA_FINE_MESE" class="java.util.Date"/>
<parameter name="INIZIO_PRATICA_MESE" class="java.lang.String"/>
<parameter name="FINE_PRATICA_MESE" class="java.lang.String"/>
<parameter name="TOTALE_PRATICHE_MESE" class="java.lang.String"/>
<parameter name="DATA_INIZIO_MESI_PREC" class="java.util.Date"/>
<parameter name="DATA_FINE_MESI_PREC" class="java.util.Date"/>
<parameter name="INIZIO_PRATICA_MESI_PREC" class="java.lang.String"/>
<parameter name="FINE_PRATICA_MESI_PREC" class="java.lang.String"/>
<parameter name="TOTALE_PRATICHE_MESI_PREC" class="java.lang.String"/>
<parameter name="ZONA_4_MESE" class="java.lang.Integer"/>
<parameter name="ZONA_4_MESE_PREC" class="java.lang.Integer"/>
<field name="fase" class="java.lang.String"/>
<field name="fascia" class="java.lang.String"/>
<field name="pratica" class="java.lang.String"/>
<field name="citta" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="numeroEstrazione" class="java.lang.String"/>
<field name="provincia" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="214" splitType="Stretch">
<staticText>
<reportElement uuid="fbdbacc5-0cb8-40ad-8c7a-1447767d389f" x="0" y="0" width="555" height="55"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[REGIONE TOSCANA – Settore Sismica
Legge Regionale 65/2014
Verbale sorteggio dei progetti a controllo con metodo a campione per opere soggette a rischio sismico (art. 4 Regolamento di attuazione n. 58/R/2012)
]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement uuid="e887e8a0-b225-4a39-9e22-ff5a682eca91" x="0" y="60" width="555" height="18"/>
<textElement/>
<textFieldExpression><![CDATA["Data Sorteggio: " + $P{DATA_SORTEGGIO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="7e8c7313-c855-465b-bef6-8f710fcbf037" x="0" y="101" width="98" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[progetti fascia A]]></text>
</staticText>
<staticText>
<reportElement uuid="9af33240-f99f-4376-ad94-000672945fa6" x="0" y="116" width="98" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[progetti fascia B]]></text>
</staticText>
<staticText>
<reportElement uuid="5df2bdba-79c4-4a74-bbfb-4621835438d4" x="0" y="131" width="98" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[progetti fascia C]]></text>
</staticText>
<staticText>
<reportElement uuid="b31bfa41-a361-4e17-981d-94b831724c80" x="98" y="86" width="58" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[Mese riferim.]]></text>
</staticText>
<staticText>
<reportElement uuid="5167cc82-6cde-435c-81d6-c2ab5496b449" x="156" y="86" width="74" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[Mesi precedenti]]></text>
</staticText>
<staticText>
<reportElement uuid="bb502540-0ba7-40c4-9f5e-81816dff31ab" x="230" y="86" width="52" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[Totale]]></text>
</staticText>
<staticText>
<reportElement uuid="e34e88ae-ef0f-450f-8ba2-ae1b6e563a81" x="0" y="161" width="98" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[totale]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement uuid="8f8d78a7-57fc-458d-acce-1de41a0ee504" x="98" y="101" width="58" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{FASCIA_A_MESE}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="ba12b20f-228c-419a-aa1a-cbbfa6a2b980" x="156" y="101" width="74" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{FASCIA_A_MESI_PREC}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="9b154390-adc0-45e4-9122-e390661f5729" x="230" y="101" width="52" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{FASCIA_A_MESE} + $P{FASCIA_A_MESI_PREC}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="648e5565-e5c7-43fa-b85b-cc0ac90bf4ba" x="98" y="116" width="58" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{FASCIA_B_MESE}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="bd9935e4-0eb9-4784-9b86-2eb91af436e1" x="156" y="116" width="74" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{FASCIA_B_MESI_PREC}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="4a5a8313-12b5-4c8f-828f-bfaebc68602c" x="230" y="116" width="52" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{FASCIA_B_MESE} + $P{FASCIA_B_MESI_PREC}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="53ee603e-d88a-4677-94b7-623aeb9787a7" x="98" y="131" width="58" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{FASCIA_C_MESE}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="af330ee9-668d-4abd-aced-e9d869d263c7" x="156" y="131" width="74" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{FASCIA_C_MESI_PREC}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="f2f1b007-2386-4bb9-90bb-152a537e92de" x="230" y="131" width="52" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$P{FASCIA_C_MESE} + $P{FASCIA_C_MESI_PREC}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="c3f85dc6-f3d3-4325-962a-493a39e57092" x="98" y="161" width="58" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FASCIA_A_MESE} + $P{FASCIA_B_MESE} + $P{FASCIA_C_MESE} + $P{ZONA_4_MESE}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="d0d7b446-eb4a-4e3c-9ff5-2163a92c1870" x="156" y="161" width="74" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FASCIA_A_MESI_PREC} + $P{FASCIA_B_MESI_PREC} + $P{FASCIA_C_MESI_PREC} + $P{ZONA_4_MESE_PREC}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="ac33a1ef-7b93-49a9-b428-552a38c331fc" x="230" y="146" width="52" height="15">
<printWhenExpression><![CDATA[($F{provincia}.equalsIgnoreCase("livorno") || $F{provincia}.equalsIgnoreCase("grosseto"))]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{ZONA_4_MESE} + $P{ZONA_4_MESE_PREC}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="d287cc03-2e43-4c58-b048-6f86d145ab24" x="0" y="181" width="555" height="32"/>
<textElement verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Segue l'elenco delle pratiche estratte ordinate per: fase di sorteggio; fascia di rischio; n° di progetto]]></text>
</staticText>
<staticText>
<reportElement uuid="e34e88ae-ef0f-450f-8ba2-ae1b6e563a81" x="0" y="146" width="98" height="15">
<printWhenExpression><![CDATA[($F{provincia}.equalsIgnoreCase("livorno") || $F{provincia}.equalsIgnoreCase("grosseto"))]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[progetti zona 4]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement uuid="c3f85dc6-f3d3-4325-962a-493a39e57092" x="98" y="146" width="58" height="15">
<printWhenExpression><![CDATA[($F{provincia}.equalsIgnoreCase("livorno") || $F{provincia}.equalsIgnoreCase("grosseto"))]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{ZONA_4_MESE}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="d0d7b446-eb4a-4e3c-9ff5-2163a92c1870" x="156" y="146" width="74" height="15">
<printWhenExpression><![CDATA[($F{provincia}.equalsIgnoreCase("livorno") || $F{provincia}.equalsIgnoreCase("grosseto"))]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{ZONA_4_MESE_PREC}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="ac33a1ef-7b93-49a9-b428-552a38c331fc" x="230" y="161" width="52" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FASCIA_A_MESE} + $P{FASCIA_A_MESI_PREC} + $P{FASCIA_B_MESE} + $P{FASCIA_B_MESI_PREC} + $P{FASCIA_C_MESE} + $P{FASCIA_C_MESI_PREC} + $P{ZONA_4_MESE} + $P{ZONA_4_MESE_PREC}]]></textFieldExpression>
</textField>
</band>
</title>
<columnHeader>
<band height="27" splitType="Stretch">
<staticText>
<reportElement uuid="7b314272-f5ed-45b2-a3e6-8f952d8b33ed" x="0" y="0" width="29" height="22"/>
<textElement verticalAlignment="Middle"/>
<text><![CDATA[fase]]></text>
</staticText>
<staticText>
<reportElement uuid="e74c0f96-02f8-4afd-817c-5f4138988315" x="29" y="0" width="44" height="22"/>
<textElement verticalAlignment="Middle"/>
<text><![CDATA[Fascia]]></text>
</staticText>
<staticText>
<reportElement uuid="67d442f2-0cc8-4719-8c8d-546c7749b540" x="73" y="0" width="51" height="22"/>
<textElement verticalAlignment="Middle"/>
<text><![CDATA[Progetto]]></text>
</staticText>
<staticText>
<reportElement uuid="a5b9265e-f24a-485b-8903-4d0043a79ad5" x="200" y="-1" width="74" height="22"/>
<textElement verticalAlignment="Middle"/>
<text><![CDATA[Comune]]></text>
</staticText>
<staticText>
<reportElement uuid="72a8dd85-1eea-4efb-b5c2-6b67bf7950ca" x="282" y="-1" width="140" height="22"/>
<textElement verticalAlignment="Middle"/>
<text><![CDATA[Committente]]></text>
</staticText>
<staticText>
<reportElement uuid="d56b30d4-274e-4781-83e3-65b028b25216" x="511" y="0" width="42" height="22"/>
<textElement verticalAlignment="Middle"/>
<text><![CDATA[n°estraz]]></text>
</staticText>
<staticText>
<reportElement uuid="0bff4bb8-534f-42be-baac-5138d00fc701" x="124" y="0" width="74" height="22"/>
<textElement verticalAlignment="Middle"/>
<text><![CDATA[Presidio]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="22" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement uuid="33faf918-310f-4a86-8880-882ce440f1dc" x="0" y="4" width="29" height="18"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{fase}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="fbc863a0-c184-4eaf-9202-22fd50104d5b" x="29" y="4" width="44" height="18"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{fascia}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="79dc5843-995c-49c2-b165-c0ec7881dfb8" x="73" y="4" width="51" height="18"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{pratica}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="2281b62d-e38d-40e5-bf09-f87de94e8b6a" x="200" y="4" width="74" height="18"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{citta}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="7163bb2a-5c5d-4766-be1a-61996e011edb" x="282" y="4" width="140" height="18"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="b37430fa-dfa4-4074-ba97-3b922e4978fb" x="422" y="4" width="89" height="18"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{tecnico}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="44e5a7a9-621a-43e2-90fc-addfed4774a9" x="511" y="4" width="44" height="18"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{numeroEstrazione}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="5a744af9-9ea5-4182-8268-a34456b02dfe" x="124" y="4" width="74" height="18"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{provincia}]]></textFieldExpression>
</textField>
</band>
</detail>
<summary>
<band height="66">
<staticText>
<reportElement uuid="739ee3c2-e5ad-475c-bc16-ba7e3e67e6f9" x="0" y="26" width="555" height="40"/>
<textElement verticalAlignment="Middle"/>
<text><![CDATA[Il presente verbale verrà affisso all'Albo dell'Ufficio e pubblicato sul sito web https://www327.regione.toscana.it/web/portos/ricerca_pratiche]]></text>
</staticText>
</band>
</summary>
</jasperReport>

128
template/doc/Sorteggio_BO.jrxml

@ -1,128 +0,0 @@
<?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="report_sorteggio_bo" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="028524ae-4654-4fef-9038-00a857eb0fdf">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="DATA_SORTEGGIO" class="java.lang.String"/>
<parameter name="GENIO_CIVILE" class="java.lang.String"/>
<field name="numeroEstrazione" class="java.lang.String"/>
<field name="fase" class="java.lang.String"/>
<field name="fascia" class="java.lang.String"/>
<field name="pratica" class="java.lang.String"/>
<field name="citta" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="50" splitType="Stretch">
<textField>
<reportElement uuid="a6d9a583-98f0-4ec6-8236-fbd216d2e51c" x="406" y="1" width="351" height="49"/>
<textElement verticalAlignment="Middle">
<font size="14" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_SORTEGGIO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="7ff3d15b-08bc-43c2-98bd-2aaad3321624" x="122" y="1" width="284" height="49"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="18" isBold="true"/>
</textElement>
<text><![CDATA[Elenco estrazione]]></text>
</staticText>
</band>
</title>
<columnHeader>
<band height="44" splitType="Stretch">
<staticText>
<reportElement uuid="807df4bb-7f5d-445e-88e2-89586db986e1" x="0" y="26" width="75" height="18"/>
<textElement verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[N_Estrazione]]></text>
</staticText>
<staticText>
<reportElement uuid="ed5da87a-2623-4aaf-b84a-010c36e93c62" x="77" y="26" width="40" height="18"/>
<textElement verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Fase]]></text>
</staticText>
<staticText>
<reportElement uuid="ec0a7518-8adf-4f38-9bcb-b6de1410be3d" x="122" y="26" width="40" height="18"/>
<textElement verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Fascia]]></text>
</staticText>
<staticText>
<reportElement uuid="00dcbf31-0a2b-4d80-8de2-a4b7d9b497f1" x="167" y="26" width="91" height="18"/>
<textElement verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Pratica]]></text>
</staticText>
<staticText>
<reportElement uuid="121e4e0e-4cd7-4e4d-bde9-1965d04705dc" x="263" y="26" width="190" height="18"/>
<textElement verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Città]]></text>
</staticText>
<staticText>
<reportElement uuid="3c6b17d0-f751-437d-a8e3-2b21253287d7" x="453" y="26" width="185" height="18"/>
<textElement verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Committente]]></text>
</staticText>
<staticText>
<reportElement uuid="238edd92-12bc-45c2-ad43-d46561c1dc23" x="638" y="26" width="164" height="18"/>
<textElement verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Tecnico]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="24" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement uuid="01129193-a6e6-4d4d-8a61-590cbe2c03f6" x="0" y="2" width="75" height="20"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{numeroEstrazione}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="2bc17518-0ef9-4891-8b1e-13da25675cf5" x="77" y="2" width="40" height="20"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{fase}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="653af0eb-f3ae-44ff-bbea-ed2596f450c6" x="122" y="2" width="40" height="20"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{fascia}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="dc3d852e-48bd-4a75-8f08-b99bd234e86f" x="167" y="2" width="91" height="20"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{pratica}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="049ad9de-086a-4b3c-a4fe-3b7add3df0b4" x="263" y="2" width="190" height="20"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{citta}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="7bfb3183-8a85-4578-9e54-946ce6ae9d57" x="453" y="2" width="185" height="20"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="22a6e24e-cfb7-4a34-9f6a-1c893263492b" x="638" y="2" width="164" height="20"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{tecnico}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>

388
template/doc/accettata_integrazione.jrxml

@ -1,388 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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="codiceTipoIntegrazione" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataIntegrazione" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="numeroIntegrazione" class="java.lang.Long"/>
<field name="tipoIntegrazione" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="cec213bc-9243-4588-b2a0-e5f593d31875">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="ab0d9a6a-5113-4b40-b98a-351b5eb10a5c">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="e78a6da4-de1d-46f9-9503-f70e22447819">
<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>
</band>
</pageHeader>
<detail>
<band height="244">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="209" width="548" height="25" uuid="a3fb9ec1-7464-4363-bd12-5934db7f26ed"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Vista la comunicazione/presentazione di "+($F{codiceTipoIntegrazione}.equals("05") ? "richiesta di integrazione n. "+$F{numeroIntegrazione} : ""+$F{tipoIntegrazione})+" del progetto n. "+$F{numeroProgetto}+" , con la presente si comunica che le integrazioni trasmesse sono pervenute nei nostri sistemi in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataIntegrazione})+".\n"+
"Alla documentazione di integrazione è stato attribuito il n° protocollo "+$F{numeroProtocollo}+"."]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="8" y="0" 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="56" y="0" 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>
<textField>
<reportElement x="56" y="19" width="492" height="13" uuid="63afdf81-a4b8-4c77-b20d-1fc1f3144fe3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipoIntegrazione}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="38" width="82" height="14" uuid="f99ce274-d2cd-42be-b72b-4203fe160e4a">
<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="171" width="168" height="14" uuid="bff3fb40-62ce-4090-a054-16c0dfbb8e1c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="66" width="82" height="14" uuid="ac7e819b-6003-451b-ae84-ebe1641e025e">
<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="143" width="115" height="14" uuid="17064559-2b55-4ebc-9687-3ee30add351a">
<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="171" width="115" height="14" uuid="d3bffadd-5e05-417b-a5a0-4c9559a15077">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="52" width="82" height="14" uuid="808fa24c-9eb9-49c1-b75b-0f19454e860e">
<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="94" width="458" height="14" uuid="ba060915-7e09-43cf-b13c-68f518dbfd04">
<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="66" width="458" height="14" uuid="02a118da-6552-4be3-bbb5-493289733fae">
<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="38" width="458" height="14" uuid="3529e395-1393-4db0-943f-acbc291f60bd">
<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="52" width="458" height="14" uuid="59e07f4a-d208-4cb0-8787-79751cbb6be4">
<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="94" width="82" height="14" uuid="456505b4-cb96-4627-8bb5-2df964383b03">
<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="143" width="168" height="14" uuid="47763828-a100-4142-b4df-27e9e51e0900">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="108" width="458" height="14" uuid="96d60df3-ff6e-475d-aa62-ed93cf00ba92">
<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="108" width="82" height="14" uuid="8d392ab3-301d-47ca-aaf0-57c3c11cc6d6">
<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>
<staticText>
<reportElement x="9" y="122" width="82" height="14" uuid="172293f9-6f39-4b26-9053-655d3c44b351">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="122" width="458" height="14" uuid="6a2a4a28-7b8b-447b-bc61-a85c6884e543">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="381" y="157" width="168" height="14" uuid="68bcc7dc-acdb-4597-ba8e-c8e58a40f7c2">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="157" width="115" height="14" uuid="7b970076-40dc-4a19-9a5c-6bf91a101de1">
<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="185" width="168" height="14" isRemoveLineWhenBlank="true" uuid="43e2349c-e134-4b94-b385-cb6c9287c1d8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="185" width="115" height="14" isRemoveLineWhenBlank="true" uuid="1064b535-5934-4ef1-aa26-f2cd7b240a68">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="80" width="82" height="14" uuid="af1bb679-17d8-4bd0-96b4-3ed5d0bcecb3">
<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="80" width="458" height="14" uuid="9b80045f-57d8-4db4-9f26-fb003971e77a">
<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>
</band>
<band height="30">
<componentElement>
<reportElement x="0" y="0" width="548" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="548">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="eadb3cea-7359-4ca2-8171-7ed19919ecd9">
<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>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="ded5adae-64a5-4390-bbfd-408166ad909b">
<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="b5238240-1ae9-4a63-ae6c-97d5f1f300c6">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</ellipse>
</jr:listContents>
</jr:list>
</componentElement>
</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.toscana.it
https://www327.regione.toscana.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>

15
template/doc/allegato_pagamento.vm

@ -1,15 +0,0 @@
<html>
<style>
.text-center{text-align: center}
</style>
<head></head>
<body>
<h1 class="text-center">
Regione Toscana
</h1>
<div>
$html
</div>
</body>
</html>

363
template/doc/annullamento.jrxml

@ -1,363 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="dataSorteggio" class="java.util.Date"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="1dedc2c2-5f8c-45ea-9474-6880b3cf36d3">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="639e188a-fd2c-4920-8646-190e75776ada">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="ce1d442d-a1e8-4ae8-b7e2-1f727b9e04b3">
<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>
</band>
</pageHeader>
<detail>
<band height="247">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" 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="19" width="492" height="14" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[RICHIESTA ANNULLAMENTO]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="201" width="548" height="44" uuid="a3fb9ec1-7464-4363-bd12-5934db7f26ed"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Vista la richiesta di annullamento del progetto n. "+$F{numeroProgetto}+" trasmessa e pervenuta nel nostro sistema in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})+" con la presente si comunica che è stata accolta e registrata nei nostri archivi."]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="8" y="0" 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="56" y="0" 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="45" width="82" height="14" uuid="492caafe-ae9a-4ce4-807c-a9e8fae63bf8">
<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="165" width="168" height="14" uuid="ff73e832-f88e-4cf7-8658-011aeaf77ccc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="73" width="82" height="14" uuid="4c284afd-e2cc-4660-9813-451fbf70300d">
<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="137" width="115" height="14" uuid="17fd4606-441c-4387-bd80-4cc6132a5ed5">
<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="165" width="115" height="14" uuid="3b5565fa-cc1f-4ebf-8967-22d25ae16d38">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="59" width="82" height="14" uuid="220d0a77-fad9-43f0-be7d-01653f302e8d">
<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="101" width="458" height="14" uuid="b00e3d20-2ce7-48ee-9f03-c08186840b4e">
<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="73" width="458" height="14" uuid="44e9360d-ed76-479e-be3a-05ff88891ab2">
<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="45" width="458" height="14" uuid="d6951694-2f51-4b7a-b7f7-a6753c3451ed">
<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="59" width="458" height="14" uuid="9094dd7a-5e01-4824-90fe-a99cf62e94ed">
<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="101" width="82" height="14" uuid="6ef2e998-3eff-4652-83d9-14dcb6fa3e46">
<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="137" width="168" height="14" uuid="541060f2-7f48-4cfc-8183-817912e79a17">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="115" width="458" height="14" uuid="a83b581e-32ed-4fa5-921f-2e357ba77e7c">
<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="115" width="82" height="14" uuid="6c674092-8670-492b-afb5-273ee86eb6d8">
<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="151" width="168" height="14" uuid="c35c6d0b-75f3-4bc3-b184-36dbc9dd4493">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="151" width="115" height="14" uuid="7c249f58-9ea8-45e6-a78b-edf1cc521711">
<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="179" width="168" height="14" isRemoveLineWhenBlank="true" uuid="91d31e3d-db58-4d6d-8294-933a095568b5">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="179" width="115" height="14" isRemoveLineWhenBlank="true" uuid="805bf9ad-6b03-430c-a082-26bc5f70e8dc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="87" width="82" height="14" uuid="c21e13de-bffc-48e6-b7ac-ea88b1650169">
<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="87" width="458" height="14" uuid="c65f6358-9235-407f-a0be-cb788ae5372d">
<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>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="3" y="0" width="548" height="30" uuid="caafc596-a4ac-41b6-81c4-b3a1a9c7ea1e">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="f03dcbf9-453e-4c41-a7d6-b3ca62bf47dd">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="548">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="14" width="519" height="14" uuid="c1f0c97e-e0fa-4a96-9aa2-89fd6468942d">
<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>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="20" y="0" width="519" height="14" uuid="6fc239d4-b60a-4b9b-bae1-f078b1680489">
<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="4fa9345e-1fc8-4e75-ab7d-551d4e457a3b">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</ellipse>
</jr:listContents>
</jr:list>
</componentElement>
</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.toscana.it
https://www327.regione.toscana.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>

14
template/doc/annullamento_istanza.vm

@ -1,14 +0,0 @@
<html>
<style>
.text-center{text-align: center}
</style>
<head></head>
<body>
<h1 class="text-center">
Regione Toscana
</h1>
<div>
$html
</div>
</body>
</html>

15
template/doc/asseverazione.vm

@ -1,15 +0,0 @@
<html>
<style>
.text-center{text-align: center}
</style>
<head></head>
<body>
<h1 class="text-center">
Regione Toscana
</h1>
<div>
$html
</div>
</body>
</html>

601
template/doc/autorizzazione.jrxml

@ -1,601 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="autorizzazione" 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.3636363636363653"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="1180"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="motivazioni" class="java.lang.String"/>
<parameter name="testo_del_documento" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="75" splitType="Stretch">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="20c7205b-54c5-4c83-a819-e70e5ca44340">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="ef37b55e-261a-448a-8f0d-c4efa31331fd">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="1b3df7ad-e020-4547-8985-5ba4fbdd9464">
<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>
</band>
</pageHeader>
<detail>
<band height="251">
<line>
<reportElement x="0" y="22" width="555" height="1" uuid="9a12dff4-3c78-4e66-b1b6-13836bb2182b"/>
</line>
<staticText>
<reportElement x="1" y="34" width="56" height="13" uuid="9f68e9a8-cba6-4f14-bfd8-00b5bb45ebcb"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField>
<reportElement x="59" y="4" width="100" height="12" uuid="db3d08ab-28c7-4bb7-9758-f17e9a87c303"/>
<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="4" width="48" height="12" uuid="91b20a71-bc61-45b2-b546-829b214db055"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<staticText>
<reportElement x="57" y="34" width="491" height="32" uuid="f84fe41e-04c9-465d-af05-28b6cd156833"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Art. 94 del D.P.R. n. 380 06/06/2001 - art. 167 della L.R.T. n. 65 del 10/11/2014.
Autorizzazione per l’inizio dei lavori nelle zone sismiche.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="72" width="82" height="14" uuid="1475b832-260b-41ac-8d78-16ea429dc32a">
<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="205" width="168" height="14" uuid="6c685bd7-2153-4a2e-b269-28666068ba35">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="100" width="82" height="14" uuid="d89e57d5-254d-4c8a-adfd-2ad26336a66b">
<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="177" width="115" height="14" uuid="76345dc3-d457-41cd-b72d-d26059883003">
<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="205" width="115" height="14" uuid="a812d29e-7d00-4bee-8ea0-3c09a465a564">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="86" width="82" height="14" uuid="b8b13fd5-8c23-4baf-b236-4e5d6468eaa8">
<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="128" width="458" height="14" uuid="f3947e1c-706e-4445-bf3e-b8e9707b8b28">
<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="100" width="458" height="14" uuid="81865073-a9c6-4850-b090-930d6afd2846">
<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="72" width="458" height="14" uuid="b4415a3f-2764-411d-9fa8-e97e8dfd7e2e">
<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="86" width="458" height="14" uuid="7d36ccf7-fd5b-4e38-993f-b3ff86672d60">
<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="128" width="82" height="14" uuid="e31bb23e-55b0-4098-96a9-6ae30c3d5623">
<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="177" width="168" height="14" uuid="128cce14-4eed-43c9-b11b-666528a368de">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="142" width="458" height="14" uuid="810ef857-47d5-46d9-8d66-5594a07eedfe">
<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="142" width="82" height="14" uuid="61a3bf9c-13ed-4d5f-8e79-e16b50818504">
<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>
<staticText>
<reportElement x="9" y="156" width="82" height="14" uuid="528be9bd-3776-45b2-8a61-f6be35b6b06d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="156" width="458" height="14" uuid="7cade07b-994f-49e0-8dca-29dde5e5edad">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="381" y="191" width="168" height="14" uuid="ad30c1eb-c461-4af9-a8ca-2c2130e5020b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="191" width="115" height="14" uuid="4f607d8d-2377-4807-81f8-d5e7ca013e57">
<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="219" width="168" height="14" isRemoveLineWhenBlank="true" uuid="5e0faeee-eeca-474b-b926-e872f062e051">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="219" width="115" height="14" isRemoveLineWhenBlank="true" uuid="6bd3263d-a074-475e-add3-85aa4cd0531f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="114" width="82" height="14" uuid="f79b0de0-ff27-4e71-bc97-f77b7ba0cc5f">
<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="114" width="458" height="14" uuid="76b10fd2-33f4-4ccb-95c0-7757285f0665">
<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>
</band>
<band height="476">
<staticText>
<reportElement x="84" y="224" width="465" height="34" uuid="6e24445d-d025-401c-9340-a2732c4cde6f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[dell’asseverazione del progettista conformemente a quanto previsto dal comma c) dell’art. 167 della L.R. 65/2014;]]></text>
</staticText>
<staticText>
<reportElement x="-1" y="224" width="78" height="20" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[PRESO ATTO ]]></text>
</staticText>
<staticText>
<reportElement x="43" y="264" width="454" height="20" uuid="451031c1-4ff8-48f1-9cc5-a7524e5da31b"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[le risultanze dell’istruttoria relativa al progetto in oggetto;]]></text>
</staticText>
<staticText>
<reportElement x="0" y="264" width="37" height="20" uuid="11c8b4ef-969b-4478-ac2f-99394761a181"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTE]]></text>
</staticText>
<staticText>
<reportElement x="92" y="298" width="454" height="42" uuid="0907fd84-3a5a-419e-890d-b3fe8ca628fd"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[che il progetto risulta essere redatto secondo i disposti della normativa sismica vigente e che dall’esame effettuato da questo Settore non sono emersi elementi sostanziali di contrasto con la suddetta normativa per le costruzioni in zona ad alta sismicità;]]></text>
</staticText>
<staticText>
<reportElement x="0" y="298" width="86" height="20" uuid="76c5b9f3-0dc8-4ba2-9aef-ba880883d481"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[CONSIDERATO]]></text>
</staticText>
<staticText>
<reportElement x="0" y="15" width="36" height="20" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTO]]></text>
</staticText>
<staticText>
<reportElement x="0" y="128" width="37" height="20" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTO]]></text>
</staticText>
<staticText>
<reportElement x="-1" y="77" width="37" height="20" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTO]]></text>
</staticText>
<staticText>
<reportElement x="1" y="40" width="35" height="18" uuid="977462eb-197f-4e66-8ec4-bf0a4b1e118c"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTA]]></text>
</staticText>
<staticText>
<reportElement x="1" y="157" width="37" height="20" uuid="c47fb295-5bb0-4c8e-a535-627ab60975a8"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTA]]></text>
</staticText>
<staticText>
<reportElement x="42" y="15" width="508" height="20" uuid="6e24445d-d025-401c-9340-a2732c4cde6f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[l'art. 94 del D.P.R. 06/06/2001 n. 380 “Testo Unico dell’Edilizia”;]]></text>
</staticText>
<staticText>
<reportElement x="42" y="77" width="507" height="42" uuid="6e24445d-d025-401c-9340-a2732c4cde6f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[il Regolamento 36/R del 17/07/2009 di attuazione dell’art.117 comma 1 e 2 della L.R. 01/2005, vigente ai sensi del comma f) dell’art. 242 della L.R. 65/2014, riguardo alla modalità di presentazione dei progetti;]]></text>
</staticText>
<staticText>
<reportElement x="42" y="40" width="507" height="30" uuid="6e24445d-d025-401c-9340-a2732c4cde6f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[la L.R.65/2014, nonché la Deliberazione G.R.T. n. 878/2012 relativa alla classificazione sismica del territorio regionale, aggiornata con Deliberazione G.R.T. n. 421/2014;]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="42" y="128" width="504" height="20" uuid="2d98ed4f-2af5-4b02-88b6-0b5012de2c9a"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["l’art. 168 della L.R. 65/2014 riguardo ai previsti criteri di controllo da parte del Settore Sismica;"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="43" y="157" width="504" height="56" uuid="a0e6dd64-91c3-43b1-91f7-580bb450c8be"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["l’istanza inoltrata in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+" assunta al protocollo di questo Settore con il n. "+$F{numeroProgetto}+" con la quale il Committente chiede di essere autorizzato ad iniziare i lavori in oggetto ai sensi dell’art. 94 del D.P.R. 380/2001 e dell’art. 167 della L.R. n. 65/2014;"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="224" y="363" width="99" height="13" uuid="baa0d2db-d00c-4d74-9d9b-5dacdca333a7"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[A U T O R I Z Z A]]></text>
</staticText>
<staticText>
<reportElement x="6" y="393" width="543" height="79" uuid="086b48ab-2093-4cef-bbd1-f22ab2514fb0"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[il Committente, ai sensi dell'art. 94 del D.P.R. 380/2001 e dell’art. 167 della L.R. 65/2014 all’inizio dei lavori, secondo il progetto allegato alla richiesta di autorizzazione pervenuta a questo Ufficio descritta in premessa, fermo restando l’obbligo all’osservanza delle prescrizioni delle Leggi Urbanistiche vigenti, e pertanto non escludendo il proprietario, il costruttore, il progettista ed il direttore dei lavori dalle proprie responsabilità e fatti salvi i diritti dei terzi.]]></text>
</staticText>
</band>
<band height="289">
<printWhenExpression><![CDATA[$P{testo_del_documento} == null || $P{testo_del_documento}.length() == 0]]></printWhenExpression>
<staticText>
<reportElement x="7" y="30" width="543" height="110" isPrintWhenDetailOverflows="true" uuid="95fa5f6c-a7d7-4be2-b13a-8d9f52b333f4"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[1)i lavori dovranno essere eseguiti sotto la direzione tecnica del Direttore dei Lavori;
2)non dovrà essere apportata alcuna variazione al progetto autorizzato, senza aver inviato telematicamente il progetto di variante e senza la relativa preventiva autorizzazione di questo Settore;
3)dovrà essere depositata la Relazione di fine lavori, nei termini e contenuti di legge;
4)dovrà essere depositato il Certificato di Collaudo Statico nei casi previsti dalle normative vigenti.
]]></text>
</staticText>
<staticText>
<reportElement x="191" y="10" width="164" height="13" isPrintWhenDetailOverflows="true" uuid="4be6013c-1c54-47e8-bb17-b8e2c0038787"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[con le seguenti prescrizioni]]></text>
</staticText>
<staticText>
<reportElement positionType="Float" x="386" y="224" width="148" height="15" isRemoveLineWhenBlank="true" uuid="701ad803-9ae6-4a6c-ab88-3ccd05fd05f7">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Il Dirigente Responsabile]]></text>
</staticText>
<staticText>
<reportElement x="358" y="246" width="204" height="15" isRemoveLineWhenBlank="true" uuid="ad89db74-d006-4d80-b1cc-066a4bc2d9c7">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Dott. Ing. FRANCO GALLORI]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.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">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<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>
<summary>
<band height="802">
<printWhenExpression><![CDATA[$P{testo_del_documento}.length() > 0]]></printWhenExpression>
<staticText>
<reportElement x="4" y="779" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement x="0" y="776" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<componentElement>
<reportElement x="183" y="703" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<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="753" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="380" y="620" width="148" height="15" isRemoveLineWhenBlank="true" uuid="eaee654a-f053-4128-ac44-46e217297eb0"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Il Dirigente Responsabile]]></text>
</staticText>
<staticText>
<reportElement x="366" y="635" width="176" height="15" isRemoveLineWhenBlank="true" uuid="1edd16b8-6fd8-4e96-9cc3-eba10ec26bc1"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Dott. Ing. FRANCO GALLORI]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement x="7" y="242" width="542" height="361" uuid="ca600221-3b1d-42e7-9f55-60e9a1663746"/>
<textFieldExpression><![CDATA["5) "+ $P{testo_del_documento}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="8" y="133" width="543" height="109" uuid="e410e5da-1e29-4391-85ba-606daf52ed77"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[1)i lavori dovranno essere eseguiti sotto la direzione tecnica del Direttore dei Lavori;
2)non dovrà essere apportata alcuna variazione al progetto autorizzato, senza aver inviato telematicamente il progetto di variante e senza la relativa preventiva autorizzazione di questo Settore;
3)dovrà essere depositata la Relazione di fine lavori, nei termini e contenuti di legge;
4)dovrà essere depositato il Certificato di Collaudo Statico nei casi previsti dalle normative vigenti.
]]></text>
</staticText>
<staticText>
<reportElement x="195" y="99" width="164" height="13" uuid="baa0d2db-d00c-4d74-9d9b-5dacdca333a7"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[con le seguenti prescrizioni]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="8f3c1865-8c4f-4c75-b53b-aee061e8451a">
<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[Settore SISMICA]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="88964324-d3d4-4fa6-b16a-df2a7d211e7c"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="d63e3b74-ef33-4409-bcb5-e65e23dc0f16">
<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="0" width="270" height="25" uuid="da532072-f8ab-4508-870e-28237a3c4690">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
</band>
</summary>
</jasperReport>

490
template/doc/autorizzazione_negata.jrxml

@ -1,490 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="autorizzazione_negata" 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.5"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="motivazioni" class="java.lang.String"/>
<parameter name="testo_del_documento" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="alTitolareDigitale" 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="dataIntegrazione" class="java.util.Date"/>
<field name="elencoNumeriProtocolloIntegrazione" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="numeroProtocolloIntegrazione" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="4f0e5397-436e-4d7c-a232-f3a0ba7d5e45">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="96b738ef-4bde-47fd-a5af-a8228a068804">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="653507b4-9caa-4f37-a4c1-535da7879843">
<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>
</band>
</pageHeader>
<detail>
<band height="226">
<line>
<reportElement x="0" y="22" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<textField>
<reportElement x="59" y="4" width="100" height="12" uuid="c438dab0-fcb5-4d59-9c08-ab233b508f6c"/>
<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="4" width="48" height="12" uuid="4bff4f35-24c9-4084-9cf0-4a6a226f8e2a"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<staticText>
<reportElement x="1" y="34" width="56" height="13" uuid="44962192-edbf-4c0f-9eca-508daefbcae4"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField>
<reportElement x="57" y="34" width="491" height="32" uuid="e7774e96-ff5c-4bbe-8eac-c67ffcdf2b8a"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AN") ? "Art. 94 del D.P.R. n. 380 06/06/2001 - art. 167 della L.R.T. n. 65 del 10/11/2014. Autorizzazione per l’inizio dei lavori nelle zone sismiche." : ""]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="72" width="82" height="14" uuid="76743758-bf29-4c77-bd6a-ff22c3035924">
<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="191" width="168" height="14" uuid="e99e5853-c56a-4b0d-8bd5-2feb62e69c58">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="100" width="82" height="14" uuid="8af9a760-e73e-4513-bd9f-722d5241941f">
<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="163" width="115" height="14" uuid="a4e2bcbe-93b4-4545-b5d3-abe1162e4de3">
<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="191" width="115" height="14" uuid="260c3f8f-464f-45c3-88ef-2fddd4bd769b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="86" width="82" height="14" uuid="18b18ef3-a959-4bc8-a962-cfaf4b1ec525">
<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="128" width="458" height="14" uuid="4c87af8c-60d7-46e6-8592-5154dd77e8b1">
<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="100" width="458" height="14" uuid="af93797a-e3c5-47f5-90bb-230317518c8d">
<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="72" width="458" height="14" uuid="ed85758a-4da0-4cd1-ace6-d3ba5c157540">
<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="86" width="458" height="14" uuid="8c1b4fcb-d852-4989-aacb-aa50fd78ab97">
<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="128" width="82" height="14" uuid="d99ec5b6-f4a6-4b70-acdf-75360276dda2">
<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="163" width="168" height="14" uuid="40252abb-2fe5-4381-b879-6c575f350260">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="142" width="458" height="14" uuid="4c0ea9f3-601e-4da4-a455-aaab46f13ffc">
<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="142" width="82" height="14" uuid="7012b753-d57b-403b-a710-aa5acdc97a8c">
<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="177" width="168" height="14" uuid="e81349d5-ca0e-4107-a020-df2dfce8b7f3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="177" width="115" height="14" uuid="0ea3e5a6-8858-4827-88c9-7c16a0f92ee8">
<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="205" width="168" height="14" isRemoveLineWhenBlank="true" uuid="97951a5c-7507-414e-af40-523357a95321">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="205" width="115" height="14" isRemoveLineWhenBlank="true" uuid="91702467-032d-4b3e-b261-39cf2e2bb4bf">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="114" width="82" height="14" uuid="2cb54dd5-7a9b-4d2b-9562-3cce6744df0f">
<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="114" width="458" height="14" uuid="fb7fe223-9719-4245-ba5d-bebcac1dd885">
<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>
</band>
<band height="333">
<staticText>
<reportElement x="6" y="131" width="37" height="20" uuid="76ec9061-4c0f-4a5f-8c00-020763c982df"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTA]]></text>
</staticText>
<staticText>
<reportElement x="6" y="68" width="37" height="20" uuid="867d302a-074d-46d1-b8ee-78a8060f4de4"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTO]]></text>
</staticText>
<staticText>
<reportElement x="44" y="12" width="505" height="20" uuid="d3f14b6f-78f7-4e51-bd6d-ff869de086b6"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[l'art. 94 del D.P.R. 06/06/2001 n. 380 “Testo Unico dell’Edilizia”;]]></text>
</staticText>
<staticText>
<reportElement x="5" y="12" width="36" height="20" uuid="5570ba9f-cfa2-416f-91ba-fb675ab1c27e"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTO]]></text>
</staticText>
<staticText>
<reportElement x="42" y="68" width="507" height="36" uuid="059225cb-88bd-49a3-89e6-3cac5f38be3f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[il Regolamento 36/R del 17/07/2009 di attuazione dell’art.117 comma 1 e 2 della L.R. 01/2005, vigente ai sensi del comma f) dell'art. 242 della L.R. 65/2014, riguardo alla modalità di presentazione dei progetti;]]></text>
</staticText>
<staticText>
<reportElement x="42" y="37" width="507" height="30" uuid="50a4d1b1-7128-48d3-bd48-8c70017e910d"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[la L.R. 65/2014, nonché la Deliberazione G.R.T. n.878/2012 relativa alla classificazione sismica del territorio regionale, aggiornata con Deliberazione G.T.R. n. 421/2014.]]></text>
</staticText>
<staticText>
<reportElement x="6" y="37" width="37" height="20" uuid="3c856c95-40ad-45ab-9933-61bd267daff2"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTA]]></text>
</staticText>
<staticText>
<reportElement x="6" y="177" width="78" height="20" uuid="eeda8aa2-868f-4270-b925-bb11d69ad7c2"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[PRESO ATTO ]]></text>
</staticText>
<staticText>
<reportElement x="84" y="177" width="465" height="34" uuid="236c27dd-ae96-429d-9d34-ba80f35cd182"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[dell’asseverazione del progettista conformemente a quanto previsto dal comma c) dell'art. 167 della L.R. 65/2014;]]></text>
</staticText>
<staticText>
<reportElement x="7" y="218" width="37" height="20" isRemoveLineWhenBlank="true" uuid="bcbf0ca2-4537-4d6a-8bf7-6cd466cc09fd">
<printWhenExpression><![CDATA[$F{dataIntegrazione} != null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTE]]></text>
</staticText>
<staticText>
<reportElement x="43" y="253" width="505" height="20" uuid="6ffc6769-c247-4cb8-a4a7-7b3dc3e4007b"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[le risultanze dell’istruttoria relativa al progetto in oggetto;]]></text>
</staticText>
<staticText>
<reportElement x="7" y="253" width="37" height="20" uuid="72b2f9a0-47bc-477a-baa8-2d61e35c3538"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTE]]></text>
</staticText>
<staticText>
<reportElement x="7" y="279" width="87" height="20" uuid="a9812063-141a-4ac0-997e-02e5b8a16de7"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[CONSIDERATO]]></text>
</staticText>
<staticText>
<reportElement x="94" y="279" width="454" height="50" uuid="a700bb3c-7607-4ad9-aaa5-16781d88408f"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[che il progetto risulta NON essere redatto secondo i disposti della normativa sismica vigente e che dall’esame effettuato da questo Ufficio SONO EMERSI elementi sostanziali di contrasto con la suddetta normativa per le costruzioni in zona ad alta sismicità, ed in particolare:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="44" y="131" width="504" height="36" uuid="4200a6f7-b13b-4773-931e-6c4dffc2c74d"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["l’istanza inoltrata in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+", assunta al protocollo di questo Ufficio il "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})+" con il n. "+$F{numeroProgetto}+" con la quale il Committente chiede di essere autorizzato ad iniziare i lavori in oggetto ai sensi dell’art. 94 del D.P.R. 380/01 e dell’art. 167 della L.R. n. 65/2014;"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="44" y="218" width="504" height="30" isRemoveLineWhenBlank="true" uuid="7623b0f9-42f8-449a-bde7-3f424cb6021f">
<printWhenExpression><![CDATA[$F{dataIntegrazione} != null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["le note prot. N° "+$F{elencoNumeriProtocolloIntegrazione}+" con le quali sono state richieste le integrazioni al progetto presentato e preso atto delle integrazioni pervenute il "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataIntegrazione})+" prot. N° "+$F{numeroProtocolloIntegrazione}+";"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="43" y="108" width="505" height="20" uuid="0b1edd06-8b5c-4c82-b0ba-da9a1ae946b1"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[l'art. 168 della L.R. 65/2014 riguardo ai previsti criteri di controllo da parte del Settore Sismica.]]></text>
</staticText>
<staticText>
<reportElement x="5" y="108" width="36" height="20" uuid="6e051061-cde0-48b2-b7d7-8c33f5018519"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[VISTO]]></text>
</staticText>
</band>
<band height="19">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="94" y="1" width="454" height="18" isPrintWhenDetailOverflows="true" uuid="7403d8f8-06d4-431f-ab72-dbea60156588"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$P{motivazioni}]]></textFieldExpression>
</textField>
</band>
<band height="241">
<staticText>
<reportElement x="8" y="40" width="538" height="25" uuid="086b48ab-2093-4cef-bbd1-f22ab2514fb0"/>
<textElement markup="styled">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[si comunica che l’istanza di autorizzazione è <style isUnderline="true" isBold="true">respinta</style> e che i lavori di cui all'oggetto non potranno avere inizio.]]></text>
</staticText>
<staticText>
<reportElement x="4" y="81" width="543" height="29" uuid="086b48ab-2093-4cef-bbd1-f22ab2514fb0"/>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Si fa presente che ai sensi dell’art. 94 comma 3 del DPR 380/01 è ammesso ricorso al Presidente della Giunta regionale che decide con provvedimento definitivo.]]></text>
</staticText>
<staticText>
<reportElement x="381" y="200" width="174" height="15" isRemoveLineWhenBlank="true" uuid="f4f7c01a-7387-4f82-b4b7-dd76de905967"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Il Dirigente Responsabile]]></text>
</staticText>
<staticText>
<reportElement x="381" y="215" width="174" height="15" isRemoveLineWhenBlank="true" uuid="97c768d2-2a72-4fe5-b8f0-6d14332477d4"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Dott. Ing. FRANCO GALLORI]]></text>
</staticText>
<staticText>
<reportElement x="136" y="10" width="282" height="20" uuid="e27f1200-b387-4dd5-b3a2-376e660631ff"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" size="14" isBold="true"/>
</textElement>
<text><![CDATA[Autorizzazione RESPINTA]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="133" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="297" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.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">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<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>

384
template/doc/avvio_procedimento.jrxml

@ -1,384 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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="tipo" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="dataSorteggio" class="java.util.Date"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="po" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="f21ad032-3fdd-4533-9e02-dbee11327673">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="6042c100-13a1-4f2d-ae83-22fe0621c1ea">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="e7c978eb-2575-4026-b292-489ca7721f8c">
<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>
</band>
</pageHeader>
<detail>
<band height="362">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" 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="8" y="0" 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="62" y="0" 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>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="-1" y="226" width="549" height="26" uuid="0af63f5d-3c61-4dea-9c94-90037dbad3cc"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Ai sensi dell'art. 7 della L. 241/1990 e ss. mm. e dell'art. 11bis della L.R n. 40/2009 e ss. mm. si comunica l'avvio del procedimento amministrativo relativo al rilascio dell'autorizzazione del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Ai sensi dell'art. 94 D.P.R. 380/01, comma 2, l'autorizzazione è rilasciata entro sessanta giorni dalla richiesta e viene trasmessa allo Sportello Unico, subito dopo il rilascio, per i provvedimenti di sua competenza.\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"
:
($F{tipo}.equals("CO") ?
"Ai sensi dell'art. 7 della L. n. 241/1990 e ss. mm. e dell’art. 11 della L.R.T. n. 40/2009 e ss.mm. si comunica l'avvio del procedimento amministrativo relativo al controllo obbligatorio ai sensi dell'art. 169 comma 4 della L.R.T. n. 65/2014 del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"+
"Ai sensi dell'art. 170, comma 10, della L.R.T. n. 65/2014 l’esito della verifica del progetto è reso noto entro il termine di sessanta giorni dalla data della presente comunicazione.\n"
:
($F{tipo}.equals("SO") ?
"Ai sensi dell'art. 7 della L. n. 241/1990 e ss. mm. e dell’art. 11 della L.R.T. n. 40/2009 e ss.mm. si comunica l'avvio del procedimento amministrativo relativo al controllo a campione ai sensi dell'art. 169 della L.R.T. n. 65/2014 del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Tale progetto è risultato sorteggiato nella procedura telematica di estrazione effettuata in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio})+".\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"+
"Ai sensi dell'art. 170, comma 8, della L.R.T. n. 65/2014 l'esito della verifica del progetto è reso noto entro il termine di sessanta giorni dalla data della presente comunicazione.\n"
:
""))]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="0" y="254" width="548" height="25" isRemoveLineWhenBlank="true" uuid="39a17951-059d-4c3c-b39e-dda7074be109"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true" isItalic="false" isUnderline="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Si ricorda che i lavori NON potranno essere iniziati prima del rilascio dell'autorizzazione.\n"
:
""]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="-1" y="280" width="548" height="72" uuid="14661ad2-1c28-4ddd-8f98-b40cfdad5c49"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. e dall'art.11 e succ. della L.R.T. n.40/2009 e ss.mm. si comunica che per il presente procedimento amministrativo:"+
"- il Settore Sismica rappresenta l'unità organizzativa responsabile dell'istruttoria, di ogni atto procedimentale e dell'adozione del provvedimeto finale nonché la struttura ove prendere visione degli atti\n"+
"­ il Dott. Ing. "+$F{po}+", Responsabile della Posizione Organizzativa \"Sismica - Presidio zonale "+$F{sedeGenioCivile}+"\" è il responsabile del procedimento;"+
"­ il dirigente responsabile del Settore è il Dott. Ing. FRANCO GALLORI;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, ai sensi dell’art 11 bis della l.r. 40/2009, è il Direttore di Direzione Ambiente ed Energia"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="56" y="19" width="492" height="31" uuid="1d0eab29-aac5-453d-a7a2-9143bc4c9d29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Zone Sismiche – D.P.R. n° 380/01 e L.R.T n. 65 del 10/11/2014 \n"+
"Progetto soggetto ad autorizzazione ai sensi dell’art. 94 D.P.R. 380/2001 e art. 167 L.R.T n. 65/2014"
:
($F{tipo}.equals("CO") ?
"Zone Sismiche - D.P.R. n. 380 del 06/06/2001 e L.R.T. n. 65 del 10/11/2014 \n"+
"Progetto sottoposto a controllo obbligatorio ai sensi dell’art. 169 della L.R.T. 65/2014"
:
($F{tipo}.equals("SO") ?
"Zone Sismiche – D.P.R. n. 380 del 06/06/2001 e L.R.T. n. 65 del 10/11/2014 \n"+
"Progetto sottoposto a controllo per sorteggio ai sensi dell’art. 170 della L.R.T. 65/2014"
:
""))]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="72" width="82" height="14" uuid="f6c79378-20af-43cb-a587-d3ec3a18c011">
<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="194" width="168" height="14" uuid="80605498-7019-4e04-a508-8054fe379494">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="100" width="82" height="14" uuid="52822332-3fba-4c47-aa11-0bd1b4c485b8">
<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="166" width="115" height="14" uuid="f69b184c-7d7f-4678-a155-be5863048b3a">
<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="194" width="115" height="14" uuid="604be9b5-65a4-4d41-a1cf-da7be804c28a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="86" width="82" height="14" uuid="bc9134ca-ce12-4d09-8a24-517ddcf8cdb0">
<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="128" width="458" height="14" uuid="c64f59d5-7831-4586-9cc4-e29ec61ef500">
<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="100" width="458" height="14" uuid="96b2beb8-422d-4467-aa4b-088ff2c14956">
<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="72" width="458" height="14" uuid="ac9a0714-8c20-410f-95ff-b2a33be8f5cc">
<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="86" width="458" height="14" uuid="011256bb-ed62-42ca-925c-8c9f2dff204f">
<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="128" width="82" height="14" uuid="dd23e14f-4713-4a76-9f96-223b6fce36bd">
<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="166" width="168" height="14" uuid="12bd8e20-d255-4447-bec9-5d5c4c7f3398">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="142" width="458" height="14" uuid="2fb9a014-144d-4662-a67a-4d07af8eae61">
<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="142" width="82" height="14" uuid="c7c8c433-4aa1-4598-aa81-e8dd48caa1e8">
<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="180" width="168" height="14" uuid="bd289073-72c6-4657-9b49-c1f9171f5451">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="180" width="115" height="14" uuid="d45fbe96-90a9-4cc1-9075-042298d80f19">
<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="208" width="168" height="14" isRemoveLineWhenBlank="true" uuid="ea841d23-a9e6-4849-bf83-30a8496d3aa3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="208" width="115" height="14" isRemoveLineWhenBlank="true" uuid="6d2a32de-da69-4102-bc05-fa4014d319a2">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="114" width="82" height="14" uuid="863be00c-9d82-4e6b-b91e-36b186b275ff">
<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="114" width="458" height="14" uuid="27054949-d24a-4f85-bd5f-402c4323e878">
<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="56" y="54" width="120" height="13" uuid="d1507994-a73d-47d1-ac79-f4c061d885e9"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement>
<text><![CDATA[Avvio Procedimento]]></text>
</staticText>
</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.toscana.it
https://www327.regione.toscana.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">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<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>

391
template/doc/cambio_istruttore.jrxml

@ -1,391 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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="tipo" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="dataSorteggio" class="java.util.Date"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="po" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="f21ad032-3fdd-4533-9e02-dbee11327673">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="6042c100-13a1-4f2d-ae83-22fe0621c1ea">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="e7c978eb-2575-4026-b292-489ca7721f8c">
<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>
</band>
</pageHeader>
<detail>
<band height="403">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" 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="8" y="0" 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="62" y="0" 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>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="0" y="268" width="549" height="26" uuid="0af63f5d-3c61-4dea-9c94-90037dbad3cc"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Ai sensi dell'art. 7 della L. 241/1990 e ss. mm. e dell'art. 11bis della L.R n. 40/2009 e ss. mm. si comunica l'avvio del procedimento amministrativo relativo al rilascio dell'autorizzazione del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Ai sensi dell'art. 94 D.P.R. 380/01, comma 2, l'autorizzazione è rilasciata entro sessanta giorni dalla richiesta e viene trasmessa allo Sportello Unico, subito dopo il rilascio, per i provvedimenti di sua competenza.\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"
:
($F{tipo}.equals("CO") ?
"Ai sensi dell'art. 7 della L. n. 241/1990 e ss. mm. e dell’art. 11 della L.R.T. n. 40/2009 e ss.mm. si comunica l'avvio del procedimento amministrativo relativo al controllo obbligatorio ai sensi dell'art. 169 comma 4 della L.R.T. n. 65/2014 del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"+
"Ai sensi dell'art. 170, comma 10, della L.R.T. n. 65/2014 l’esito della verifica del progetto è reso noto entro il termine di sessanta giorni dalla data della presente comunicazione.\n"
:
($F{tipo}.equals("SO") ?
"Ai sensi dell'art. 7 della L. n. 241/1990 e ss. mm. e dell’art. 11 della L.R.T. n. 40/2009 e ss.mm. si comunica l'avvio del procedimento amministrativo relativo al controllo a campione ai sensi dell'art. 169 della L.R.T. n. 65/2014 del progetto n. "+$F{numeroProgetto}+" prot. "+$F{numeroProtocollo}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+".\n"+
"Tale progetto è risultato sorteggiato nella procedura telematica di estrazione effettuata in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio})+".\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+".\n"+
"Ai sensi dell'art. 170, comma 8, della L.R.T. n. 65/2014 l'esito della verifica del progetto è reso noto entro il termine di sessanta giorni dalla data della presente comunicazione.\n"
:
""))]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="1" y="296" width="548" height="25" uuid="39a17951-059d-4c3c-b39e-dda7074be109"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true" isItalic="false" isUnderline="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Si ricorda che i lavori NON potranno essere iniziati prima del rilascio dell'autorizzazione.\n"
:
""]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="322" width="548" height="77" uuid="14661ad2-1c28-4ddd-8f98-b40cfdad5c49"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. e dall'art.11 e succ. della L.R.T. n.40/2009 e ss.mm. si comunica che per il presente procedimento amministrativo:"+
"- il Settore Sismica rappresenta l'unità organizzativa responsabile dell'istruttoria, di ogni atto procedimentale e dell'adozione del provvedimeto finale nonché la struttura ove prendere visione degli atti\n"+
"­ il Dott. Ing. "+$F{po}+", Responsabile della Posizione Organizzativa \"Sismica - Presidio zonale "+$F{sedeGenioCivile}+"\" è il responsabile del procedimento;"+
"­ il dirigente responsabile del Settore è il Dott. Ing. FRANCO GALLORI;"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, ai sensi dell’art 11 bis della l.r. 40/2009, è il Direttore di Direzione Ambiente ed Energia"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="56" y="19" width="492" height="31" uuid="1d0eab29-aac5-453d-a7a2-9143bc4c9d29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Riassegnazione Pratica"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="238" width="549" height="30" uuid="a1d8f916-22a1-4ce9-9820-f59608002edc"/>
<textElement textAlignment="Justified" markup="html">
<font fontName="DejaVu Sans" isBold="false" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA["Si comunica che è variato il tecnico istruttore incaricato del controllo della pratica. Il nuovo tecnico istruttore è: "+$F{tecnico}+" che può essere contattato con email: "+$F{tecnicoEmail}+". <br> Si comunica inoltre che i termini del procedimento non subiscono variazioni."]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="72" width="82" height="14" uuid="40bed289-5bb3-41cd-bf4f-a7b6db15184d">
<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="205" width="168" height="14" uuid="3f7a28c8-e281-48e8-9a92-92a7d048beca">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="100" width="82" height="14" uuid="0dd65e67-b472-4b7e-aa76-b46f2883d417">
<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="177" width="115" height="14" uuid="450c0354-114a-4bd1-a135-45ed184e4639">
<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="205" width="115" height="14" uuid="4707b16d-d65c-434f-9907-8e923bedb5de">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="86" width="82" height="14" uuid="30197f9c-24ec-45f9-9f99-78b935f47cab">
<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="128" width="458" height="14" uuid="0f780daa-c44c-4465-954c-75b695f5b47e">
<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="100" width="458" height="14" uuid="98a9d287-24b2-4670-a8b9-8931a65cde39">
<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="72" width="458" height="14" uuid="9bba22ce-64f7-4725-806d-f23fc6c4326c">
<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="86" width="458" height="14" uuid="6109cc7c-6300-4f47-9632-3a5b9d948ee5">
<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="128" width="82" height="14" uuid="c748078c-89b9-4db3-a538-883734b1f790">
<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="177" width="168" height="14" uuid="5e17af32-d0f2-42fa-92af-b30a9ffaa8b7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="142" width="458" height="14" uuid="3be8fccc-e982-4ff1-957f-69908af69c23">
<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="142" width="82" height="14" uuid="2edebab2-e3b6-49d3-808f-59478f090908">
<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>
<staticText>
<reportElement x="9" y="156" width="82" height="14" uuid="0d0992b0-e356-4898-b5f8-9ea789bd7fd4">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="156" width="458" height="14" uuid="98f698e9-8a42-4043-8684-f8619ccd6b91">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="381" y="191" width="168" height="14" uuid="24196966-5738-4ae1-8fd0-01c8f0fe47ef">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="191" width="115" height="14" uuid="bb5008f3-c741-4815-a9a4-139afa4edf2f">
<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="219" width="168" height="14" isRemoveLineWhenBlank="true" uuid="d9ec6d88-d89f-43d9-8409-4cf9fb008063">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="219" width="115" height="14" isRemoveLineWhenBlank="true" uuid="3bb989dd-c222-47e7-a5b1-5d75e88e3ab9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="114" width="82" height="14" uuid="96238b4d-4d56-4f2f-934d-c230f419ce01">
<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="114" width="458" height="14" uuid="7b94f57f-20d8-47d6-92fc-891e21e0d746">
<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>
</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.toscana.it
https://www327.regione.toscana.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>

392
template/doc/conformita.jrxml

@ -1,392 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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="conformita" 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.5"/>
<property name="ireport.x" value="3"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" uuid="0d488bd4-c86e-468f-92b1-30dc180516f9"/>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="motivazioni" class="java.lang.String"/>
<parameter name="testo_del_documento" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="20c7205b-54c5-4c83-a819-e70e5ca44340">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="ef37b55e-261a-448a-8f0d-c4efa31331fd">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="1b3df7ad-e020-4547-8985-5ba4fbdd9464">
<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>
</band>
</pageHeader>
<detail>
<band height="496">
<line>
<reportElement x="0" y="22" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="1" y="34" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="57" y="34" width="492" height="40" uuid="7fa6fb3a-e0f6-4922-8a26-11c6b0ee59a3"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("CO") ?
": Zone Sismiche - D.P.R. n. 380 del 06/06/2001 e L.R.T. n. 65 del 10/11/2014.\n"+
"Progetto sottoposto a controllo obbligatorio ai sensi dell’art. 169 della L.R.T. n. 65/2014.\n"
:
($F{tipo}.equals("SO") ?
"Zone Sismiche - D.P.R. n. 380 del 06/06/2001 e L.R.T. n. 65 del 10/11/2014.\n"+
"Progetto sottoposto a controllo a campione ai sensi dell’art. 170 della L.R.T. 65/2014.\n"
:
"")]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="8" y="332" width="543" height="34" isRemoveLineWhenBlank="true" uuid="42bcd1e2-806a-4205-be2c-271f4532c7fe"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[in base all’esame effettuato, non risultano emergere sostanziali elementi di contrasto con le norme tecniche per le costruzioni in zona sismica.]]></text>
</staticText>
<staticText>
<reportElement positionType="Float" x="240" y="313" width="103" height="16" uuid="5f2d9460-7a91-4801-b745-d1b806e791eb">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[SI RILEVA CHE]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="6" y="249" width="543" height="62" isRemoveLineWhenBlank="true" uuid="7fa6fb3a-e0f6-4922-8a26-11c6b0ee59a3"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("CO") ?
"CONSIDERATO che ai sensi dell'art. 169 della L.R.T. n. 65/2014 ed ai sensi dell’art. 93 del D.P.R. n.380/2001 è stato presentato il progetto in oggetto per il quale è stato rilasciato attestato di deposito con prot. "+$F{numeroProgetto}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+";\n"+
"VISTO che tale progetto, relativo ad /“opere di carattere strategico o rilevante/” ai sensi dell’art. 13 del DPGR n. 36/R del 09/07/2009, è stato assoggettato a controllo obbligatorio previsto ai sensi dell’art. 169 della L.R.T. 65/2014;\n"+
"VISTE le risultanze dell’istruttoria relativa al progetto in oggetto, redatta dal tecnico istruttore "+$F{tecnico}+";\n"+
"PRESO ATTO dell’asseverazione del progettista conformemente a quanto previsto dall’art. 173 della L.R.T. n.65/2014;\n"+
"VISTE tutte le dichiarazioni previste dall’art. 172 della L.R.T. n 65/2014;"
:
($F{tipo}.equals("SO") ?
"CONSIDERATO che ai sensi dell'art. 169 della L.R.T. n. 65/2014 ed ai sensi dell’art. 93 del D.P.R. n.380/2001 è stato presentato il progetto in oggetto per il quale è stato rilasciato attestato di deposito con prot. "+$F{numeroProgetto}+" del "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+";\n"+
"VISTO che tale progetto è risultato sorteggiato nella procedura telematica di estrazione effettuata in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+" ai sensi dell’art. 170 della L.R.T. 65/2014;\n"+
"VISTE le risultanze dell’istruttoria relativa al progetto in oggetto, redatta dal tecnico istruttore "+$F{tecnico}+";\n"+
"PRESO ATTO dell’asseverazione del progettista conformemente a quanto previsto dall’art. 173 della L.R.T. n.65/2014;\n"+
"VISTE tutte le dichiarazioni previste dall’art. 172 della L.R.T. n 65/2014;"
:
"")]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="57" y="74" width="112" height="16" uuid="564dde5b-a570-46aa-a051-da5ab36efaa2"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true" isUnderline="true"/>
</textElement>
<text><![CDATA[Esito Verifica]]></text>
</staticText>
<staticText>
<reportElement positionType="Float" x="6" y="371" width="545" height="100" uuid="cac2d65e-7c27-4d0c-a7d0-3a3c195cff80"/>
<text><![CDATA[Restano ferme le seguenti prescrizioni:
1)i lavori dovranno essere eseguiti sotto la direzione tecnica del Direttore dei Lavori;
2)non dovrà essere apportata alcuna variazione al progetto depositato, senza aver inviato il progetto di variante;
3)dovrà essere depositata la Relazione di Fine Lavori e Certificato di Rispondenza, nei termini e contenuti di legge,
ai sensi dell’art. 65 del D.P.R. n. 380/2001 e dell’art. 174 della L.R.T. n.65/2014;
4)dovrà essere depositato il Certificato di Collaudo nei casi previsti dalle normative vigenti;
]]></text>
</staticText>
<textField>
<reportElement x="59" y="4" width="100" height="12" uuid="7303a8f5-4a69-4d74-a98f-ac2f69518a28"/>
<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="4" width="48" height="12" uuid="be9a77e3-1b51-4005-a2cf-27876fde2f70"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="8" y="471" width="546" height="20" isRemoveLineWhenBlank="true" uuid="744fa7fe-3c76-427c-94c7-7906645198aa"/>
<textFieldExpression><![CDATA[$P{testo_del_documento}.equals("") ?
""
:
"5) "+ $P{testo_del_documento}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="95" width="82" height="14" uuid="e1ced47d-520c-470c-9615-b41d83286e59">
<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="214" width="168" height="14" uuid="5d389b06-68bb-4e79-b3ed-2e1426a04338">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="123" width="82" height="14" uuid="4d908b78-8c0a-450b-8dbc-a3ff3459996f">
<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="186" width="115" height="14" uuid="5b314883-9c74-4539-adcb-2e74445ddc2a">
<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="214" width="115" height="14" uuid="0b05522f-2a2f-42e2-812d-4d67ce950437">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="109" width="82" height="14" uuid="3eaa8c73-6198-4a43-b7b0-7f93315f1b79">
<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="151" width="458" height="14" uuid="703f20a7-7bef-4350-ad2b-21d8e8bc02b6">
<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="123" width="458" height="14" uuid="9f52c328-ef91-477d-94e4-4115802d6e60">
<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="95" width="458" height="14" uuid="52db2b1a-87f3-47af-ab5d-8baf1390b91a">
<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="109" width="458" height="14" uuid="467ad1ff-8cfa-44b2-b87c-c6df7cbb1729">
<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="151" width="82" height="14" uuid="0cc57888-5786-46c2-91a2-b08ba6e8d250">
<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="186" width="168" height="14" uuid="ad1a0bfd-4e8f-4b35-b402-8bf37e530b51">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="165" width="458" height="14" uuid="dcd3997a-a79b-4a23-89f0-1471aff2f698">
<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="165" width="82" height="14" uuid="3cbcafdb-09da-48e8-8d40-4b30244c4598">
<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="200" width="168" height="14" uuid="f86f0a7e-77b8-421d-84c5-6abe2f58fc16">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="200" width="115" height="14" uuid="2519ef8d-4747-46c2-9011-315635770415">
<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="228" width="168" height="14" isRemoveLineWhenBlank="true" uuid="f5b8ef35-21ae-45b4-807e-2a857c771285">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="228" width="115" height="14" isRemoveLineWhenBlank="true" uuid="ec469ef7-7fd7-4ff8-a9a8-3f4ab965ab9a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="137" width="82" height="14" uuid="72258a76-d696-462b-b0d8-d652f61e42a0">
<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="137" width="458" height="14" uuid="e3809b6f-b302-4dda-94e6-18b6d5e711ad">
<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>
</band>
</detail>
<pageFooter>
<band height="156" splitType="Stretch">
<staticText>
<reportElement x="4" y="128" width="284" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement x="0" y="125" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="102" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<componentElement>
<reportElement x="183" y="52" 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>
<staticText>
<reportElement x="360" y="26" width="197" height="15" isRemoveLineWhenBlank="true" uuid="4a244044-a0bb-43a0-8ea2-30d4bba03c80"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<text><![CDATA[Dott. Ing. FRANCO GALLORI]]></text>
</staticText>
<staticText>
<reportElement x="380" y="11" width="151" height="15" isRemoveLineWhenBlank="true" uuid="eaee654a-f053-4128-ac44-46e217297eb0"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Il Dirigente Responsabile]]></text>
</staticText>
</band>
</pageFooter>
</jasperReport>

15
template/doc/delega_geologo.vm

@ -1,15 +0,0 @@
<html>
<style>
.text-center{text-align: center}
</style>
<head></head>
<body>
<h1 class="text-center">
Regione Toscana
</h1>
<div>
$html
</div>
</body>
</html>

246
template/doc/pratica.vm

@ -1,246 +0,0 @@
<html class="aui">
<style>
hr{
display: block;
color: #ccc;
height: 1px;
width: 100%;
}
table td{
font-size: 14px;
margin: 0;
font-family: "Montserrat",sans-serif;
}
table td:first-child{
padding-left: 0;
}
table td:last-child{
padding-right: 0;
}
.text-center{text-align: center}
.fieldset{
margin: 15px 0 0 0;
padding: 0;
border-bottom: 1px solid #e2001a;
font-weight: bold;
line-height: 1;
color: #e2001a;
}
.sub_header{
margin: 0;
padding: 0;
border-bottom: 1px solid #e2001a;
font-weight: bold;
line-height: 1;
}
.row{
display: block;
width: 100%;
margin: 15px 0;
}
.row:before{
content: " ";
display: table;
}
.row:after{
clear:both;
}
.full{width:100%;}
.half_sx,.half_dx,.one_fourth{
float: left;
padding: 0 5px;
}
.half_sx{width: 300px}
.half_dx{width: 300px}
.one_fourth{{width: 25%}
</style>
<head></head>
<body>
<div class="header">
<div style="float:left;"><img alt="Logo RT" height="80" src="http://demo.3fconsulting.it/web/logo-rt.png" /></div>
<div style="float:right;"><img alt="Logo Sismica" height="80" src="http://demo.3fconsulting.it/web/etoscana.png" /></div>
<div style="clear:both">&nbsp;</div>
<hr/>
</div>
<div id="content">
<h1 class="header-title">$headerTitle</h1>
<div class="inner-content">
<div id="dettagli_principali">
<h3 class="fieldset">VALORI SISMICI</h3>
<hr/>
<table>
<tr>
<td width="50%">Zona: <strong>$zona</strong></td>
<td width="50%">Zona: <strong>$zona</strong></td>
</tr>
<tr>
<td width="50%">Range Ag: <strong>$range</strong></td>
<td width="50%">Valore di Ag: <strong>$ag</strong></td>
</tr>
</table>
<h4 class="sub_header">Ai Sensi</h4>
<table>
<tr>
<td width="50%">$normDpr01 D.P.R. 380/01 artt. 93 e 94, L.R. 65/2014 art. 167</td>
<td width="50%">$normDpr02 D.P.R. 380/01 artt. 65, 93 e 94, L.R. 65/2014 art. 167</td>
</tr>
</table>
<h4 class="sub_header">Nel Rispetto di</h4>
<table>
<tr>
<td width="50%">$normDm2018 D.M. 17/1/2018</td>
<td width="50%">$normDm01 D.M. 14/01/2008</td>
</tr>
</table>
<div class="row">
<div class="half_sx">$normDm02 D.M. 14/01/1996</div>
</div>
<h4 class="sub_header">Normativa tecnica di riferimento:</h4>
<table>
<tr>
<td width="50%">$normDm03 D.M. 16/01/1996</td>
<td width="50%">$normDprg01 D.P.G.R. 36/R/2009</td>
</tr>
</table>
<div class="row">
<div class="half_sx">$normDprg02 D.P.G.R. 36/R/2009 ART.6 E 7</div>
<div class="half_sx">$normAnr Altra normativa di riferimento</div>
</div>
<h4 class="sub_header"></h4>
<table>
<tr>
<td width="50%">$normLavoriInProprio il committente esegue i lavori in proprio (IN ECONOMIA)</td>
<td width="50%">$lavoriPubblici Lavori pubblici</td>
</tr>
<tr>
<td colspan="2">$normEsenteBollo esente da bollo ai sensi di <strong>D.P.R. 26/10/1972 n. 642 e s.m.i.</strong></td>
</tr>
<tr>
<td colspan="2">$normEsenteSpese esente da spese istruttoria ai sensi dell'<strong>art. 105quinquies, commi 3bis e 3ter della Legge regionale 1/2005 e s.m.i.</strong></td>
</tr>
</table>
<div class="row">
<div class="full">$collaudoStatico Trattandosi di opere di riparazione o intervento locale eseguibile su un edificio esistente ai sensi del D.M. 14/01/2008, punto 8.4.3, non si effettuerà il collaudo statico</div>
</div>
<div class="row">
<div class="full">$normArt3com3 Ai Sensi dell'art.3 comma 3 del Regolamento 36/R, possono essere omessi i seguenti allegati:
<ul>
<li>relazione geologica firmata da un geologo uscritto bell'albo (A05);</li>
<li>scheda di sintesi firmata da un geologo iscritto nell'albo (A14);</li>
<li>relazione geotecnica (A06);</li>
<li>relazione sulle fondazioni (A07);</li>
</ul>
</div>
<div class="full">$normArt3com4 Ai Sensi dell'art.3 comma 4 del Regolamento 36/R, può essere omesso il fascicolo dei calcoli delle strutture portanti, sia in fondazione sia in elevazione</div>
</div>
<h3 class="fieldset">DESCRIZIONE INTERVENTO</h3>
<hr/>
<div class="full">$descLongIntervento</div>
<h3 class="fieldset">UBICAZIONE</h3>
<hr/>
<table>
<tr>
<td width="50%">Provincia: $provincia</td>
<td width="50%">Comune: $comune</td>
</tr>
<tr>
<td width="50%">Località: $localita</td>
<td width="50%">Via: $via</td>
</tr>
<tr>
<td width="50%">Foglio: $foglio</td>
<td width="50%">Particelle: $particelle</td>
</tr>
<tr>
<td width="50%">Allegato: $allegato</td>
<td width="50%">Estremi pratiche comunali: $estremiPratCom</td>
</tr>
<tr>
<td width="50%">Estremi Catastali: $estremiCatastali</td>
<td width="50%"></td>
</tr>
</table>
<h3 class="fieldset">DESTINAZIONE (RIFERIMENTO AL REGOLAMENTO N. 36/R DEL 9/7/2009, ALL. A)</h3>
<hr/>
<div class="full">$destinazione</div>
<h3 class="fieldset">DESCRIZIONE INTERVENTO</h3>
<hr/>
<div class="full">$nuovaCostruzione Nuova costruzione</div>
<div class="full">
$interventiEsistenti Interventi su costruzioni esistenti:
<ul>
<li>$adeguamentoSismico Adeguamento sismico</li>
<li>$miglioramentoSismico Miglioramento sismico</li>
<li>$riparazioneLocale Riparazione o intervento locale</li>
</ul>
</div>
<h3 class="fieldset">TIPOLOGIA COSTRUTTIVA</h3>
<hr/>
<table>
<tr>
<td width="25%">$inCa in c.a.</td>
<td width="25%">$inOpera in opera</td>
<td width="25%">$inCa in c.a.</td>
<td width="25%">$inOpera in opera</td>
</tr>
<tr>
<td width="25%">$inMuratura in muratura</td>
<td width="25%">$inMuraturaOrdinaria ordinaria</td>
<td width="25%">$inMuratura in muratura</td>
<td width="25%">$inMuraturaOrdinaria ordinaria</td>
</tr>
<tr>
<td width="25%">$inLegno in legno</td>
<td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td>
</tr>
<tr>
<td width="25%">$inLegno in legno</td>
<td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td>
</tr>
<tr>
<td colspan="4">Altro: $tcAltro</td>
</tr>
<tr>
<td colspan="4">$tcDispositivi Con dispositivi di isolamento sismico o dissipazione</td>
</tr>
</table>
<h3 class="fieldset">DATI METRICI DESCRITTIVI</h3>
<hr/>
<table>
<tr>
<td width="50%">Numero piani totali con interrati: $dePiani</td>
<td width="50%">Altezza media di piano [m]: $deAltezza</td>
</tr>
<tr>
<td width="50%">Piani interrati: $deInterrati</td>
<td width="50%"></td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>

383
template/doc/richiesta_integrazione_portos2.jrxml

@ -1,383 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.5.1.final utlizzo versione della libreria JasperReports6.5.1 -->
<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="richiesta_integrazione" 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.5"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="documentazione" class="java.lang.String"/>
<parameter name="delegato" class="java.lang.String"/>
<parameter name="testo_del_documento" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="dataSorteggio" class="java.util.Date"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<field name="po" class="java.lang.String"/>
<pageHeader>
<band height="75">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="06ea1524-7ade-4d0a-bde6-707862143806">
<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="25" width="269" height="25" uuid="2aee3ee3-206d-4598-9f05-b90f0502de42">
<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[Settore SISMICA]]></text>
</staticText>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="a2c1ff68-ead2-44e5-867b-68a0bdb01b92">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="289">
<staticText>
<reportElement x="1" y="29" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="57" y="29" width="498" height="50" uuid="e4c22bc1-a61e-4eb0-8a3e-e9993506b8a8"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Art. 94 del D.P.R. n. 380 06/06/2001 - art. 167 della L.R.T. n. 65 del 10/11/2014.\n"+
"Autorizzazione per l’inizio dei lavori nelle zone sismiche.\n"
:
($F{tipo}.equals("CO") ?
"Art. 94 del D.P.R. n. 380 06/06/2001 - art. 167 della L.R.T. n. 65 del 10/11/2014.\n"+
"Progetto sottoposto a controllo obbligatorio ai sensi dell'art. 169 della L.R.T. n. 65 del 10/11/2014. \n"
:
($F{tipo}.equals("SO") ?
"Art. 93 del D.P.R. n. 380 06/06/2001 - art. 170 della L.R.T. n. 65 del 10/11/2014.\n"+
"Progetto sottoposto a controllo a campione ai sensi dell'art. 170 della L.R.T. n. 65 del 10/11/2014. \n"
:
""))]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="22" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="235" width="545" height="53" uuid="e4c22bc1-a61e-4eb0-8a3e-e9993506b8a8"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"In riferimento a quanto richiamato in oggetto ed al relativo progetto, sottoposto ad autorizzazione ai sensi dell’art 167 della L.R.T. n. 65 del 10/11/2014, si comunica la necessità di integrare la documentazione con quanto segue:"
:
($F{tipo}.equals("CO") ?
"In riferimento a quanto richiamato in oggetto ed al relativo progetto, sottoposto ad controllo OBBLIGATORIO ai sensi dell’art 169 comma 4 della L.R.T. n. 65 del 10/11/2014, si comunica la necessità di integrare la documentazione con quanto segue:"
:
($F{tipo}.equals("SO") ?
"In riferimento a quanto richiamato in oggetto ed al relativo progetto, sottoposto ad controllo per sorteggio in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio})+" ai sensi dell’art 170 della L.R.T. n. 65 del 10/11/2014, si comunica la necessità di integrare la documentazione con quanto segue:"
:
""))]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="5" width="48" height="12" uuid="46e03250-19be-4840-97fa-f5de14d1f301"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="63" y="5" width="100" height="12" uuid="e9f4a0fe-af77-4c17-b67c-18a95b7a29b1"/>
<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="83" width="82" height="14" uuid="c90e9d67-8eb2-4f90-ab88-a11fb29154b7">
<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="201" width="168" height="14" uuid="d278b840-1f7c-4e63-b4c7-758353758c20">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="111" width="82" height="14" uuid="5102239e-6dda-4766-86eb-d86cc07a46c9">
<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="173" width="115" height="14" uuid="51cf9774-23c7-4810-8d26-dbb80636c6a5">
<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="201" width="115" height="14" uuid="4f9c4024-049d-4303-8a92-abb1f9d82851">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="97" width="82" height="14" uuid="c214270f-3c69-4225-aaaa-4a0390e22215">
<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="139" width="458" height="14" uuid="da43c22d-e49b-4c77-a703-3a8d0a193f63">
<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="111" width="458" height="14" uuid="e4516a16-3c02-4355-bceb-b153ce75de9f">
<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="83" width="458" height="14" uuid="3fc735eb-7f68-4d5e-8810-965012bd4dec">
<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="97" width="458" height="14" uuid="876616c8-b862-43f1-baa2-6c546ea88043">
<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="139" width="82" height="14" uuid="2d32e56b-e45f-41dc-a483-cc01b81cc67c">
<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="173" width="168" height="14" uuid="04c6e414-072c-4451-a2cb-37c55ba68c8a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="153" width="458" height="14" uuid="d9aa171e-98c6-4245-851c-7bdd46325010">
<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="153" width="82" height="14" uuid="31a670b0-8ac2-4625-bcd7-9bbc8e47c013">
<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="187" width="168" height="14" uuid="598fd2f5-b142-4953-b08b-d806672c5f92">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="187" width="115" height="14" uuid="49e505a5-eef9-4229-849c-977bc22d4080">
<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="215" width="168" height="14" isRemoveLineWhenBlank="true" uuid="fce46523-445a-467f-9f35-b088f0607109">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="215" width="115" height="14" isRemoveLineWhenBlank="true" uuid="eec8a1fc-f44f-4ee7-8330-76b5c3681d5b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="125" width="82" height="14" uuid="ebc06f54-26be-4cc4-b7e8-6caf6c5042c1">
<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="125" width="458" height="14" uuid="79de021f-f4af-4326-b51b-0c0f7428e682">
<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>
</band>
<band height="33" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="5" y="-1" width="543" height="34" uuid="cead17ee-969e-4332-8881-fce849bc15d8"/>
<textElement textAlignment="Justified"/>
<textFieldExpression><![CDATA[$P{testo_del_documento}]]></textFieldExpression>
</textField>
</band>
<band height="173">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="3" y="90" width="543" height="77" uuid="de413b06-ddfb-40ff-8c2f-10951736773b"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. e dall'art.11 e succ. della L.R.T. n.40/2009 e ss.mm. si comunica che per il presente procedimento amministrativo:"+
"- il Settore Sismica rappresenta l'unità organizzativa responsabile dell'istruttoria, di ogni atto procedimemtale e dell'adozione del provvedimeto finale\n"+
"­ il Dott. Ing. "+$F{po}+", Responsabile della Posizione Organizzativa \"Sismica -Presidio zonale "+$F{sedeGenioCivile} +"\" è il responsabile del procedimento;"+
"­ il dirigente responsabile del Settore è il Dott. Ing. FRANCO GALLORI"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="6" width="545" height="84" isRemoveLineWhenBlank="true" uuid="e4c22bc1-a61e-4eb0-8a3e-e9993506b8a8"/>
<textElement textAlignment="Justified" markup="styled">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Si comunica che i termini per il rilascio dell’atto autorizzativo si intendono sospesi fino alla presentazione della documentazione integrativa al progetto.\n"+
"Le integrazioni dovranno pervenire entro 30 giorni dalla data di ricezione della presente ai sensi dell’art. 14 della L.R.T. n. 40/2009. In caso di mancato riscontro questo Ufficio procederà all’adozione di un provvedimento di diniego alla sua istanza secondo le procedure ed i termini previsti dall’art. 10bis della L. n. 241/1990 e ss.mm.\n"+
"\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+"\n"
:
($F{tipo}.equals("CO") ?
"Si comunica che i termini per il rilascio dell'esito della verifica si intendono sospesi fino alla presentazione della documentazione integrativa al progetto.\n"+
"Le integrazioni dovranno pervenire entro 30 giorni dalla data di ricezione della presente ai sensi dell’art. 14 della L.R.T. n. 40/2009. \n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+"\n":
($F{tipo}.equals("SO") ?
"Si comunica che i termini per il rilascio dell'esito della verifica si intendono sospesi fino alla presentazione della documentazione integrativa al progetto.\n"+
"Le integrazioni dovranno pervenire entro 30 giorni dalla data di ricezione della presente ai sensi dell’art. 14 della L.R.T. n. 40/2009.\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+"\n"
:
""))]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="328" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<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>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<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>
</band>
</pageFooter>
</jasperReport>

411
template/doc/vidimazione.jrxml

@ -1,411 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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="tipo" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="50" 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="0" 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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" 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[Settore SISMICA]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="274">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" 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="19" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Zone Sismiche – Preavviso scritto con contestuale deposito di progetto ai sensi dell’art. 93 D.P.R. n. 380 del 06/06/2001 e dell’art. 169 della L.R.T. 65/2014]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="0" y="236" width="548" height="33" uuid="a3fb9ec1-7464-4363-bd12-5934db7f26ed"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals( "CO" )?"Vista l’istanza con contestuale deposito del progetto pervenuta in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+" con la presente si comunica che tale istanza è stata accolta e il progetto è stato acquisito e vidimato dal sistema informativo della Regione Toscana PO.R.T.O.S..\n"+
"All’istanza e al progetto allegato è stato attribuito n. protocollo "+$F{numeroProtocollo}+" e n.progetto "+$F{numeroProgetto}+" ai quali dovrà essere fatto riferimento per tutte le successive comunicazioni con il Settore Sismica.\n"+
"Nel caso in cui gli interventi siano ubicati in comuni classificati in zona sismica 2, l'inizio dei lavori è subordinato al rilascio dell'autorizzazione ai sensi dell'art. 94 del DPR 380/2001\n."+
"Nel caso in cui gli interventi siano relativi ad Edifici o Infrastrutture Strategico/Rilevanti e ubicati in comuni classificati in zona sismica 3 e 4, il progetto è sottoposto a Controllo Obbligatorio ai sensi dell’art. 169 della L.R. 65/2014.\n"+
"In entrambi i casi nei prossimi giorni, verrà formalmente comunicato l'avvio del procedimento\n"+
"Per accedere in visualizzazione a tutta la documentazione depositata è necessario inserire in:\n"+
"https://www327.regione.toscana.it/web/portos/ricerca_pratiche il numero di progetto e il codice sotto riportato.\n"+
"Viene di seguito riportato l’elenco dei documenti allegati all’istanza:":"Vista l’istanza con contestuale deposito del progetto pervenuta in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataPratica})+" con la presente si comunica che tale istanza è stata accolta e il progetto è stato acquisito e vidimato dal sistema informativo della Regione Toscana PO.R.T.O.S..\n"+
"All’istanza e al progetto allegato è stato attribuito n. protocollo "+$F{numeroProtocollo}+" e n.progetto "+$F{numeroProgetto}+" ai quali dovrà essere fatto riferimento per tutte le successive comunicazioni con il Settore Sismica.\n"+
"Nel caso in cui gli interventi siano ubicati in comuni classificati in zona sismica 2, l'inizio dei lavori è subordinato al rilascio dell'autorizzazione ai sensi dell'art. 94 del DPR 380/2001.\n"+
"Nel caso in cui gli interventi siano relativi ad Edifici o Infrastrutture Strategico/Rilevanti e ubicati in comuni classificati in zona sismica 3 e 4, il progetto è sottoposto a Controllo Obbligatorio ai sensi dell’art. 169 della L.R. 65/2014.\n"+
"In entrambi i casi nei prossimi giorni, verrà formalmente comunicato l'avvio del procedimento\n"+
"Per accedere in visualizzazione a tutta la documentazione depositata è necessario inserire in:\n"+
"https://www327.regione.toscana.it/web/portos/ricerca_pratiche il numero di progetto e il codice sotto riportato.\n"+
"Viene di seguito riportato l’elenco dei documenti allegati all’istanza:"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="56" y="46" width="272" height="14" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{tipo}.equals( "CO" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement>
<text><![CDATA[Attestazione di deposito progetto.]]></text>
</staticText>
<staticText>
<reportElement x="8" y="0" 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="0" 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="72" width="82" height="14" 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="205" width="168" height="14" 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{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="100" width="82" height="14" 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="177" width="115" height="14" 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="205" width="115" height="14" 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.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="86" width="82" height="14" 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="128" width="458" height="14" 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="100" width="458" height="14" 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="72" width="458" height="14" 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="86" width="458" height="14" 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="128" width="82" height="14" 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="177" width="168" height="14" 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{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="142" width="458" height="14" 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="142" width="82" height="14" 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>
<staticText>
<reportElement x="9" y="156" width="82" height="14" uuid="a62776a5-6e70-4853-a283-d9b8f912ed8b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Variante n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="156" width="458" height="14" uuid="d2a43582-4191-4a7f-82e5-f4568d80816d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{numeroVariante}!=null && !$F{numeroVariante}.equalsIgnoreCase( "" )]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroVariante}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="381" y="191" width="168" height="14" 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{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="191" width="115" height="14" 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="219" width="168" height="14" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="219" width="115" height="14" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="114" width="82" height="14" 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="114" width="458" height="14" 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>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="43c05040-f066-43a1-a5ab-e94cf7b21165">
<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="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<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="55fefa3b-cabb-48e7-9db4-22251af05daf">
<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="ff5ded57-1002-4409-a269-035990359b7b">
<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>
</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.toscana.it
https://www327.regione.toscana.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>

397
template/doc/vidimazione_cl.jrxml

@ -1,397 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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="alCollaudatore" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" 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"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="50" 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="0" 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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" 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[Settore SISMICA]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="398">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" 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="19" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[CERTIFICATO DI COLLAUDO, Art. 93 D.P.R. n.
380/2001 e dell’art. 175 della L.R. 65/2014]]></text>
</staticText>
<staticText>
<reportElement x="56" y="46" width="492" height="14" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement>
<text><![CDATA[ATTESTAZIONE DEPOSITO CERTIFICATO di COLLAUDO]]></text>
</staticText>
<staticText>
<reportElement x="8" y="0" 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="0" 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="121" width="82" height="14" 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="254" width="168" height="14" 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{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="149" width="82" height="14" 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="226" width="115" height="14" 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="254" width="115" height="14" 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.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="135" width="82" height="14" 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="177" width="458" height="14" 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="149" width="458" height="14" 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="121" width="458" height="14" 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="14" 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="177" width="82" height="14" 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="226" width="168" height="14" 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{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="191" width="458" height="14" 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="191" width="82" height="14" 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="240" width="168" height="14" 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{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="240" width="115" height="14" 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="268" width="168" height="14" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="268" width="115" height="14" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="163" width="82" height="14" 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="163" width="458" height="14" 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 x="56" y="60" width="272" height="14" uuid="3deb06c4-0dad-4222-bd6a-eaf9a62d8af0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{parziale}]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="false"/>
</textElement>
<textFieldExpression><![CDATA["[parziale n°" + $F{parzialeNumero} + "]"]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="0" y="285" width="548" height="65" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Vista la richiesta di deposito del Certifcato di Collaudo "+($F{parziale}==true ? "[parziale n° "+$F{parzialeNumero}+"]" : "") +" , ai sensi dell’art 175 della L.R. 65/2014,\n"+
"trasmesso in data "+new SimpleDateFormat("dd/MM/yyy").format($F{dataPratica})+" relativa alla pratica "+$F{numeroProgetto}+", si comunica che è stato vidimato e acquisito dal sistema regionale\n"+
"PORTOS, con n° protocollo " + $F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="0" y="377" width="548" height="20" uuid="d2f2dc73-ea35-4995-9f1c-a767e34a93a3"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza:]]></text>
</staticText>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="43c05040-f066-43a1-a5ab-e94cf7b21165">
<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="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<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="55fefa3b-cabb-48e7-9db4-22251af05daf">
<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="ff5ded57-1002-4409-a269-035990359b7b">
<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>
</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.toscana.it
https://www327.regione.toscana.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>

398
template/doc/vidimazione_fl.jrxml

@ -1,398 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 -->
<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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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="alCollaudatore" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" 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"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="50" 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="0" 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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement x="285" y="25" 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[Settore SISMICA]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="398">
<line>
<reportElement x="0" y="13" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<staticText>
<reportElement x="0" y="19" 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="19" width="492" height="26" uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[RELAZIONE DI ULTIMAZIONE DEI LAVORI,
Art. 93 D.P.R. n. 380/2001 e dell’art. 175 della L.R.65/2014]]></text>
</staticText>
<staticText>
<reportElement x="56" y="47" width="272" height="14" uuid="a906354d-7715-4d0e-9986-435b43df854f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="true"/>
</textElement>
<text><![CDATA[ATTESTAZIONE DEPOSITO FINE LAVORI]]></text>
</staticText>
<staticText>
<reportElement x="8" y="0" 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="0" 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="121" width="82" height="14" 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="254" width="168" height="14" 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{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="149" width="82" height="14" 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="226" width="115" height="14" 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="254" width="115" height="14" 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.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="135" width="82" height="14" 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="177" width="458" height="14" 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="149" width="458" height="14" 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="121" width="458" height="14" 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="14" 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="177" width="82" height="14" 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="226" width="168" height="14" 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{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="191" width="458" height="14" 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="191" width="82" height="14" 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="240" width="168" height="14" 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{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="240" width="115" height="14" 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="268" width="168" height="14" isRemoveLineWhenBlank="true" uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="268" width="115" height="14" isRemoveLineWhenBlank="true" uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="163" width="82" height="14" 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="163" width="458" height="14" 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 x="56" y="62" width="272" height="14" uuid="3deb06c4-0dad-4222-bd6a-eaf9a62d8af0">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{parziale}]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false" isUnderline="false"/>
</textElement>
<textFieldExpression><![CDATA["[parziale n°" + $F{parzialeNumero} + "]"]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="0" y="285" width="548" height="65" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["Vista la richiesta di deposito della relazione di Fine Lavori e Certifcato di Rispondenza "+($F{parziale} == true ? "[parziale n° "+$F{parzialeNumero}+"]": "") +" , ai sensi dell’art 175 della L.R. 65/2014,\n"+
"trasmessa in data "+new SimpleDateFormat("dd/MM/yyy").format($F{dataPratica})+" relativa alla pratica "+$F{numeroProgetto}+", si comunica che è stata vidimata e acquisita dal sistema regionale\n"+
"PORTOS, con n° protocollo " + $F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement stretchType="RelativeToTallestObject" x="3" y="360" width="548" height="30" uuid="d2f2dc73-ea35-4995-9f1c-a767e34a93a3"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati alla Relazione
depositata:]]></text>
</staticText>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement x="0" y="-1" width="539" height="30" uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="43c05040-f066-43a1-a5ab-e94cf7b21165">
<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="0" width="519" height="14" uuid="24769fb4-b6ff-45f4-95a5-486608298a59">
<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="55fefa3b-cabb-48e7-9db4-22251af05daf">
<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="ff5ded57-1002-4409-a269-035990359b7b">
<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>
</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.toscana.it
https://www327.regione.toscana.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>

416
template/doc/vidimazione_var_sog.jrxml

@ -1,416 +0,0 @@
<?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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="360"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<field name="denominazione" class="java.lang.String"/>
<field name="tipoSoggetto" class="java.lang.String"/>
<field name="tipoOperazione" class="java.lang.String"/>
</subDataset>
<subDataset name="dataset2" uuid="2818565f-a801-4466-af81-a68a9789a9bd">
<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="tipo" class="java.lang.String"/>
<field name="tipoPratica" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="soggetti" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement uuid="69ba1fba-114d-4d87-afcf-2a121decda52" x="0" y="0" width="224" height="68"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement uuid="a329da1c-ce69-4c4e-8461-34eb44195739" x="285" y="50" width="269" height="25">
<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 uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f" x="285" y="0" width="270" height="25">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60" x="285" y="25" width="269" height="25">
<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[Settore SISMICA]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="265">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<line>
<reportElement uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb" x="0" y="13" width="555" height="1"/>
</line>
<staticText>
<reportElement uuid="2bb6962b-397c-4592-ab9b-f49f30c26032" x="0" y="19" width="56" height="13"/>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<staticText>
<reportElement uuid="78d30ce8-19a2-45c0-a5ef-0b2b99805f29" x="56" y="19" width="492" height="26"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[COMUNICAZIONE VARIAZIONE SOGGETTI]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="a3fb9ec1-7464-4363-bd12-5934db7f26ed" stretchType="RelativeToTallestObject" x="0" y="212" width="548" height="36"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA["In relazione alla pratica di " + ($F{tipoPratica}.equals("01") ? "Deposito" : ( $F{tipoPratica}.equals("02") ? "Autorizzazione" : "Sanatoria") ) + " n° "+ $F{numeroProgetto} +", e all’istanza di VARIAZIONE del/i nuovo/i SOGGETTI/i, "+
"si comunica che tale istanza è stata vidimata e acquisita dal sistema regionale PORTOS, in data "+new SimpleDateFormat("dd/MM/yyy").format($F{dataPratica})+" con n° protocollo " + $F{numeroProtocollo} +"."+
"Viene di seguito riportato l'elenco dei soggetti interessati dalla variazione:"]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="cf3a9429-2047-45c9-980a-7ac93d430de0" x="8" y="0" width="48" height="10">
<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 uuid="e8e8a449-23ae-48da-aa8d-84423c088646" x="61" y="0" width="100" height="10">
<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 uuid="db348311-9894-42af-ae4e-727d96f8aa08" x="9" y="46" width="82" height="14">
<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 uuid="d880d447-9438-4750-be22-4b0b5bef3e63" x="381" y="164" width="168" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="1937bfdd-32f4-4b4b-9e53-a1fb3d923925" x="9" y="74" width="82" height="14">
<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 uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1" key="" x="266" y="136" width="115" height="14">
<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 uuid="9fe19eb8-bac2-4382-9120-ef8652c2617a" x="266" y="164" width="115" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement uuid="cd8b9b56-a673-4708-9b8e-a6ae50dfbccd" x="9" y="60" width="82" height="14">
<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 uuid="59326b1c-3092-45ab-ba73-d188ee32f184" x="91" y="102" width="458" height="14">
<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 uuid="64e8a0c4-3120-4359-9419-0c31feb752ba" x="91" y="74" width="458" height="14">
<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 uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1" x="91" y="46" width="458" height="14">
<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 uuid="5ec2ddc5-2a0b-4440-afb4-bef9e6102856" x="91" y="60" width="458" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="7a2a67be-5d54-4aa9-b690-799f437cb642" x="9" y="102" width="82" height="14">
<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 uuid="f9c28d14-b419-47e8-8c47-a936d86fee32" x="381" y="136" width="168" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d" x="91" y="116" width="458" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa" x="9" y="116" width="82" height="14">
<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 uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c" x="381" y="150" width="168" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba" key="" x="266" y="150" width="115" height="14">
<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 uuid="4e4c5e60-7f2e-4459-b4cb-f7343e77dad3" x="381" y="178" width="168" height="14" isRemoveLineWhenBlank="true">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6" x="266" y="178" width="115" height="14" isRemoveLineWhenBlank="true">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6" x="9" y="88" width="82" height="14">
<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 uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9" x="91" y="88" width="458" height="14">
<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>
</band>
<band height="30">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<componentElement>
<reportElement uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b" x="0" y="-1" width="539" height="30">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="43c05040-f066-43a1-a5ab-e94cf7b21165">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{soggetti})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="30" width="539">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="24769fb4-b6ff-45f4-95a5-486608298a59" x="20" y="0" width="519" height="14">
<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{tipoSoggetto}+" "+$F{tipoOperazione}+": "+$F{denominazione}]]></textFieldExpression>
</textField>
<ellipse>
<reportElement uuid="55fefa3b-cabb-48e7-9db4-22251af05daf" x="11" y="5" width="4" height="4" backcolor="#000000">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</ellipse>
</jr:listContents>
</jr:list>
</componentElement>
</band>
<band height="58">
<componentElement>
<reportElement uuid="28a0b516-39fd-4f78-8c55-ea8b8f95b40b" x="0" y="27" width="539" height="30">
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</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="dataset2" uuid="43c05040-f066-43a1-a5ab-e94cf7b21165">
<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 uuid="24769fb4-b6ff-45f4-95a5-486608298a59" x="20" y="0" width="519" height="14">
<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 uuid="55fefa3b-cabb-48e7-9db4-22251af05daf" x="11" y="5" width="4" height="4" backcolor="#000000">
<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 uuid="ff5ded57-1002-4409-a269-035990359b7b" x="20" y="14" width="519" height="14">
<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>
<staticText>
<reportElement uuid="43505d3a-dbf3-4da8-8518-a8a175b6b4c6" x="0" y="4" width="115" height="14" isRemoveLineWhenBlank="true">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Allegati Obbligatori:]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement uuid="89e43c7c-c4e3-456f-8eba-d21332502699" x="4" y="102" width="377" height="23"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b" x="0" y="99" width="555" height="1"/>
</line>
<componentElement>
<reportElement uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888" x="183" y="26" width="188" height="50"/>
<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 uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a" x="8" y="76" width="538" height="20"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

444
template/doc/visualizza_collaudo.jrxml

@ -1,444 +0,0 @@
<?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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="134"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<parameter name="PROVA_LISTA" class="java.lang.String"/>
<field name="label" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="TITOLO_PRATICA" class="java.lang.String"/>
<parameter name="SEDE_GENIO_CIVILE" class="java.lang.String"/>
<parameter name="VALUES_PRATICA_PRINCIPALE" class="java.util.List"/>
<parameter name="VALUES_PRATICA_INDIRIZZO" class="java.util.List"/>
<parameter name="VALORE_SISMICO_1" class="java.lang.String"/>
<parameter name="VALORE_SISMICO_2" class="java.lang.String"/>
<parameter name="TIPOLOGIA_INTERVENTO" class="java.lang.String"/>
<parameter name="TIPOLOGIA_COSTRUTTIVA" class="java.lang.String"/>
<parameter name="ANAGRAFICA_SOGGETTI" class="java.util.List"/>
<parameter name="ALLEGATI_GEOLOGICI" class="java.util.List"/>
<parameter name="ALLEGATI_DOMANDA" class="java.util.List"/>
<parameter name="DESCRIZIONE_INTERVENTO" class="java.lang.String"/>
<parameter name="PAGAMENTI" class="java.util.List"/>
<parameter name="TIPO_FINE_LAVORI" class="java.lang.String"/>
<parameter name="DATA_FINE_LAVORI" class="java.lang.String"/>
<parameter name="PROVINCIA" class="java.lang.String"/>
<parameter name="ZONA_SISMICA" class="java.lang.String"/>
<parameter name="RANGE_AG" class="java.lang.String"/>
<parameter name="COMUNE" class="java.lang.String"/>
<parameter name="FASCIA_PERICOLOSITA" class="java.lang.String"/>
<parameter name="DIRETTORE_LAVORI" class="java.lang.String"/>
<parameter name="COMMITTENTE" class="java.lang.String"/>
<parameter name="INTEGRAZIONI_VARIANTI" class="java.util.List"/>
<parameter name="TIPO_PRATICA" class="java.lang.String"/>
<parameter name="DATA_EFFETTUAZIONE_COLLAUDO" class="java.lang.String"/>
<parameter name="PROTOCOLLO" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="titoloPratica" class="java.lang.String"/>
<field name="checkSummury" class="java.util.List"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement uuid="69ba1fba-114d-4d87-afcf-2a121decda52" x="0" y="0" width="224" height="68"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f" x="285" y="0" width="270" height="25">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60" x="285" y="25" width="269" height="25">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement uuid="74cd3774-8081-4a10-abab-e5b411e53503" x="285" y="50" width="269" height="25"/>
<textElement textAlignment="Center">
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Sede di " + $P{SEDE_GENIO_CIVILE}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="602">
<property name="com.jaspersoft.studio.layout"/>
<line>
<reportElement uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb" x="0" y="46" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField>
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" x="0" y="25" width="370" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TITOLO_PRATICA}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="3f8049e1-7956-480f-b2ee-5e128f520745" x="0" y="58" width="80" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Collaudo]]></text>
</staticText>
<textField>
<reportElement uuid="bb84b063-648b-4beb-bf89-d0703df73c5c" x="100" y="58" width="135" height="20"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPO_FINE_LAVORI}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="1574832d-6e09-4621-bf6c-c1e7457ba38d" x="269" y="58" width="141" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Data Invio Collaudo]]></text>
</staticText>
<textField>
<reportElement uuid="3d516193-9f28-43bf-bb1d-d928c5fee279" x="434" y="58" width="120" height="20"/>
<textElement textAlignment="Center">
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_FINE_LAVORI}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="bb5342d3-1687-4803-b114-66fab6c7e6c8" x="0" y="102" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="4926a9a7-111e-459f-a4c5-1705be818b5e" x="0" y="117" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Provincia]]></text>
</staticText>
<staticText>
<reportElement uuid="7d8eb444-3126-4c6d-b657-b2c44b94ee83" x="0" y="147" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Zona Sismica]]></text>
</staticText>
<staticText>
<reportElement uuid="b0ad576d-d724-4ac9-9140-28432b2daffa" x="0" y="177" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Range Ag]]></text>
</staticText>
<staticText>
<reportElement uuid="1f527cb1-6bb6-47e8-9796-4258b43270fd" x="280" y="117" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Comune]]></text>
</staticText>
<staticText>
<reportElement uuid="2e6e3eb2-b47c-487e-86db-afe30c54e830" x="280" y="147" width="100" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Fascia Pericolosità]]></text>
</staticText>
<textField>
<reportElement uuid="47b97d2e-d631-42ab-9bf1-7f1574066ab5" x="100" y="117" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{PROVINCIA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="d3ffffb1-f42f-4932-8516-59356b4da725" x="100" y="147" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{ZONA_SISMICA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="79264337-1aac-4933-9c52-fc8b45cff1c7" x="100" y="177" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{RANGE_AG}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="2a762a72-f74b-487f-85dc-2dbd3e0cf0d4" x="410" y="117" width="144" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{COMUNE}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="b0d032b0-3528-4e9b-96bc-2740019d72a9" x="410" y="147" width="144" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FASCIA_PERICOLOSITA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="dfe314b5-a6fa-4b01-8857-50488b188bd6" x="0" y="322" width="555" height="1" forecolor="#FF0400"/>
</line>
<line>
<reportElement uuid="cdc7e57e-2bfc-45c0-aeb7-5954c74cef61" x="0" y="382" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="7a3ec534-ed29-48ec-af13-8164ac0f5ebe" x="0" y="492" width="540" height="34"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Durante il corso dei lavori sono state presentate le seguenti varianti e/o integrazioni al progetto e/o fine lavori parziali/totali e/o collaudi parziali presentate: ]]></text>
</staticText>
<textField>
<reportElement uuid="5d6c025c-39c5-4de4-8f68-2d2a62b8304c" x="130" y="332" width="405" height="40"/>
<textElement>
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$P{DESCRIZIONE_INTERVENTO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="b3e8acef-ea35-4f87-a55c-e8322691bded" x="0" y="392" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Committente/i]]></text>
</staticText>
<staticText>
<reportElement uuid="3e2b7313-a0a8-42d3-8c39-22088f2760f8" x="0" y="422" width="100" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Collaudatore]]></text>
</staticText>
<textField>
<reportElement uuid="e1d2edb3-c1ff-459f-8bc7-3a1c9f5b0e51" x="109" y="392" width="435" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{COMMITTENTE}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="137c8adf-e882-40a2-a4ab-44b83ef82d2c" x="109" y="422" width="434" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{DIRETTORE_LAVORI}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="9cbd431b-1e28-4b9c-b3d1-4c25f6dc845c" x="0" y="482" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="bf454530-8eda-4c87-b568-2f1908170bc1" x="0" y="332" width="120" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Descrizione Intervento]]></text>
</staticText>
<staticText>
<reportElement uuid="581b1ff3-289b-4b6c-a679-f64539bf7fe2" x="0" y="452" width="90" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Tipo di domanda]]></text>
</staticText>
<textField>
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" x="109" y="452" width="170" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPO_PRATICA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="066a1a12-045d-43a6-babe-2879a6f776c4" x="0" y="212" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="b59e6455-b164-45f1-b715-ef23c5134218" x="0" y="222" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Ubicazione]]></text>
</staticText>
<componentElement>
<reportElement uuid="0ae3e2fa-ddda-43c5-beb8-db2c373f9a61" x="0" y="242" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="1c45c39d-739b-4225-8dcc-85f8df78b7d6">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{VALUES_PRATICA_INDIRIZZO})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="10ddd0b8-3949-4134-abb0-7d5fc3f66bb4" x="20" y="1" width="519" height="14">
<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{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<componentElement>
<reportElement uuid="752afe71-e412-48c5-bfe2-b7d40324de38" x="0" y="526" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="3ce40b92-d389-4b50-a531-0e2f6e55f80b">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{INTEGRAZIONI_VARIANTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="039c4420-61d0-477b-b7dc-ec5f93259919" x="20" y="0" width="519" height="14">
<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{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="1574832d-6e09-4621-bf6c-c1e7457ba38d" x="269" y="80" width="165" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Data Effettuazione Collaudo]]></text>
</staticText>
<textField>
<reportElement uuid="3d516193-9f28-43bf-bb1d-d928c5fee279" x="434" y="81" width="120" height="20"/>
<textElement textAlignment="Center">
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_EFFETTUAZIONE_COLLAUDO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="3f8049e1-7956-480f-b2ee-5e128f520745" x="0" y="3" width="552" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Riepilogo Dati Inoltro Collaudo]]></text>
</staticText>
</band>
<band height="250">
<componentElement>
<reportElement uuid="1749b71d-c3b9-4e19-be6e-9ae1e8085c3b" x="0" y="50" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="8da7092d-5a88-4cd3-a857-9284db853fee">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{ALLEGATI_DOMANDA})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="ef7b917c-16b3-409f-b386-6b41b3d9eea8" x="20" y="0" width="519" height="14">
<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{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="17c6d1be-1765-46b1-b3c5-42101c072b09" x="0" y="30" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Allegati]]></text>
</staticText>
<line>
<reportElement uuid="f45fc237-97f9-4824-835a-bf661ab8af8e" x="0" y="18" width="555" height="1" forecolor="#FF0400"/>
</line>
<line>
<reportElement uuid="6b4f748f-979a-4714-9c3b-395e3fb73b67" x="0" y="140" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="420aa6cd-6f02-4973-930d-5e5749827606" x="0" y="150" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Pagamenti]]></text>
</staticText>
<componentElement>
<reportElement uuid="10ee27ab-f13f-4866-9523-41d1db5ff40c" x="0" y="170" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="8422911d-15c7-4ba3-977e-4a5a5654e3e1">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{PAGAMENTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="8760a6bf-2e00-4db5-8199-e5a89c550e1e" x="20" y="0" width="519" height="14">
<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{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement uuid="89e43c7c-c4e3-456f-8eba-d21332502699" x="4" y="102" width="377" height="23"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b" x="0" y="99" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField isStretchWithOverflow="true">
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" stretchType="RelativeToBandHeight" x="251" y="109" width="301" height="14"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{PROTOCOLLO}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

368
template/doc/visualizza_fascicolo.jrxml

@ -1,368 +0,0 @@
<?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.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="282"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<parameter name="PROVA_LISTA" class="java.lang.String"/>
<field name="label" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="TITOLO_PRATICA" class="java.lang.String"/>
<parameter name="SEDE_GENIO_CIVILE" class="java.lang.String"/>
<parameter name="VALUES_PRATICA_PRINCIPALE" class="java.util.List"/>
<parameter name="VALUES_PRATICA_INDIRIZZO" class="java.util.List"/>
<parameter name="VALORE_SISMICO_1" class="java.lang.String"/>
<parameter name="VALORE_SISMICO_2" class="java.lang.String"/>
<parameter name="TIPOLOGIA_INTERVENTO" class="java.lang.String"/>
<parameter name="TIPOLOGIA_COSTRUTTIVA" class="java.lang.String"/>
<parameter name="ANAGRAFICA_SOGGETTI" class="java.util.List"/>
<parameter name="ALLEGATI_GEOLOGICI" class="java.util.List"/>
<parameter name="ALLEGATI_DOMANDA" class="java.util.List"/>
<parameter name="DESCRIZIONE_INTERVENTO" class="java.lang.String"/>
<parameter name="PAGAMENTI" class="java.util.List"/>
<parameter name="PROTOCOLLO" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="titoloPratica" class="java.lang.String"/>
<field name="checkSummury" class="java.util.List"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement uuid="69ba1fba-114d-4d87-afcf-2a121decda52" x="0" y="0" width="224" height="68"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f" x="285" y="0" width="270" height="25">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60" x="285" y="25" width="269" height="25">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement uuid="74cd3774-8081-4a10-abab-e5b411e53503" x="285" y="50" width="269" height="25"/>
<textElement textAlignment="Center">
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Sede di " + $P{SEDE_GENIO_CIVILE}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="602">
<property name="com.jaspersoft.studio.layout"/>
<line>
<reportElement uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb" x="0" y="18" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField>
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" x="3" y="0" width="370" height="17"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TITOLO_PRATICA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="42be5344-c27c-4d34-8cc9-6a9416e8b2fc" x="0" y="367" width="555" height="1" forecolor="#FF0400"/>
</line>
<componentElement>
<reportElement uuid="2bba94ef-4a66-4e23-9fe4-a964f8108176" x="0" y="95" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="09345d1a-e7f9-40e7-ae6c-0107ed683a73">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{VALUES_PRATICA_INDIRIZZO})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="75d605ac-4eac-43e9-ba3b-8f90788397f9" x="2" y="0" width="551" height="14">
<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{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="a6df8eda-39d5-4935-a3b8-855ce5fd8532" x="-1" y="75" width="147" height="19"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Ubicazione]]></text>
</staticText>
<staticText>
<reportElement uuid="fea16d12-9b16-4458-a61f-42e51be4757c" x="0" y="216" width="112" height="14"/>
<textElement>
<font isBold="true" isItalic="true"/>
</textElement>
<text><![CDATA[Valori Sismici]]></text>
</staticText>
<textField>
<reportElement uuid="d0985471-a972-4f48-a48e-5ff439c136e5" x="0" y="232" width="553" height="18"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$P{VALORE_SISMICO_1}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="4b1de9c6-3120-447a-a124-0ca2237aba26" x="0" y="248" width="553" height="17"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$P{VALORE_SISMICO_2}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="3fb5edc9-56a7-47f3-9df2-7dc4899453e8" x="-1" y="276" width="112" height="14"/>
<textElement>
<font isBold="true" isItalic="true"/>
</textElement>
<text><![CDATA[Tipologia Intervento]]></text>
</staticText>
<textField>
<reportElement uuid="c4ae9291-2b1d-4758-a3cb-a298d4fb279e" x="0" y="290" width="553" height="20"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPOLOGIA_INTERVENTO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="9a0cd479-1d20-4324-94b9-019fe267f85b" x="0" y="312" width="112" height="14"/>
<textElement>
<font isBold="true" isItalic="true"/>
</textElement>
<text><![CDATA[Tipologia Costruttiva]]></text>
</staticText>
<textField>
<reportElement uuid="79e31fba-eb73-49b1-a7f4-90c601631b75" x="0" y="327" width="553" height="16"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPOLOGIA_COSTRUTTIVA}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="0c34e7db-9fb6-4440-ac6a-b04b28af2274" x="0" y="349" width="190" height="18"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Anagrafica Soggetti]]></text>
</staticText>
<line>
<reportElement uuid="b8ff38d0-3e0a-49da-844b-3c0d26bcdbf1" x="0" y="94" width="555" height="1" forecolor="#FF0400"/>
</line>
<componentElement>
<reportElement uuid="5acf534f-111b-4ec1-880f-08bee31ba7dc" x="0" y="370" width="555" height="18">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="0b38737f-5355-476f-a439-cbbaf23a80f1">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{ANAGRAFICA_SOGGETTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="18" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="c87ace24-ebf5-4bbf-a54f-8b66a363cc6f" x="6" y="0" width="547" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle" markup="html">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<textField>
<reportElement uuid="228a984a-c129-4b2f-b32f-baa1889185c1" x="1" y="21" width="554" height="50"/>
<textElement/>
<textFieldExpression><![CDATA[$P{DESCRIZIONE_INTERVENTO}]]></textFieldExpression>
</textField>
</band>
<band height="600">
<staticText>
<reportElement uuid="26871a8c-05a7-4efd-bad4-abc556c9c5da" x="0" y="276" width="190" height="18"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Allegati Domanda]]></text>
</staticText>
<line>
<reportElement uuid="37452342-82ab-4499-a64c-c95ca1c877c9" x="0" y="294" width="555" height="1" forecolor="#FF0400"/>
</line>
<componentElement>
<reportElement uuid="a83559f1-721b-405f-9156-66e0d0e44135" x="0" y="299" width="555" height="123">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="6af1be09-a72e-4cb6-b7e8-3574e585d270">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{ALLEGATI_DOMANDA})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="a5e6c9d2-ed5a-4543-8ad6-e3a78875400a" x="2" y="0" width="552" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<componentElement>
<reportElement uuid="507edefa-5085-4b55-9115-0e4c94e0f31f" x="0" y="58" width="555" height="83">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="69ed4f39-6810-4d7c-8c05-cf9837f1317c">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{ALLEGATI_GEOLOGICI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="50028d2f-1bd1-4a7d-8ca3-aa5b1f0e8686" x="6" y="0" width="547" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<line>
<reportElement uuid="9a8f7d2d-19c0-44ee-8dbb-a8ae928da533" x="0" y="48" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="562f05d1-b007-481d-b846-cecce3ce5b55" x="1" y="31" width="190" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Allegati Geologici]]></text>
</staticText>
</band>
<band height="540">
<componentElement>
<reportElement uuid="20a45ba4-43bb-497b-8ab2-59e54ea2a9cd" positionType="Float" x="5" y="426" width="548" height="20">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="5dac905d-bb86-46ce-be41-f8ffd7a61692">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{PAGAMENTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="20" width="548">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="b5551338-53b1-40f5-b634-6aff12825e4d" x="0" y="2" width="537" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<line>
<reportElement uuid="a24d9b82-4db8-46f7-9b3e-ec26be315828" positionType="Float" x="-1" y="425" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="22d9d965-c4db-4210-89e9-c6972a002594" positionType="Float" x="6" y="406" width="186" height="19"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Pagamenti digitali]]></text>
</staticText>
<componentElement>
<reportElement uuid="1e138dc2-c31b-49a5-a16f-ca51b1ea8a33" x="0" y="51" width="555" height="38">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="160aa6bb-d286-4526-83a1-bb15ef595743">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{VALUES_PRATICA_PRINCIPALE})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="38" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="d4139c9a-5810-473e-b55a-18d55ed2aa3c" x="2" y="0" width="551" height="14">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Justified" verticalAlignment="Middle">
<font fontName="DejaVu Sans" size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<line>
<reportElement uuid="f1842a8c-72cd-408c-bf65-9a88762257aa" x="0" y="49" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="c3ee5c24-431b-44c2-a545-75b30c6e30ef" x="0" y="31" width="190" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Dettagli Pratica]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement uuid="89e43c7c-c4e3-456f-8eba-d21332502699" x="4" y="102" width="377" height="23"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b" x="0" y="99" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField isStretchWithOverflow="true">
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" stretchType="RelativeToBandHeight" x="254" y="107" width="301" height="14"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{PROTOCOLLO}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

487
template/doc/visualizza_fine_lavori.jrxml

@ -1,487 +0,0 @@
<?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.3310000000000004"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="1242"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7">
<parameter name="PROVA_LISTA" class="java.lang.String"/>
<field name="label" class="java.lang.String"/>
</subDataset>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="TITOLO_PRATICA" class="java.lang.String"/>
<parameter name="SEDE_GENIO_CIVILE" class="java.lang.String"/>
<parameter name="VALUES_PRATICA_PRINCIPALE" class="java.util.List"/>
<parameter name="VALUES_PRATICA_INDIRIZZO" class="java.util.List"/>
<parameter name="VALORE_SISMICO_1" class="java.lang.String"/>
<parameter name="VALORE_SISMICO_2" class="java.lang.String"/>
<parameter name="TIPOLOGIA_INTERVENTO" class="java.lang.String"/>
<parameter name="TIPOLOGIA_COSTRUTTIVA" class="java.lang.String"/>
<parameter name="ANAGRAFICA_SOGGETTI" class="java.util.List"/>
<parameter name="ALLEGATI_GEOLOGICI" class="java.util.List"/>
<parameter name="ALLEGATI_DOMANDA" class="java.util.List"/>
<parameter name="DESCRIZIONE_INTERVENTO" class="java.lang.String"/>
<parameter name="PAGAMENTI" class="java.util.List"/>
<parameter name="TIPO_FINE_LAVORI" class="java.lang.String"/>
<parameter name="DATA_FINE_LAVORI" class="java.lang.String"/>
<parameter name="PROVINCIA" class="java.lang.String"/>
<parameter name="ZONA_SISMICA" class="java.lang.String"/>
<parameter name="RANGE_AG" class="java.lang.String"/>
<parameter name="COMUNE" class="java.lang.String"/>
<parameter name="FASCIA_PERICOLOSITA" class="java.lang.String"/>
<parameter name="DIRETTORE_LAVORI" class="java.lang.String"/>
<parameter name="COMMITTENTE" class="java.lang.String"/>
<parameter name="INTEGRAZIONI_VARIANTI" class="java.util.List"/>
<parameter name="TIPO_PRATICA" class="java.lang.String"/>
<parameter name="PROTOCOLLO" class="java.lang.String"/>
<parameter name="DICHIARAZIONE_DL" class="java.lang.String"/>
<parameter name="DATA_INVIO_FINE_LAVORI" class="java.lang.String"/>
<parameter name="DICHIARAZIONE_FL_DL" class="java.lang.String"/>
<parameter name="FIRMA_DIRETTORE" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="titoloPratica" class="java.lang.String"/>
<field name="checkSummury" class="java.util.List"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="allegati" class="java.util.List"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<pageHeader>
<band height="75" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<image>
<reportElement uuid="69ba1fba-114d-4d87-afcf-2a121decda52" x="0" y="0" width="224" height="68"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<staticText>
<reportElement uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f" x="285" y="0" width="270" height="25">
<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[Direzione Ambiente ed Energia]]></text>
</staticText>
<staticText>
<reportElement uuid="f1e093e1-71e5-4a60-94d0-5a80e51b1e60" x="285" y="25" width="269" height="25">
<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[Settore SISMICA]]></text>
</staticText>
<textField>
<reportElement uuid="74cd3774-8081-4a10-abab-e5b411e53503" x="285" y="50" width="269" height="25"/>
<textElement textAlignment="Center">
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Sede di " + $P{SEDE_GENIO_CIVILE}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="602">
<property name="com.jaspersoft.studio.layout"/>
<line>
<reportElement uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb" x="-1" y="56" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField>
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" x="0" y="34" width="370" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TITOLO_PRATICA}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="3f8049e1-7956-480f-b2ee-5e128f520745" x="0" y="66" width="80" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Fine Lavori]]></text>
</staticText>
<textField>
<reportElement uuid="bb84b063-648b-4beb-bf89-d0703df73c5c" x="87" y="66" width="104" height="20"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPO_FINE_LAVORI}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="1574832d-6e09-4621-bf6c-c1e7457ba38d" x="245" y="66" width="174" height="20"/>
<textElement verticalAlignment="Top">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Data Invio Fine Lavori]]></text>
</staticText>
<textField>
<reportElement uuid="3d516193-9f28-43bf-bb1d-d928c5fee279" x="432" y="66" width="121" height="20"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_INVIO_FINE_LAVORI}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="bb5342d3-1687-4803-b114-66fab6c7e6c8" x="0" y="112" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="4926a9a7-111e-459f-a4c5-1705be818b5e" x="0" y="119" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Provincia]]></text>
</staticText>
<staticText>
<reportElement uuid="7d8eb444-3126-4c6d-b657-b2c44b94ee83" x="0" y="149" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Zona Sismica]]></text>
</staticText>
<staticText>
<reportElement uuid="b0ad576d-d724-4ac9-9140-28432b2daffa" x="0" y="179" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Range Ag]]></text>
</staticText>
<staticText>
<reportElement uuid="1f527cb1-6bb6-47e8-9796-4258b43270fd" x="280" y="119" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Comune]]></text>
</staticText>
<staticText>
<reportElement uuid="2e6e3eb2-b47c-487e-86db-afe30c54e830" x="280" y="149" width="100" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Fascia Pericolosità]]></text>
</staticText>
<textField>
<reportElement uuid="47b97d2e-d631-42ab-9bf1-7f1574066ab5" x="100" y="119" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{PROVINCIA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="d3ffffb1-f42f-4932-8516-59356b4da725" x="100" y="149" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{ZONA_SISMICA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="79264337-1aac-4933-9c52-fc8b45cff1c7" x="100" y="179" width="135" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{RANGE_AG}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="2a762a72-f74b-487f-85dc-2dbd3e0cf0d4" x="410" y="119" width="144" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{COMUNE}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="b0d032b0-3528-4e9b-96bc-2740019d72a9" x="410" y="149" width="144" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FASCIA_PERICOLOSITA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="dfe314b5-a6fa-4b01-8857-50488b188bd6" x="0" y="302" width="555" height="1" forecolor="#FF0400"/>
</line>
<line>
<reportElement uuid="cdc7e57e-2bfc-45c0-aeb7-5954c74cef61" x="0" y="362" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="7a3ec534-ed29-48ec-af13-8164ac0f5ebe" x="0" y="472" width="540" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Durante il corso dei lavori sono state presentate le seguenti varianti e/o integrazioni al progetto:]]></text>
</staticText>
<textField>
<reportElement uuid="5d6c025c-39c5-4de4-8f68-2d2a62b8304c" x="130" y="312" width="405" height="40"/>
<textElement>
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$P{DESCRIZIONE_INTERVENTO}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="b3e8acef-ea35-4f87-a55c-e8322691bded" x="0" y="372" width="80" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Committente/i]]></text>
</staticText>
<staticText>
<reportElement uuid="3e2b7313-a0a8-42d3-8c39-22088f2760f8" x="0" y="402" width="100" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Direttore Lavori]]></text>
</staticText>
<textField>
<reportElement uuid="e1d2edb3-c1ff-459f-8bc7-3a1c9f5b0e51" x="109" y="372" width="435" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{COMMITTENTE}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="137c8adf-e882-40a2-a4ab-44b83ef82d2c" x="109" y="402" width="434" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{DIRETTORE_LAVORI}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="9cbd431b-1e28-4b9c-b3d1-4c25f6dc845c" x="0" y="462" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="bf454530-8eda-4c87-b568-2f1908170bc1" x="0" y="312" width="120" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Descrizione Intervento]]></text>
</staticText>
<staticText>
<reportElement uuid="581b1ff3-289b-4b6c-a679-f64539bf7fe2" x="0" y="432" width="90" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Tipo di domanda]]></text>
</staticText>
<textField>
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" x="109" y="432" width="170" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TIPO_PRATICA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="066a1a12-045d-43a6-babe-2879a6f776c4" x="0" y="205" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="b59e6455-b164-45f1-b715-ef23c5134218" x="0" y="210" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Ubicazione]]></text>
</staticText>
<componentElement>
<reportElement uuid="0ae3e2fa-ddda-43c5-beb8-db2c373f9a61" x="0" y="231" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="1c45c39d-739b-4225-8dcc-85f8df78b7d6">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{VALUES_PRATICA_INDIRIZZO})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="10ddd0b8-3949-4134-abb0-7d5fc3f66bb4" x="20" y="0" width="519" height="14">
<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{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<componentElement>
<reportElement uuid="752afe71-e412-48c5-bfe2-b7d40324de38" x="0" y="492" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="3ce40b92-d389-4b50-a531-0e2f6e55f80b">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{INTEGRAZIONI_VARIANTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="039c4420-61d0-477b-b7dc-ec5f93259919" x="20" y="1" width="519" height="14">
<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{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="3f8049e1-7956-480f-b2ee-5e128f520745" x="1" y="4" width="554" height="27"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Relazione di Fine Lavori e Certificato di Rispondenza, ai sensi dellart. 93 del D.P.R. 380/2001 e dellart. 175 della L.R. 65/2014]]></text>
</staticText>
<textField>
<reportElement uuid="3d516193-9f28-43bf-bb1d-d928c5fee279" x="432" y="88" width="120" height="20"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_FINE_LAVORI}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="1574832d-6e09-4621-bf6c-c1e7457ba38d" x="243" y="88" width="176" height="20"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Data Effettuazione Fine Lavori]]></text>
</staticText>
</band>
<band height="391">
<componentElement>
<reportElement uuid="1749b71d-c3b9-4e19-be6e-9ae1e8085c3b" x="0" y="85" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="8da7092d-5a88-4cd3-a857-9284db853fee">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{ALLEGATI_DOMANDA})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="ef7b917c-16b3-409f-b386-6b41b3d9eea8" x="20" y="0" width="519" height="14">
<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{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement uuid="17c6d1be-1765-46b1-b3c5-42101c072b09" x="0" y="65" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Allegati]]></text>
</staticText>
<line>
<reportElement uuid="f45fc237-97f9-4824-835a-bf661ab8af8e" x="0" y="18" width="555" height="1" forecolor="#FF0400"/>
</line>
<line>
<reportElement uuid="6b4f748f-979a-4714-9c3b-395e3fb73b67" positionType="Float" x="0" y="154" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="420aa6cd-6f02-4973-930d-5e5749827606" positionType="Float" x="0" y="164" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Pagamenti Digitali]]></text>
</staticText>
<componentElement>
<reportElement uuid="10ee27ab-f13f-4866-9523-41d1db5ff40c" positionType="Float" x="0" y="184" width="555" height="66">
<property name="net.sf.jasperreports.export.headertoolbar.table.name" value="Lisr"/>
</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="8422911d-15c7-4ba3-977e-4a5a5654e3e1">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{PAGAMENTI})]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="15" width="555">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="8760a6bf-2e00-4db5-8199-e5a89c550e1e" positionType="Float" x="20" y="1" width="519" height="14">
<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{label}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<textField isStretchWithOverflow="true">
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" positionType="Float" x="20" y="291" width="534" height="20"/>
<textElement markup="html">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{DICHIARAZIONE_FL_DL}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="420aa6cd-6f02-4973-930d-5e5749827606" positionType="Float" x="1" y="261" width="540" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Dichiarazione Direttore dei lavori]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" positionType="Float" x="20" y="343" width="536" height="20"/>
<textElement markup="html">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{DICHIARAZIONE_DL}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="83bee353-e455-4f01-8e64-e28f790954a0" x="1" y="25" width="555" height="20"/>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FIRMA_DIRETTORE}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="6b4f748f-979a-4714-9c3b-395e3fb73b67" positionType="Float" x="-1" y="249" width="555" height="1" forecolor="#FF0400"/>
</line>
<staticText>
<reportElement uuid="420aa6cd-6f02-4973-930d-5e5749827606" positionType="Float" x="1" y="322" width="540" height="20">
<printWhenExpression><![CDATA[!($P{DICHIARAZIONE_DL}.isEmpty())]]></printWhenExpression>
</reportElement>
<textElement>
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Il Direttore dei lavori comunica inoltre:]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement uuid="89e43c7c-c4e3-456f-8eba-d21332502699" x="4" y="102" width="377" height="23"/>
<textElement>
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[www.regione.toscana.it
https://www327.regione.toscana.it]]></text>
</staticText>
<line>
<reportElement uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b" x="0" y="99" width="555" height="1" forecolor="#FF0400"/>
</line>
<textField isStretchWithOverflow="true">
<reportElement uuid="e4d864a0-3bc0-4571-b6b3-f5e400094675" stretchType="RelativeToBandHeight" x="254" y="110" width="301" height="14"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{PROTOCOLLO}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>
Caricamento…
Annulla
Salva