Mattia Gosetto 4 anni fa
parent
commit
cb599a6b41
  1. 1
      jasper/.settings/org.eclipse.core.resources.prefs
  2. 371
      jasper/annullamento.jrxml
  3. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/commons-csv-1.4.jar
  4. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jettison-1.3.8.jar
  5. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties
  6. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  7. 8
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java

1
jasper/.settings/org.eclipse.core.resources.prefs

@ -5,4 +5,5 @@ encoding/Modello_C.jrxml=UTF-8
encoding/Modello_Sorteggio.jrxml=UTF-8
encoding/Modello_deposito.jrxml=UTF-8
encoding/Modello_vidimazione.jrxml=UTF-8
encoding/annullamento.jrxml=UTF-8
encoding/visualizza_fascicolo.jrxml=UTF-8

371
jasper/annullamento.jrxml

@ -0,0 +1,371 @@
<?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"/>
<parameter name="LOGO_DIPARTIMENTO" 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="82" 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>
<image>
<reportElement x="434" y="5" width="79" height="25" uuid="939ee3e3-7e89-40ec-b45f-b0b6be69e8f3">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_DIPARTIMENTO}]]></imageExpression>
</image>
<staticText>
<reportElement x="364" y="30" width="191" height="24" uuid="8281e79a-79a3-4410-871f-90f706bd037d">
<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 textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento dei beni culturali
e dell'identità siciliana]]></text>
</staticText>
<textField>
<reportElement x="364" y="54" width="189" height="19" uuid="827ab0ee-ae97-421b-a383-23d7b56b2128">
<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="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Soprintendenza BB.CC.AA"+"\n"+
"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">
<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>
<staticText>
<reportElement x="3" y="102" width="301" height="23" uuid="d87bf703-95a1-4256-b16e-085024047c30">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://paesaggistica.sicilia.it]]></text>
</staticText>
</band>
</pageFooter>
</jasperReport>

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/commons-csv-1.4.jar

File binario non mostrato.

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

File binario non mostrato.

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties

@ -241,7 +241,7 @@ sanatoria-edilizia-47 = L. 47/85 - L.R. 37/85
sanatoria-edilizia-724 = L. n. 724/2004
sanatoria-edilizia-326 = L. n. 326/2003 - L.R. 15/2004 (obbligo certificazione A17)
norm-lavori-in-proprio = il committente esegue i lavori in proprio (IN ECONOMIA) - lavori per i quali non è necessaria la nomina di un'impresa (obbligo dichiarazione A29)
norm-lavori-no-direttore = lavori per i quali non è necessaria la nomia del Direttore dei Lavori (obbligo dichiarazione A30)
norm-lavori-no-direttore = lavori per i quali non è necessaria la nomina del Direttore dei Lavori (obbligo dichiarazione A30)
lavori-pubblici = Lavori pubblici o di interesse pubblico
norm-esente-bollo = esente da bollo ai sensi di <strong>D.P.R. 26/10/1972 n. 642 e s.m.i.</strong>
norm-esente-spese = esente da spese istruttoria

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.number=2707
build.date=1604072280422
build.number=2709
build.date=1604334467371
build.auto.upgrade=true
##

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

@ -425,6 +425,8 @@ public class FascicoloFePortlet extends MVCPortlet {
parameters.put(ReportConstants.LOGO_REGIONE,
getClass().getResource(ReportConstants.PATH_LOGO_REGIONE).getPath());
parameters.put(ReportConstants.LOGO_DIPARTIMENTO,
getClass().getResource(ReportConstants.PATH_LOGO_DIPARTIMENTO).getPath());
JRDataSource dataSource = new JREmptyDataSource();
@ -471,6 +473,8 @@ public class FascicoloFePortlet extends MVCPortlet {
parameters.put(ReportConstants.LOGO_REGIONE,
getClass().getResource(ReportConstants.PATH_LOGO_REGIONE).getPath());
parameters.put(ReportConstants.LOGO_DIPARTIMENTO,
getClass().getResource(ReportConstants.PATH_LOGO_DIPARTIMENTO).getPath());
JRDataSource dataSource = new JREmptyDataSource();
@ -522,7 +526,9 @@ public class FascicoloFePortlet extends MVCPortlet {
parameters.put(ReportConstants.LOGO_REGIONE,
getClass().getResource(ReportConstants.PATH_LOGO_REGIONE).getPath());
parameters.put(ReportConstants.LOGO_DIPARTIMENTO,
getClass().getResource(ReportConstants.PATH_LOGO_DIPARTIMENTO).getPath());
JRDataSource dataSource = new JREmptyDataSource();
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters,

Caricamento…
Annulla
Salva