Sfoglia il codice sorgente

Traccia storia delle richieste di parere endoprocedimentale annullate

master
Salvatore La Manna 5 anni fa
parent
commit
cb068de40e
  1. 11
      jasper/.project
  2. 19
      jasper/.settings/org.eclipse.core.resources.prefs
  3. 451
      jasper/Attestazione Vincoli.jrxml
  4. 0
      jasper/Cambio Istruttore.jrxml
  5. 0
      jasper/Mod. A - Presa in carico.jrxml
  6. 20
      jasper/Mod. A1 - Avvio procedimento.jrxml
  7. 379
      jasper/Modello_integrazione.jrxml
  8. 0
      jasper/Paesaggistica Modello Asseverazione.vm
  9. 15
      jasper/allegato_pagamento.vm
  10. 14
      jasper/annullamento_istanza.vm
  11. 384
      jasper/avvio_procedimento.jrxml
  12. 392
      jasper/conformita.jrxml
  13. 15
      jasper/delega_geologo.vm
  14. 246
      jasper/pratica.vm
  15. 397
      jasper/vidimazione_cl.jrxml
  16. 398
      jasper/vidimazione_fl.jrxml
  17. 416
      jasper/vidimazione_var_sog.jrxml
  18. 444
      jasper/visualizza_collaudo.jrxml
  19. 487
      jasper/visualizza_fine_lavori.jrxml
  20. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/axis.jar
  21. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/commons-io.jar
  22. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/commons-logging.jar
  23. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jaxrpc.jar
  24. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jstl-api.jar
  25. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jstl-impl.jar
  26. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/log4j.jar
  27. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/util-bridges.jar
  28. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/util-taglib.jar
  29. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/wsdl4j.jar
  30. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/xml-apis.jar
  31. 61
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  32. 40
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/NoSuchTempisticaException.java
  33. 85
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AvvisoClp.java
  34. 35
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AvvisoModel.java
  35. 24
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AvvisoSoap.java
  36. 64
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AvvisoWrapper.java
  37. 136
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoClp.java
  38. 43
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoModel.java
  39. 30
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoSoap.java
  40. 81
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoWrapper.java
  41. 34
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/Tempistica.java
  42. 822
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/TempisticaClp.java
  43. 372
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/TempisticaModel.java
  44. 240
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/TempisticaSoap.java
  45. 663
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/TempisticaWrapper.java
  46. 55
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AvvisoLocalService.java
  47. 821
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AvvisoLocalServiceClp.java
  48. 86
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AvvisoLocalServiceUtil.java
  49. 98
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AvvisoLocalServiceWrapper.java
  50. 67
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ClpSerializer.java
  51. 50
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  52. 583
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  53. 81
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  54. 94
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  55. 23
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalService.java
  56. 198
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceClp.java
  57. 43
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceUtil.java
  58. 48
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceWrapper.java
  59. 15
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoService.java
  60. 142
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoServiceClp.java
  61. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoServiceUtil.java
  62. 29
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoServiceWrapper.java
  63. 402
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TempisticaLocalService.java
  64. 1726
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TempisticaLocalServiceClp.java
  65. 521
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TempisticaLocalServiceUtil.java
  66. 556
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TempisticaLocalServiceWrapper.java
  67. 66
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TempisticaService.java
  68. 91
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TempisticaServiceClp.java
  69. 96
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TempisticaServiceUtil.java
  70. 84
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TempisticaServiceWrapper.java
  71. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/messaging/ClpMessageListener.java
  72. 50
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java
  73. 81
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java
  74. 336
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistence.java
  75. 441
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoUtil.java
  76. 37
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaActionableDynamicQuery.java
  77. 85
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaExportActionableDynamicQuery.java
  78. 65
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaFinder.java
  79. 139
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaFinderUtil.java
  80. 976
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaPersistence.java
  81. 1255
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaUtil.java
  82. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AvvisoUtil.java
  83. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PraticaUtil.java
  84. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/WorkflowUtil.java
  85. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties
  86. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql
  87. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql
  88. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
  89. 24
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
  90. 44
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
  91. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-spring.xml
  92. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Language.properties
  93. 29
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties
  94. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml
  95. 295
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/reports.xml
  96. 347
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/tempistica.xml
  97. 98
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/ManutenzioneDatabase.java
  98. 75
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java
  99. 21
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/AvvisoCacheModel.java
  100. 30
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/AvvisoImpl.java
  101. Some files were not shown because too many files have changed in this diff Show More

11
jasper/.project

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>jasper</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

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

@ -1,19 +0,0 @@
eclipse.preferences.version=1
encoding/Autorizzazione\ negata.jrxml=UTF-8
encoding/Autorizzazione.jrxml=UTF-8
encoding/Avviso\ di\ Non\ Competenza.jrxml=UTF-8
encoding/Modello_A.jrxml=UTF-8
encoding/Modello_A1.jrxml=UTF-8
encoding/Modello_C.jrxml=UTF-8
encoding/Modello_Sorteggio.jrxml=UTF-8
encoding/Modello_deposito.jrxml=UTF-8
encoding/Modello_integrazione.jrxml=UTF-8
encoding/Modello_vidimazione.jrxml=UTF-8
encoding/Preavviso\ di\ Parere\ Contrario.jrxml=UTF-8
encoding/VIArch\ attivazione.jrxml=UTF-8
encoding/VIArch\ conclusione.jrxml=UTF-8
encoding/accettata_integrazione.jrxml=UTF-8
encoding/annullamento.jrxml=UTF-8
encoding/attestazione.jrxml=UTF-8
encoding/cambio_istruttore.jrxml=UTF-8
encoding/visualizza_fascicolo.jrxml=UTF-8

451
jasper/Attestazione Vincoli.jrxml

@ -1,451 +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="Modello 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.x" value="0"/>
<property name="ireport.y" value="1180"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="a88aaa8a-a8ef-4d30-97a7-683ded039127">
<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="motivazioni" class="java.lang.String"/>
<parameter name="testo_del_documento" class="java.lang.String"/>
<parameter name="LOGO_DIPARTIMENTO" 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"/>
<field name="allegati" class="java.util.List"/>
<field name="tipoAutorizzazione" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="71" 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">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="360" y="49" width="189" height="19" uuid="54537172-6b28-41f4-914e-f4fab36cd4e9">
<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>
<staticText>
<reportElement x="360" y="25" width="191" height="24" uuid="1b70a5b6-ea8f-42f7-926a-6afe5791e1f8">
<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>
<image>
<reportElement x="430" y="0" width="79" height="25" uuid="847628c6-b81f-4230-a9b0-06a8d5d7442c">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_DIPARTIMENTO}]]></imageExpression>
</image>
</band>
</pageHeader>
<detail>
<band height="98">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<line>
<reportElement x="0" y="22" width="555" height="1" uuid="9a12dff4-3c78-4e66-b1b6-13836bb2182b"/>
</line>
<staticText>
<reportElement x="1" y="30" 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="59" y="84" width="130" height="14" uuid="2c29296d-097b-4faa-b4d2-7045cef06f6d">
<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="false"/>
</textElement>
<text><![CDATA[Descrizione]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="59" y="30" width="491" height="26" uuid="6cb9f8b8-8715-41ba-a4d4-6eabe2e85408">
<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{tipoAutorizzazione}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="183" y="63" width="195" height="14" uuid="8c9f5378-8e8d-4655-84b5-eccad49767d5">
<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="false"/>
</textElement>
<text><![CDATA[ATTESTAZIONE]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="190" y="84" width="360" height="14" uuid="877d100e-606b-4eea-960e-f889359577e1">
<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{lavoriDi}]]></textFieldExpression>
</textField>
</band>
<band height="49">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="59" y="0" width="130" height="14" uuid="4f9a8fdf-ffa4-40e1-8243-a75cc00f8200">
<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="false"/>
</textElement>
<text><![CDATA[Ubicazione]]></text>
</staticText>
<staticText>
<reportElement x="59" y="14" width="130" height="14" uuid="3f6043ac-d101-498c-b158-050a7240c012">
<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="false"/>
</textElement>
<text><![CDATA[Istanza n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="190" y="0" width="360" height="14" uuid="ac4495b9-44cc-4024-8f86-834e44616dff">
<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{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="190" y="14" width="360" height="14" uuid="cb433646-ff21-4c58-97d7-0cf423a63b23">
<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{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="190" y="28" width="360" height="14" uuid="352ff7ee-5039-4b04-8b75-755272041573">
<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{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="59" y="28" width="130" height="14" uuid="65bd3291-92e6-4348-9d4c-79304aa36c0e">
<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="false"/>
</textElement>
<text><![CDATA[Protocollo]]></text>
</staticText>
</band>
<band height="281">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField isBlankWhenNull="true">
<reportElement key="" x="285" y="40" width="268" height="14" uuid="b82a2f48-cea2-4ad2-8b76-c443de8a1fe1">
<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{comune}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="170" y="10" width="115" height="14" uuid="c0370045-7e64-47e0-9c03-d9259f814713">
<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="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="90" y="40" width="195" height="14" uuid="3f554448-d5dc-4075-b6ed-8e7bd10d7998">
<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[al Sindaco / S.U.E. del Comune di ]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement key="" x="285" y="10" width="268" height="14" uuid="f502c7f9-5ac4-43dd-bd91-cc46b395365e">
<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{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement key="" x="285" y="24" width="268" height="14" uuid="03b513cf-794b-4cb8-92f4-2c81909cd825">
<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{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="170" y="24" width="115" height="14" uuid="2a88b2fd-8fcf-4888-a1a1-82919fe0776a">
<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="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<staticText>
<reportElement x="3" y="70" width="548" height="90" uuid="e4fec3f3-6651-4474-af2b-5072d857d07e">
<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>
<textElement>
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<text><![CDATA[Con riferimento all’istanza in oggetto
- visto il Codice dei Beni Culturali e del Paesaggio (D.L.vo n. 42 del 22.01.2004 e ss.mm.ii.);
- visto il Piano Paesaggistico degli Ambiti 14 e 17 ricadenti nella provincia di Siracusa, approvato con D.A. n. 5040 del 20.10.2017 e pubblicato nella G.U.R.S. n. 12 del 16.03.2018;
- esaminata la documentazione allegata all’istanza;]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="170" width="548" height="99" uuid="0156b4c7-6c07-4e4a-b8f6-e8ef115f5b1e">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$P{testo_del_documento}]]></textFieldExpression>
</textField>
</band>
<band height="63">
<componentElement>
<reportElement x="3" y="33" width="548" height="30" uuid="1a359757-dc45-45cb-bdf8-215e91905c39">
<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.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" 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="c5c63b6d-60a1-4ab0-8a82-0ac6993df639">
<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="0" width="519" height="14" uuid="6689d4e1-4145-4de3-9faa-7206aab84bdd">
<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="775a480f-53f2-43e5-ac27-8384f4986c90">
<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="0c265a63-dc21-413a-8a3d-8eec3b770a17">
<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 x="3" y="0" width="548" height="26" uuid="b1072570-e715-4b6f-bda4-ae4723e17f5d">
<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"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
<paragraph firstLineIndent="14" leftIndent="0"/>
</textElement>
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Paesaggistica” della Regione Siciliana.]]></text>
</staticText>
</band>
<band height="46">
<staticText>
<reportElement x="4" y="10" width="547" height="20" uuid="a357f0d4-8217-44d7-b424-b81c836f803a">
<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>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" size="12" isBold="false"/>
</textElement>
<text><![CDATA[Il sopritendente]]></text>
</staticText>
<staticText>
<reportElement x="4" y="30" width="547" height="10" uuid="e484cc67-3e66-431a-ad1f-bc7fc56c0836">
<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>
<textElement textAlignment="Right">
<font fontName="DejaVu Sans" size="8" isBold="false"/>
</textElement>
<text><![CDATA[Firmato digitalmente]]></text>
</staticText>
</band>
<band height="215">
<staticText>
<reportElement x="4" y="10" width="547" height="190" uuid="1b23fa15-1e45-450e-9644-b07ed159627c">
<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>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false" isItalic="true"/>
</textElement>
<text><![CDATA[Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. ii. e della L.R. 7/2019, si comunica che, per il presente procedimento amministrativo,
- le Unità Operative che si occupano di provvedimenti autorizzativi in materia di Beni Culturali nelle Soprintendenze dell’Isola, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile del procedimento sotto il profilo tecnico-scientifico e di ogni atto procedimentale interlocutorio;
- responsabile dell'adozione del provvedimento finale è il Soprintendente;
- ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità è il Dirigente Generale del Dipartimento Beni Culturali e dell’Identità Siciliana.
Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio (mparlavecchio@regione.sicilia.it).
Il titolare del trattamento, definito dall’articolo 4, n. 7 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), è il Dipartimento Beni Culturali e dell’Identità Siciliana.
Responsabili del trattamento, definito all’articolo 4, n.8 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), sono le Soprintendenze di Agrigento, Caltanissetta, Catania, Enna, Messina, Palermo, Ragusa, Siracusa, Trapani, e la Soprintendenza del Mare.]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="109" splitType="Stretch">
<staticText>
<reportElement x="4" y="86" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<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>
<line>
<reportElement x="0" y="83" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
</line>
<componentElement>
<reportElement x="183" y="10" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<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="60" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

0
jasper/cambio_istruttore.jrxml → jasper/Cambio Istruttore.jrxml

0
jasper/Modello_A.jrxml → jasper/Mod. A - Presa in carico.jrxml

20
jasper/Modello_A1.jrxml → jasper/Mod. A1 - Avvio procedimento.jrxml

@ -335,7 +335,7 @@ e dell'identità siciliana]]></text>
Ufficio, che potrà essere scaricato, in formato pdf, dalla sezione "Documentazione aggiuntiva".
Il provvedimento suddetto riporterà i dati ai quali si dovrà fare riferimento per tutte le successive
comunicazioni alla Soprintendenza.
I lavori dovranno essere eseguiti in conformità al progetto a cui il provvedimento fa riferimento.
I lavoridovranno essere eseguiti in conformità al progetto a cui il provvedimento fa riferimento.
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.
In relazione al tipo di intervento, il provvedimento consisterà in un'autorizzazione o in un attestato.]]></text>
@ -359,12 +359,12 @@ In relazione al tipo di intervento, il provvedimento consisterà in un'autorizza
<textFieldExpression><![CDATA["Il Tecnico istruttore, incaricato per il controllo è " +$F{tecnico}+", che può essere contattato con email: " +$F{tecnicoEmail}]]></textFieldExpression>
</textField>
</band>
<band height="27">
<band height="35">
<printWhenExpression><![CDATA[$P{testo_del_documento}!=null&&$P{testo_del_documento}.length()>0]]></printWhenExpression>
</band>
<band height="167">
<band height="111">
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="0" width="550" height="167" uuid="799db27e-f28b-4297-a315-150271803c41">
<reportElement positionType="Float" x="0" y="0" width="550" height="111" uuid="799db27e-f28b-4297-a315-150271803c41">
<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"/>
@ -373,14 +373,10 @@ In relazione al tipo di intervento, il provvedimento consisterà in un'autorizza
<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. ii. e della L.R. 7/2019, si comunica che, per il presente procedimento amministrativo,"+
" - le Unità Operative che si occupano di provvedimenti autorizzativi in materia di Beni Culturali nelle Soprintendenze dell’Isola, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile del procedimento sotto il profilo tecnico-scientifico e di ogni atto procedimentale interlocutorio;"+
" - responsabile dell'adozione del provvedimento finale è il Soprintendente;"+
" - ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità è il Dirigente Generale del Dipartimento Beni Culturali e dell’Identità Siciliana."+
"Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio (mparlavecchio@regione.sicilia.it)."+
"\n"+
"Il titolare del trattamento, definito dall’articolo 4, n. 7 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), è il Dipartimento Beni Culturali e dell’Identità Siciliana."+
"Responsabili del trattamento, definito all’articolo 4, n.8 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), sono le Soprintendenze di Agrigento, Caltanissetta, Catania, Enna, Messina, Palermo, Ragusa, Siracusa, Trapani, e la Soprintendenza del Mare."]]></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 Paesaggistica in ogni ufficio della Soprintendenza, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile dell'istruttoria e di ogni atto procedimentale interlocutorio.\n"+
"­ Il Soprintendente di "+$F{sedeGenioCivile}+" è responsabile dell'adozione del provvedimeto finale;\n"+
"­ ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il Dirigente Generale del Dipartimento Regionale dei beni culturali e dell'identità siciliana, nella persona del Dott. Ing. Sergio Alessandro;\n\n"]]></textFieldExpression>
</textField>
</band>
</detail>

379
jasper/Modello_integrazione.jrxml

@ -1,379 +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="Modello 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.x" value="0"/>
<property name="ireport.y" value="1180"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="a88aaa8a-a8ef-4d30-97a7-683ded039127">
<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="motivazioni" class="java.lang.String"/>
<parameter name="testo_del_documento" class="java.lang.String"/>
<parameter name="LOGO_DIPARTIMENTO" 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"/>
<field name="allegati" class="java.util.List"/>
<field name="tipoAutorizzazione" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="71" 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">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="360" y="49" width="189" height="19" uuid="54537172-6b28-41f4-914e-f4fab36cd4e9">
<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>
<staticText>
<reportElement x="360" y="25" width="191" height="24" uuid="1b70a5b6-ea8f-42f7-926a-6afe5791e1f8">
<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>
<image>
<reportElement x="430" y="0" width="79" height="25" uuid="847628c6-b81f-4230-a9b0-06a8d5d7442c">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<imageExpression><![CDATA[$P{LOGO_DIPARTIMENTO}]]></imageExpression>
</image>
</band>
</pageHeader>
<detail>
<band height="98">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<line>
<reportElement x="0" y="22" width="555" height="1" uuid="9a12dff4-3c78-4e66-b1b6-13836bb2182b"/>
</line>
<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="1" y="30" width="56" height="13" uuid="fb9ba9bb-1c60-421b-8968-467e37f1b64f"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="59" y="30" width="491" height="26" uuid="b35caff9-2ceb-404d-b04a-d149b1e64763">
<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{tipoAutorizzazione}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="183" y="63" width="195" height="14" uuid="57ef5bab-9e4d-43a7-ac46-df5e71d9e83b">
<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="false"/>
</textElement>
<text><![CDATA[RICHIESTA DI INTEGRAZIONI]]></text>
</staticText>
<staticText>
<reportElement x="59" y="84" width="130" height="14" uuid="3290bed7-8581-4580-9ea4-c87cb13eeea7">
<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="false"/>
</textElement>
<text><![CDATA[Descrizione]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="190" y="84" width="360" height="14" uuid="011b6793-d08d-45fd-a975-565fc18ad5f0">
<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{lavoriDi}]]></textFieldExpression>
</textField>
</band>
<band height="49">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="59" y="0" width="130" height="14" uuid="bde321a9-85b1-401f-8d30-11e483891c7b">
<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="false"/>
</textElement>
<text><![CDATA[Ubicazione]]></text>
</staticText>
<staticText>
<reportElement x="59" y="14" width="130" height="14" uuid="860e2b2d-6fe9-4b4e-a71b-e06ed34aa591">
<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="false"/>
</textElement>
<text><![CDATA[Istanza n.]]></text>
</staticText>
<staticText>
<reportElement x="59" y="28" width="130" height="14" uuid="9da79b62-abb0-40ff-8837-c48b37109201">
<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="false"/>
</textElement>
<text><![CDATA[Protocollo]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="190" y="0" width="360" height="14" uuid="98421d54-2be4-4b05-b622-33905be5442a">
<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{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="190" y="14" width="360" height="14" uuid="7f0a27ee-f824-458d-acc3-df7f66df7cf3">
<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{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="190" y="28" width="360" height="14" uuid="1cd97723-1517-4e92-a29c-7ca1218ec38c">
<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{numeroProtocollo}]]></textFieldExpression>
</textField>
</band>
<band height="180">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<staticText>
<reportElement x="3" y="70" width="548" height="50" uuid="e4fec3f3-6651-4474-af2b-5072d857d07e">
<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>
<textElement>
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<text><![CDATA[Con riferimento all’istanza in oggetto,
esaminata la documentazione allegata,
quest’Ufficio richiede la seguente documentazione integrativa, indispensabile per la valutazione dell’istanza:]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="130" width="548" height="50" uuid="0156b4c7-6c07-4e4a-b8f6-e8ef115f5b1e">
<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[$P{testo_del_documento}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="170" y="10" width="115" height="14" uuid="c5e8dd11-e156-44fc-a2e3-40f54e862afe">
<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="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement key="" x="285" y="10" width="268" height="14" uuid="0a142b8d-8d77-4446-8295-2e5e41d1de7a">
<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{alCommittente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="170" y="24" width="115" height="14" uuid="95ca6f04-450f-448e-b8cc-15f6c2744b14">
<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="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement key="" x="285" y="24" width="268" height="14" uuid="e564fbf9-8b85-4f41-8ace-5ebbb47996a5">
<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{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="90" y="40" width="195" height="14" uuid="cd0e8394-a66e-438d-a6a5-efe529bedef6">
<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[al Sindaco / S.U.E. del Comune di ]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement key="" x="285" y="40" width="268" height="14" uuid="48b4f26a-ca49-4919-995f-72881a9614c6">
<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{comune}]]></textFieldExpression>
</textField>
</band>
<band height="60">
<staticText>
<reportElement x="3" y="10" width="548" height="40" uuid="9a916a19-56f1-46d3-bf11-cc30ed8e1037">
<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>
<textElement>
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<text><![CDATA[Quanto sopra richiesto dovrà pervenire alla Scrivente entro il termine di 30 gg. dalla ricezione della presente; trascorso detto termine temporale si procederà alla conclusione del procedimento, ai sensi dell’art. 2 della L.R. 21 maggio 2019, n. 7, adottando provvedimento di diniego.]]></text>
</staticText>
</band>
<band height="215">
<staticText>
<reportElement x="4" y="10" width="547" height="190" uuid="1b23fa15-1e45-450e-9644-b07ed159627c">
<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>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false" isItalic="true"/>
</textElement>
<text><![CDATA[Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. ii. e della L.R. 7/2019, si comunica che, per il presente procedimento amministrativo,
- le Unità Operative che si occupano di provvedimenti autorizzativi in materia di Beni Culturali nelle Soprintendenze dell’Isola, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile del procedimento sotto il profilo tecnico-scientifico e di ogni atto procedimentale interlocutorio;
- responsabile dell'adozione del provvedimento finale è il Soprintendente;
- ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità è il Dirigente Generale del Dipartimento Beni Culturali e dell’Identità Siciliana.
Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio (mparlavecchio@regione.sicilia.it).
Il titolare del trattamento, definito dall’articolo 4, n. 7 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), è il Dipartimento Beni Culturali e dell’Identità Siciliana.
Responsabili del trattamento, definito all’articolo 4, n.8 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), sono le Soprintendenze di Agrigento, Caltanissetta, Catania, Enna, Messina, Palermo, Ragusa, Siracusa, Trapani, e la Soprintendenza del Mare.]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="109" splitType="Stretch">
<staticText>
<reportElement x="4" y="86" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699">
<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>
<line>
<reportElement x="0" y="83" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
</line>
<componentElement>
<reportElement x="183" y="10" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<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="60" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>

0
jasper/Modello Asseverazione.vm → jasper/Paesaggistica Modello Asseverazione.vm

15
jasper/allegato_pagamento.vm

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

14
jasper/annullamento_istanza.vm

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

384
jasper/avvio_procedimento.jrxml

@ -0,0 +1,384 @@
<?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>

392
jasper/conformita.jrxml

@ -0,0 +1,392 @@
<?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
jasper/delega_geologo.vm

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

246
jasper/pratica.vm

@ -0,0 +1,246 @@
<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>

397
jasper/vidimazione_cl.jrxml

@ -0,0 +1,397 @@
<?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
jasper/vidimazione_fl.jrxml

@ -0,0 +1,398 @@
<?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
jasper/vidimazione_var_sog.jrxml

@ -0,0 +1,416 @@
<?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
jasper/visualizza_collaudo.jrxml

@ -0,0 +1,444 @@
<?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>

487
jasper/visualizza_fine_lavori.jrxml

@ -0,0 +1,487 @@
<?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>

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

@ -109,23 +109,28 @@
<column name="dtCompilazione" type="Date" />
<column name="status" type="int" />
<column name="noteRichiedente" type="String" />
<column name="dtAnnullamento" type="Date" />
<column name="userIdAnnullamento" type="long" />
<column name="noteAnnullamento" type="String" />
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<order>
<order-column name="createDate" order-by="asc" />
</order>
<finder return-type="Collection" name="IntPraticaId_Parere">
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
<finder-column name="parere" />
</finder>
<finder return-type="Collection" name="IntPraticaId_GeologoId">
<finder return-type="Collection" name="IntPraticaId_DtCompilazione_DtAnnullamento">
<finder-column name="intPraticaId" />
<finder-column name="geologoUserId" />
<finder-column name="dtCompilazione" />
<finder-column name="dtAnnullamento" />
</finder>
<finder return-type="Collection" name="GeologoId">
<finder return-type="Collection" name="GeologoUserId_DtCompilazione_DtAnnullamento">
<finder-column name="geologoUserId" />
<finder-column name="dtCompilazione" />
<finder-column name="dtAnnullamento" />
</finder>
<finder return-type="Collection" name="C_GroupId">
@ -153,40 +158,6 @@
</finder>
</entity>
<entity name="Tempistica" local-service="true" remote-service="true" uuid="true">
<column name="tempisticaId" type="long" primary="true" />
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="tipo" type="String" />
<column name="start" type="long" />
<column name="stop" type="long" />
<column name="wait" type="long" />
<column name="completo" type="boolean" />
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipo">
<finder-column name="intPraticaId" />
<finder-column name="tipo" />
</finder>
<finder return-type="Collection" name="C_IntPratica_Tipo_Completo">
<finder-column name="companyId" />
<finder-column name="intPraticaId" />
<finder-column name="tipo" />
<finder-column name="completo" />
</finder>
</entity>
<entity name="DocPratica" local-service="true" remote-service="true" uuid="true">
<column name="docPraticaId" type="long" primary="true" />
<column name="companyId" type="long" />
@ -723,8 +694,6 @@
<column name="errore" type="boolean" />
<column name="signal" type="boolean" />
<column name="dtInvioSignal" type="Date" />
<column name="tempistica" type="boolean" />
<column name="dtTempistica" type="Date" />
<column name="jsonParameters" type="String" />
<column name="protocollo" type="String" />
<column name="dtProtocollo" type="Date" />
@ -812,8 +781,8 @@
<column name="tipoPratica" type="String" />
<column name="territorioId" type="long" />
<column name="tipoProcedura" type="String" />
<column name="latitudine" type="double" convert-null="false"/>
<column name="longitudine" type="double" convert-null="false"/>
<column name="latitudine" type="double" convert-null="false" />
<column name="longitudine" type="double" convert-null="false" />
<!-- Annullamento fields -->
<column name="dtAnnullamento" type="Date" />

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

@ -1,40 +0,0 @@
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo;
import com.liferay.portal.NoSuchModelException;
/**
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
*/
public class NoSuchTempisticaException extends NoSuchModelException {
public NoSuchTempisticaException() {
super();
}
public NoSuchTempisticaException(String msg) {
super(msg);
}
public NoSuchTempisticaException(String msg, Throwable cause) {
super(msg, cause);
}
public NoSuchTempisticaException(Throwable cause) {
super(cause);
}
}

85
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AvvisoClp.java

@ -103,8 +103,6 @@ public class AvvisoClp extends BaseModelImpl<Avviso> implements Avviso {
attributes.put("errore", getErrore());
attributes.put("signal", getSignal());
attributes.put("dtInvioSignal", getDtInvioSignal());
attributes.put("tempistica", getTempistica());
attributes.put("dtTempistica", getDtTempistica());
attributes.put("jsonParameters", getJsonParameters());
attributes.put("protocollo", getProtocollo());
attributes.put("dtProtocollo", getDtProtocollo());
@ -283,18 +281,6 @@ public class AvvisoClp extends BaseModelImpl<Avviso> implements Avviso {
setDtInvioSignal(dtInvioSignal);
}
Boolean tempistica = (Boolean)attributes.get("tempistica");
if (tempistica != null) {
setTempistica(tempistica);
}
Date dtTempistica = (Date)attributes.get("dtTempistica");
if (dtTempistica != null) {
setDtTempistica(dtTempistica);
}
String jsonParameters = (String)attributes.get("jsonParameters");
if (jsonParameters != null) {
@ -1003,57 +989,6 @@ public class AvvisoClp extends BaseModelImpl<Avviso> implements Avviso {
}
}
@Override
public boolean getTempistica() {
return _tempistica;
}
@Override
public boolean isTempistica() {
return _tempistica;
}
@Override
public void setTempistica(boolean tempistica) {
_tempistica = tempistica;
if (_avvisoRemoteModel != null) {
try {
Class<?> clazz = _avvisoRemoteModel.getClass();
Method method = clazz.getMethod("setTempistica", boolean.class);
method.invoke(_avvisoRemoteModel, tempistica);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getDtTempistica() {
return _dtTempistica;
}
@Override
public void setDtTempistica(Date dtTempistica) {
_dtTempistica = dtTempistica;
if (_avvisoRemoteModel != null) {
try {
Class<?> clazz = _avvisoRemoteModel.getClass();
Method method = clazz.getMethod("setDtTempistica", Date.class);
method.invoke(_avvisoRemoteModel, dtTempistica);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getJsonParameters() {
return _jsonParameters;
@ -1565,8 +1500,6 @@ public class AvvisoClp extends BaseModelImpl<Avviso> implements Avviso {
clone.setErrore(getErrore());
clone.setSignal(getSignal());
clone.setDtInvioSignal(getDtInvioSignal());
clone.setTempistica(getTempistica());
clone.setDtTempistica(getDtTempistica());
clone.setJsonParameters(getJsonParameters());
clone.setProtocollo(getProtocollo());
clone.setDtProtocollo(getDtProtocollo());
@ -1631,7 +1564,7 @@ public class AvvisoClp extends BaseModelImpl<Avviso> implements Avviso {
@Override
public String toString() {
StringBundler sb = new StringBundler(81);
StringBundler sb = new StringBundler(77);
sb.append("{uuid=");
sb.append(getUuid());
@ -1685,10 +1618,6 @@ public class AvvisoClp extends BaseModelImpl<Avviso> implements Avviso {
sb.append(getSignal());
sb.append(", dtInvioSignal=");
sb.append(getDtInvioSignal());
sb.append(", tempistica=");
sb.append(getTempistica());
sb.append(", dtTempistica=");
sb.append(getDtTempistica());
sb.append(", jsonParameters=");
sb.append(getJsonParameters());
sb.append(", protocollo=");
@ -1720,7 +1649,7 @@ public class AvvisoClp extends BaseModelImpl<Avviso> implements Avviso {
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(124);
StringBundler sb = new StringBundler(118);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.Avviso");
@ -1830,14 +1759,6 @@ public class AvvisoClp extends BaseModelImpl<Avviso> implements Avviso {
"<column><column-name>dtInvioSignal</column-name><column-value><![CDATA[");
sb.append(getDtInvioSignal());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>tempistica</column-name><column-value><![CDATA[");
sb.append(getTempistica());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>dtTempistica</column-name><column-value><![CDATA[");
sb.append(getDtTempistica());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>jsonParameters</column-name><column-value><![CDATA[");
sb.append(getJsonParameters());
@ -1919,8 +1840,6 @@ public class AvvisoClp extends BaseModelImpl<Avviso> implements Avviso {
private boolean _errore;
private boolean _signal;
private Date _dtInvioSignal;
private boolean _tempistica;
private Date _dtTempistica;
private String _jsonParameters;
private String _protocollo;
private Date _dtProtocollo;

35
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AvvisoModel.java

@ -493,41 +493,6 @@ public interface AvvisoModel extends BaseModel<Avviso>, StagedGroupedModel {
*/
public void setDtInvioSignal(Date dtInvioSignal);
/**
* Returns the tempistica of this avviso.
*
* @return the tempistica of this avviso
*/
public boolean getTempistica();
/**
* Returns <code>true</code> if this avviso is tempistica.
*
* @return <code>true</code> if this avviso is tempistica; <code>false</code> otherwise
*/
public boolean isTempistica();
/**
* Sets whether this avviso is tempistica.
*
* @param tempistica the tempistica of this avviso
*/
public void setTempistica(boolean tempistica);
/**
* Returns the dt tempistica of this avviso.
*
* @return the dt tempistica of this avviso
*/
public Date getDtTempistica();
/**
* Sets the dt tempistica of this avviso.
*
* @param dtTempistica the dt tempistica of this avviso
*/
public void setDtTempistica(Date dtTempistica);
/**
* Returns the json parameters of this avviso.
*

24
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AvvisoSoap.java

@ -57,8 +57,6 @@ public class AvvisoSoap implements Serializable {
soapModel.setErrore(model.getErrore());
soapModel.setSignal(model.getSignal());
soapModel.setDtInvioSignal(model.getDtInvioSignal());
soapModel.setTempistica(model.getTempistica());
soapModel.setDtTempistica(model.getDtTempistica());
soapModel.setJsonParameters(model.getJsonParameters());
soapModel.setProtocollo(model.getProtocollo());
soapModel.setDtProtocollo(model.getDtProtocollo());
@ -348,26 +346,6 @@ public class AvvisoSoap implements Serializable {
_dtInvioSignal = dtInvioSignal;
}
public boolean getTempistica() {
return _tempistica;
}
public boolean isTempistica() {
return _tempistica;
}
public void setTempistica(boolean tempistica) {
_tempistica = tempistica;
}
public Date getDtTempistica() {
return _dtTempistica;
}
public void setDtTempistica(Date dtTempistica) {
_dtTempistica = dtTempistica;
}
public String getJsonParameters() {
return _jsonParameters;
}
@ -498,8 +476,6 @@ public class AvvisoSoap implements Serializable {
private boolean _errore;
private boolean _signal;
private Date _dtInvioSignal;
private boolean _tempistica;
private Date _dtTempistica;
private String _jsonParameters;
private String _protocollo;
private Date _dtProtocollo;

64
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AvvisoWrapper.java

@ -77,8 +77,6 @@ public class AvvisoWrapper implements Avviso, ModelWrapper<Avviso> {
attributes.put("errore", getErrore());
attributes.put("signal", getSignal());
attributes.put("dtInvioSignal", getDtInvioSignal());
attributes.put("tempistica", getTempistica());
attributes.put("dtTempistica", getDtTempistica());
attributes.put("jsonParameters", getJsonParameters());
attributes.put("protocollo", getProtocollo());
attributes.put("dtProtocollo", getDtProtocollo());
@ -257,18 +255,6 @@ public class AvvisoWrapper implements Avviso, ModelWrapper<Avviso> {
setDtInvioSignal(dtInvioSignal);
}
Boolean tempistica = (Boolean)attributes.get("tempistica");
if (tempistica != null) {
setTempistica(tempistica);
}
Date dtTempistica = (Date)attributes.get("dtTempistica");
if (dtTempistica != null) {
setDtTempistica(dtTempistica);
}
String jsonParameters = (String)attributes.get("jsonParameters");
if (jsonParameters != null) {
@ -946,56 +932,6 @@ public class AvvisoWrapper implements Avviso, ModelWrapper<Avviso> {
_avviso.setDtInvioSignal(dtInvioSignal);
}
/**
* Returns the tempistica of this avviso.
*
* @return the tempistica of this avviso
*/
@Override
public boolean getTempistica() {
return _avviso.getTempistica();
}
/**
* Returns <code>true</code> if this avviso is tempistica.
*
* @return <code>true</code> if this avviso is tempistica; <code>false</code> otherwise
*/
@Override
public boolean isTempistica() {
return _avviso.isTempistica();
}
/**
* Sets whether this avviso is tempistica.
*
* @param tempistica the tempistica of this avviso
*/
@Override
public void setTempistica(boolean tempistica) {
_avviso.setTempistica(tempistica);
}
/**
* Returns the dt tempistica of this avviso.
*
* @return the dt tempistica of this avviso
*/
@Override
public java.util.Date getDtTempistica() {
return _avviso.getDtTempistica();
}
/**
* Sets the dt tempistica of this avviso.
*
* @param dtTempistica the dt tempistica of this avviso
*/
@Override
public void setDtTempistica(java.util.Date dtTempistica) {
_avviso.setDtTempistica(dtTempistica);
}
/**
* Returns the json parameters of this avviso.
*

136
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoClp.java

@ -17,6 +17,7 @@ package it.tref.liferay.portos.bo.model;
import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.lar.StagedModelType;
import com.liferay.portal.kernel.util.DateUtil;
import com.liferay.portal.kernel.util.ProxyUtil;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.model.BaseModel;
@ -93,6 +94,9 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
attributes.put("dtCompilazione", getDtCompilazione());
attributes.put("status", getStatus());
attributes.put("noteRichiedente", getNoteRichiedente());
attributes.put("dtAnnullamento", getDtAnnullamento());
attributes.put("userIdAnnullamento", getUserIdAnnullamento());
attributes.put("noteAnnullamento", getNoteAnnullamento());
return attributes;
}
@ -200,6 +204,24 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
if (noteRichiedente != null) {
setNoteRichiedente(noteRichiedente);
}
Date dtAnnullamento = (Date)attributes.get("dtAnnullamento");
if (dtAnnullamento != null) {
setDtAnnullamento(dtAnnullamento);
}
Long userIdAnnullamento = (Long)attributes.get("userIdAnnullamento");
if (userIdAnnullamento != null) {
setUserIdAnnullamento(userIdAnnullamento);
}
String noteAnnullamento = (String)attributes.get("noteAnnullamento");
if (noteAnnullamento != null) {
setNoteAnnullamento(noteAnnullamento);
}
}
@Override
@ -615,6 +637,77 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
}
}
@Override
public Date getDtAnnullamento() {
return _dtAnnullamento;
}
@Override
public void setDtAnnullamento(Date dtAnnullamento) {
_dtAnnullamento = dtAnnullamento;
if (_parereGeologoRemoteModel != null) {
try {
Class<?> clazz = _parereGeologoRemoteModel.getClass();
Method method = clazz.getMethod("setDtAnnullamento", Date.class);
method.invoke(_parereGeologoRemoteModel, dtAnnullamento);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getUserIdAnnullamento() {
return _userIdAnnullamento;
}
@Override
public void setUserIdAnnullamento(long userIdAnnullamento) {
_userIdAnnullamento = userIdAnnullamento;
if (_parereGeologoRemoteModel != null) {
try {
Class<?> clazz = _parereGeologoRemoteModel.getClass();
Method method = clazz.getMethod("setUserIdAnnullamento",
long.class);
method.invoke(_parereGeologoRemoteModel, userIdAnnullamento);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getNoteAnnullamento() {
return _noteAnnullamento;
}
@Override
public void setNoteAnnullamento(String noteAnnullamento) {
_noteAnnullamento = noteAnnullamento;
if (_parereGeologoRemoteModel != null) {
try {
Class<?> clazz = _parereGeologoRemoteModel.getClass();
Method method = clazz.getMethod("setNoteAnnullamento",
String.class);
method.invoke(_parereGeologoRemoteModel, noteAnnullamento);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(
@ -708,24 +801,26 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
clone.setDtCompilazione(getDtCompilazione());
clone.setStatus(getStatus());
clone.setNoteRichiedente(getNoteRichiedente());
clone.setDtAnnullamento(getDtAnnullamento());
clone.setUserIdAnnullamento(getUserIdAnnullamento());
clone.setNoteAnnullamento(getNoteAnnullamento());
return clone;
}
@Override
public int compareTo(ParereGeologo parereGeologo) {
long primaryKey = parereGeologo.getPrimaryKey();
int value = 0;
if (getPrimaryKey() < primaryKey) {
return -1;
}
else if (getPrimaryKey() > primaryKey) {
return 1;
value = DateUtil.compareTo(getCreateDate(),
parereGeologo.getCreateDate());
if (value != 0) {
return value;
}
else {
return 0;
}
}
@Override
public boolean equals(Object obj) {
@ -760,7 +855,7 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
@Override
public String toString() {
StringBundler sb = new StringBundler(35);
StringBundler sb = new StringBundler(41);
sb.append("{uuid=");
sb.append(getUuid());
@ -796,6 +891,12 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
sb.append(getStatus());
sb.append(", noteRichiedente=");
sb.append(getNoteRichiedente());
sb.append(", dtAnnullamento=");
sb.append(getDtAnnullamento());
sb.append(", userIdAnnullamento=");
sb.append(getUserIdAnnullamento());
sb.append(", noteAnnullamento=");
sb.append(getNoteAnnullamento());
sb.append("}");
return sb.toString();
@ -803,7 +904,7 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(55);
StringBundler sb = new StringBundler(64);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.ParereGeologo");
@ -877,6 +978,18 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
"<column><column-name>noteRichiedente</column-name><column-value><![CDATA[");
sb.append(getNoteRichiedente());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>dtAnnullamento</column-name><column-value><![CDATA[");
sb.append(getDtAnnullamento());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>userIdAnnullamento</column-name><column-value><![CDATA[");
sb.append(getUserIdAnnullamento());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>noteAnnullamento</column-name><column-value><![CDATA[");
sb.append(getNoteAnnullamento());
sb.append("]]></column-value></column>");
sb.append("</model>");
@ -902,6 +1015,9 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
private Date _dtCompilazione;
private int _status;
private String _noteRichiedente;
private Date _dtAnnullamento;
private long _userIdAnnullamento;
private String _noteAnnullamento;
private BaseModel<?> _parereGeologoRemoteModel;
private Class<?> _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class;
}

43
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoModel.java

@ -350,6 +350,49 @@ public interface ParereGeologoModel extends BaseModel<ParereGeologo>,
*/
public void setNoteRichiedente(String noteRichiedente);
/**
* Returns the dt annullamento of this parere geologo.
*
* @return the dt annullamento of this parere geologo
*/
public Date getDtAnnullamento();
/**
* Sets the dt annullamento of this parere geologo.
*
* @param dtAnnullamento the dt annullamento of this parere geologo
*/
public void setDtAnnullamento(Date dtAnnullamento);
/**
* Returns the user ID annullamento of this parere geologo.
*
* @return the user ID annullamento of this parere geologo
*/
public long getUserIdAnnullamento();
/**
* Sets the user ID annullamento of this parere geologo.
*
* @param userIdAnnullamento the user ID annullamento of this parere geologo
*/
public void setUserIdAnnullamento(long userIdAnnullamento);
/**
* Returns the note annullamento of this parere geologo.
*
* @return the note annullamento of this parere geologo
*/
@AutoEscape
public String getNoteAnnullamento();
/**
* Sets the note annullamento of this parere geologo.
*
* @param noteAnnullamento the note annullamento of this parere geologo
*/
public void setNoteAnnullamento(String noteAnnullamento);
@Override
public boolean isNew();

30
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoSoap.java

@ -48,6 +48,9 @@ public class ParereGeologoSoap implements Serializable {
soapModel.setDtCompilazione(model.getDtCompilazione());
soapModel.setStatus(model.getStatus());
soapModel.setNoteRichiedente(model.getNoteRichiedente());
soapModel.setDtAnnullamento(model.getDtAnnullamento());
soapModel.setUserIdAnnullamento(model.getUserIdAnnullamento());
soapModel.setNoteAnnullamento(model.getNoteAnnullamento());
return soapModel;
}
@ -236,6 +239,30 @@ public class ParereGeologoSoap implements Serializable {
_noteRichiedente = noteRichiedente;
}
public Date getDtAnnullamento() {
return _dtAnnullamento;
}
public void setDtAnnullamento(Date dtAnnullamento) {
_dtAnnullamento = dtAnnullamento;
}
public long getUserIdAnnullamento() {
return _userIdAnnullamento;
}
public void setUserIdAnnullamento(long userIdAnnullamento) {
_userIdAnnullamento = userIdAnnullamento;
}
public String getNoteAnnullamento() {
return _noteAnnullamento;
}
public void setNoteAnnullamento(String noteAnnullamento) {
_noteAnnullamento = noteAnnullamento;
}
private String _uuid;
private long _parereGeologoId;
private long _companyId;
@ -253,4 +280,7 @@ public class ParereGeologoSoap implements Serializable {
private Date _dtCompilazione;
private int _status;
private String _noteRichiedente;
private Date _dtAnnullamento;
private long _userIdAnnullamento;
private String _noteAnnullamento;
}

81
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoWrapper.java

@ -68,6 +68,9 @@ public class ParereGeologoWrapper implements ParereGeologo,
attributes.put("dtCompilazione", getDtCompilazione());
attributes.put("status", getStatus());
attributes.put("noteRichiedente", getNoteRichiedente());
attributes.put("dtAnnullamento", getDtAnnullamento());
attributes.put("userIdAnnullamento", getUserIdAnnullamento());
attributes.put("noteAnnullamento", getNoteAnnullamento());
return attributes;
}
@ -175,6 +178,24 @@ public class ParereGeologoWrapper implements ParereGeologo,
if (noteRichiedente != null) {
setNoteRichiedente(noteRichiedente);
}
Date dtAnnullamento = (Date)attributes.get("dtAnnullamento");
if (dtAnnullamento != null) {
setDtAnnullamento(dtAnnullamento);
}
Long userIdAnnullamento = (Long)attributes.get("userIdAnnullamento");
if (userIdAnnullamento != null) {
setUserIdAnnullamento(userIdAnnullamento);
}
String noteAnnullamento = (String)attributes.get("noteAnnullamento");
if (noteAnnullamento != null) {
setNoteAnnullamento(noteAnnullamento);
}
}
/**
@ -581,6 +602,66 @@ public class ParereGeologoWrapper implements ParereGeologo,
_parereGeologo.setNoteRichiedente(noteRichiedente);
}
/**
* Returns the dt annullamento of this parere geologo.
*
* @return the dt annullamento of this parere geologo
*/
@Override
public java.util.Date getDtAnnullamento() {
return _parereGeologo.getDtAnnullamento();
}
/**
* Sets the dt annullamento of this parere geologo.
*
* @param dtAnnullamento the dt annullamento of this parere geologo
*/
@Override
public void setDtAnnullamento(java.util.Date dtAnnullamento) {
_parereGeologo.setDtAnnullamento(dtAnnullamento);
}
/**
* Returns the user ID annullamento of this parere geologo.
*
* @return the user ID annullamento of this parere geologo
*/
@Override
public long getUserIdAnnullamento() {
return _parereGeologo.getUserIdAnnullamento();
}
/**
* Sets the user ID annullamento of this parere geologo.
*
* @param userIdAnnullamento the user ID annullamento of this parere geologo
*/
@Override
public void setUserIdAnnullamento(long userIdAnnullamento) {
_parereGeologo.setUserIdAnnullamento(userIdAnnullamento);
}
/**
* Returns the note annullamento of this parere geologo.
*
* @return the note annullamento of this parere geologo
*/
@Override
public java.lang.String getNoteAnnullamento() {
return _parereGeologo.getNoteAnnullamento();
}
/**
* Sets the note annullamento of this parere geologo.
*
* @param noteAnnullamento the note annullamento of this parere geologo
*/
@Override
public void setNoteAnnullamento(java.lang.String noteAnnullamento) {
_parereGeologo.setNoteAnnullamento(noteAnnullamento);
}
@Override
public boolean isNew() {
return _parereGeologo.isNew();

34
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/Tempistica.java

@ -1,34 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.model;
import com.liferay.portal.model.PersistedModel;
/**
* The extended model interface for the Tempistica service. Represents a row in the &quot;portos_bo_Tempistica&quot; database table, with each column mapped to a property of this class.
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see TempisticaModel
* @see it.tref.liferay.portos.bo.model.impl.TempisticaImpl
* @see it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl
* @generated
*/
public interface Tempistica extends TempisticaModel, PersistedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.bo.model.impl.TempisticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
}

822
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/TempisticaClp.java

@ -1,822 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.model;
import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.lar.StagedModelType;
import com.liferay.portal.kernel.util.ProxyUtil;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.impl.BaseModelImpl;
import com.liferay.portal.util.PortalUtil;
import it.tref.liferay.portos.bo.service.ClpSerializer;
import it.tref.liferay.portos.bo.service.TempisticaLocalServiceUtil;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
*/
public class TempisticaClp extends BaseModelImpl<Tempistica>
implements Tempistica {
public TempisticaClp() {
}
@Override
public Class<?> getModelClass() {
return Tempistica.class;
}
@Override
public String getModelClassName() {
return Tempistica.class.getName();
}
@Override
public long getPrimaryKey() {
return _tempisticaId;
}
@Override
public void setPrimaryKey(long primaryKey) {
setTempisticaId(primaryKey);
}
@Override
public Serializable getPrimaryKeyObj() {
return _tempisticaId;
}
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj) {
setPrimaryKey(((Long)primaryKeyObj).longValue());
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("uuid", getUuid());
attributes.put("tempisticaId", getTempisticaId());
attributes.put("companyId", getCompanyId());
attributes.put("userId", getUserId());
attributes.put("userName", getUserName());
attributes.put("createDate", getCreateDate());
attributes.put("modifiedDate", getModifiedDate());
attributes.put("groupId", getGroupId());
attributes.put("intPraticaId", getIntPraticaId());
attributes.put("dettPraticaId", getDettPraticaId());
attributes.put("tipo", getTipo());
attributes.put("start", getStart());
attributes.put("stop", getStop());
attributes.put("wait", getWait());
attributes.put("completo", getCompleto());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
String uuid = (String)attributes.get("uuid");
if (uuid != null) {
setUuid(uuid);
}
Long tempisticaId = (Long)attributes.get("tempisticaId");
if (tempisticaId != null) {
setTempisticaId(tempisticaId);
}
Long companyId = (Long)attributes.get("companyId");
if (companyId != null) {
setCompanyId(companyId);
}
Long userId = (Long)attributes.get("userId");
if (userId != null) {
setUserId(userId);
}
String userName = (String)attributes.get("userName");
if (userName != null) {
setUserName(userName);
}
Date createDate = (Date)attributes.get("createDate");
if (createDate != null) {
setCreateDate(createDate);
}
Date modifiedDate = (Date)attributes.get("modifiedDate");
if (modifiedDate != null) {
setModifiedDate(modifiedDate);
}
Long groupId = (Long)attributes.get("groupId");
if (groupId != null) {
setGroupId(groupId);
}
Long intPraticaId = (Long)attributes.get("intPraticaId");
if (intPraticaId != null) {
setIntPraticaId(intPraticaId);
}
Long dettPraticaId = (Long)attributes.get("dettPraticaId");
if (dettPraticaId != null) {
setDettPraticaId(dettPraticaId);
}
String tipo = (String)attributes.get("tipo");
if (tipo != null) {
setTipo(tipo);
}
Long start = (Long)attributes.get("start");
if (start != null) {
setStart(start);
}
Long stop = (Long)attributes.get("stop");
if (stop != null) {
setStop(stop);
}
Long wait = (Long)attributes.get("wait");
if (wait != null) {
setWait(wait);
}
Boolean completo = (Boolean)attributes.get("completo");
if (completo != null) {
setCompleto(completo);
}
}
@Override
public String getUuid() {
return _uuid;
}
@Override
public void setUuid(String uuid) {
_uuid = uuid;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setUuid", String.class);
method.invoke(_tempisticaRemoteModel, uuid);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getTempisticaId() {
return _tempisticaId;
}
@Override
public void setTempisticaId(long tempisticaId) {
_tempisticaId = tempisticaId;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setTempisticaId", long.class);
method.invoke(_tempisticaRemoteModel, tempisticaId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getCompanyId() {
return _companyId;
}
@Override
public void setCompanyId(long companyId) {
_companyId = companyId;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setCompanyId", long.class);
method.invoke(_tempisticaRemoteModel, companyId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getUserId() {
return _userId;
}
@Override
public void setUserId(long userId) {
_userId = userId;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setUserId", long.class);
method.invoke(_tempisticaRemoteModel, userId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getUserUuid() throws SystemException {
return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
}
@Override
public void setUserUuid(String userUuid) {
_userUuid = userUuid;
}
@Override
public String getUserName() {
return _userName;
}
@Override
public void setUserName(String userName) {
_userName = userName;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setUserName", String.class);
method.invoke(_tempisticaRemoteModel, userName);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getCreateDate() {
return _createDate;
}
@Override
public void setCreateDate(Date createDate) {
_createDate = createDate;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setCreateDate", Date.class);
method.invoke(_tempisticaRemoteModel, createDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getModifiedDate() {
return _modifiedDate;
}
@Override
public void setModifiedDate(Date modifiedDate) {
_modifiedDate = modifiedDate;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setModifiedDate", Date.class);
method.invoke(_tempisticaRemoteModel, modifiedDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getGroupId() {
return _groupId;
}
@Override
public void setGroupId(long groupId) {
_groupId = groupId;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setGroupId", long.class);
method.invoke(_tempisticaRemoteModel, groupId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getIntPraticaId() {
return _intPraticaId;
}
@Override
public void setIntPraticaId(long intPraticaId) {
_intPraticaId = intPraticaId;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setIntPraticaId", long.class);
method.invoke(_tempisticaRemoteModel, intPraticaId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getDettPraticaId() {
return _dettPraticaId;
}
@Override
public void setDettPraticaId(long dettPraticaId) {
_dettPraticaId = dettPraticaId;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setDettPraticaId", long.class);
method.invoke(_tempisticaRemoteModel, dettPraticaId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getTipo() {
return _tipo;
}
@Override
public void setTipo(String tipo) {
_tipo = tipo;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setTipo", String.class);
method.invoke(_tempisticaRemoteModel, tipo);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getStart() {
return _start;
}
@Override
public void setStart(long start) {
_start = start;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setStart", long.class);
method.invoke(_tempisticaRemoteModel, start);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getStop() {
return _stop;
}
@Override
public void setStop(long stop) {
_stop = stop;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setStop", long.class);
method.invoke(_tempisticaRemoteModel, stop);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getWait() {
return _wait;
}
@Override
public void setWait(long wait) {
_wait = wait;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setWait", long.class);
method.invoke(_tempisticaRemoteModel, wait);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public boolean getCompleto() {
return _completo;
}
@Override
public boolean isCompleto() {
return _completo;
}
@Override
public void setCompleto(boolean completo) {
_completo = completo;
if (_tempisticaRemoteModel != null) {
try {
Class<?> clazz = _tempisticaRemoteModel.getClass();
Method method = clazz.getMethod("setCompleto", boolean.class);
method.invoke(_tempisticaRemoteModel, completo);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(
Tempistica.class.getName()));
}
public BaseModel<?> getTempisticaRemoteModel() {
return _tempisticaRemoteModel;
}
public void setTempisticaRemoteModel(BaseModel<?> tempisticaRemoteModel) {
_tempisticaRemoteModel = tempisticaRemoteModel;
}
public Object invokeOnRemoteModel(String methodName,
Class<?>[] parameterTypes, Object[] parameterValues)
throws Exception {
Object[] remoteParameterValues = new Object[parameterValues.length];
for (int i = 0; i < parameterValues.length; i++) {
if (parameterValues[i] != null) {
remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]);
}
}
Class<?> remoteModelClass = _tempisticaRemoteModel.getClass();
ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader();
Class<?>[] remoteParameterTypes = new Class[parameterTypes.length];
for (int i = 0; i < parameterTypes.length; i++) {
if (parameterTypes[i].isPrimitive()) {
remoteParameterTypes[i] = parameterTypes[i];
}
else {
String parameterTypeName = parameterTypes[i].getName();
remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName);
}
}
Method method = remoteModelClass.getMethod(methodName,
remoteParameterTypes);
Object returnValue = method.invoke(_tempisticaRemoteModel,
remoteParameterValues);
if (returnValue != null) {
returnValue = ClpSerializer.translateOutput(returnValue);
}
return returnValue;
}
@Override
public void persist() throws SystemException {
if (this.isNew()) {
TempisticaLocalServiceUtil.addTempistica(this);
}
else {
TempisticaLocalServiceUtil.updateTempistica(this);
}
}
@Override
public Tempistica toEscapedModel() {
return (Tempistica)ProxyUtil.newProxyInstance(Tempistica.class.getClassLoader(),
new Class[] { Tempistica.class }, new AutoEscapeBeanHandler(this));
}
@Override
public Object clone() {
TempisticaClp clone = new TempisticaClp();
clone.setUuid(getUuid());
clone.setTempisticaId(getTempisticaId());
clone.setCompanyId(getCompanyId());
clone.setUserId(getUserId());
clone.setUserName(getUserName());
clone.setCreateDate(getCreateDate());
clone.setModifiedDate(getModifiedDate());
clone.setGroupId(getGroupId());
clone.setIntPraticaId(getIntPraticaId());
clone.setDettPraticaId(getDettPraticaId());
clone.setTipo(getTipo());
clone.setStart(getStart());
clone.setStop(getStop());
clone.setWait(getWait());
clone.setCompleto(getCompleto());
return clone;
}
@Override
public int compareTo(Tempistica tempistica) {
long primaryKey = tempistica.getPrimaryKey();
if (getPrimaryKey() < primaryKey) {
return -1;
}
else if (getPrimaryKey() > primaryKey) {
return 1;
}
else {
return 0;
}
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TempisticaClp)) {
return false;
}
TempisticaClp tempistica = (TempisticaClp)obj;
long primaryKey = tempistica.getPrimaryKey();
if (getPrimaryKey() == primaryKey) {
return true;
}
else {
return false;
}
}
public Class<?> getClpSerializerClass() {
return _clpSerializerClass;
}
@Override
public int hashCode() {
return (int)getPrimaryKey();
}
@Override
public String toString() {
StringBundler sb = new StringBundler(31);
sb.append("{uuid=");
sb.append(getUuid());
sb.append(", tempisticaId=");
sb.append(getTempisticaId());
sb.append(", companyId=");
sb.append(getCompanyId());
sb.append(", userId=");
sb.append(getUserId());
sb.append(", userName=");
sb.append(getUserName());
sb.append(", createDate=");
sb.append(getCreateDate());
sb.append(", modifiedDate=");
sb.append(getModifiedDate());
sb.append(", groupId=");
sb.append(getGroupId());
sb.append(", intPraticaId=");
sb.append(getIntPraticaId());
sb.append(", dettPraticaId=");
sb.append(getDettPraticaId());
sb.append(", tipo=");
sb.append(getTipo());
sb.append(", start=");
sb.append(getStart());
sb.append(", stop=");
sb.append(getStop());
sb.append(", wait=");
sb.append(getWait());
sb.append(", completo=");
sb.append(getCompleto());
sb.append("}");
return sb.toString();
}
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(49);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.Tempistica");
sb.append("</model-name>");
sb.append(
"<column><column-name>uuid</column-name><column-value><![CDATA[");
sb.append(getUuid());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>tempisticaId</column-name><column-value><![CDATA[");
sb.append(getTempisticaId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>companyId</column-name><column-value><![CDATA[");
sb.append(getCompanyId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>userId</column-name><column-value><![CDATA[");
sb.append(getUserId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>userName</column-name><column-value><![CDATA[");
sb.append(getUserName());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>createDate</column-name><column-value><![CDATA[");
sb.append(getCreateDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
sb.append(getModifiedDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>groupId</column-name><column-value><![CDATA[");
sb.append(getGroupId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>intPraticaId</column-name><column-value><![CDATA[");
sb.append(getIntPraticaId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>dettPraticaId</column-name><column-value><![CDATA[");
sb.append(getDettPraticaId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>tipo</column-name><column-value><![CDATA[");
sb.append(getTipo());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>start</column-name><column-value><![CDATA[");
sb.append(getStart());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>stop</column-name><column-value><![CDATA[");
sb.append(getStop());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>wait</column-name><column-value><![CDATA[");
sb.append(getWait());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>completo</column-name><column-value><![CDATA[");
sb.append(getCompleto());
sb.append("]]></column-value></column>");
sb.append("</model>");
return sb.toString();
}
private String _uuid;
private long _tempisticaId;
private long _companyId;
private long _userId;
private String _userUuid;
private String _userName;
private Date _createDate;
private Date _modifiedDate;
private long _groupId;
private long _intPraticaId;
private long _dettPraticaId;
private String _tipo;
private long _start;
private long _stop;
private long _wait;
private boolean _completo;
private BaseModel<?> _tempisticaRemoteModel;
private Class<?> _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class;
}

372
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/TempisticaModel.java

@ -1,372 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.model.StagedGroupedModel;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portlet.expando.model.ExpandoBridge;
import java.io.Serializable;
import java.util.Date;
/**
* The base model interface for the Tempistica service. Represents a row in the &quot;portos_bo_Tempistica&quot; database table, with each column mapped to a property of this class.
*
* <p>
* This interface and its corresponding implementation {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.bo.model.impl.TempisticaImpl}.
* </p>
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see Tempistica
* @see it.tref.liferay.portos.bo.model.impl.TempisticaImpl
* @see it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl
* @generated
*/
public interface TempisticaModel extends BaseModel<Tempistica>,
StagedGroupedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a tempistica model instance should use the {@link Tempistica} interface instead.
*/
/**
* Returns the primary key of this tempistica.
*
* @return the primary key of this tempistica
*/
public long getPrimaryKey();
/**
* Sets the primary key of this tempistica.
*
* @param primaryKey the primary key of this tempistica
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the uuid of this tempistica.
*
* @return the uuid of this tempistica
*/
@AutoEscape
@Override
public String getUuid();
/**
* Sets the uuid of this tempistica.
*
* @param uuid the uuid of this tempistica
*/
@Override
public void setUuid(String uuid);
/**
* Returns the tempistica ID of this tempistica.
*
* @return the tempistica ID of this tempistica
*/
public long getTempisticaId();
/**
* Sets the tempistica ID of this tempistica.
*
* @param tempisticaId the tempistica ID of this tempistica
*/
public void setTempisticaId(long tempisticaId);
/**
* Returns the company ID of this tempistica.
*
* @return the company ID of this tempistica
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this tempistica.
*
* @param companyId the company ID of this tempistica
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this tempistica.
*
* @return the user ID of this tempistica
*/
@Override
public long getUserId();
/**
* Sets the user ID of this tempistica.
*
* @param userId the user ID of this tempistica
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this tempistica.
*
* @return the user uuid of this tempistica
* @throws SystemException if a system exception occurred
*/
@Override
public String getUserUuid() throws SystemException;
/**
* Sets the user uuid of this tempistica.
*
* @param userUuid the user uuid of this tempistica
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this tempistica.
*
* @return the user name of this tempistica
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this tempistica.
*
* @param userName the user name of this tempistica
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this tempistica.
*
* @return the create date of this tempistica
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this tempistica.
*
* @param createDate the create date of this tempistica
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this tempistica.
*
* @return the modified date of this tempistica
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this tempistica.
*
* @param modifiedDate the modified date of this tempistica
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the group ID of this tempistica.
*
* @return the group ID of this tempistica
*/
@Override
public long getGroupId();
/**
* Sets the group ID of this tempistica.
*
* @param groupId the group ID of this tempistica
*/
@Override
public void setGroupId(long groupId);
/**
* Returns the int pratica ID of this tempistica.
*
* @return the int pratica ID of this tempistica
*/
public long getIntPraticaId();
/**
* Sets the int pratica ID of this tempistica.
*
* @param intPraticaId the int pratica ID of this tempistica
*/
public void setIntPraticaId(long intPraticaId);
/**
* Returns the dett pratica ID of this tempistica.
*
* @return the dett pratica ID of this tempistica
*/
public long getDettPraticaId();
/**
* Sets the dett pratica ID of this tempistica.
*
* @param dettPraticaId the dett pratica ID of this tempistica
*/
public void setDettPraticaId(long dettPraticaId);
/**
* Returns the tipo of this tempistica.
*
* @return the tipo of this tempistica
*/
@AutoEscape
public String getTipo();
/**
* Sets the tipo of this tempistica.
*
* @param tipo the tipo of this tempistica
*/
public void setTipo(String tipo);
/**
* Returns the start of this tempistica.
*
* @return the start of this tempistica
*/
public long getStart();
/**
* Sets the start of this tempistica.
*
* @param start the start of this tempistica
*/
public void setStart(long start);
/**
* Returns the stop of this tempistica.
*
* @return the stop of this tempistica
*/
public long getStop();
/**
* Sets the stop of this tempistica.
*
* @param stop the stop of this tempistica
*/
public void setStop(long stop);
/**
* Returns the wait of this tempistica.
*
* @return the wait of this tempistica
*/
public long getWait();
/**
* Sets the wait of this tempistica.
*
* @param wait the wait of this tempistica
*/
public void setWait(long wait);
/**
* Returns the completo of this tempistica.
*
* @return the completo of this tempistica
*/
public boolean getCompleto();
/**
* Returns <code>true</code> if this tempistica is completo.
*
* @return <code>true</code> if this tempistica is completo; <code>false</code> otherwise
*/
public boolean isCompleto();
/**
* Sets whether this tempistica is completo.
*
* @param completo the completo of this tempistica
*/
public void setCompleto(boolean completo);
@Override
public boolean isNew();
@Override
public void setNew(boolean n);
@Override
public boolean isCachedModel();
@Override
public void setCachedModel(boolean cachedModel);
@Override
public boolean isEscapedModel();
@Override
public Serializable getPrimaryKeyObj();
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj);
@Override
public ExpandoBridge getExpandoBridge();
@Override
public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
@Override
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
@Override
public void setExpandoBridgeAttributes(ServiceContext serviceContext);
@Override
public Object clone();
@Override
public int compareTo(it.tref.liferay.portos.bo.model.Tempistica tempistica);
@Override
public int hashCode();
@Override
public CacheModel<it.tref.liferay.portos.bo.model.Tempistica> toCacheModel();
@Override
public it.tref.liferay.portos.bo.model.Tempistica toEscapedModel();
@Override
public it.tref.liferay.portos.bo.model.Tempistica toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}

240
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/TempisticaSoap.java

@ -1,240 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* This class is used by SOAP remote services, specifically {@link it.tref.liferay.portos.bo.service.http.TempisticaServiceSoap}.
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see it.tref.liferay.portos.bo.service.http.TempisticaServiceSoap
* @generated
*/
public class TempisticaSoap implements Serializable {
public static TempisticaSoap toSoapModel(Tempistica model) {
TempisticaSoap soapModel = new TempisticaSoap();
soapModel.setUuid(model.getUuid());
soapModel.setTempisticaId(model.getTempisticaId());
soapModel.setCompanyId(model.getCompanyId());
soapModel.setUserId(model.getUserId());
soapModel.setUserName(model.getUserName());
soapModel.setCreateDate(model.getCreateDate());
soapModel.setModifiedDate(model.getModifiedDate());
soapModel.setGroupId(model.getGroupId());
soapModel.setIntPraticaId(model.getIntPraticaId());
soapModel.setDettPraticaId(model.getDettPraticaId());
soapModel.setTipo(model.getTipo());
soapModel.setStart(model.getStart());
soapModel.setStop(model.getStop());
soapModel.setWait(model.getWait());
soapModel.setCompleto(model.getCompleto());
return soapModel;
}
public static TempisticaSoap[] toSoapModels(Tempistica[] models) {
TempisticaSoap[] soapModels = new TempisticaSoap[models.length];
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModel(models[i]);
}
return soapModels;
}
public static TempisticaSoap[][] toSoapModels(Tempistica[][] models) {
TempisticaSoap[][] soapModels = null;
if (models.length > 0) {
soapModels = new TempisticaSoap[models.length][models[0].length];
}
else {
soapModels = new TempisticaSoap[0][0];
}
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModels(models[i]);
}
return soapModels;
}
public static TempisticaSoap[] toSoapModels(List<Tempistica> models) {
List<TempisticaSoap> soapModels = new ArrayList<TempisticaSoap>(models.size());
for (Tempistica model : models) {
soapModels.add(toSoapModel(model));
}
return soapModels.toArray(new TempisticaSoap[soapModels.size()]);
}
public TempisticaSoap() {
}
public long getPrimaryKey() {
return _tempisticaId;
}
public void setPrimaryKey(long pk) {
setTempisticaId(pk);
}
public String getUuid() {
return _uuid;
}
public void setUuid(String uuid) {
_uuid = uuid;
}
public long getTempisticaId() {
return _tempisticaId;
}
public void setTempisticaId(long tempisticaId) {
_tempisticaId = tempisticaId;
}
public long getCompanyId() {
return _companyId;
}
public void setCompanyId(long companyId) {
_companyId = companyId;
}
public long getUserId() {
return _userId;
}
public void setUserId(long userId) {
_userId = userId;
}
public String getUserName() {
return _userName;
}
public void setUserName(String userName) {
_userName = userName;
}
public Date getCreateDate() {
return _createDate;
}
public void setCreateDate(Date createDate) {
_createDate = createDate;
}
public Date getModifiedDate() {
return _modifiedDate;
}
public void setModifiedDate(Date modifiedDate) {
_modifiedDate = modifiedDate;
}
public long getGroupId() {
return _groupId;
}
public void setGroupId(long groupId) {
_groupId = groupId;
}
public long getIntPraticaId() {
return _intPraticaId;
}
public void setIntPraticaId(long intPraticaId) {
_intPraticaId = intPraticaId;
}
public long getDettPraticaId() {
return _dettPraticaId;
}
public void setDettPraticaId(long dettPraticaId) {
_dettPraticaId = dettPraticaId;
}
public String getTipo() {
return _tipo;
}
public void setTipo(String tipo) {
_tipo = tipo;
}
public long getStart() {
return _start;
}
public void setStart(long start) {
_start = start;
}
public long getStop() {
return _stop;
}
public void setStop(long stop) {
_stop = stop;
}
public long getWait() {
return _wait;
}
public void setWait(long wait) {
_wait = wait;
}
public boolean getCompleto() {
return _completo;
}
public boolean isCompleto() {
return _completo;
}
public void setCompleto(boolean completo) {
_completo = completo;
}
private String _uuid;
private long _tempisticaId;
private long _companyId;
private long _userId;
private String _userName;
private Date _createDate;
private Date _modifiedDate;
private long _groupId;
private long _intPraticaId;
private long _dettPraticaId;
private String _tipo;
private long _start;
private long _stop;
private long _wait;
private boolean _completo;
}

663
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/TempisticaWrapper.java

@ -1,663 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.model;
import com.liferay.portal.kernel.lar.StagedModelType;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.model.ModelWrapper;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* <p>
* This class is a wrapper for {@link Tempistica}.
* </p>
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see Tempistica
* @generated
*/
public class TempisticaWrapper implements Tempistica, ModelWrapper<Tempistica> {
public TempisticaWrapper(Tempistica tempistica) {
_tempistica = tempistica;
}
@Override
public Class<?> getModelClass() {
return Tempistica.class;
}
@Override
public String getModelClassName() {
return Tempistica.class.getName();
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("uuid", getUuid());
attributes.put("tempisticaId", getTempisticaId());
attributes.put("companyId", getCompanyId());
attributes.put("userId", getUserId());
attributes.put("userName", getUserName());
attributes.put("createDate", getCreateDate());
attributes.put("modifiedDate", getModifiedDate());
attributes.put("groupId", getGroupId());
attributes.put("intPraticaId", getIntPraticaId());
attributes.put("dettPraticaId", getDettPraticaId());
attributes.put("tipo", getTipo());
attributes.put("start", getStart());
attributes.put("stop", getStop());
attributes.put("wait", getWait());
attributes.put("completo", getCompleto());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
String uuid = (String)attributes.get("uuid");
if (uuid != null) {
setUuid(uuid);
}
Long tempisticaId = (Long)attributes.get("tempisticaId");
if (tempisticaId != null) {
setTempisticaId(tempisticaId);
}
Long companyId = (Long)attributes.get("companyId");
if (companyId != null) {
setCompanyId(companyId);
}
Long userId = (Long)attributes.get("userId");
if (userId != null) {
setUserId(userId);
}
String userName = (String)attributes.get("userName");
if (userName != null) {
setUserName(userName);
}
Date createDate = (Date)attributes.get("createDate");
if (createDate != null) {
setCreateDate(createDate);
}
Date modifiedDate = (Date)attributes.get("modifiedDate");
if (modifiedDate != null) {
setModifiedDate(modifiedDate);
}
Long groupId = (Long)attributes.get("groupId");
if (groupId != null) {
setGroupId(groupId);
}
Long intPraticaId = (Long)attributes.get("intPraticaId");
if (intPraticaId != null) {
setIntPraticaId(intPraticaId);
}
Long dettPraticaId = (Long)attributes.get("dettPraticaId");
if (dettPraticaId != null) {
setDettPraticaId(dettPraticaId);
}
String tipo = (String)attributes.get("tipo");
if (tipo != null) {
setTipo(tipo);
}
Long start = (Long)attributes.get("start");
if (start != null) {
setStart(start);
}
Long stop = (Long)attributes.get("stop");
if (stop != null) {
setStop(stop);
}
Long wait = (Long)attributes.get("wait");
if (wait != null) {
setWait(wait);
}
Boolean completo = (Boolean)attributes.get("completo");
if (completo != null) {
setCompleto(completo);
}
}
/**
* Returns the primary key of this tempistica.
*
* @return the primary key of this tempistica
*/
@Override
public long getPrimaryKey() {
return _tempistica.getPrimaryKey();
}
/**
* Sets the primary key of this tempistica.
*
* @param primaryKey the primary key of this tempistica
*/
@Override
public void setPrimaryKey(long primaryKey) {
_tempistica.setPrimaryKey(primaryKey);
}
/**
* Returns the uuid of this tempistica.
*
* @return the uuid of this tempistica
*/
@Override
public java.lang.String getUuid() {
return _tempistica.getUuid();
}
/**
* Sets the uuid of this tempistica.
*
* @param uuid the uuid of this tempistica
*/
@Override
public void setUuid(java.lang.String uuid) {
_tempistica.setUuid(uuid);
}
/**
* Returns the tempistica ID of this tempistica.
*
* @return the tempistica ID of this tempistica
*/
@Override
public long getTempisticaId() {
return _tempistica.getTempisticaId();
}
/**
* Sets the tempistica ID of this tempistica.
*
* @param tempisticaId the tempistica ID of this tempistica
*/
@Override
public void setTempisticaId(long tempisticaId) {
_tempistica.setTempisticaId(tempisticaId);
}
/**
* Returns the company ID of this tempistica.
*
* @return the company ID of this tempistica
*/
@Override
public long getCompanyId() {
return _tempistica.getCompanyId();
}
/**
* Sets the company ID of this tempistica.
*
* @param companyId the company ID of this tempistica
*/
@Override
public void setCompanyId(long companyId) {
_tempistica.setCompanyId(companyId);
}
/**
* Returns the user ID of this tempistica.
*
* @return the user ID of this tempistica
*/
@Override
public long getUserId() {
return _tempistica.getUserId();
}
/**
* Sets the user ID of this tempistica.
*
* @param userId the user ID of this tempistica
*/
@Override
public void setUserId(long userId) {
_tempistica.setUserId(userId);
}
/**
* Returns the user uuid of this tempistica.
*
* @return the user uuid of this tempistica
* @throws SystemException if a system exception occurred
*/
@Override
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException {
return _tempistica.getUserUuid();
}
/**
* Sets the user uuid of this tempistica.
*
* @param userUuid the user uuid of this tempistica
*/
@Override
public void setUserUuid(java.lang.String userUuid) {
_tempistica.setUserUuid(userUuid);
}
/**
* Returns the user name of this tempistica.
*
* @return the user name of this tempistica
*/
@Override
public java.lang.String getUserName() {
return _tempistica.getUserName();
}
/**
* Sets the user name of this tempistica.
*
* @param userName the user name of this tempistica
*/
@Override
public void setUserName(java.lang.String userName) {
_tempistica.setUserName(userName);
}
/**
* Returns the create date of this tempistica.
*
* @return the create date of this tempistica
*/
@Override
public java.util.Date getCreateDate() {
return _tempistica.getCreateDate();
}
/**
* Sets the create date of this tempistica.
*
* @param createDate the create date of this tempistica
*/
@Override
public void setCreateDate(java.util.Date createDate) {
_tempistica.setCreateDate(createDate);
}
/**
* Returns the modified date of this tempistica.
*
* @return the modified date of this tempistica
*/
@Override
public java.util.Date getModifiedDate() {
return _tempistica.getModifiedDate();
}
/**
* Sets the modified date of this tempistica.
*
* @param modifiedDate the modified date of this tempistica
*/
@Override
public void setModifiedDate(java.util.Date modifiedDate) {
_tempistica.setModifiedDate(modifiedDate);
}
/**
* Returns the group ID of this tempistica.
*
* @return the group ID of this tempistica
*/
@Override
public long getGroupId() {
return _tempistica.getGroupId();
}
/**
* Sets the group ID of this tempistica.
*
* @param groupId the group ID of this tempistica
*/
@Override
public void setGroupId(long groupId) {
_tempistica.setGroupId(groupId);
}
/**
* Returns the int pratica ID of this tempistica.
*
* @return the int pratica ID of this tempistica
*/
@Override
public long getIntPraticaId() {
return _tempistica.getIntPraticaId();
}
/**
* Sets the int pratica ID of this tempistica.
*
* @param intPraticaId the int pratica ID of this tempistica
*/
@Override
public void setIntPraticaId(long intPraticaId) {
_tempistica.setIntPraticaId(intPraticaId);
}
/**
* Returns the dett pratica ID of this tempistica.
*
* @return the dett pratica ID of this tempistica
*/
@Override
public long getDettPraticaId() {
return _tempistica.getDettPraticaId();
}
/**
* Sets the dett pratica ID of this tempistica.
*
* @param dettPraticaId the dett pratica ID of this tempistica
*/
@Override
public void setDettPraticaId(long dettPraticaId) {
_tempistica.setDettPraticaId(dettPraticaId);
}
/**
* Returns the tipo of this tempistica.
*
* @return the tipo of this tempistica
*/
@Override
public java.lang.String getTipo() {
return _tempistica.getTipo();
}
/**
* Sets the tipo of this tempistica.
*
* @param tipo the tipo of this tempistica
*/
@Override
public void setTipo(java.lang.String tipo) {
_tempistica.setTipo(tipo);
}
/**
* Returns the start of this tempistica.
*
* @return the start of this tempistica
*/
@Override
public long getStart() {
return _tempistica.getStart();
}
/**
* Sets the start of this tempistica.
*
* @param start the start of this tempistica
*/
@Override
public void setStart(long start) {
_tempistica.setStart(start);
}
/**
* Returns the stop of this tempistica.
*
* @return the stop of this tempistica
*/
@Override
public long getStop() {
return _tempistica.getStop();
}
/**
* Sets the stop of this tempistica.
*
* @param stop the stop of this tempistica
*/
@Override
public void setStop(long stop) {
_tempistica.setStop(stop);
}
/**
* Returns the wait of this tempistica.
*
* @return the wait of this tempistica
*/
@Override
public long getWait() {
return _tempistica.getWait();
}
/**
* Sets the wait of this tempistica.
*
* @param wait the wait of this tempistica
*/
@Override
public void setWait(long wait) {
_tempistica.setWait(wait);
}
/**
* Returns the completo of this tempistica.
*
* @return the completo of this tempistica
*/
@Override
public boolean getCompleto() {
return _tempistica.getCompleto();
}
/**
* Returns <code>true</code> if this tempistica is completo.
*
* @return <code>true</code> if this tempistica is completo; <code>false</code> otherwise
*/
@Override
public boolean isCompleto() {
return _tempistica.isCompleto();
}
/**
* Sets whether this tempistica is completo.
*
* @param completo the completo of this tempistica
*/
@Override
public void setCompleto(boolean completo) {
_tempistica.setCompleto(completo);
}
@Override
public boolean isNew() {
return _tempistica.isNew();
}
@Override
public void setNew(boolean n) {
_tempistica.setNew(n);
}
@Override
public boolean isCachedModel() {
return _tempistica.isCachedModel();
}
@Override
public void setCachedModel(boolean cachedModel) {
_tempistica.setCachedModel(cachedModel);
}
@Override
public boolean isEscapedModel() {
return _tempistica.isEscapedModel();
}
@Override
public java.io.Serializable getPrimaryKeyObj() {
return _tempistica.getPrimaryKeyObj();
}
@Override
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
_tempistica.setPrimaryKeyObj(primaryKeyObj);
}
@Override
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
return _tempistica.getExpandoBridge();
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.model.BaseModel<?> baseModel) {
_tempistica.setExpandoBridgeAttributes(baseModel);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
_tempistica.setExpandoBridgeAttributes(expandoBridge);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.service.ServiceContext serviceContext) {
_tempistica.setExpandoBridgeAttributes(serviceContext);
}
@Override
public java.lang.Object clone() {
return new TempisticaWrapper((Tempistica)_tempistica.clone());
}
@Override
public int compareTo(it.tref.liferay.portos.bo.model.Tempistica tempistica) {
return _tempistica.compareTo(tempistica);
}
@Override
public int hashCode() {
return _tempistica.hashCode();
}
@Override
public com.liferay.portal.model.CacheModel<it.tref.liferay.portos.bo.model.Tempistica> toCacheModel() {
return _tempistica.toCacheModel();
}
@Override
public it.tref.liferay.portos.bo.model.Tempistica toEscapedModel() {
return new TempisticaWrapper(_tempistica.toEscapedModel());
}
@Override
public it.tref.liferay.portos.bo.model.Tempistica toUnescapedModel() {
return new TempisticaWrapper(_tempistica.toUnescapedModel());
}
@Override
public java.lang.String toString() {
return _tempistica.toString();
}
@Override
public java.lang.String toXmlString() {
return _tempistica.toXmlString();
}
@Override
public void persist()
throws com.liferay.portal.kernel.exception.SystemException {
_tempistica.persist();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TempisticaWrapper)) {
return false;
}
TempisticaWrapper tempisticaWrapper = (TempisticaWrapper)obj;
if (Validator.equals(_tempistica, tempisticaWrapper._tempistica)) {
return true;
}
return false;
}
@Override
public StagedModelType getStagedModelType() {
return _tempistica.getStagedModelType();
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
*/
public Tempistica getWrappedTempistica() {
return _tempistica;
}
@Override
public Tempistica getWrappedModel() {
return _tempistica;
}
@Override
public void resetOriginalValues() {
_tempistica.resetOriginalValues();
}
private Tempistica _tempistica;
}

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

@ -478,53 +478,10 @@ public interface AvvisoLocalService extends BaseLocalService,
java.lang.Long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countAvvisiTempistica()
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.Avviso getAvvisoTempistica(
long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<it.tref.liferay.portos.bo.model.Avviso> getAvvisiTempistica(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQueryAvvisiTempistica(
java.lang.Long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryFirma(
long avvisoId, long fileEntryFirma)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoPrimaFirma(
long avvisoId, java.lang.String transactionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoRollbackPrimaFirma(
long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdBase(
long avvisoId, long fileEntryIdBase)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdBaseSingola(
long avvisoId, long fileEntryIdBase)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdBaseAndInvio(
long avvisoId, long fileEntryId, java.util.Date dtCreateFileEntryInvio)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdInvio(
long avvisoId, long fileEntryIdInvio,
java.util.Date dtCreateFileEntryInvio)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoInvio(
long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException;
@ -545,14 +502,6 @@ public interface AvvisoLocalService extends BaseLocalService,
long avvisoId, boolean signal)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoTempistica(
long avvisoId, java.util.Date dtTempistica)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoTempistica(
long avvisoId, boolean tempistica)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoProtocollo(
long avvisoId, java.lang.String protocollo)
throws com.liferay.portal.kernel.exception.SystemException;
@ -603,10 +552,6 @@ public interface AvvisoLocalService extends BaseLocalService,
public int countByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean containsFileEntry(long companyId, long[] groupIds,
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Avviso> findByUUID(
java.lang.String uuid, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;

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

File diff soppresso perché troppo grande Load Diff

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

@ -593,49 +593,6 @@ public class AvvisoLocalServiceUtil {
return getService().dynamicQueryAvvisiInvioSignal(avvisoId);
}
public static int countAvvisiTempistica()
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countAvvisiTempistica();
}
public static it.tref.liferay.portos.bo.model.Avviso getAvvisoTempistica(
long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getAvvisoTempistica(avvisoId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Avviso> getAvvisiTempistica(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getAvvisiTempistica(start, end);
}
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQueryAvvisiTempistica(
java.lang.Long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().dynamicQueryAvvisiTempistica(avvisoId);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryFirma(
long avvisoId, long fileEntryFirma)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.updateAvvisoDlFileEntryFirma(avvisoId, fileEntryFirma);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoPrimaFirma(
long avvisoId, java.lang.String transactionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().updateAvvisoPrimaFirma(avvisoId, transactionId);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoRollbackPrimaFirma(
long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().updateAvvisoRollbackPrimaFirma(avvisoId);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdBase(
long avvisoId, long fileEntryIdBase)
throws com.liferay.portal.kernel.exception.SystemException {
@ -643,31 +600,6 @@ public class AvvisoLocalServiceUtil {
.updateAvvisoDlFileEntryIdBase(avvisoId, fileEntryIdBase);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdBaseSingola(
long avvisoId, long fileEntryIdBase)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.updateAvvisoDlFileEntryIdBaseSingola(avvisoId,
fileEntryIdBase);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdBaseAndInvio(
long avvisoId, long fileEntryId, java.util.Date dtCreateFileEntryInvio)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.updateAvvisoDlFileEntryIdBaseAndInvio(avvisoId,
fileEntryId, dtCreateFileEntryInvio);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdInvio(
long avvisoId, long fileEntryIdInvio,
java.util.Date dtCreateFileEntryInvio)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.updateAvvisoDlFileEntryIdInvio(avvisoId, fileEntryIdInvio,
dtCreateFileEntryInvio);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoInvio(
long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException {
@ -698,18 +630,6 @@ public class AvvisoLocalServiceUtil {
return getService().updateAvvisoSignal(avvisoId, signal);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoTempistica(
long avvisoId, java.util.Date dtTempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().updateAvvisoTempistica(avvisoId, dtTempistica);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoTempistica(
long avvisoId, boolean tempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().updateAvvisoTempistica(avvisoId, tempistica);
}
public static it.tref.liferay.portos.bo.model.Avviso updateAvvisoProtocollo(
long avvisoId, java.lang.String protocollo)
throws com.liferay.portal.kernel.exception.SystemException {
@ -789,12 +709,6 @@ public class AvvisoLocalServiceUtil {
return getService().countByIntPratica(intPraticaId);
}
public static boolean containsFileEntry(long companyId, long[] groupIds,
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().containsFileEntry(companyId, groupIds, fileEntryId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Avviso> findByUUID(
java.lang.String uuid, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {

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

@ -626,57 +626,6 @@ public class AvvisoLocalServiceWrapper implements AvvisoLocalService,
return _avvisoLocalService.dynamicQueryAvvisiInvioSignal(avvisoId);
}
@Override
public int countAvvisiTempistica()
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.countAvvisiTempistica();
}
@Override
public it.tref.liferay.portos.bo.model.Avviso getAvvisoTempistica(
long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.getAvvisoTempistica(avvisoId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Avviso> getAvvisiTempistica(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.getAvvisiTempistica(start, end);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQueryAvvisiTempistica(
java.lang.Long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.dynamicQueryAvvisiTempistica(avvisoId);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryFirma(
long avvisoId, long fileEntryFirma)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.updateAvvisoDlFileEntryFirma(avvisoId,
fileEntryFirma);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoPrimaFirma(
long avvisoId, java.lang.String transactionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.updateAvvisoPrimaFirma(avvisoId,
transactionId);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoRollbackPrimaFirma(
long avvisoId)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.updateAvvisoRollbackPrimaFirma(avvisoId);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdBase(
long avvisoId, long fileEntryIdBase)
@ -685,31 +634,6 @@ public class AvvisoLocalServiceWrapper implements AvvisoLocalService,
fileEntryIdBase);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdBaseSingola(
long avvisoId, long fileEntryIdBase)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.updateAvvisoDlFileEntryIdBaseSingola(avvisoId,
fileEntryIdBase);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdBaseAndInvio(
long avvisoId, long fileEntryId, java.util.Date dtCreateFileEntryInvio)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.updateAvvisoDlFileEntryIdBaseAndInvio(avvisoId,
fileEntryId, dtCreateFileEntryInvio);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoDlFileEntryIdInvio(
long avvisoId, long fileEntryIdInvio,
java.util.Date dtCreateFileEntryInvio)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.updateAvvisoDlFileEntryIdInvio(avvisoId,
fileEntryIdInvio, dtCreateFileEntryInvio);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoInvio(
long avvisoId)
@ -745,20 +669,6 @@ public class AvvisoLocalServiceWrapper implements AvvisoLocalService,
return _avvisoLocalService.updateAvvisoSignal(avvisoId, signal);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoTempistica(
long avvisoId, java.util.Date dtTempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.updateAvvisoTempistica(avvisoId, dtTempistica);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoTempistica(
long avvisoId, boolean tempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.updateAvvisoTempistica(avvisoId, tempistica);
}
@Override
public it.tref.liferay.portos.bo.model.Avviso updateAvvisoProtocollo(
long avvisoId, java.lang.String protocollo)
@ -850,14 +760,6 @@ public class AvvisoLocalServiceWrapper implements AvvisoLocalService,
return _avvisoLocalService.countByIntPratica(intPraticaId);
}
@Override
public boolean containsFileEntry(long companyId, long[] groupIds,
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException {
return _avvisoLocalService.containsFileEntry(companyId, groupIds,
fileEntryId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Avviso> findByUUID(
java.lang.String uuid, int start, int end)

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

@ -45,7 +45,6 @@ import it.tref.liferay.portos.bo.model.ParereGeologoClp;
import it.tref.liferay.portos.bo.model.ProvinciaClp;
import it.tref.liferay.portos.bo.model.SoggettoClp;
import it.tref.liferay.portos.bo.model.StoricoSoggettoPraticaClp;
import it.tref.liferay.portos.bo.model.TempisticaClp;
import it.tref.liferay.portos.bo.model.TerritorioClp;
import java.io.ObjectInputStream;
@ -203,10 +202,6 @@ public class ClpSerializer {
return translateInputStoricoSoggettoPratica(oldModel);
}
if (oldModelClassName.equals(TempisticaClp.class.getName())) {
return translateInputTempistica(oldModel);
}
if (oldModelClassName.equals(TerritorioClp.class.getName())) {
return translateInputTerritorio(oldModel);
}
@ -428,16 +423,6 @@ public class ClpSerializer {
return newModel;
}
public static Object translateInputTempistica(BaseModel<?> oldModel) {
TempisticaClp oldClpModel = (TempisticaClp)oldModel;
BaseModel<?> newModel = oldClpModel.getTempisticaRemoteModel();
newModel.setModelAttributes(oldClpModel.getModelAttributes());
return newModel;
}
public static Object translateInputTerritorio(BaseModel<?> oldModel) {
TerritorioClp oldClpModel = (TerritorioClp)oldModel;
@ -1205,43 +1190,6 @@ public class ClpSerializer {
}
}
if (oldModelClassName.equals(
"it.tref.liferay.portos.bo.model.impl.TempisticaImpl")) {
return translateOutputTempistica(oldModel);
}
else if (oldModelClassName.endsWith("Clp")) {
try {
ClassLoader classLoader = ClpSerializer.class.getClassLoader();
Method getClpSerializerClassMethod = oldModelClass.getMethod(
"getClpSerializerClass");
Class<?> oldClpSerializerClass = (Class<?>)getClpSerializerClassMethod.invoke(oldModel);
Class<?> newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName());
Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput",
BaseModel.class);
Class<?> oldModelModelClass = oldModel.getModelClass();
Method getRemoteModelMethod = oldModelClass.getMethod("get" +
oldModelModelClass.getSimpleName() + "RemoteModel");
Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel);
BaseModel<?> newModel = (BaseModel<?>)translateOutputMethod.invoke(null,
oldRemoteModel);
return newModel;
}
catch (Throwable t) {
if (_log.isInfoEnabled()) {
_log.info("Unable to translate " + oldModelClassName, t);
}
}
}
if (oldModelClassName.equals(
"it.tref.liferay.portos.bo.model.impl.TerritorioImpl")) {
return translateOutputTerritorio(oldModel);
@ -1510,11 +1458,6 @@ public class ClpSerializer {
return new it.tref.liferay.portos.bo.NoSuchStoricoSoggettoPraticaException();
}
if (className.equals(
"it.tref.liferay.portos.bo.NoSuchTempisticaException")) {
return new it.tref.liferay.portos.bo.NoSuchTempisticaException();
}
if (className.equals(
"it.tref.liferay.portos.bo.NoSuchTerritorioException")) {
return new it.tref.liferay.portos.bo.NoSuchTerritorioException();
@ -1725,16 +1668,6 @@ public class ClpSerializer {
return newModel;
}
public static Object translateOutputTempistica(BaseModel<?> oldModel) {
TempisticaClp newModel = new TempisticaClp();
newModel.setModelAttributes(oldModel.getModelAttributes());
newModel.setTempisticaRemoteModel(oldModel);
return newModel;
}
public static Object translateOutputTerritorio(BaseModel<?> oldModel) {
TerritorioClp newModel = new TerritorioClp();

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

@ -519,34 +519,6 @@ public interface IntPraticaLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException;
public int countAutorizzazione(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countSanatorie(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countOpereMinoreImportanza(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countDeposito(java.util.Date dtMin, java.util.Date dtMax,
long groupId, boolean controlloOblligatorio)
throws com.liferay.portal.kernel.exception.SystemException;
public int countVidimate(java.util.Date dtMin, java.util.Date dtMax,
long groupId, java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> countControllo(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> riparaWorkflow()
throws com.liferay.portal.kernel.exception.SystemException;
public void reIndexFascicolo(
it.tref.liferay.portos.bo.model.IntPratica intPratica, long companyId);
@ -565,28 +537,6 @@ public interface IntPraticaLocalService extends BaseLocalService,
long territorioId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> reportTempisticheIstruttorieAvvisiAutorizzazioni(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> reportPraticheVidimate(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException;
public int countIngressiAutorizzazioni(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countIngressiDepositi(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countIngressiCO(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public com.liferay.portal.model.Organization getOrganizationByIntPraticaId(
long intPraticaId)

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

@ -324,103 +324,31 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
_methodParameterTypes62 = new String[] { "long", "java.util.Date" };
_methodName63 = "countAutorizzazione";
_methodName63 = "reIndexFascicolo";
_methodParameterTypes63 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName64 = "countSanatorie";
_methodParameterTypes64 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName65 = "countOpereMinoreImportanza";
_methodParameterTypes65 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName66 = "countDeposito";
_methodParameterTypes66 = new String[] {
"java.util.Date", "java.util.Date", "long", "boolean"
};
_methodName67 = "countVidimate";
_methodParameterTypes67 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName68 = "countControllo";
_methodParameterTypes68 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName69 = "riparaWorkflow";
_methodParameterTypes69 = new String[] { };
_methodName70 = "reIndexFascicolo";
_methodParameterTypes70 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName71 = "reIndexFasciolo";
_methodParameterTypes71 = new String[] { "java.lang.String", "long" };
_methodName72 = "reIndexFasciolo";
_methodParameterTypes72 = new String[] { "long", "long" };
_methodName73 = "findByNumeroProgetto";
_methodParameterTypes73 = new String[] { "java.lang.String" };
_methodName74 = "findByTerritorioId";
_methodParameterTypes74 = new String[] { "long" };
_methodName75 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodParameterTypes75 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodName76 = "reportPraticheVidimate";
_methodName64 = "reIndexFasciolo";
_methodParameterTypes76 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodParameterTypes64 = new String[] { "java.lang.String", "long" };
_methodName77 = "countIngressiAutorizzazioni";
_methodName65 = "reIndexFasciolo";
_methodParameterTypes77 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodParameterTypes65 = new String[] { "long", "long" };
_methodName78 = "countIngressiDepositi";
_methodName66 = "findByNumeroProgetto";
_methodParameterTypes78 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodParameterTypes66 = new String[] { "java.lang.String" };
_methodName79 = "countIngressiCO";
_methodName67 = "findByTerritorioId";
_methodParameterTypes79 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodParameterTypes67 = new String[] { "long" };
_methodName80 = "getOrganizationByIntPraticaId";
_methodName68 = "getOrganizationByIntPraticaId";
_methodParameterTypes80 = new String[] { "long" };
_methodParameterTypes68 = new String[] { "long" };
}
@Override
@ -2570,267 +2498,12 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
return (it.tref.liferay.portos.bo.model.IntPratica)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countAutorizzazione(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public int countSanatorie(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public int countOpereMinoreImportanza(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public int countDeposito(java.util.Date dtMin, java.util.Date dtMax,
long groupId, boolean controlloOblligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId,
controlloOblligatorio
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public int countVidimate(java.util.Date dtMin, java.util.Date dtMax,
long groupId, java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId,
ClpSerializer.translateInput(type),
isControlloObbligatorio
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> countControllo(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId,
ClpSerializer.translateInput(type),
isControlloObbligatorio
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.IntPratica>)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<java.lang.Object[]> riparaWorkflow()
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes69, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<java.lang.Object[]>)ClpSerializer.translateOutput(returnObj);
}
@Override
public void reIndexFascicolo(
it.tref.liferay.portos.bo.model.IntPratica intPratica, long companyId) {
try {
_invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70,
_invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63,
new Object[] { ClpSerializer.translateInput(intPratica), companyId });
}
catch (Throwable t) {
@ -2850,8 +2523,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId)
throws com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes71,
_invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64,
new Object[] {
ClpSerializer.translateInput(numeroProgetto),
@ -2880,8 +2553,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes72,
_invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65,
new Object[] { intPraticaId, companyId });
}
catch (Throwable t) {
@ -2912,8 +2585,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName73,
_methodParameterTypes73,
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66,
new Object[] { ClpSerializer.translateInput(numeroProgetto) });
}
catch (Throwable t) {
@ -2942,8 +2615,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName74,
_methodParameterTypes74, new Object[] { territorioId });
returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67, new Object[] { territorioId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2964,192 +2637,6 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
return (java.util.List<it.tref.liferay.portos.bo.model.IntPratica>)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<java.lang.Object[]> reportTempisticheIstruttorieAvvisiAutorizzazioni(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName75,
_methodParameterTypes75,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId,
ClpSerializer.translateInput(type)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<java.lang.Object[]>)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<java.lang.Object[]> reportPraticheVidimate(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName76,
_methodParameterTypes76,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId,
ClpSerializer.translateInput(type)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<java.lang.Object[]>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countIngressiAutorizzazioni(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName77,
_methodParameterTypes77,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public int countIngressiDepositi(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName78,
_methodParameterTypes78,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public int countIngressiCO(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName79,
_methodParameterTypes79,
new Object[] {
ClpSerializer.translateInput(dtMin),
ClpSerializer.translateInput(dtMax),
groupId
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public com.liferay.portal.model.Organization getOrganizationByIntPraticaId(
long intPraticaId)
@ -3158,8 +2645,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName80,
_methodParameterTypes80, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3321,28 +2808,4 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
private String[] _methodParameterTypes67;
private String _methodName68;
private String[] _methodParameterTypes68;
private String _methodName69;
private String[] _methodParameterTypes69;
private String _methodName70;
private String[] _methodParameterTypes70;
private String _methodName71;
private String[] _methodParameterTypes71;
private String _methodName72;
private String[] _methodParameterTypes72;
private String _methodName73;
private String[] _methodParameterTypes73;
private String _methodName74;
private String[] _methodParameterTypes74;
private String _methodName75;
private String[] _methodParameterTypes75;
private String _methodName76;
private String[] _methodParameterTypes76;
private String _methodName77;
private String[] _methodParameterTypes77;
private String _methodName78;
private String[] _methodParameterTypes78;
private String _methodName79;
private String[] _methodParameterTypes79;
private String _methodName80;
private String[] _methodParameterTypes80;
}

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

@ -638,53 +638,6 @@ public class IntPraticaLocalServiceUtil {
return getService().updateModifiedDate(intPraticaId, modifiedDate);
}
public static int countAutorizzazione(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countAutorizzazione(dtMin, dtMax, groupId);
}
public static int countSanatorie(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countSanatorie(dtMin, dtMax, groupId);
}
public static int countOpereMinoreImportanza(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countOpereMinoreImportanza(dtMin, dtMax, groupId);
}
public static int countDeposito(java.util.Date dtMin, java.util.Date dtMax,
long groupId, boolean controlloOblligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countDeposito(dtMin, dtMax, groupId, controlloOblligatorio);
}
public static int countVidimate(java.util.Date dtMin, java.util.Date dtMax,
long groupId, java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countVidimate(dtMin, dtMax, groupId, type,
isControlloObbligatorio);
}
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> countControllo(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countControllo(dtMin, dtMax, groupId, type,
isControlloObbligatorio);
}
public static java.util.List<java.lang.Object[]> riparaWorkflow()
throws com.liferay.portal.kernel.exception.SystemException {
return getService().riparaWorkflow();
}
public static void reIndexFascicolo(
it.tref.liferay.portos.bo.model.IntPratica intPratica, long companyId) {
getService().reIndexFascicolo(intPratica, companyId);
@ -714,40 +667,6 @@ public class IntPraticaLocalServiceUtil {
return getService().findByTerritorioId(territorioId);
}
public static java.util.List<java.lang.Object[]> reportTempisticheIstruttorieAvvisiAutorizzazioni(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.reportTempisticheIstruttorieAvvisiAutorizzazioni(dtMin,
dtMax, groupId, type);
}
public static java.util.List<java.lang.Object[]> reportPraticheVidimate(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().reportPraticheVidimate(dtMin, dtMax, groupId, type);
}
public static int countIngressiAutorizzazioni(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countIngressiAutorizzazioni(dtMin, dtMax, groupId);
}
public static int countIngressiDepositi(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countIngressiDepositi(dtMin, dtMax, groupId);
}
public static int countIngressiCO(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countIngressiCO(dtMin, dtMax, groupId);
}
public static com.liferay.portal.model.Organization getOrganizationByIntPraticaId(
long intPraticaId)
throws com.liferay.portal.kernel.exception.PortalException,

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

@ -700,59 +700,6 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
modifiedDate);
}
@Override
public int countAutorizzazione(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.countAutorizzazione(dtMin, dtMax, groupId);
}
@Override
public int countSanatorie(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.countSanatorie(dtMin, dtMax, groupId);
}
@Override
public int countOpereMinoreImportanza(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.countOpereMinoreImportanza(dtMin, dtMax,
groupId);
}
@Override
public int countDeposito(java.util.Date dtMin, java.util.Date dtMax,
long groupId, boolean controlloOblligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.countDeposito(dtMin, dtMax, groupId,
controlloOblligatorio);
}
@Override
public int countVidimate(java.util.Date dtMin, java.util.Date dtMax,
long groupId, java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.countVidimate(dtMin, dtMax, groupId,
type, isControlloObbligatorio);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> countControllo(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.countControllo(dtMin, dtMax, groupId,
type, isControlloObbligatorio);
}
@Override
public java.util.List<java.lang.Object[]> riparaWorkflow()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.riparaWorkflow();
}
@Override
public void reIndexFascicolo(
it.tref.liferay.portos.bo.model.IntPratica intPratica, long companyId) {
@ -786,47 +733,6 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
return _intPraticaLocalService.findByTerritorioId(territorioId);
}
@Override
public java.util.List<java.lang.Object[]> reportTempisticheIstruttorieAvvisiAutorizzazioni(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.reportTempisticheIstruttorieAvvisiAutorizzazioni(dtMin,
dtMax, groupId, type);
}
@Override
public java.util.List<java.lang.Object[]> reportPraticheVidimate(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.reportPraticheVidimate(dtMin, dtMax,
groupId, type);
}
@Override
public int countIngressiAutorizzazioni(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.countIngressiAutorizzazioni(dtMin,
dtMax, groupId);
}
@Override
public int countIngressiDepositi(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.countIngressiDepositi(dtMin, dtMax,
groupId);
}
@Override
public int countIngressiCO(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.countIngressiCO(dtMin, dtMax, groupId);
}
@Override
public com.liferay.portal.model.Organization getOrganizationByIntPraticaId(
long intPraticaId)

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

@ -335,22 +335,17 @@ public interface ParereGeologoLocalService extends BaseLocalService,
public int countByIntPraticaId(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaIdParereVuoto(
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaIdInCorso(
long intPraticaId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPraticaIdParereVuoto(long intPraticaId)
public int countByIntPraticaInCorso(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
public int countByGeologoIdInCorso(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoIdInCorso(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
@ -358,20 +353,10 @@ public interface ParereGeologoLocalService extends BaseLocalService,
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findNotParereByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public int countFindNotParereByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countFindWithParereByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;

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

@ -159,53 +159,37 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
_methodParameterTypes27 = new String[] { "long" };
_methodName28 = "findByIntPraticaIdParereVuoto";
_methodName28 = "findByIntPraticaIdInCorso";
_methodParameterTypes28 = new String[] { "long", "int", "int" };
_methodName29 = "countByIntPraticaIdParereVuoto";
_methodName29 = "countByIntPraticaInCorso";
_methodParameterTypes29 = new String[] { "long" };
_methodName30 = "findByIntPraticaId_GeologoId";
_methodName30 = "countByGeologoIdInCorso";
_methodParameterTypes30 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes30 = new String[] { "long" };
_methodName31 = "countByIntPraticaId_GeologoId";
_methodName31 = "findByGeologoIdInCorso";
_methodParameterTypes31 = new String[] { "long", "long" };
_methodParameterTypes31 = new String[] { "long", "int", "int" };
_methodName32 = "findByGeologoId";
_methodName32 = "findByCompanyIdGroupId";
_methodParameterTypes32 = new String[] { "long", "int", "int" };
_methodParameterTypes32 = new String[] { "long", "long" };
_methodName33 = "findByCompanyIdGroupId";
_methodName33 = "findWithParereByGeologoId";
_methodParameterTypes33 = new String[] { "long", "long" };
_methodParameterTypes33 = new String[] { "long", "int", "int" };
_methodName34 = "countByGeologoId";
_methodName34 = "countFindWithParereByGeologoId";
_methodParameterTypes34 = new String[] { "long" };
_methodName35 = "findNotParereByGeologoId";
_methodName35 = "getCarichiLavoro";
_methodParameterTypes35 = new String[] { "long", "int", "int" };
_methodName36 = "findWithParereByGeologoId";
_methodParameterTypes36 = new String[] { "long", "int", "int" };
_methodName37 = "countFindNotParereByGeologoId";
_methodParameterTypes37 = new String[] { "long" };
_methodName38 = "countFindWithParereByGeologoId";
_methodParameterTypes38 = new String[] { "long" };
_methodName39 = "getCarichiLavoro";
_methodParameterTypes39 = new String[] { "long", "int" };
_methodParameterTypes35 = new String[] { "long", "int" };
}
@Override
@ -1071,7 +1055,7 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaIdParereVuoto(
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaIdInCorso(
long intPraticaId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
@ -1101,7 +1085,7 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
}
@Override
public int countByIntPraticaIdParereVuoto(long intPraticaId)
public int countByIntPraticaInCorso(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
@ -1129,45 +1113,13 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
public int countByGeologoIdInCorso(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName30,
_methodParameterTypes30,
new Object[] { intPraticaId, geologoUserId, start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes31,
new Object[] { intPraticaId, geologoUserId });
_methodParameterTypes30, new Object[] { geologoUserId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1189,14 +1141,14 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoIdInCorso(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName32,
_methodParameterTypes32,
returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes31,
new Object[] { geologoUserId, start, end });
}
catch (Throwable t) {
@ -1225,66 +1177,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName33,
_methodParameterTypes33, new Object[] { companyId, groupId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes34, new Object[] { geologoUserId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findNotParereByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes35,
new Object[] { geologoUserId, start, end });
returnObj = _invokableLocalService.invokeMethod(_methodName32,
_methodParameterTypes32, new Object[] { companyId, groupId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1312,8 +1206,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes36,
returnObj = _invokableLocalService.invokeMethod(_methodName33,
_methodParameterTypes33,
new Object[] { geologoUserId, start, end });
}
catch (Throwable t) {
@ -1335,42 +1229,14 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countFindNotParereByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37, new Object[] { geologoUserId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public int countFindWithParereByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38, new Object[] { geologoUserId });
returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes34, new Object[] { geologoUserId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1399,8 +1265,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39,
returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes35,
new Object[] { controlloPraticaId, giorni });
}
catch (Throwable t) {
@ -1497,12 +1363,4 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
private String[] _methodParameterTypes34;
private String _methodName35;
private String[] _methodParameterTypes35;
private String _methodName36;
private String[] _methodParameterTypes36;
private String _methodName37;
private String[] _methodParameterTypes37;
private String _methodName38;
private String[] _methodParameterTypes38;
private String _methodName39;
private String[] _methodParameterTypes39;
}

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

@ -374,37 +374,26 @@ public class ParereGeologoLocalServiceUtil {
return getService().countByIntPraticaId(intPraticaId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaIdParereVuoto(
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaIdInCorso(
long intPraticaId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPraticaIdParereVuoto(intPraticaId, start, end);
}
public static int countByIntPraticaIdParereVuoto(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByIntPraticaIdParereVuoto(intPraticaId);
return getService().findByIntPraticaIdInCorso(intPraticaId, start, end);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
public static int countByIntPraticaInCorso(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPraticaId_GeologoId(intPraticaId, geologoUserId,
start, end);
return getService().countByIntPraticaInCorso(intPraticaId);
}
public static int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
public static int countByGeologoIdInCorso(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPraticaId_GeologoId(intPraticaId, geologoUserId);
return getService().countByGeologoIdInCorso(geologoUserId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoIdInCorso(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findByGeologoId(geologoUserId, start, end);
return getService().findByGeologoIdInCorso(geologoUserId, start, end);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByCompanyIdGroupId(
@ -413,28 +402,12 @@ public class ParereGeologoLocalServiceUtil {
return getService().findByCompanyIdGroupId(companyId, groupId);
}
public static int countByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByGeologoId(geologoUserId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findNotParereByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findNotParereByGeologoId(geologoUserId, start, end);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findWithParereByGeologoId(geologoUserId, start, end);
}
public static int countFindNotParereByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countFindNotParereByGeologoId(geologoUserId);
}
public static int countFindWithParereByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countFindWithParereByGeologoId(geologoUserId);

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

@ -400,41 +400,31 @@ public class ParereGeologoLocalServiceWrapper
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaIdParereVuoto(
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaIdInCorso(
long intPraticaId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.findByIntPraticaIdParereVuoto(intPraticaId,
return _parereGeologoLocalService.findByIntPraticaIdInCorso(intPraticaId,
start, end);
}
@Override
public int countByIntPraticaIdParereVuoto(long intPraticaId)
public int countByIntPraticaInCorso(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.countByIntPraticaIdParereVuoto(intPraticaId);
return _parereGeologoLocalService.countByIntPraticaInCorso(intPraticaId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
public int countByGeologoIdInCorso(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.findByIntPraticaId_GeologoId(intPraticaId,
geologoUserId, start, end);
return _parereGeologoLocalService.countByGeologoIdInCorso(geologoUserId);
}
@Override
public int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.countByIntPraticaId_GeologoId(intPraticaId,
geologoUserId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoIdInCorso(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.findByGeologoId(geologoUserId, start,
end);
return _parereGeologoLocalService.findByGeologoIdInCorso(geologoUserId,
start, end);
}
@Override
@ -445,20 +435,6 @@ public class ParereGeologoLocalServiceWrapper
groupId);
}
@Override
public int countByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.countByGeologoId(geologoUserId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findNotParereByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.findNotParereByGeologoId(geologoUserId,
start, end);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId(
long geologoUserId, int start, int end)
@ -467,12 +443,6 @@ public class ParereGeologoLocalServiceWrapper
start, end);
}
@Override
public int countFindNotParereByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.countFindNotParereByGeologoId(geologoUserId);
}
@Override
public int countFindWithParereByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {

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

@ -90,19 +90,4 @@ public interface ParereGeologoService extends BaseService, InvokableService {
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId(
long intPraticaId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
}

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

@ -59,22 +59,6 @@ public class ParereGeologoServiceClp implements ParereGeologoService {
_methodName7 = "findByIntPraticaId";
_methodParameterTypes7 = new String[] { "long", "int", "int" };
_methodName8 = "findByIntPraticaId_GeologoId";
_methodParameterTypes8 = new String[] { "long", "long", "int", "int" };
_methodName9 = "countByIntPraticaId_GeologoId";
_methodParameterTypes9 = new String[] { "long", "long" };
_methodName10 = "findByGeologoId";
_methodParameterTypes10 = new String[] { "long", "int", "int" };
_methodName11 = "countByGeologoId";
_methodParameterTypes11 = new String[] { "long" };
}
@Override
@ -315,124 +299,6 @@ public class ParereGeologoServiceClp implements ParereGeologoService {
return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableService.invokeMethod(_methodName8,
_methodParameterTypes8,
new Object[] { intPraticaId, geologoUserId, start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableService.invokeMethod(_methodName9,
_methodParameterTypes9,
new Object[] { intPraticaId, geologoUserId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableService.invokeMethod(_methodName10,
_methodParameterTypes10,
new Object[] { geologoUserId, start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableService.invokeMethod(_methodName11,
_methodParameterTypes11, new Object[] { geologoUserId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
private InvokableService _invokableService;
private String _methodName0;
private String[] _methodParameterTypes0;
@ -448,12 +314,4 @@ public class ParereGeologoServiceClp implements ParereGeologoService {
private String[] _methodParameterTypes6;
private String _methodName7;
private String[] _methodParameterTypes7;
private String _methodName8;
private String[] _methodParameterTypes8;
private String _methodName9;
private String[] _methodParameterTypes9;
private String _methodName10;
private String[] _methodParameterTypes10;
private String _methodName11;
private String[] _methodParameterTypes11;
}

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

@ -104,32 +104,6 @@ public class ParereGeologoServiceUtil {
return getService().findByIntPraticaId(intPraticaId, start, end);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPraticaId_GeologoId(intPraticaId, geologoUserId,
start, end);
}
public static int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPraticaId_GeologoId(intPraticaId, geologoUserId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findByGeologoId(geologoUserId, start, end);
}
public static int countByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByGeologoId(geologoUserId);
}
public static void clearService() {
_service = null;
}

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

@ -102,35 +102,6 @@ public class ParereGeologoServiceWrapper implements ParereGeologoService,
return _parereGeologoService.findByIntPraticaId(intPraticaId, start, end);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoService.findByIntPraticaId_GeologoId(intPraticaId,
geologoUserId, start, end);
}
@Override
public int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoService.countByIntPraticaId_GeologoId(intPraticaId,
geologoUserId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoService.findByGeologoId(geologoUserId, start, end);
}
@Override
public int countByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoService.countByGeologoId(geologoUserId);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/

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

@ -1,402 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.search.IndexableType;
import com.liferay.portal.kernel.transaction.Isolation;
import com.liferay.portal.kernel.transaction.Propagation;
import com.liferay.portal.kernel.transaction.Transactional;
import com.liferay.portal.service.BaseLocalService;
import com.liferay.portal.service.InvokableLocalService;
import com.liferay.portal.service.PersistedModelLocalService;
/**
* Provides the local service interface for Tempistica. Methods of this
* service will not have security checks based on the propagated JAAS
* credentials because this service can only be accessed from within the same
* VM.
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see TempisticaLocalServiceUtil
* @see it.tref.liferay.portos.bo.service.base.TempisticaLocalServiceBaseImpl
* @see it.tref.liferay.portos.bo.service.impl.TempisticaLocalServiceImpl
* @generated
*/
@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
PortalException.class, SystemException.class})
public interface TempisticaLocalService extends BaseLocalService,
InvokableLocalService, PersistedModelLocalService {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link TempisticaLocalServiceUtil} to access the tempistica local service. Add custom service methods to {@link it.tref.liferay.portos.bo.service.impl.TempisticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
/**
* Adds the tempistica to the database. Also notifies the appropriate model listeners.
*
* @param tempistica the tempistica
* @return the tempistica that was added
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.tref.liferay.portos.bo.model.Tempistica addTempistica(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Creates a new tempistica with the primary key. Does not add the tempistica to the database.
*
* @param tempisticaId the primary key for the new tempistica
* @return the new tempistica
*/
public it.tref.liferay.portos.bo.model.Tempistica createTempistica(
long tempisticaId);
/**
* Deletes the tempistica with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param tempisticaId the primary key of the tempistica
* @return the tempistica that was removed
* @throws PortalException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
public it.tref.liferay.portos.bo.model.Tempistica deleteTempistica(
long tempisticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* Deletes the tempistica from the database. Also notifies the appropriate model listeners.
*
* @param tempistica the tempistica
* @return the tempistica that was removed
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
public it.tref.liferay.portos.bo.model.Tempistica deleteTempistica(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException;
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
/**
* Performs a dynamic query on the database and returns the matching rows.
*
* @param dynamicQuery the dynamic query
* @return the matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Performs a dynamic query on the database and returns a range of the matching rows.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @return the range of matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end) throws com.liferay.portal.kernel.exception.SystemException;
/**
* Performs a dynamic query on the database and returns an ordered range of the matching rows.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @param projection the projection to apply to the query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.Tempistica fetchTempistica(
long tempisticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempistica with the matching UUID and company.
*
* @param uuid the tempistica's UUID
* @param companyId the primary key of the company
* @return the matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.Tempistica fetchTempisticaByUuidAndCompanyId(
java.lang.String uuid, long companyId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempistica matching the UUID and group.
*
* @param uuid the tempistica's UUID
* @param groupId the primary key of the group
* @return the matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.Tempistica fetchTempisticaByUuidAndGroupId(
java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempistica with the primary key.
*
* @param tempisticaId the primary key of the tempistica
* @return the tempistica
* @throws PortalException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.Tempistica getTempistica(
long tempisticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
@Override
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public com.liferay.portal.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempistica with the matching UUID and company.
*
* @param uuid the tempistica's UUID
* @param companyId the primary key of the company
* @return the matching tempistica
* @throws PortalException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.Tempistica getTempisticaByUuidAndCompanyId(
java.lang.String uuid, long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempistica matching the UUID and group.
*
* @param uuid the tempistica's UUID
* @param groupId the primary key of the group
* @return the matching tempistica
* @throws PortalException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.Tempistica getTempisticaByUuidAndGroupId(
java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the tempisticas.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @return the range of tempisticas
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> getTempisticas(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of tempisticas.
*
* @return the number of tempisticas
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public int getTempisticasCount()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Updates the tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param tempistica the tempistica
* @return the tempistica that was updated
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.tref.liferay.portos.bo.model.Tempistica updateTempistica(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
public java.lang.String getBeanIdentifier();
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
public void setBeanIdentifier(java.lang.String beanIdentifier);
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
public it.tref.liferay.portos.bo.model.Tempistica addTempistica(
long intPraticaId, long dettPraticaId, java.lang.String tipo,
java.util.Date start,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Tempistica stopTempistica(
long tempisticaId, java.util.Date stop)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Tempistica ravvioTempistica(
long tempisticaId, java.util.Date date)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Tempistica concludiTempistica(
long tempisticaId, java.util.Date stop)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.Tempistica getTempistica(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo)
throws com.liferay.portal.kernel.exception.SystemException;
public int countScadenzePraticheInScadenza(long companyId, long groupId);
public int countScadenzePraticheScadute(long companyId, long groupId);
public int countScadenzeIntegrazioniScadute(long companyId, long groupId);
public int countPraticheAttive(long companyId, long groupId);
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<java.lang.Object[]> getScadenzePratiche(
long companyId, long groupId, int start, int end,
java.lang.Integer statoPratica, java.lang.String tipoPratica,
java.lang.String istruttore)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<java.lang.Object[]> getScadenzeIntegrazioni(
long companyId, long groupId, int start, int end,
java.lang.Integer statoPratica)
throws com.liferay.portal.kernel.exception.SystemException;
public int countScadenzePratiche(long companyId, long groupId,
java.lang.Integer statoPratica, java.lang.String tipoPratica,
java.lang.String istruttore)
throws com.liferay.portal.kernel.exception.SystemException;
public int countScadenzeIntegrazioni(long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByIntPratica_Tipo(
long intPraticaId, java.lang.String tipo)
throws com.liferay.portal.kernel.exception.SystemException;
public int countPraticheScaduteAutorizzazione(long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countPraticheScaduteControlloObbligatorio(long companyId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countPraticheInScadenzaAutorizzazioni(long companyId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countPraticheInScadenzaControlloObbligatorio(long companyId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Long> praticheAttiveAutorizzazioni(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Long> praticheAttiveControlloObbligatorio(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.lang.String getDtSottopostaAParere(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Long> countPraticheAttivePerDiscriminazione(
long companyId, long groupId);
public java.util.List<java.lang.Object[]> scadenzePraticheForBackwardCompatibility(
long companyId, long groupId, int start, int end);
}

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

File diff soppresso perché troppo grande Load Diff

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

@ -1,521 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service;
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;
import com.liferay.portal.service.InvokableLocalService;
/**
* Provides the local service utility for Tempistica. This utility wraps
* {@link it.tref.liferay.portos.bo.service.impl.TempisticaLocalServiceImpl} and is the
* primary access point for service operations in application layer code running
* on the local server. Methods of this service will not have security checks
* based on the propagated JAAS credentials because this service can only be
* accessed from within the same VM.
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see TempisticaLocalService
* @see it.tref.liferay.portos.bo.service.base.TempisticaLocalServiceBaseImpl
* @see it.tref.liferay.portos.bo.service.impl.TempisticaLocalServiceImpl
* @generated
*/
public class TempisticaLocalServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.bo.service.impl.TempisticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
*/
/**
* Adds the tempistica to the database. Also notifies the appropriate model listeners.
*
* @param tempistica the tempistica
* @return the tempistica that was added
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Tempistica addTempistica(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().addTempistica(tempistica);
}
/**
* Creates a new tempistica with the primary key. Does not add the tempistica to the database.
*
* @param tempisticaId the primary key for the new tempistica
* @return the new tempistica
*/
public static it.tref.liferay.portos.bo.model.Tempistica createTempistica(
long tempisticaId) {
return getService().createTempistica(tempisticaId);
}
/**
* Deletes the tempistica with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param tempisticaId the primary key of the tempistica
* @return the tempistica that was removed
* @throws PortalException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Tempistica deleteTempistica(
long tempisticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().deleteTempistica(tempisticaId);
}
/**
* Deletes the tempistica from the database. Also notifies the appropriate model listeners.
*
* @param tempistica the tempistica
* @return the tempistica that was removed
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Tempistica deleteTempistica(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().deleteTempistica(tempistica);
}
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return getService().dynamicQuery();
}
/**
* Performs a dynamic query on the database and returns the matching rows.
*
* @param dynamicQuery the dynamic query
* @return the matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public static java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().dynamicQuery(dynamicQuery);
}
/**
* Performs a dynamic query on the database and returns a range of the matching rows.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @return the range of matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public static java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end) throws com.liferay.portal.kernel.exception.SystemException {
return getService().dynamicQuery(dynamicQuery, start, end);
}
/**
* Performs a dynamic query on the database and returns an ordered range of the matching rows.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public static java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.dynamicQuery(dynamicQuery, start, end, orderByComparator);
}
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
public static long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().dynamicQueryCount(dynamicQuery);
}
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @param projection the projection to apply to the query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
public static long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().dynamicQueryCount(dynamicQuery, projection);
}
public static it.tref.liferay.portos.bo.model.Tempistica fetchTempistica(
long tempisticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchTempistica(tempisticaId);
}
/**
* Returns the tempistica with the matching UUID and company.
*
* @param uuid the tempistica's UUID
* @param companyId the primary key of the company
* @return the matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Tempistica fetchTempisticaByUuidAndCompanyId(
java.lang.String uuid, long companyId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchTempisticaByUuidAndCompanyId(uuid, companyId);
}
/**
* Returns the tempistica matching the UUID and group.
*
* @param uuid the tempistica's UUID
* @param groupId the primary key of the group
* @return the matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Tempistica fetchTempisticaByUuidAndGroupId(
java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchTempisticaByUuidAndGroupId(uuid, groupId);
}
/**
* Returns the tempistica with the primary key.
*
* @param tempisticaId the primary key of the tempistica
* @return the tempistica
* @throws PortalException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Tempistica getTempistica(
long tempisticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().getTempistica(tempisticaId);
}
public static com.liferay.portal.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().getPersistedModel(primaryKeyObj);
}
/**
* Returns the tempistica with the matching UUID and company.
*
* @param uuid the tempistica's UUID
* @param companyId the primary key of the company
* @return the matching tempistica
* @throws PortalException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Tempistica getTempisticaByUuidAndCompanyId(
java.lang.String uuid, long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().getTempisticaByUuidAndCompanyId(uuid, companyId);
}
/**
* Returns the tempistica matching the UUID and group.
*
* @param uuid the tempistica's UUID
* @param groupId the primary key of the group
* @return the matching tempistica
* @throws PortalException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Tempistica getTempisticaByUuidAndGroupId(
java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().getTempisticaByUuidAndGroupId(uuid, groupId);
}
/**
* Returns a range of all the tempisticas.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @return the range of tempisticas
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.Tempistica> getTempisticas(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getTempisticas(start, end);
}
/**
* Returns the number of tempisticas.
*
* @return the number of tempisticas
* @throws SystemException if a system exception occurred
*/
public static int getTempisticasCount()
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getTempisticasCount();
}
/**
* Updates the tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param tempistica the tempistica
* @return the tempistica that was updated
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Tempistica updateTempistica(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().updateTempistica(tempistica);
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
public static java.lang.String getBeanIdentifier() {
return getService().getBeanIdentifier();
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
public static void setBeanIdentifier(java.lang.String beanIdentifier) {
getService().setBeanIdentifier(beanIdentifier);
}
public static java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static it.tref.liferay.portos.bo.model.Tempistica addTempistica(
long intPraticaId, long dettPraticaId, java.lang.String tipo,
java.util.Date start,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.addTempistica(intPraticaId, dettPraticaId, tipo, start,
serviceContext);
}
public static it.tref.liferay.portos.bo.model.Tempistica stopTempistica(
long tempisticaId, java.util.Date stop)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().stopTempistica(tempisticaId, stop);
}
public static it.tref.liferay.portos.bo.model.Tempistica ravvioTempistica(
long tempisticaId, java.util.Date date)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().ravvioTempistica(tempisticaId, date);
}
public static it.tref.liferay.portos.bo.model.Tempistica concludiTempistica(
long tempisticaId, java.util.Date stop)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().concludiTempistica(tempisticaId, stop);
}
public static it.tref.liferay.portos.bo.model.Tempistica getTempistica(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.getTempistica(companyId, intPraticaId, tipo, completo);
}
public static int countScadenzePraticheInScadenza(long companyId,
long groupId) {
return getService().countScadenzePraticheInScadenza(companyId, groupId);
}
public static int countScadenzePraticheScadute(long companyId, long groupId) {
return getService().countScadenzePraticheScadute(companyId, groupId);
}
public static int countScadenzeIntegrazioniScadute(long companyId,
long groupId) {
return getService().countScadenzeIntegrazioniScadute(companyId, groupId);
}
public static int countPraticheAttive(long companyId, long groupId) {
return getService().countPraticheAttive(companyId, groupId);
}
public static java.util.List<java.lang.Object[]> getScadenzePratiche(
long companyId, long groupId, int start, int end,
java.lang.Integer statoPratica, java.lang.String tipoPratica,
java.lang.String istruttore)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.getScadenzePratiche(companyId, groupId, start, end,
statoPratica, tipoPratica, istruttore);
}
public static java.util.List<java.lang.Object[]> getScadenzeIntegrazioni(
long companyId, long groupId, int start, int end,
java.lang.Integer statoPratica)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.getScadenzeIntegrazioni(companyId, groupId, start, end,
statoPratica);
}
public static int countScadenzePratiche(long companyId, long groupId,
java.lang.Integer statoPratica, java.lang.String tipoPratica,
java.lang.String istruttore)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countScadenzePratiche(companyId, groupId, statoPratica,
tipoPratica, istruttore);
}
public static int countScadenzeIntegrazioni(long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countScadenzeIntegrazioni(companyId, groupId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByIntPratica_Tipo(
long intPraticaId, java.lang.String tipo)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findByIntPratica_Tipo(intPraticaId, tipo);
}
public static int countPraticheScaduteAutorizzazione(long companyId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countPraticheScaduteAutorizzazione(companyId, groupId);
}
public static int countPraticheScaduteControlloObbligatorio(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countPraticheScaduteControlloObbligatorio(companyId, groupId);
}
public static int countPraticheInScadenzaAutorizzazioni(long companyId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countPraticheInScadenzaAutorizzazioni(companyId, groupId);
}
public static int countPraticheInScadenzaControlloObbligatorio(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countPraticheInScadenzaControlloObbligatorio(companyId,
groupId);
}
public static java.util.List<java.lang.Long> praticheAttiveAutorizzazioni(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().praticheAttiveAutorizzazioni(companyId, groupId);
}
public static java.util.List<java.lang.Long> praticheAttiveControlloObbligatorio(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.praticheAttiveControlloObbligatorio(companyId, groupId);
}
public static java.lang.String getDtSottopostaAParere(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getDtSottopostaAParere(intPraticaId);
}
public static java.util.List<java.lang.Long> countPraticheAttivePerDiscriminazione(
long companyId, long groupId) {
return getService()
.countPraticheAttivePerDiscriminazione(companyId, groupId);
}
public static java.util.List<java.lang.Object[]> scadenzePraticheForBackwardCompatibility(
long companyId, long groupId, int start, int end) {
return getService()
.scadenzePraticheForBackwardCompatibility(companyId,
groupId, start, end);
}
public static void clearService() {
_service = null;
}
public static TempisticaLocalService getService() {
if (_service == null) {
InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
TempisticaLocalService.class.getName());
if (invokableLocalService instanceof TempisticaLocalService) {
_service = (TempisticaLocalService)invokableLocalService;
}
else {
_service = new TempisticaLocalServiceClp(invokableLocalService);
}
ReferenceRegistry.registerReference(TempisticaLocalServiceUtil.class,
"_service");
}
return _service;
}
/**
* @deprecated As of 6.2.0
*/
public void setService(TempisticaLocalService service) {
}
private static TempisticaLocalService _service;
}

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

@ -1,556 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service;
import com.liferay.portal.service.ServiceWrapper;
/**
* Provides a wrapper for {@link TempisticaLocalService}.
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see TempisticaLocalService
* @generated
*/
public class TempisticaLocalServiceWrapper implements TempisticaLocalService,
ServiceWrapper<TempisticaLocalService> {
public TempisticaLocalServiceWrapper(
TempisticaLocalService tempisticaLocalService) {
_tempisticaLocalService = tempisticaLocalService;
}
/**
* Adds the tempistica to the database. Also notifies the appropriate model listeners.
*
* @param tempistica the tempistica
* @return the tempistica that was added
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica addTempistica(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.addTempistica(tempistica);
}
/**
* Creates a new tempistica with the primary key. Does not add the tempistica to the database.
*
* @param tempisticaId the primary key for the new tempistica
* @return the new tempistica
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica createTempistica(
long tempisticaId) {
return _tempisticaLocalService.createTempistica(tempisticaId);
}
/**
* Deletes the tempistica with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param tempisticaId the primary key of the tempistica
* @return the tempistica that was removed
* @throws PortalException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica deleteTempistica(
long tempisticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.deleteTempistica(tempisticaId);
}
/**
* Deletes the tempistica from the database. Also notifies the appropriate model listeners.
*
* @param tempistica the tempistica
* @return the tempistica that was removed
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica deleteTempistica(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.deleteTempistica(tempistica);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _tempisticaLocalService.dynamicQuery();
}
/**
* Performs a dynamic query on the database and returns the matching rows.
*
* @param dynamicQuery the dynamic query
* @return the matching rows
* @throws SystemException if a system exception occurred
*/
@Override
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.dynamicQuery(dynamicQuery);
}
/**
* Performs a dynamic query on the database and returns a range of the matching rows.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @return the range of matching rows
* @throws SystemException if a system exception occurred
*/
@Override
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end) throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.dynamicQuery(dynamicQuery, start, end);
}
/**
* Performs a dynamic query on the database and returns an ordered range of the matching rows.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching rows
* @throws SystemException if a system exception occurred
*/
@Override
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.dynamicQuery(dynamicQuery, start, end,
orderByComparator);
}
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.dynamicQueryCount(dynamicQuery);
}
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @param projection the projection to apply to the query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.dynamicQueryCount(dynamicQuery,
projection);
}
@Override
public it.tref.liferay.portos.bo.model.Tempistica fetchTempistica(
long tempisticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.fetchTempistica(tempisticaId);
}
/**
* Returns the tempistica with the matching UUID and company.
*
* @param uuid the tempistica's UUID
* @param companyId the primary key of the company
* @return the matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica fetchTempisticaByUuidAndCompanyId(
java.lang.String uuid, long companyId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.fetchTempisticaByUuidAndCompanyId(uuid,
companyId);
}
/**
* Returns the tempistica matching the UUID and group.
*
* @param uuid the tempistica's UUID
* @param groupId the primary key of the group
* @return the matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica fetchTempisticaByUuidAndGroupId(
java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.fetchTempisticaByUuidAndGroupId(uuid,
groupId);
}
/**
* Returns the tempistica with the primary key.
*
* @param tempisticaId the primary key of the tempistica
* @return the tempistica
* @throws PortalException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica getTempistica(
long tempisticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getTempistica(tempisticaId);
}
@Override
public com.liferay.portal.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getPersistedModel(primaryKeyObj);
}
/**
* Returns the tempistica with the matching UUID and company.
*
* @param uuid the tempistica's UUID
* @param companyId the primary key of the company
* @return the matching tempistica
* @throws PortalException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica getTempisticaByUuidAndCompanyId(
java.lang.String uuid, long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getTempisticaByUuidAndCompanyId(uuid,
companyId);
}
/**
* Returns the tempistica matching the UUID and group.
*
* @param uuid the tempistica's UUID
* @param groupId the primary key of the group
* @return the matching tempistica
* @throws PortalException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica getTempisticaByUuidAndGroupId(
java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getTempisticaByUuidAndGroupId(uuid,
groupId);
}
/**
* Returns a range of all the tempisticas.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @return the range of tempisticas
* @throws SystemException if a system exception occurred
*/
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> getTempisticas(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getTempisticas(start, end);
}
/**
* Returns the number of tempisticas.
*
* @return the number of tempisticas
* @throws SystemException if a system exception occurred
*/
@Override
public int getTempisticasCount()
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getTempisticasCount();
}
/**
* Updates the tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param tempistica the tempistica
* @return the tempistica that was updated
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.bo.model.Tempistica updateTempistica(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.updateTempistica(tempistica);
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
@Override
public java.lang.String getBeanIdentifier() {
return _tempisticaLocalService.getBeanIdentifier();
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
@Override
public void setBeanIdentifier(java.lang.String beanIdentifier) {
_tempisticaLocalService.setBeanIdentifier(beanIdentifier);
}
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return _tempisticaLocalService.invokeMethod(name, parameterTypes,
arguments);
}
@Override
public it.tref.liferay.portos.bo.model.Tempistica addTempistica(
long intPraticaId, long dettPraticaId, java.lang.String tipo,
java.util.Date start,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.addTempistica(intPraticaId,
dettPraticaId, tipo, start, serviceContext);
}
@Override
public it.tref.liferay.portos.bo.model.Tempistica stopTempistica(
long tempisticaId, java.util.Date stop)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.stopTempistica(tempisticaId, stop);
}
@Override
public it.tref.liferay.portos.bo.model.Tempistica ravvioTempistica(
long tempisticaId, java.util.Date date)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.ravvioTempistica(tempisticaId, date);
}
@Override
public it.tref.liferay.portos.bo.model.Tempistica concludiTempistica(
long tempisticaId, java.util.Date stop)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.concludiTempistica(tempisticaId, stop);
}
@Override
public it.tref.liferay.portos.bo.model.Tempistica getTempistica(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getTempistica(companyId, intPraticaId,
tipo, completo);
}
@Override
public int countScadenzePraticheInScadenza(long companyId, long groupId) {
return _tempisticaLocalService.countScadenzePraticheInScadenza(companyId,
groupId);
}
@Override
public int countScadenzePraticheScadute(long companyId, long groupId) {
return _tempisticaLocalService.countScadenzePraticheScadute(companyId,
groupId);
}
@Override
public int countScadenzeIntegrazioniScadute(long companyId, long groupId) {
return _tempisticaLocalService.countScadenzeIntegrazioniScadute(companyId,
groupId);
}
@Override
public int countPraticheAttive(long companyId, long groupId) {
return _tempisticaLocalService.countPraticheAttive(companyId, groupId);
}
@Override
public java.util.List<java.lang.Object[]> getScadenzePratiche(
long companyId, long groupId, int start, int end,
java.lang.Integer statoPratica, java.lang.String tipoPratica,
java.lang.String istruttore)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getScadenzePratiche(companyId, groupId,
start, end, statoPratica, tipoPratica, istruttore);
}
@Override
public java.util.List<java.lang.Object[]> getScadenzeIntegrazioni(
long companyId, long groupId, int start, int end,
java.lang.Integer statoPratica)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getScadenzeIntegrazioni(companyId,
groupId, start, end, statoPratica);
}
@Override
public int countScadenzePratiche(long companyId, long groupId,
java.lang.Integer statoPratica, java.lang.String tipoPratica,
java.lang.String istruttore)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.countScadenzePratiche(companyId,
groupId, statoPratica, tipoPratica, istruttore);
}
@Override
public int countScadenzeIntegrazioni(long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.countScadenzeIntegrazioni(companyId,
groupId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByIntPratica_Tipo(
long intPraticaId, java.lang.String tipo)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.findByIntPratica_Tipo(intPraticaId, tipo);
}
@Override
public int countPraticheScaduteAutorizzazione(long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.countPraticheScaduteAutorizzazione(companyId,
groupId);
}
@Override
public int countPraticheScaduteControlloObbligatorio(long companyId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.countPraticheScaduteControlloObbligatorio(companyId,
groupId);
}
@Override
public int countPraticheInScadenzaAutorizzazioni(long companyId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.countPraticheInScadenzaAutorizzazioni(companyId,
groupId);
}
@Override
public int countPraticheInScadenzaControlloObbligatorio(long companyId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.countPraticheInScadenzaControlloObbligatorio(companyId,
groupId);
}
@Override
public java.util.List<java.lang.Long> praticheAttiveAutorizzazioni(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.praticheAttiveAutorizzazioni(companyId,
groupId);
}
@Override
public java.util.List<java.lang.Long> praticheAttiveControlloObbligatorio(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.praticheAttiveControlloObbligatorio(companyId,
groupId);
}
@Override
public java.lang.String getDtSottopostaAParere(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _tempisticaLocalService.getDtSottopostaAParere(intPraticaId);
}
@Override
public java.util.List<java.lang.Long> countPraticheAttivePerDiscriminazione(
long companyId, long groupId) {
return _tempisticaLocalService.countPraticheAttivePerDiscriminazione(companyId,
groupId);
}
@Override
public java.util.List<java.lang.Object[]> scadenzePraticheForBackwardCompatibility(
long companyId, long groupId, int start, int end) {
return _tempisticaLocalService.scadenzePraticheForBackwardCompatibility(companyId,
groupId, start, end);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/
public TempisticaLocalService getWrappedTempisticaLocalService() {
return _tempisticaLocalService;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
*/
public void setWrappedTempisticaLocalService(
TempisticaLocalService tempisticaLocalService) {
_tempisticaLocalService = tempisticaLocalService;
}
@Override
public TempisticaLocalService getWrappedService() {
return _tempisticaLocalService;
}
@Override
public void setWrappedService(TempisticaLocalService tempisticaLocalService) {
_tempisticaLocalService = tempisticaLocalService;
}
private TempisticaLocalService _tempisticaLocalService;
}

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

@ -1,66 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
import com.liferay.portal.kernel.transaction.Isolation;
import com.liferay.portal.kernel.transaction.Transactional;
import com.liferay.portal.security.ac.AccessControlled;
import com.liferay.portal.service.BaseService;
import com.liferay.portal.service.InvokableService;
/**
* Provides the remote service interface for Tempistica. Methods of this
* service are expected to have security checks based on the propagated JAAS
* credentials because this service can be accessed remotely.
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see TempisticaServiceUtil
* @see it.tref.liferay.portos.bo.service.base.TempisticaServiceBaseImpl
* @see it.tref.liferay.portos.bo.service.impl.TempisticaServiceImpl
* @generated
*/
@AccessControlled
@JSONWebService
@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
PortalException.class, SystemException.class})
public interface TempisticaService extends BaseService, InvokableService {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link TempisticaServiceUtil} to access the tempistica remote service. Add custom service methods to {@link it.tref.liferay.portos.bo.service.impl.TempisticaServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
public java.lang.String getBeanIdentifier();
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
public void setBeanIdentifier(java.lang.String beanIdentifier);
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
}

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

@ -1,91 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service;
import com.liferay.portal.service.InvokableService;
/**
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @generated
*/
public class TempisticaServiceClp implements TempisticaService {
public TempisticaServiceClp(InvokableService invokableService) {
_invokableService = invokableService;
_methodName0 = "getBeanIdentifier";
_methodParameterTypes0 = new String[] { };
_methodName1 = "setBeanIdentifier";
_methodParameterTypes1 = new String[] { "java.lang.String" };
}
@Override
public java.lang.String getBeanIdentifier() {
Object returnObj = null;
try {
returnObj = _invokableService.invokeMethod(_methodName0,
_methodParameterTypes0, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.lang.String)ClpSerializer.translateOutput(returnObj);
}
@Override
public void setBeanIdentifier(java.lang.String beanIdentifier) {
try {
_invokableService.invokeMethod(_methodName1,
_methodParameterTypes1,
new Object[] { ClpSerializer.translateInput(beanIdentifier) });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
}
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
throw new UnsupportedOperationException();
}
private InvokableService _invokableService;
private String _methodName0;
private String[] _methodParameterTypes0;
private String _methodName1;
private String[] _methodParameterTypes1;
}

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

@ -1,96 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service;
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;
import com.liferay.portal.service.InvokableService;
/**
* Provides the remote service utility for Tempistica. This utility wraps
* {@link it.tref.liferay.portos.bo.service.impl.TempisticaServiceImpl} and is the
* primary access point for service operations in application layer code running
* on a remote server. Methods of this service are expected to have security
* checks based on the propagated JAAS credentials because this service can be
* accessed remotely.
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see TempisticaService
* @see it.tref.liferay.portos.bo.service.base.TempisticaServiceBaseImpl
* @see it.tref.liferay.portos.bo.service.impl.TempisticaServiceImpl
* @generated
*/
public class TempisticaServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.bo.service.impl.TempisticaServiceImpl} and rerun ServiceBuilder to regenerate this class.
*/
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
public static java.lang.String getBeanIdentifier() {
return getService().getBeanIdentifier();
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
public static void setBeanIdentifier(java.lang.String beanIdentifier) {
getService().setBeanIdentifier(beanIdentifier);
}
public static java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static void clearService() {
_service = null;
}
public static TempisticaService getService() {
if (_service == null) {
InvokableService invokableService = (InvokableService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
TempisticaService.class.getName());
if (invokableService instanceof TempisticaService) {
_service = (TempisticaService)invokableService;
}
else {
_service = new TempisticaServiceClp(invokableService);
}
ReferenceRegistry.registerReference(TempisticaServiceUtil.class,
"_service");
}
return _service;
}
/**
* @deprecated As of 6.2.0
*/
public void setService(TempisticaService service) {
}
private static TempisticaService _service;
}

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

@ -1,84 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service;
import com.liferay.portal.service.ServiceWrapper;
/**
* Provides a wrapper for {@link TempisticaService}.
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see TempisticaService
* @generated
*/
public class TempisticaServiceWrapper implements TempisticaService,
ServiceWrapper<TempisticaService> {
public TempisticaServiceWrapper(TempisticaService tempisticaService) {
_tempisticaService = tempisticaService;
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
@Override
public java.lang.String getBeanIdentifier() {
return _tempisticaService.getBeanIdentifier();
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
@Override
public void setBeanIdentifier(java.lang.String beanIdentifier) {
_tempisticaService.setBeanIdentifier(beanIdentifier);
}
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return _tempisticaService.invokeMethod(name, parameterTypes, arguments);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/
public TempisticaService getWrappedTempisticaService() {
return _tempisticaService;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
*/
public void setWrappedTempisticaService(TempisticaService tempisticaService) {
_tempisticaService = tempisticaService;
}
@Override
public TempisticaService getWrappedService() {
return _tempisticaService;
}
@Override
public void setWrappedService(TempisticaService tempisticaService) {
_tempisticaService = tempisticaService;
}
private TempisticaService _tempisticaService;
}

5
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/messaging/ClpMessageListener.java

@ -58,8 +58,6 @@ import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.SoggettoServiceUtil;
import it.tref.liferay.portos.bo.service.StoricoSoggettoPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.StoricoSoggettoPraticaServiceUtil;
import it.tref.liferay.portos.bo.service.TempisticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TempisticaServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioServiceUtil;
@ -138,9 +136,6 @@ public class ClpMessageListener extends BaseMessageListener {
StoricoSoggettoPraticaLocalServiceUtil.clearService();
StoricoSoggettoPraticaServiceUtil.clearService();
TempisticaLocalServiceUtil.clearService();
TempisticaServiceUtil.clearService();
TerritorioLocalServiceUtil.clearService();
TerritorioServiceUtil.clearService();

50
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java

@ -18,26 +18,6 @@ package it.tref.liferay.portos.bo.service.persistence;
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
*/
public interface IntPraticaFinder {
public int countAutorizzazione(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countVidimate(java.util.Date dtMin, java.util.Date dtMax,
long groupId, java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> countControllo(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException;
public int countDeposito(java.util.Date dtMin, java.util.Date dtMax,
long groupId, boolean controlloOblligatorio)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> riparaWorkflow()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> canAddCollaudo(
java.lang.String codiceFiscaleDelegatoCollaudo, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
@ -45,34 +25,4 @@ public interface IntPraticaFinder {
public int canAddCollaudoCount(
java.lang.String codiceFiscaleDelegatoCollaudo)
throws com.liferay.portal.kernel.exception.SystemException;
public int countSanatorie(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countOpereMinoreImportanza(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> reportTempisticheIstruttorieAvvisiAutorizzazioni(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> reportPraticheVidimate(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException;
public int countIngressiAutorizzazioni(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countIngressiDepositi(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countIngressiCO(java.util.Date dtMin, java.util.Date dtMax,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
}

81
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java

@ -21,41 +21,6 @@ import com.liferay.portal.kernel.util.ReferenceRegistry;
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
*/
public class IntPraticaFinderUtil {
public static int countAutorizzazione(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().countAutorizzazione(dtMin, dtMax, groupId);
}
public static int countVidimate(java.util.Date dtMin, java.util.Date dtMax,
long groupId, java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder()
.countVidimate(dtMin, dtMax, groupId, type,
isControlloObbligatorio);
}
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> countControllo(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type, boolean isControlloObbligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder()
.countControllo(dtMin, dtMax, groupId, type,
isControlloObbligatorio);
}
public static int countDeposito(java.util.Date dtMin, java.util.Date dtMax,
long groupId, boolean controlloOblligatorio)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder()
.countDeposito(dtMin, dtMax, groupId, controlloOblligatorio);
}
public static java.util.List<java.lang.Object[]> riparaWorkflow()
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().riparaWorkflow();
}
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> canAddCollaudo(
java.lang.String codiceFiscaleDelegatoCollaudo, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
@ -69,52 +34,6 @@ public class IntPraticaFinderUtil {
return getFinder().canAddCollaudoCount(codiceFiscaleDelegatoCollaudo);
}
public static int countSanatorie(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().countSanatorie(dtMin, dtMax, groupId);
}
public static int countOpereMinoreImportanza(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().countOpereMinoreImportanza(dtMin, dtMax, groupId);
}
public static java.util.List<java.lang.Object[]> reportTempisticheIstruttorieAvvisiAutorizzazioni(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder()
.reportTempisticheIstruttorieAvvisiAutorizzazioni(dtMin,
dtMax, groupId, type);
}
public static java.util.List<java.lang.Object[]> reportPraticheVidimate(
java.util.Date dtMin, java.util.Date dtMax, long groupId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().reportPraticheVidimate(dtMin, dtMax, groupId, type);
}
public static int countIngressiAutorizzazioni(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().countIngressiAutorizzazioni(dtMin, dtMax, groupId);
}
public static int countIngressiDepositi(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().countIngressiDepositi(dtMin, dtMax, groupId);
}
public static int countIngressiCO(java.util.Date dtMin,
java.util.Date dtMax, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().countIngressiCO(dtMin, dtMax, groupId);
}
public static IntPraticaFinder getFinder() {
if (_finder == null) {
_finder = (IntPraticaFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.bo.service.ClpSerializer.getServletContextName(),

336
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistence.java

@ -525,441 +525,343 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the parere geologos where intPraticaId = &#63; and parere = &#63;.
* Returns all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_Parere(
long intPraticaId, java.lang.String parere)
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the parere geologos where intPraticaId = &#63; and parere = &#63;.
* Returns a range of all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_Parere(
long intPraticaId, java.lang.String parere, int start, int end)
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the parere geologos where intPraticaId = &#63; and parere = &#63;.
* Returns an ordered range of all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_Parere(
long intPraticaId, java.lang.String parere, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_Parere_First(
long intPraticaId, java.lang.String parere,
public it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_DtCompilazione_DtAnnullamento_First(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_Parere_First(
long intPraticaId, java.lang.String parere,
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_DtCompilazione_DtAnnullamento_First(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_Parere_Last(
long intPraticaId, java.lang.String parere,
public it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_DtCompilazione_DtAnnullamento_Last(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_Parere_Last(
long intPraticaId, java.lang.String parere,
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_DtCompilazione_DtAnnullamento_Last(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
* Returns the parere geologos before and after the current parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo[] findByIntPraticaId_Parere_PrevAndNext(
long parereGeologoId, long intPraticaId, java.lang.String parere,
public it.tref.liferay.portos.bo.model.ParereGeologo[] findByIntPraticaId_DtCompilazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Removes all the parere geologos where intPraticaId = &#63; and parere = &#63; from the database.
* Removes all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public void removeByIntPraticaId_Parere(long intPraticaId,
java.lang.String parere)
public void removeByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of parere geologos where intPraticaId = &#63; and parere = &#63;.
* Returns the number of parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public int countByIntPraticaId_Parere(long intPraticaId,
java.lang.String parere)
public int countByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the parere geologos where intPraticaId = &#63; and geologoUserId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the parere geologos where intPraticaId = &#63; and geologoUserId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the parere geologos where intPraticaId = &#63; and geologoUserId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_GeologoId_First(
long intPraticaId, long geologoUserId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_GeologoId_First(
long intPraticaId, long geologoUserId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_GeologoId_Last(
long intPraticaId, long geologoUserId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_GeologoId_Last(
long intPraticaId, long geologoUserId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo[] findByIntPraticaId_GeologoId_PrevAndNext(
long parereGeologoId, long intPraticaId, long geologoUserId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Removes all the parere geologos where intPraticaId = &#63; and geologoUserId = &#63; from the database.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @throws SystemException if a system exception occurred
*/
public void removeByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of parere geologos where intPraticaId = &#63; and geologoUserId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the parere geologos where geologoUserId = &#63;.
* Returns all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId)
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the parere geologos where geologoUserId = &#63;.
* Returns a range of all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId, int start, int end)
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the parere geologos where geologoUserId = &#63;.
* Returns an ordered range of all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the first parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoId_First(
long geologoUserId,
public it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoUserId_DtCompilazione_DtAnnullamento_First(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the first parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the first parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoId_First(
long geologoUserId,
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoUserId_DtCompilazione_DtAnnullamento_First(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the last parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoId_Last(
long geologoUserId,
public it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoUserId_DtCompilazione_DtAnnullamento_Last(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the last parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the last parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoId_Last(
long geologoUserId,
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoUserId_DtCompilazione_DtAnnullamento_Last(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the parere geologos before and after the current parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo[] findByGeologoId_PrevAndNext(
public it.tref.liferay.portos.bo.model.ParereGeologo[] findByGeologoUserId_DtCompilazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long geologoUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Removes all the parere geologos where geologoUserId = &#63; from the database.
* Removes all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public void removeByGeologoId(long geologoUserId)
public void removeByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of parere geologos where geologoUserId = &#63;.
* Returns the number of parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public int countByGeologoId(long geologoUserId)
public int countByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**

441
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoUtil.java

@ -685,538 +685,423 @@ public class ParereGeologoUtil {
}
/**
* Returns all the parere geologos where intPraticaId = &#63; and parere = &#63;.
* Returns all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_Parere(
long intPraticaId, java.lang.String parere)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findByIntPraticaId_Parere(intPraticaId, parere);
}
/**
* Returns a range of all the parere geologos where intPraticaId = &#63; and parere = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_Parere(
long intPraticaId, java.lang.String parere, int start, int end)
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByIntPraticaId_Parere(intPraticaId, parere, start, end);
.findByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns an ordered range of all the parere geologos where intPraticaId = &#63; and parere = &#63;.
* Returns a range of all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_Parere(
long intPraticaId, java.lang.String parere, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByIntPraticaId_Parere(intPraticaId, parere, start, end,
orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_Parere_First(
long intPraticaId, java.lang.String parere,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByIntPraticaId_Parere_First(intPraticaId, parere,
orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_Parere_First(
long intPraticaId, java.lang.String parere,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByIntPraticaId_Parere_First(intPraticaId, parere,
orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_Parere_Last(
long intPraticaId, java.lang.String parere,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByIntPraticaId_Parere_Last(intPraticaId, parere,
orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_Parere_Last(
long intPraticaId, java.lang.String parere,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByIntPraticaId_Parere_Last(intPraticaId, parere,
orderByComparator);
}
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where intPraticaId = &#63; and parere = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param intPraticaId the int pratica ID
* @param parere the parere
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByIntPraticaId_Parere_PrevAndNext(
long parereGeologoId, long intPraticaId, java.lang.String parere,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByIntPraticaId_Parere_PrevAndNext(parereGeologoId,
intPraticaId, parere, orderByComparator);
}
/**
* Removes all the parere geologos where intPraticaId = &#63; and parere = &#63; from the database.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @throws SystemException if a system exception occurred
*/
public static void removeByIntPraticaId_Parere(long intPraticaId,
java.lang.String parere)
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence().removeByIntPraticaId_Parere(intPraticaId, parere);
}
/**
* Returns the number of parere geologos where intPraticaId = &#63; and parere = &#63;.
*
* @param intPraticaId the int pratica ID
* @param parere the parere
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static int countByIntPraticaId_Parere(long intPraticaId,
java.lang.String parere)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByIntPraticaId_Parere(intPraticaId, parere);
}
/**
* Returns all the parere geologos where intPraticaId = &#63; and geologoUserId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByIntPraticaId_GeologoId(intPraticaId, geologoUserId);
}
/**
* Returns a range of all the parere geologos where intPraticaId = &#63; and geologoUserId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end)
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByIntPraticaId_GeologoId(intPraticaId, geologoUserId,
start, end);
.findByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento, start, end);
}
/**
* Returns an ordered range of all the parere geologos where intPraticaId = &#63; and geologoUserId = &#63;.
* Returns an ordered range of all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_GeologoId(
long intPraticaId, long geologoUserId, int start, int end,
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByIntPraticaId_GeologoId(intPraticaId, geologoUserId,
start, end, orderByComparator);
.findByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento, start, end, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_GeologoId_First(
long intPraticaId, long geologoUserId,
public static it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_DtCompilazione_DtAnnullamento_First(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByIntPraticaId_GeologoId_First(intPraticaId,
geologoUserId, orderByComparator);
.findByIntPraticaId_DtCompilazione_DtAnnullamento_First(intPraticaId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_GeologoId_First(
long intPraticaId, long geologoUserId,
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_DtCompilazione_DtAnnullamento_First(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByIntPraticaId_GeologoId_First(intPraticaId,
geologoUserId, orderByComparator);
.fetchByIntPraticaId_DtCompilazione_DtAnnullamento_First(intPraticaId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_GeologoId_Last(
long intPraticaId, long geologoUserId,
public static it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_DtCompilazione_DtAnnullamento_Last(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByIntPraticaId_GeologoId_Last(intPraticaId,
geologoUserId, orderByComparator);
.findByIntPraticaId_DtCompilazione_DtAnnullamento_Last(intPraticaId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_GeologoId_Last(
long intPraticaId, long geologoUserId,
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_DtCompilazione_DtAnnullamento_Last(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByIntPraticaId_GeologoId_Last(intPraticaId,
geologoUserId, orderByComparator);
.fetchByIntPraticaId_DtCompilazione_DtAnnullamento_Last(intPraticaId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where intPraticaId = &#63; and geologoUserId = &#63;.
* Returns the parere geologos before and after the current parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByIntPraticaId_GeologoId_PrevAndNext(
long parereGeologoId, long intPraticaId, long geologoUserId,
public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByIntPraticaId_DtCompilazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByIntPraticaId_GeologoId_PrevAndNext(parereGeologoId,
intPraticaId, geologoUserId, orderByComparator);
.findByIntPraticaId_DtCompilazione_DtAnnullamento_PrevAndNext(parereGeologoId,
intPraticaId, dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Removes all the parere geologos where intPraticaId = &#63; and geologoUserId = &#63; from the database.
* Removes all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public static void removeByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
public static void removeByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence()
.removeByIntPraticaId_GeologoId(intPraticaId, geologoUserId);
.removeByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns the number of parere geologos where intPraticaId = &#63; and geologoUserId = &#63;.
* Returns the number of parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static int countByIntPraticaId_GeologoId(long intPraticaId,
long geologoUserId)
public static int countByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.countByIntPraticaId_GeologoId(intPraticaId, geologoUserId);
.countByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns all the parere geologos where geologoUserId = &#63;.
* Returns all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId)
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findByGeologoId(geologoUserId);
return getPersistence()
.findByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns a range of all the parere geologos where geologoUserId = &#63;.
* Returns a range of all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId, int start, int end)
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findByGeologoId(geologoUserId, start, end);
return getPersistence()
.findByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento, start, end);
}
/**
* Returns an ordered range of all the parere geologos where geologoUserId = &#63;.
* Returns an ordered range of all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoId(
long geologoUserId, int start, int end,
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGeologoId(geologoUserId, start, end, orderByComparator);
.findByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento, start, end, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the first parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoId_First(
long geologoUserId,
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoUserId_DtCompilazione_DtAnnullamento_First(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByGeologoId_First(geologoUserId, orderByComparator);
.findByGeologoUserId_DtCompilazione_DtAnnullamento_First(geologoUserId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the first parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoId_First(
long geologoUserId,
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoUserId_DtCompilazione_DtAnnullamento_First(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByGeologoId_First(geologoUserId, orderByComparator);
.fetchByGeologoUserId_DtCompilazione_DtAnnullamento_First(geologoUserId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the last parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoId_Last(
long geologoUserId,
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoUserId_DtCompilazione_DtAnnullamento_Last(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByGeologoId_Last(geologoUserId, orderByComparator);
.findByGeologoUserId_DtCompilazione_DtAnnullamento_Last(geologoUserId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the last parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoId_Last(
long geologoUserId,
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoUserId_DtCompilazione_DtAnnullamento_Last(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByGeologoId_Last(geologoUserId, orderByComparator);
.fetchByGeologoUserId_DtCompilazione_DtAnnullamento_Last(geologoUserId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where geologoUserId = &#63;.
* Returns the parere geologos before and after the current parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByGeologoId_PrevAndNext(
public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByGeologoUserId_DtCompilazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long geologoUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByGeologoId_PrevAndNext(parereGeologoId, geologoUserId,
orderByComparator);
.findByGeologoUserId_DtCompilazione_DtAnnullamento_PrevAndNext(parereGeologoId,
geologoUserId, dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Removes all the parere geologos where geologoUserId = &#63; from the database.
* Removes all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public static void removeByGeologoId(long geologoUserId)
public static void removeByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence().removeByGeologoId(geologoUserId);
getPersistence()
.removeByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns the number of parere geologos where geologoUserId = &#63;.
* Returns the number of parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static int countByGeologoId(long geologoUserId)
public static int countByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByGeologoId(geologoUserId);
return getPersistence()
.countByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento);
}
/**

37
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaActionableDynamicQuery.java

@ -1,37 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service.persistence;
import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery;
import com.liferay.portal.kernel.exception.SystemException;
import it.tref.liferay.portos.bo.model.Tempistica;
import it.tref.liferay.portos.bo.service.TempisticaLocalServiceUtil;
/**
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @generated
*/
public abstract class TempisticaActionableDynamicQuery
extends BaseActionableDynamicQuery {
public TempisticaActionableDynamicQuery() throws SystemException {
setBaseLocalService(TempisticaLocalServiceUtil.getService());
setClass(Tempistica.class);
setClassLoader(it.tref.liferay.portos.bo.service.ClpSerializer.class.getClassLoader());
setPrimaryKeyPropertyName("tempisticaId");
}
}

85
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaExportActionableDynamicQuery.java

@ -1,85 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service.persistence;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.lar.ExportImportHelperUtil;
import com.liferay.portal.kernel.lar.ManifestSummary;
import com.liferay.portal.kernel.lar.PortletDataContext;
import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil;
import com.liferay.portal.kernel.lar.StagedModelType;
import com.liferay.portal.util.PortalUtil;
import it.tref.liferay.portos.bo.model.Tempistica;
/**
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @generated
*/
public class TempisticaExportActionableDynamicQuery
extends TempisticaActionableDynamicQuery {
public TempisticaExportActionableDynamicQuery(
PortletDataContext portletDataContext) throws SystemException {
_portletDataContext = portletDataContext;
setCompanyId(_portletDataContext.getCompanyId());
setGroupId(_portletDataContext.getScopeGroupId());
}
@Override
public long performCount() throws PortalException, SystemException {
ManifestSummary manifestSummary = _portletDataContext.getManifestSummary();
StagedModelType stagedModelType = getStagedModelType();
long modelAdditionCount = super.performCount();
manifestSummary.addModelAdditionCount(stagedModelType.toString(),
modelAdditionCount);
long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext,
stagedModelType);
manifestSummary.addModelDeletionCount(stagedModelType.toString(),
modelDeletionCount);
return modelAdditionCount;
}
@Override
protected void addCriteria(DynamicQuery dynamicQuery) {
_portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate");
}
protected StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(
Tempistica.class.getName()));
}
@Override
@SuppressWarnings("unused")
protected void performAction(Object object)
throws PortalException, SystemException {
Tempistica stagedModel = (Tempistica)object;
StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext,
stagedModel);
}
private PortletDataContext _portletDataContext;
}

65
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaFinder.java

@ -1,65 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service.persistence;
/**
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
*/
public interface TempisticaFinder {
public int countScadenzePraticheInScadenza(long companyId, long groupId);
public int countPraticheInScadenzaAutorizzazioni(long companyId,
long groupId);
public int countPraticheInScadenzaControlloObbligatorio(long companyId,
long groupId);
public int countPraticheAttive(long companyId, long groupId);
public java.util.List<java.lang.Long> countPraticheAttivePerDiscriminazione(
long companyId, long groupId);
public java.util.List<java.lang.Long> praticheAttiveAutorizzazioni(
long companyId, long groupId);
public java.util.List<java.lang.Long> praticheAttiveControlloObbligatorio(
long companyId, long groupId);
public int countScadenzePraticheScadute(long companyId, long groupId);
public int countPraticheScaduteAutorizzazione(long companyId, long groupId);
public int countPraticheScaduteControlloObbligatorio(long companyId,
long groupId);
public int countScadenzeIntegrazioniScadute(long companyId, long groupId);
public java.util.List<java.lang.Object[]> scadenzePratiche(long companyId,
long groupId, int start, int end, java.lang.Integer statoPratica,
java.lang.String tipoPratica, java.lang.String istruttore);
public java.util.List<java.lang.Object[]> scadenzeIntegrazioni(
long companyId, long groupId, int start, int end,
java.lang.Integer statoPratica);
public int countScadenzePratiche(long companyId, long groupId,
java.lang.Integer statoPratica, java.lang.String tipoPratica,
java.lang.String istruttore);
public int countScadenzeIntegrazioni(long companyId, long groupId);
public java.util.List<java.lang.Object[]> scadenzePraticheForBackwardCompatibility(
long companyId, long groupId, int start, int end);
}

139
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaFinderUtil.java

@ -1,139 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service.persistence;
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;
/**
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
*/
public class TempisticaFinderUtil {
public static int countScadenzePraticheInScadenza(long companyId,
long groupId) {
return getFinder().countScadenzePraticheInScadenza(companyId, groupId);
}
public static int countPraticheInScadenzaAutorizzazioni(long companyId,
long groupId) {
return getFinder()
.countPraticheInScadenzaAutorizzazioni(companyId, groupId);
}
public static int countPraticheInScadenzaControlloObbligatorio(
long companyId, long groupId) {
return getFinder()
.countPraticheInScadenzaControlloObbligatorio(companyId,
groupId);
}
public static int countPraticheAttive(long companyId, long groupId) {
return getFinder().countPraticheAttive(companyId, groupId);
}
public static java.util.List<java.lang.Long> countPraticheAttivePerDiscriminazione(
long companyId, long groupId) {
return getFinder()
.countPraticheAttivePerDiscriminazione(companyId, groupId);
}
public static java.util.List<java.lang.Long> praticheAttiveAutorizzazioni(
long companyId, long groupId) {
return getFinder().praticheAttiveAutorizzazioni(companyId, groupId);
}
public static java.util.List<java.lang.Long> praticheAttiveControlloObbligatorio(
long companyId, long groupId) {
return getFinder()
.praticheAttiveControlloObbligatorio(companyId, groupId);
}
public static int countScadenzePraticheScadute(long companyId, long groupId) {
return getFinder().countScadenzePraticheScadute(companyId, groupId);
}
public static int countPraticheScaduteAutorizzazione(long companyId,
long groupId) {
return getFinder().countPraticheScaduteAutorizzazione(companyId, groupId);
}
public static int countPraticheScaduteControlloObbligatorio(
long companyId, long groupId) {
return getFinder()
.countPraticheScaduteControlloObbligatorio(companyId, groupId);
}
public static int countScadenzeIntegrazioniScadute(long companyId,
long groupId) {
return getFinder().countScadenzeIntegrazioniScadute(companyId, groupId);
}
public static java.util.List<java.lang.Object[]> scadenzePratiche(
long companyId, long groupId, int start, int end,
java.lang.Integer statoPratica, java.lang.String tipoPratica,
java.lang.String istruttore) {
return getFinder()
.scadenzePratiche(companyId, groupId, start, end,
statoPratica, tipoPratica, istruttore);
}
public static java.util.List<java.lang.Object[]> scadenzeIntegrazioni(
long companyId, long groupId, int start, int end,
java.lang.Integer statoPratica) {
return getFinder()
.scadenzeIntegrazioni(companyId, groupId, start, end,
statoPratica);
}
public static int countScadenzePratiche(long companyId, long groupId,
java.lang.Integer statoPratica, java.lang.String tipoPratica,
java.lang.String istruttore) {
return getFinder()
.countScadenzePratiche(companyId, groupId, statoPratica,
tipoPratica, istruttore);
}
public static int countScadenzeIntegrazioni(long companyId, long groupId) {
return getFinder().countScadenzeIntegrazioni(companyId, groupId);
}
public static java.util.List<java.lang.Object[]> scadenzePraticheForBackwardCompatibility(
long companyId, long groupId, int start, int end) {
return getFinder()
.scadenzePraticheForBackwardCompatibility(companyId,
groupId, start, end);
}
public static TempisticaFinder getFinder() {
if (_finder == null) {
_finder = (TempisticaFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.bo.service.ClpSerializer.getServletContextName(),
TempisticaFinder.class.getName());
ReferenceRegistry.registerReference(TempisticaFinderUtil.class,
"_finder");
}
return _finder;
}
public void setFinder(TempisticaFinder finder) {
_finder = finder;
ReferenceRegistry.registerReference(TempisticaFinderUtil.class,
"_finder");
}
private static TempisticaFinder _finder;
}

976
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaPersistence.java

@ -1,976 +0,0 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.tref.liferay.portos.bo.service.persistence;
import com.liferay.portal.service.persistence.BasePersistence;
import it.tref.liferay.portos.bo.model.Tempistica;
/**
* The persistence interface for the tempistica service.
*
* <p>
* Caching information and settings can be found in <code>portal.properties</code>
* </p>
*
* @author Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.
* @see TempisticaPersistenceImpl
* @see TempisticaUtil
* @generated
*/
public interface TempisticaPersistence extends BasePersistence<Tempistica> {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link TempisticaUtil} to access the tempistica persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the tempisticas where uuid = &#63;.
*
* @param uuid the uuid
* @return the matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByUuid(
java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the tempisticas where uuid = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param uuid the uuid
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @return the range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByUuid(
java.lang.String uuid, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the tempisticas where uuid = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param uuid the uuid
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByUuid(
java.lang.String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first tempistica in the ordered set where uuid = &#63;.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByUuid_First(
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the first tempistica in the ordered set where uuid = &#63;.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByUuid_First(
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last tempistica in the ordered set where uuid = &#63;.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByUuid_Last(
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the last tempistica in the ordered set where uuid = &#63;.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByUuid_Last(
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempisticas before and after the current tempistica in the ordered set where uuid = &#63;.
*
* @param tempisticaId the primary key of the current tempistica
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica[] findByUuid_PrevAndNext(
long tempisticaId, java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Removes all the tempisticas where uuid = &#63; from the database.
*
* @param uuid the uuid
* @throws SystemException if a system exception occurred
*/
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of tempisticas where uuid = &#63;.
*
* @param uuid the uuid
* @return the number of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public int countByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempistica where uuid = &#63; and groupId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchTempisticaException} if it could not be found.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByUUID_G(
java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the tempistica where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByUUID_G(
java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempistica where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param uuid the uuid
* @param groupId the group ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByUUID_G(
java.lang.String uuid, long groupId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the tempistica where uuid = &#63; and groupId = &#63; from the database.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the tempistica that was removed
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica removeByUUID_G(
java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the number of tempisticas where uuid = &#63; and groupId = &#63;.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the number of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public int countByUUID_G(java.lang.String uuid, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the tempisticas where uuid = &#63; and companyId = &#63;.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByUuid_C(
java.lang.String uuid, long companyId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the tempisticas where uuid = &#63; and companyId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @return the range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByUuid_C(
java.lang.String uuid, long companyId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the tempisticas where uuid = &#63; and companyId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByUuid_C(
java.lang.String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first tempistica in the ordered set where uuid = &#63; and companyId = &#63;.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByUuid_C_First(
java.lang.String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the first tempistica in the ordered set where uuid = &#63; and companyId = &#63;.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByUuid_C_First(
java.lang.String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last tempistica in the ordered set where uuid = &#63; and companyId = &#63;.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByUuid_C_Last(
java.lang.String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the last tempistica in the ordered set where uuid = &#63; and companyId = &#63;.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByUuid_C_Last(
java.lang.String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempisticas before and after the current tempistica in the ordered set where uuid = &#63; and companyId = &#63;.
*
* @param tempisticaId the primary key of the current tempistica
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica[] findByUuid_C_PrevAndNext(
long tempisticaId, java.lang.String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Removes all the tempisticas where uuid = &#63; and companyId = &#63; from the database.
*
* @param uuid the uuid
* @param companyId the company ID
* @throws SystemException if a system exception occurred
*/
public void removeByUuid_C(java.lang.String uuid, long companyId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of tempisticas where uuid = &#63; and companyId = &#63;.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public int countByUuid_C(java.lang.String uuid, long companyId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the tempisticas where intPraticaId = &#63;.
*
* @param intPraticaId the int pratica ID
* @return the matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByIntPratica(
long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the tempisticas where intPraticaId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @return the range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByIntPratica(
long intPraticaId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the tempisticas where intPraticaId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByIntPratica(
long intPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first tempistica in the ordered set where intPraticaId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByIntPratica_First(
long intPraticaId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the first tempistica in the ordered set where intPraticaId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByIntPratica_First(
long intPraticaId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last tempistica in the ordered set where intPraticaId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByIntPratica_Last(
long intPraticaId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the last tempistica in the ordered set where intPraticaId = &#63;.
*
* @param intPraticaId the int pratica ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByIntPratica_Last(
long intPraticaId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempisticas before and after the current tempistica in the ordered set where intPraticaId = &#63;.
*
* @param tempisticaId the primary key of the current tempistica
* @param intPraticaId the int pratica ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica[] findByIntPratica_PrevAndNext(
long tempisticaId, long intPraticaId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Removes all the tempisticas where intPraticaId = &#63; from the database.
*
* @param intPraticaId the int pratica ID
* @throws SystemException if a system exception occurred
*/
public void removeByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of tempisticas where intPraticaId = &#63;.
*
* @param intPraticaId the int pratica ID
* @return the number of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public int countByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the tempisticas where intPraticaId = &#63; and tipo = &#63;.
*
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @return the matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByIntPratica_Tipo(
long intPraticaId, java.lang.String tipo)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the tempisticas where intPraticaId = &#63; and tipo = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @return the range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByIntPratica_Tipo(
long intPraticaId, java.lang.String tipo, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the tempisticas where intPraticaId = &#63; and tipo = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByIntPratica_Tipo(
long intPraticaId, java.lang.String tipo, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first tempistica in the ordered set where intPraticaId = &#63; and tipo = &#63;.
*
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByIntPratica_Tipo_First(
long intPraticaId, java.lang.String tipo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the first tempistica in the ordered set where intPraticaId = &#63; and tipo = &#63;.
*
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByIntPratica_Tipo_First(
long intPraticaId, java.lang.String tipo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last tempistica in the ordered set where intPraticaId = &#63; and tipo = &#63;.
*
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByIntPratica_Tipo_Last(
long intPraticaId, java.lang.String tipo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the last tempistica in the ordered set where intPraticaId = &#63; and tipo = &#63;.
*
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByIntPratica_Tipo_Last(
long intPraticaId, java.lang.String tipo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempisticas before and after the current tempistica in the ordered set where intPraticaId = &#63; and tipo = &#63;.
*
* @param tempisticaId the primary key of the current tempistica
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica[] findByIntPratica_Tipo_PrevAndNext(
long tempisticaId, long intPraticaId, java.lang.String tipo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Removes all the tempisticas where intPraticaId = &#63; and tipo = &#63; from the database.
*
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @throws SystemException if a system exception occurred
*/
public void removeByIntPratica_Tipo(long intPraticaId, java.lang.String tipo)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of tempisticas where intPraticaId = &#63; and tipo = &#63;.
*
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @return the number of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public int countByIntPratica_Tipo(long intPraticaId, java.lang.String tipo)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the tempisticas where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63;.
*
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @return the matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByC_IntPratica_Tipo_Completo(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the tempisticas where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @return the range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByC_IntPratica_Tipo_Completo(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the tempisticas where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findByC_IntPratica_Tipo_Completo(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first tempistica in the ordered set where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63;.
*
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByC_IntPratica_Tipo_Completo_First(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the first tempistica in the ordered set where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63;.
*
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByC_IntPratica_Tipo_Completo_First(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last tempistica in the ordered set where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63;.
*
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByC_IntPratica_Tipo_Completo_Last(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the last tempistica in the ordered set where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63;.
*
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching tempistica, or <code>null</code> if a matching tempistica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByC_IntPratica_Tipo_Completo_Last(
long companyId, long intPraticaId, java.lang.String tipo,
boolean completo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempisticas before and after the current tempistica in the ordered set where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63;.
*
* @param tempisticaId the primary key of the current tempistica
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica[] findByC_IntPratica_Tipo_Completo_PrevAndNext(
long tempisticaId, long companyId, long intPraticaId,
java.lang.String tipo, boolean completo,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Removes all the tempisticas where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63; from the database.
*
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @throws SystemException if a system exception occurred
*/
public void removeByC_IntPratica_Tipo_Completo(long companyId,
long intPraticaId, java.lang.String tipo, boolean completo)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of tempisticas where companyId = &#63; and intPraticaId = &#63; and tipo = &#63; and completo = &#63;.
*
* @param companyId the company ID
* @param intPraticaId the int pratica ID
* @param tipo the tipo
* @param completo the completo
* @return the number of matching tempisticas
* @throws SystemException if a system exception occurred
*/
public int countByC_IntPratica_Tipo_Completo(long companyId,
long intPraticaId, java.lang.String tipo, boolean completo)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Caches the tempistica in the entity cache if it is enabled.
*
* @param tempistica the tempistica
*/
public void cacheResult(
it.tref.liferay.portos.bo.model.Tempistica tempistica);
/**
* Caches the tempisticas in the entity cache if it is enabled.
*
* @param tempisticas the tempisticas
*/
public void cacheResult(
java.util.List<it.tref.liferay.portos.bo.model.Tempistica> tempisticas);
/**
* Creates a new tempistica with the primary key. Does not add the tempistica to the database.
*
* @param tempisticaId the primary key for the new tempistica
* @return the new tempistica
*/
public it.tref.liferay.portos.bo.model.Tempistica create(long tempisticaId);
/**
* Removes the tempistica with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param tempisticaId the primary key of the tempistica
* @return the tempistica that was removed
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica remove(long tempisticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
public it.tref.liferay.portos.bo.model.Tempistica updateImpl(
it.tref.liferay.portos.bo.model.Tempistica tempistica)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the tempistica with the primary key or throws a {@link it.tref.liferay.portos.bo.NoSuchTempisticaException} if it could not be found.
*
* @param tempisticaId the primary key of the tempistica
* @return the tempistica
* @throws it.tref.liferay.portos.bo.NoSuchTempisticaException if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica findByPrimaryKey(
long tempisticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchTempisticaException;
/**
* Returns the tempistica with the primary key or returns <code>null</code> if it could not be found.
*
* @param tempisticaId the primary key of the tempistica
* @return the tempistica, or <code>null</code> if a tempistica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Tempistica fetchByPrimaryKey(
long tempisticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the tempisticas.
*
* @return the tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the tempisticas.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @return the range of tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findAll(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the tempisticas.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param start the lower bound of the range of tempisticas
* @param end the upper bound of the range of tempisticas (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of tempisticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.Tempistica> findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes all the tempisticas from the database.
*
* @throws SystemException if a system exception occurred
*/
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of tempisticas.
*
* @return the number of tempisticas
* @throws SystemException if a system exception occurred
*/
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException;
}

1255
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/TempisticaUtil.java

File diff soppresso perché troppo grande Load Diff

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

@ -41,12 +41,12 @@ public class AvvisoUtil {
};
@SuppressWarnings("serial")
private final static Map<String, String> allTipoDocumento = new LinkedHashMap<String, String>() {
private final static Map<String, String> ALL_TIPO_DOCUMENTO = new LinkedHashMap<String, String>() {
{
put(StatoPraticaConstants.CONFORME, "label.admingeniocivile.avviso.tipoDocumento.conforme");
put(StatoPraticaConstants.NON_CONFORME, "label.admingeniocivile.avviso.tipoDocumento.nonconforme");
put(StatoPraticaConstants.AUTORIZZATA, "label.admingeniocivile.avviso.tipoDocumento.autorizzata");
put(StatoPraticaConstants.VINCOLI, "conf.geniocivile.avviso.template.id.vincoli");
put(StatoPraticaConstants.VINCOLI, "label.admingeniocivile.avviso.tipoDocumento.vincoli");
put(StatoPraticaConstants.NON_AUTORIZZATA, "label.admingeniocivile.avviso.tipoDocumento.nonautorizzata");
put(StatoPraticaConstants.INTEGRAZIONE, "label.admingeniocivile.avviso.tipoDocumento.integrazione");
put(StatoPraticaConstants.PREAVVISO_CONTRARIO,
@ -63,6 +63,7 @@ public class AvvisoUtil {
put(StatoPraticaConstants.INTEGRAZIONE_ACCETTATA,
"label.admingeniocivile.avviso.tipoDocumento.integrazioneaccettata");
put(StatoPraticaConstants.CAMBIO_ISTRUTTORE, "label.admingeniocivile.avviso.tipoDocumento.cambioistruttore");
put(StatoPraticaConstants.PERIZIA_SANZIONE, "label.admingeniocivile.avviso.tipoDocumento.periziasanzione");
}
};
@ -88,6 +89,7 @@ public class AvvisoUtil {
put(StatoPraticaConstants.INVIO_AVVISO_MANUALE, "conf.geniocivile.avviso.folder.id.manuale");
put("PG", "conf.geniocivile.avviso.folder.id.doc_pagamento");
put("DOM", "conf.geniocivile.avviso.folder.id.domanda_pdf");
put(StatoPraticaConstants.PERIZIA_SANZIONE, "conf.geniocivile.avviso.folder.id.periziasanzione");
}
};
@ -143,7 +145,7 @@ public class AvvisoUtil {
public static Map<String, String> getAllTipoDocumento() {
return allTipoDocumento;
return ALL_TIPO_DOCUMENTO;
}
public static Map<String, String> getAllTipoDocumentoFolderProps() {
@ -208,8 +210,7 @@ public class AvvisoUtil {
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(dettPratica.getIntPraticaId());
if (Validator.isNull(dettPratica.getTipoIntegrazione())
|| (Validator.isNotNull(dettPratica.getTipoIntegrazione()) && dettPratica.getTipoIntegrazione()
.equals(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE))) {
}
.equals(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE))) {}
if (intPratica.getTipoPratica().equals(Constants.TIPO_PRATICA_AUTORIZZAZIONE)
&& (tipoDocumento.equals(StatoPraticaConstants.SOTTOPOSTA_A_PARERE)
|| tipoDocumento.equals(StatoPraticaConstants.INTEGRAZIONE) || tipoDocumento

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

@ -50,6 +50,7 @@ public class PraticaUtil {
public static String getStatoPratica(String statoPratica, long intPraticaId) throws PortalException,
SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
return getStatoPratica(statoPratica, intPratica.getTipoProcedura());
}

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

@ -24,6 +24,7 @@ import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.json.JSONDeserializer;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.util.MapUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.kernel.workflow.WorkflowException;
@ -61,8 +62,7 @@ public class WorkflowUtil {
companyId, groupId, ControlloPratica.class.getName(), bean.getPrimaryKey());
long workflowInstanceId = workflowInstanceLink.getWorkflowInstanceId();
workflowInstance = WorkflowInstanceManagerUtil.getWorkflowInstance(companyId, workflowInstanceId);
} catch (NoSuchWorkflowInstanceLinkException e) {
}
} catch (NoSuchWorkflowInstanceLinkException e) {}
if (workflowInstance != null) {
List<WorkflowTask> listaTmp = WorkflowTaskManagerUtil.getWorkflowTasksByWorkflowInstance(companyId, userId,
workflowInstance.getWorkflowInstanceId(), completed, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
@ -116,8 +116,7 @@ public class WorkflowUtil {
if (workflowInstancelink != null) {
workflowInstanceId = workflowInstancelink.getWorkflowInstanceId();
}
} catch (PortalException e) {
}
} catch (PortalException e) {}
return workflowInstanceId;
}
@ -131,8 +130,7 @@ public class WorkflowUtil {
if (workflowInstancelink != null) {
userId = workflowInstancelink.getUserId();
}
} catch (PortalException e) {
}
} catch (PortalException e) {}
return userId;
}
@ -334,6 +332,12 @@ public class WorkflowUtil {
}
}
}
// Per perizia sanzione
if (StatoPraticaConstants.INTEGRAZIONE.equalsIgnoreCase((String) parameters.get("esito"))) {
if (MapUtil.getBoolean(parameters, "base64")) {
parameters.put("esito", StatoPraticaConstants.PERIZIA_SANZIONE);
}
}
return parameters;
}

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties

@ -179,7 +179,10 @@ IX_C25B9EA8=portos_bo_Pagamento.Uuid_C
IX_2E6B85CA=portos_bo_ParereGeo.C_GroupId
IX_E10A64CA=portos_bo_ParereGeo.GeologoId
IX_5D9EAD5E=portos_bo_ParereGeo.GeologoId_DtCompilazione_DtAnnullamento
IX_5D9EAD5E=portos_bo_ParereGeo.GeologoUserId_DtCompilazione_DtAnnullamento
IX_EFB6D6FA=portos_bo_ParereGeo.IntPraticaId
IX_66765F8E=portos_bo_ParereGeo.IntPraticaId_DtCompilazione_DtAnnullamento
IX_50EF6FD8=portos_bo_ParereGeo.IntPraticaId_GeologoId
IX_5906FFC5=portos_bo_ParereGeo.IntPraticaId_Parere
IX_635441BE=portos_bo_ParereGeo.UUID_G

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql

@ -174,7 +174,9 @@ create unique index IX_D00BAF2A on portos_bo_Pagamento (uuid_, groupId);
create index IX_2E6B85CA on portos_bo_ParereGeo (companyId, groupId);
create index IX_E10A64CA on portos_bo_ParereGeo (geologoUserId);
create index IX_5D9EAD5E on portos_bo_ParereGeo (geologoUserId, dtCompilazione, dtAnnullamento);
create index IX_EFB6D6FA on portos_bo_ParereGeo (intPraticaId);
create index IX_66765F8E on portos_bo_ParereGeo (intPraticaId, dtCompilazione, dtAnnullamento);
create index IX_50EF6FD8 on portos_bo_ParereGeo (intPraticaId, geologoUserId);
create index IX_5906FFC5 on portos_bo_ParereGeo (intPraticaId, parere);
create index IX_24A66C6C on portos_bo_ParereGeo (uuid_);

7
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql

@ -62,8 +62,6 @@ create table portos_bo_Avviso (
errore BOOLEAN,
signal BOOLEAN,
dtInvioSignal DATE null,
tempistica BOOLEAN,
dtTempistica DATE null,
jsonParameters TEXT null,
protocollo VARCHAR(75) null,
dtProtocollo DATE null,
@ -632,7 +630,10 @@ create table portos_bo_ParereGeo (
dtRichista DATE null,
dtCompilazione DATE null,
status INTEGER,
noteRichiedente STRING null
noteRichiedente STRING null,
dtAnnullamento DATE null,
userIdAnnullamento LONG,
noteAnnullamento STRING null
);
create table portos_bo_Provincia (

26
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml

@ -22,7 +22,6 @@
<import class="it.tref.liferay.portos.bo.model.Provincia" />
<import class="it.tref.liferay.portos.bo.model.Soggetto" />
<import class="it.tref.liferay.portos.bo.model.StoricoSoggettoPratica" />
<import class="it.tref.liferay.portos.bo.model.Tempistica" />
<import class="it.tref.liferay.portos.bo.model.Territorio" />
<class name="it.tref.liferay.portos.bo.model.impl.AllegatoManualeImpl" table="portos_bo_AllegatoManuale">
<cache usage="read-write" />
@ -95,8 +94,6 @@
<property name="errore" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="signal" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="dtInvioSignal" type="org.hibernate.type.TimestampType" />
<property name="tempistica" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="dtTempistica" type="org.hibernate.type.TimestampType" />
<property name="jsonParameters" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="protocollo" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="dtProtocollo" type="org.hibernate.type.TimestampType" />
@ -665,6 +662,9 @@
<property name="dtCompilazione" type="org.hibernate.type.TimestampType" />
<property name="status" type="com.liferay.portal.dao.orm.hibernate.IntegerType" />
<property name="noteRichiedente" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="dtAnnullamento" type="org.hibernate.type.TimestampType" />
<property name="userIdAnnullamento" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="noteAnnullamento" type="com.liferay.portal.dao.orm.hibernate.StringType" />
</class>
<class name="it.tref.liferay.portos.bo.model.impl.ProvinciaImpl" table="portos_bo_Provincia">
<cache usage="read-write" />
@ -765,26 +765,6 @@
<property name="cognome" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="codiceFiscale" type="com.liferay.portal.dao.orm.hibernate.StringType" />
</class>
<class name="it.tref.liferay.portos.bo.model.impl.TempisticaImpl" table="portos_bo_Tempistica">
<cache usage="read-write" />
<id name="tempisticaId" type="long">
<generator class="assigned" />
</id>
<property name="uuid" type="com.liferay.portal.dao.orm.hibernate.StringType" column="uuid_" />
<property name="companyId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="userId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="userName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="createDate" type="org.hibernate.type.TimestampType" />
<property name="modifiedDate" type="org.hibernate.type.TimestampType" />
<property name="groupId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="intPraticaId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="dettPraticaId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="tipo" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="start" type="com.liferay.portal.dao.orm.hibernate.LongType" column="start_" />
<property name="stop" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="wait" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="completo" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
</class>
<class name="it.tref.liferay.portos.bo.model.impl.TerritorioImpl" table="portos_bo_Territorio">
<cache usage="read-write" />
<id name="territorioId" type="long">

24
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml

@ -71,8 +71,6 @@
<field name="errore" type="boolean" />
<field name="signal" type="boolean" />
<field name="dtInvioSignal" type="Date" />
<field name="tempistica" type="boolean" />
<field name="dtTempistica" type="Date" />
<field name="jsonParameters" type="String">
<hint-collection name="CLOB" />
</field>
@ -718,6 +716,11 @@
<field name="noteRichiedente" type="String">
<hint name="max-length">4000</hint>
</field>
<field name="dtAnnullamento" type="Date" />
<field name="userIdAnnullamento" type="long" />
<field name="noteAnnullamento" type="String">
<hint name="max-length">4000</hint>
</field>
</model>
<model name="it.tref.liferay.portos.bo.model.Provincia">
<field name="provinciaId" type="long" />
@ -834,23 +837,6 @@
<field name="cognome" type="String" />
<field name="codiceFiscale" type="String" />
</model>
<model name="it.tref.liferay.portos.bo.model.Tempistica">
<field name="uuid" type="String" />
<field name="tempisticaId" type="long" />
<field name="companyId" type="long" />
<field name="userId" type="long" />
<field name="userName" type="String" />
<field name="createDate" type="Date" />
<field name="modifiedDate" type="Date" />
<field name="groupId" type="long" />
<field name="intPraticaId" type="long" />
<field name="dettPraticaId" type="long" />
<field name="tipo" type="String" />
<field name="start" type="long" />
<field name="stop" type="long" />
<field name="wait" type="long" />
<field name="completo" type="boolean" />
</model>
<model name="it.tref.liferay.portos.bo.model.Territorio">
<field name="territorioId" type="long" />
<field name="companyId" type="long" />

44
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml

@ -110,10 +110,6 @@
<basic name="dtInvioSignal">
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="tempistica" />
<basic name="dtTempistica">
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="jsonParameters" />
<basic name="protocollo" />
<basic name="dtProtocollo">
@ -858,6 +854,11 @@
</basic>
<basic name="status" />
<basic name="noteRichiedente" />
<basic name="dtAnnullamento">
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="userIdAnnullamento" />
<basic name="noteAnnullamento" />
<transient name="geologoUserUuid" />
<transient name="modelAttributes" />
<transient name="primaryKey" />
@ -993,37 +994,6 @@
<transient name="userUuid" />
</attributes>
</mapped-superclass>
<mapped-superclass class="it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl">
<attributes>
<id name="tempisticaId" />
<basic name="uuid">
<column name="UUID_" />
</basic>
<basic name="companyId" />
<basic name="userId" />
<basic name="userName" />
<basic name="createDate">
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="modifiedDate">
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="groupId" />
<basic name="intPraticaId" />
<basic name="dettPraticaId" />
<basic name="tipo" />
<basic name="start">
<column name="START_" />
</basic>
<basic name="stop" />
<basic name="wait" />
<basic name="completo" />
<transient name="modelAttributes" />
<transient name="primaryKey" />
<transient name="primaryKeyObj" />
<transient name="userUuid" />
</attributes>
</mapped-superclass>
<mapped-superclass class="it.tref.liferay.portos.bo.model.impl.TerritorioModelImpl">
<attributes>
<id name="territorioId" />
@ -1136,10 +1106,6 @@
<table name="portos_bo_StoricoSoggettoPratica" />
<attributes />
</entity>
<entity class="it.tref.liferay.portos.bo.model.impl.TempisticaImpl" name="Tempistica">
<table name="portos_bo_Tempistica" />
<attributes />
</entity>
<entity class="it.tref.liferay.portos.bo.model.impl.TerritorioImpl" name="Territorio">
<table name="portos_bo_Territorio" />
<attributes />

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-spring.xml

@ -62,10 +62,6 @@
<bean id="it.tref.liferay.portos.bo.service.StoricoSoggettoPraticaLocalService" class="it.tref.liferay.portos.bo.service.impl.StoricoSoggettoPraticaLocalServiceImpl" />
<bean id="it.tref.liferay.portos.bo.service.StoricoSoggettoPraticaService" class="it.tref.liferay.portos.bo.service.impl.StoricoSoggettoPraticaServiceImpl" />
<bean id="it.tref.liferay.portos.bo.service.persistence.StoricoSoggettoPraticaPersistence" class="it.tref.liferay.portos.bo.service.persistence.StoricoSoggettoPraticaPersistenceImpl" parent="basePersistence" />
<bean id="it.tref.liferay.portos.bo.service.TempisticaLocalService" class="it.tref.liferay.portos.bo.service.impl.TempisticaLocalServiceImpl" />
<bean id="it.tref.liferay.portos.bo.service.TempisticaService" class="it.tref.liferay.portos.bo.service.impl.TempisticaServiceImpl" />
<bean id="it.tref.liferay.portos.bo.service.persistence.TempisticaPersistence" class="it.tref.liferay.portos.bo.service.persistence.TempisticaPersistenceImpl" parent="basePersistence" />
<bean id="it.tref.liferay.portos.bo.service.persistence.TempisticaFinder" class="it.tref.liferay.portos.bo.service.persistence.TempisticaFinderImpl" parent="basePersistence" />
<bean id="it.tref.liferay.portos.bo.service.TerritorioLocalService" class="it.tref.liferay.portos.bo.service.impl.TerritorioLocalServiceImpl" />
<bean id="it.tref.liferay.portos.bo.service.TerritorioService" class="it.tref.liferay.portos.bo.service.impl.TerritorioServiceImpl" />
<bean id="it.tref.liferay.portos.bo.service.persistence.TerritorioPersistence" class="it.tref.liferay.portos.bo.service.persistence.TerritorioPersistenceImpl" parent="basePersistence" />

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

@ -147,6 +147,7 @@ conf.geniocivile.avviso.folder.id.doc_annullamento = Cartella File Annullamento
conf.geniocivile.avviso.folder.id.doc_pagamento = Cartella File Allegati MDB
conf.geniocivile.avviso.folder.id.domanda_pdf = Cartella Template Domanda
conf.geniocivile.avviso.folder.id.viarch = Cartella Avvisi VIArch
conf.geniocivile.avviso.folder.id.periziasanzione = Cartella Perizie Sanzione
#Configurazione Templates
conf.geniocivile.template.folder.id = Cartella Template

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

@ -46,6 +46,7 @@ stato-pratica-VS = Variazione soggetti
stato-pratica-V1 = Apertura VIArch
stato-pratica-V2 = Chiusura VIArch
stato-pratica-PS = Perizia sanzione
effettua-delega = Effettua Delega
effettua-delega-TT = Effettua Delega Totale
@ -1191,24 +1192,26 @@ download-del-documento-inviato = File Firmato
download-del-documento-protocollato = File Protocollato
visualizza-i-dati = Visualizza i dati
label.admingeniocivile.avviso.tipoDocumento.conforme = Avviso di Conformità
label.admingeniocivile.avviso.tipoDocumento.nonconforme =Avviso di non Conformità
label.admingeniocivile.avviso.tipoDocumento.autorizzata = Avviso di Autorizzazione
label.admingeniocivile.avviso.tipoDocumento.nonautorizzata =Avviso di Autorizzazione negata
label.admingeniocivile.avviso.tipoDocumento.vidimata = Avviso di Vidimazione
label.admingeniocivile.avviso.tipoDocumento.conforme = Avviso di conformità
label.admingeniocivile.avviso.tipoDocumento.nonconforme =Avviso di non conformità
label.admingeniocivile.avviso.tipoDocumento.autorizzata = Avviso di autorizzazione
label.admingeniocivile.avviso.tipoDocumento.nonautorizzata = Avviso di autorizzazione negata
label.admingeniocivile.avviso.tipoDocumento.vidimata = Avviso di vidimazione
label.admingeniocivile.avviso.tipoDocumento.autorizzazione = Autorizzazione
label.admingeniocivile.avviso.tipoDocumento.autorizzazionenegata = Autorizzazione Negata
label.admingeniocivile.avviso.tipoDocumento.integrazione = Avviso di Richiesta integrazione
label.admingeniocivile.avviso.tipoDocumento.preavvisocontrario = Preavviso di Parere Contrario
label.admingeniocivile.avviso.tipoDocumento.noparere = Avviso di Non Competenza
label.admingeniocivile.avviso.tipoDocumento.autorizzazionenegata = Autorizzazione negata
label.admingeniocivile.avviso.tipoDocumento.integrazione = Richiesta di integrazione
label.admingeniocivile.avviso.tipoDocumento.preavvisocontrario = Preavviso di parere contrario
label.admingeniocivile.avviso.tipoDocumento.noparere = Avviso di non competenza
label.admingeniocivile.avviso.tipoDocumento.rifiutata = Rifiutata
label.admingeniocivile.avviso.tipoDocumento.sottopostaparere = Avviso di Avvio Procedimento
label.admingeniocivile.avviso.tipoDocumento.annullata = Avviso di Annullamento
label.admingeniocivile.avviso.tipoDocumento.annullaistanza = Avviso di Annullamento Fascicolo
label.admingeniocivile.avviso.tipoDocumento.integrazioneaccettata = Avviso di vidimazione Integrazione
label.admingeniocivile.avviso.tipoDocumento.sottopostaparere = Avviso di avvio procedimento
label.admingeniocivile.avviso.tipoDocumento.annullata = Avviso di annullamento
label.admingeniocivile.avviso.tipoDocumento.annullaistanza = Avviso di annullamento fascicolo
label.admingeniocivile.avviso.tipoDocumento.integrazioneaccettata = Avviso di vidimazione integrazione
label.admingeniocivile.avviso.tipoDocumento.avvisomanuale = Avviso generico
label.admingeniocivile.avviso.tipoDocumento.cambioistruttore = Avviso di cambio istruttore
label.admingeniocivile.avviso.tipoDocumento.variazioneSoggetto = Avviso di variazione soggetto
label.admingeniocivile.avviso.tipoDocumento.vincoli = Avviso di attestazione vincoli
label.admingeniocivile.avviso.tipoDocumento.periziasanzione = Perizia sanzione
label.admingeniocivile.avviso.documento.conforme = Conformità/Autorizzazione
label.admingeniocivile.avviso.documento.nonconforme = Conformità negata

11
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml

@ -1,16 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<custom-sql>
<sql id="IntPratica.selectFilesFascicoloNotImported">
<![CDATA[
select distinct inte.* from portos_bo_intpratica inte left join portos_bo_docpratica doc on doc.intpraticaid = inte.intpraticaid where doc.olddlfileentryid != 0 and doc.dlfileentryid = 0
order by inte.createdate desc OFFSET 0 LIMIT ?;
]]>
</sql>
<sql id="Workflow.riparaWorkflow">
<![CDATA[
select distinct kk.kaleotaskinstancetokenid,kk.kaleoinstancetokenid, cp.controllopraticaid, inte.statusbyuserid from kaleotaskinstancetoken as kk left join portos_bo_controllopratica as cp on cp.controllopraticaid = kk.classpk left join portos_bo_intpratica as inte on inte.intpraticaid = cp.intpraticaid left join user_ as uu on uu.userid = inte.statusbyuserid where NOT EXISTS (SELECT * FROM kaleotaskassignmentinstance as kkg WHERE kkg.kaleotaskinstancetokenid = kk.kaleotaskinstancetokenid) and kk.kaleotaskname = 'Esito' and kk.completed = false ;
]]>
</sql>
<sql id="IntPratica.canAddCollaudo">
<![CDATA[
select * from portos_bo_intpratica as int left join portos_bo_finelavori fine on fine.intpraticaid=int.intpraticaid

295
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/reports.xml

@ -1,295 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<custom-sql>
<sql id="Report.countAutorizzazione">
<![CDATA[
SELECT DISTINCT COUNT(INTPRATICAID) COUNT_INTPRATICAID
FROM portos_bo_intpratica WHERE (DTPRATICA >= ? AND DTPRATICA < ?) AND GROUPID=? AND TIPOPRATICA='02';
]]>
</sql>
<sql id="Report.countDeposito">
<![CDATA[
SELECT COUNT(INTPRATICAID) COUNT_INTPRATICAID
FROM portos_bo_intpratica WHERE (DTPRATICA >= ? AND DTPRATICA < ?) AND GROUPID=? AND TIPOPRATICA='01' AND CONTROLLOOBBLIGATORIO=?;
]]>
</sql>
<sql id="Report.countVidimate">
<![CDATA[
SELECT COUNT(INTPRATICAID) COUNT_INTPRATICAID
FROM portos_bo_intpratica WHERE (DTPRATICA >= ? AND DTPRATICA < ?) AND GROUPID=? AND TIPOPRATICA like ? AND controlloobbligatorio=?;
]]>
</sql>
<sql id="Report.countControllo1">
<![CDATA[
SELECT * FROM portos_bo_intpratica WHERE TIPOPRATICA like ? AND controlloobbligatorio=? AND GROUPID=? AND INTPRATICAID IN (
SELECT DISTINCT INTPRATICAID
FROM portos_bo_controllopratica WHERE (createdate >= ? AND createdate < ?) AND GROUPID=?);
]]>
</sql>
<sql id="Report.countSanatoria">
<![CDATA[
SELECT DISTINCT COUNT(INTPRATICAID) COUNT_INTPRATICAID
FROM portos_bo_intpratica WHERE (DTPRATICA >= ? AND DTPRATICA < ?) AND GROUPID=? AND TIPOPRATICA in ('03','04');
]]>
</sql>
<sql id="Report.countOperaMinoreImportanza">
<![CDATA[
SELECT DISTINCT COUNT(INTPRATICAID) COUNT_INTPRATICAID
FROM portos_bo_intpratica WHERE (DTPRATICA >= ? AND DTPRATICA < ?) AND GROUPID=? AND TIPOPRATICA='05';
]]>
</sql>
<!-- ADT query per REPORT TEMPISTICHE ISTRUTTORIE -->
<sql id="Report.reportTempisticheIstruttorieAvvisiAutorizzazioni">
<![CDATA[
select portos_bo_avviso.avvisoid avvisoid, portos_bo_avviso.intpraticaid intpraticaid,tipodocumento,classpk ,portos_bo_avviso.dtinviosignal dtinviosignal, dtinvio ,dtavviso
from portos_bo_avviso
inner join portos_bo_dettpratica on
portos_bo_dettpratica.dettpraticaid=portos_bo_avviso.classpk
and portos_bo_dettpratica.intpraticaid=portos_bo_avviso.intpraticaid
and (
(portos_bo_dettpratica.tipointegrazione<>'12' and tipodocumento in ('VI'))
or
(tipodocumento in ('IN','SI','AU','AN'))
)
and classname='it.tref.liferay.portos.bo.model.DettPratica'
and inviato='S' and annullato=false and rifiutato=false and errore=false
inner join
(
select distinct(avv.intpraticaid) from portos_bo_avviso avv, portos_bo_intpratica inte
where avv.intpraticaid=inte.intpraticaid and inte.tipopratica='02'
and ( tipodocumento='AU' or tipodocumento='AN' ) and inviato='S' and annullato=false and rifiutato=false and errore=false
and dtinviosignal between ? and ? and inte.groupid=? and inte.statopratica<>'AL' ) as T1
on T1.intpraticaid=portos_bo_avviso.intpraticaid
order by intpraticaid,classpk asc, portos_bo_avviso.dtavviso asc
]]>
</sql>
<sql id="Report.reportTempisticheIstruttorieAvvisiCO">
<![CDATA[
select portos_bo_avviso.avvisoid avvisoid, portos_bo_avviso.intpraticaid intpraticaid,tipodocumento,classpk ,portos_bo_avviso.dtinviosignal dtinviosignal, dtinvio ,dtavviso
from portos_bo_avviso
inner join portos_bo_dettpratica on
portos_bo_dettpratica.dettpraticaid=portos_bo_avviso.classpk
and portos_bo_dettpratica.intpraticaid=portos_bo_avviso.intpraticaid
and (
(portos_bo_dettpratica.tipointegrazione<>'12' and tipodocumento in ('VI'))
or
(tipodocumento in ('IN','SI','CO','NC'))
)
and classname='it.tref.liferay.portos.bo.model.DettPratica'
and inviato='S' and annullato=false and rifiutato=false and errore=false
inner join
(
select distinct(avv.intpraticaid) from portos_bo_avviso avv, portos_bo_intpratica inte
where inte.tipopratica='01' and inte.controlloobbligatorio=true
and ( not exists (select * from portos_bo_sorteggio where inte.intpraticaid = portos_bo_sorteggio.intpraticaid))
and avv.intpraticaid=inte.intpraticaid and (tipodocumento='CO' or tipodocumento='NC' ) and inviato='S' and annullato=false and rifiutato=false and errore=false
and dtinviosignal between ? and ? and inte.groupid=? and inte.statopratica<>'AL' ) as T1
on T1.intpraticaid=portos_bo_avviso.intpraticaid
order by intpraticaid,classpk asc, portos_bo_avviso.dtavviso asc
]]>
</sql>
<!-- SORTEGGI -->
<sql id="Report.reportTempisticheIstruttorieDateSorteggi">
<![CDATA[
select T1.intpraticaid intpraticaid,
case
when T1.dtsorteggio is not null THEN T1.dtsorteggio
when portos_bo_sorteggio.dtsorteggio is not null THEN portos_bo_sorteggio.dtsorteggio
end data_sorteggio
from
(select classpk,avv.intpraticaid,dtinviosignal data_aut,inte.dtsorteggio from portos_bo_avviso avv, portos_bo_intpratica inte
where avv.intpraticaid=inte.intpraticaid and inte.tipopratica='01' and
( exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid))
and ( tipodocumento='CO' or tipodocumento='NC' ) and inviato='S' and annullato=false and rifiutato=false and errore=false
and dtinviosignal between ? and ? and inte.groupid=? and inte.statopratica<>'AL' ) T1
left join portos_bo_sorteggio on portos_bo_sorteggio.intpraticaid=T1.intpraticaid
]]>
</sql>
<sql id="Report.reportTempisticheIstruttorieAvvisiSORTEGGI">
<![CDATA[
select portos_bo_avviso.avvisoid avvisoid, portos_bo_avviso.intpraticaid intpraticaid,tipodocumento,classpk ,portos_bo_avviso.dtinviosignal dtinviosignal, dtinvio ,dtavviso
from portos_bo_avviso
inner join portos_bo_dettpratica
on portos_bo_dettpratica.dettpraticaid=portos_bo_avviso.classpk
and portos_bo_dettpratica.intpraticaid=portos_bo_avviso.intpraticaid
and (
(portos_bo_dettpratica.tipointegrazione<>'12' and tipodocumento in ('VI'))
or
(tipodocumento in ('IN','SI','CO','NC'))
)
and classname='it.tref.liferay.portos.bo.model.DettPratica'
and inviato='S' and annullato=false and rifiutato=false and errore=false
inner join
(
select distinct(avv.intpraticaid) from portos_bo_avviso avv, portos_bo_intpratica inte
where inte.tipopratica='01'
and ( exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid) )
and avv.intpraticaid=inte.intpraticaid and ( tipodocumento='CO' or tipodocumento='NC' ) and inviato='S' and annullato=false and rifiutato=false and errore=false
and dtinviosignal between ? and ? and inte.groupid=? and inte.statopratica<>'AL' ) as T1
on T1.intpraticaid=portos_bo_avviso.intpraticaid
order by intpraticaid,classpk asc, portos_bo_avviso.dtavviso asc
]]>
</sql>
<!-- ADT: QUERY PER REPORT PRATICHE VIDIMATE -->
<sql id="Report.reportPraticheVidimateAutorizzazioni">
<![CDATA[
select portos_bo_avviso.avvisoid avvisoid,
portos_bo_avviso.intpraticaid intpraticaid,
tipodocumento,
classpk,
portos_bo_avviso.dtinviosignal dtinviosignal,
dtinvio,
dtavviso,
statopratica
from portos_bo_avviso
inner join portos_bo_dettpratica
on portos_bo_dettpratica.dettpraticaid=portos_bo_avviso.classpk
and (
(portos_bo_dettpratica.tipointegrazione<>'12' and tipodocumento in ('VI'))
or
(tipodocumento in ('IN','SI','AU','AN'))
)
and classname='it.tref.liferay.portos.bo.model.DettPratica'
and annullato=false and rifiutato=false and errore=false and inviato='S'
inner join
(
select avv.intpraticaid,inte.statopratica from portos_bo_avviso avv
join portos_bo_dettpratica dett
on avv.classpk=dett.dettpraticaid and avv.classname='it.tref.liferay.portos.bo.model.DettPratica'
and dett.intpraticaid=avv.intpraticaid and dtinvio between ? and ?
and tipodocumento='VI' and annullato=false and rifiutato=false and errore=false and inviato='S'
and (dett.tipointegrazione is null or dett.tipointegrazione='' or dett.tipointegrazione='13')
join portos_bo_intpratica inte
on inte.intpraticaid=avv.intpraticaid and dett.intpraticaid=inte.intpraticaid and inte.tipopratica='02'
and inte.groupid=? and inte.statopratica<>'AL'
) as T1
on T1.intpraticaid=portos_bo_avviso.intpraticaid and T1.intpraticaid=portos_bo_dettpratica.intpraticaid
order by intpraticaid,classpk asc, portos_bo_avviso.dtavviso asc;
]]>
</sql>
<sql id="Report.reportPraticheVidimateCO">
<![CDATA[
select portos_bo_avviso.avvisoid avvisoid,
portos_bo_avviso.intpraticaid intpraticaid,
tipodocumento,
classpk,
portos_bo_avviso.dtinviosignal dtinviosignal,
dtinvio,
dtavviso,
statopratica
from portos_bo_avviso
inner join portos_bo_dettpratica
on portos_bo_dettpratica.dettpraticaid=portos_bo_avviso.classpk
and (
(portos_bo_dettpratica.tipointegrazione<>'12' and tipodocumento in ('VI'))
or
(tipodocumento in ('IN','SI','NC','CO'))
)
and classname='it.tref.liferay.portos.bo.model.DettPratica'
and annullato=false and rifiutato=false and errore=false and inviato='S'
inner join
(
select avv.intpraticaid,inte.statopratica from portos_bo_avviso avv
join portos_bo_dettpratica dett
on avv.classpk=dett.dettpraticaid and avv.classname='it.tref.liferay.portos.bo.model.DettPratica'
and dett.intpraticaid=avv.intpraticaid and dtinvio between ? and ?
and tipodocumento='VI' and annullato=false and rifiutato=false and errore=false and inviato='S'
and (dett.tipointegrazione is null or dett.tipointegrazione='' or dett.tipointegrazione='13')
join portos_bo_intpratica inte
on inte.intpraticaid=avv.intpraticaid and dett.intpraticaid=inte.intpraticaid and inte.tipopratica='01'
and inte.controlloobbligatorio=true and ( not exists (select * from portos_bo_sorteggio where inte.intpraticaid = portos_bo_sorteggio.intpraticaid))
and inte.groupid=? and inte.statopratica<>'AL'
) as T1
on T1.intpraticaid=portos_bo_avviso.intpraticaid and T1.intpraticaid=portos_bo_dettpratica.intpraticaid
order by intpraticaid,classpk asc, portos_bo_avviso.dtavviso asc;
]]>
</sql>
<sql id="Report.reportPraticheVidimateSorteggi">
<![CDATA[
select portos_bo_avviso.avvisoid avvisoid,
portos_bo_avviso.intpraticaid intpraticaid,
tipodocumento,
classpk,
portos_bo_avviso.dtinviosignal dtinviosignal,
dtinvio,
dtavviso,
statopratica
from portos_bo_avviso
inner join portos_bo_dettpratica
on portos_bo_dettpratica.dettpraticaid=portos_bo_avviso.classpk
and (
(portos_bo_dettpratica.tipointegrazione<>'12' and tipodocumento in ('VI'))
or
(tipodocumento in ('IN','SI','NC','CO'))
)
and classname='it.tref.liferay.portos.bo.model.DettPratica'
and annullato=false and rifiutato=false and errore=false and inviato='S'
inner join
(
select avv.intpraticaid,inte.statopratica from portos_bo_avviso avv
join portos_bo_intpratica inte
on inte.intpraticaid=avv.intpraticaid and inte.tipopratica='01' and (
exists ( select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid and sorte.dtsorteggio between ? and ? )
) and inte.groupid=? and inte.statopratica<>'AL' ) T1
on T1.intpraticaid=portos_bo_avviso.intpraticaid and T1.intpraticaid=portos_bo_dettpratica.intpraticaid
order by intpraticaid,classpk asc, portos_bo_avviso.dtavviso asc;
]]>
</sql>
<sql id="Report.reportPraticheVidimateDateSorteggi">
<![CDATA[
select T1.intpraticaid intpraticaid,
case
when T1.dtsorteggio is not null THEN T1.dtsorteggio
when portos_bo_sorteggio.dtsorteggio is not null THEN portos_bo_sorteggio.dtsorteggio
end data_sorteggio
from
(select inte.intpraticaid, inte.dtsorteggio from portos_bo_intpratica inte
where inte.tipopratica='01' and inte.groupid=? and
(
exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid and sorte.dtsorteggio between ? and ?)
) and inte.statopratica<>'AL'
) T1
left join portos_bo_sorteggio on portos_bo_sorteggio.intpraticaid=T1.intpraticaid;
]]>
</sql>
<sql id="Report.reportIngressiAUTORIZZAZIONI">
<![CDATA[
select count(distinct(avv.avvisoid)) conteggio from portos_bo_avviso avv
join portos_bo_dettpratica dett
on avv.classpk=dett.dettpraticaid and avv.classname='it.tref.liferay.portos.bo.model.DettPratica'
and dett.intpraticaid=avv.intpraticaid and dtinvio between ? and ?
and tipodocumento='VI' and annullato=false and rifiutato=false and errore=false and inviato='S'
and (dett.tipointegrazione is null or dett.tipointegrazione='' or dett.tipointegrazione='13')
join portos_bo_intpratica inte
on inte.intpraticaid=avv.intpraticaid and dett.intpraticaid=inte.intpraticaid and inte.tipopratica='02'
and inte.groupid=? and inte.statopratica<>'AL'
]]>
</sql>
<sql id="Report.reportIngressiCO">
<![CDATA[
select count(distinct(avv.avvisoid)) conteggio from portos_bo_avviso avv
join portos_bo_dettpratica dett
on avv.classpk=dett.dettpraticaid and avv.classname='it.tref.liferay.portos.bo.model.DettPratica'
and dett.intpraticaid=avv.intpraticaid and dtinvio between ? and ?
and tipodocumento='VI' and annullato=false and rifiutato=false and errore=false and inviato='S'
and (dett.tipointegrazione is null or dett.tipointegrazione='' or dett.tipointegrazione='13')
join portos_bo_intpratica inte
on inte.intpraticaid=avv.intpraticaid and dett.intpraticaid=inte.intpraticaid and inte.tipopratica='01'
and inte.controlloobbligatorio=true and ( not exists (select * from portos_bo_sorteggio where inte.intpraticaid = portos_bo_sorteggio.intpraticaid))
and inte.groupid=? and inte.statopratica<>'AL'
]]>
</sql>
<sql id="Report.reportIngressiDEPOSITI">
<![CDATA[
select count(distinct(avv.avvisoid)) conteggio from portos_bo_avviso avv
join portos_bo_dettpratica dett
on avv.classpk=dett.dettpraticaid and avv.classname='it.tref.liferay.portos.bo.model.DettPratica'
and dett.intpraticaid=avv.intpraticaid and dtinvio between ? and ?
and tipodocumento='VI' and annullato=false and rifiutato=false and errore=false and inviato='S'
and (dett.tipointegrazione is null or dett.tipointegrazione='' or dett.tipointegrazione='13')
join portos_bo_intpratica inte
on inte.intpraticaid=avv.intpraticaid and dett.intpraticaid=inte.intpraticaid and inte.tipopratica='01'
and inte.groupid=? and inte.statopratica<>'AL'
]]>
</sql>
</custom-sql>

347
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/tempistica.xml

@ -1,347 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<custom-sql>
<sql id="Tempistica.countScadenzePraticheInScadenza">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
and (inte.TIPOPRATICA='02' OR (inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid)
AND inte.CONTROLLOOBBLIGATORIO=false) or (inte.TIPOPRATICA='01' AND inte.CONTROLLOOBBLIGATORIO=true))
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=0
]]>
</sql>
<sql id="Tempistica.countPraticheAttive">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
and (inte.TIPOPRATICA='02' OR (inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid)
AND inte.CONTROLLOOBBLIGATORIO=false) or (inte.TIPOPRATICA='01' AND inte.CONTROLLOOBBLIGATORIO=true))
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=1
]]>
</sql>
<sql id="Tempistica.countScadenzePraticheScadute">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM(
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
and (inte.TIPOPRATICA='02' OR (inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid)
AND inte.CONTROLLOOBBLIGATORIO=false) or (inte.TIPOPRATICA='01' AND inte.CONTROLLOOBBLIGATORIO=true))
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=-1
]]>
</sql>
<sql id="Tempistica.countScadenzeIntegrazioniScadute">
<![CDATA[
SELECT COUNT(TEMPISTICAID) COUNT_TEMPISTICA
FROM PORTOS_BO_TEMPISTICA
WHERE COMPLETO=false
AND TIPO=?
AND COMPANYID=?
AND START_<?
]]>
</sql>
<sql id="Tempistica.scadenzePraticheForBackwardCompatibility">
<![CDATA[
SELECT INTPRATICAID, START_, STOP, WAIT,
CASE WHEN (STOP>0) THEN (STOP-(START_+WAIT))
ELSE CASE WHEN (STOP=0) THEN ([$DT_3$]-(START_+WAIT)) END END CALCOLO,
CASE WHEN ((STOP>0 AND (((STOP-(START_+WAIT))<[$DT_1$] AND (STOP-(START_+WAIT))>=[$DT_2$])))
OR (STOP=0 AND (([$DT_3$]-(START_+WAIT))<[$DT_1$] AND ([$DT_3$]-(START_+WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((STOP>0 AND (STOP-(START_+WAIT))>=[$DT_1$]) OR (STOP=0 AND ([$DT_3$]-(START_+WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA
WHERE COMPLETO=false
AND TIPO=?
AND COMPANYID=?
ORDER BY START_ DESC
]]>
</sql>
<sql id="Tempistica.scadenzePratiche">
<![CDATA[
SELECT DISTINCT ON (X.INTPRATICAID) X.*
FROM (
SELECT temp.INTPRATICAID, temp.START_, temp.STOP, temp.WAIT,
CASE WHEN (temp.STOP>0) THEN (temp.STOP-(temp.START_+temp.WAIT))
ELSE CASE WHEN (temp.STOP=0) THEN ([$DT_3$]-(temp.START_+temp.WAIT)) END END CALCOLO,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp
LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
LEFT JOIN USER_ u on u.userid = inte.statusbyuserid
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND ( (inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid))
OR (inte.TIPOPRATICA='01' AND inte.CONTROLLOOBBLIGATORIO=true)
OR (inte.TIPOPRATICA='02')
OR ((inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid)
AND inte.CONTROLLOOBBLIGATORIO=false)))
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
AND UPPER(inte.TIPOPRATICA) like '[$DT_TIPOPRATICA$]' AND (UPPER(u.firstname) like '[$DT_ISTRUTTORE$]' OR UPPER(u.middlename) like '[$DT_ISTRUTTORE$]' OR UPPER(u.lastname) like '[$DT_ISTRUTTORE$]' OR UPPER(u.screenname) like '[$DT_ISTRUTTORE$]')
ORDER BY temp.START_ DESC, temp.CREATEDATE DESC
) AS X
WHERE X.STATO=[$DT_STATO$]
]]>
</sql>
<sql id="Tempistica.scadenzeIntegrazioni">
<![CDATA[
SELECT INTPRATICAID, START_, DETTPRATICAID,
([$DT_1$]-START_) CALCOLO,
CASE WHEN (START_<[$DT_2$]) THEN -1 ELSE 1 END STATO
FROM PORTOS_BO_TEMPISTICA
WHERE COMPLETO=false
AND TIPO=? AND COMPANYID=?
ORDER BY START_ DESC
]]>
</sql>
<sql id="Tempistica.countScadenzePratiche">
<![CDATA[
SELECT COUNT(DISTINCT x.INTPRATICAID) AS COUNT_TEMPISTICA
FROM (
SELECT temp.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp
LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
LEFT JOIN USER_ u on u.userid = inte.statusbyuserid
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND ( (inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid))
OR (inte.TIPOPRATICA='01' AND inte.CONTROLLOOBBLIGATORIO=true)
OR (inte.TIPOPRATICA='02')
OR ((inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid)
AND inte.CONTROLLOOBBLIGATORIO=false)))
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
AND UPPER(inte.TIPOPRATICA) like '[$DT_TIPOPRATICA$]' AND (UPPER(u.firstname) like '[$DT_ISTRUTTORE$]' OR UPPER(u.middlename) like '[$DT_ISTRUTTORE$]' OR UPPER(u.lastname) like '[$DT_ISTRUTTORE$]' OR UPPER(u.screenname) like '[$DT_ISTRUTTORE$]')
ORDER BY temp.START_ DESC, temp.CREATEDATE DESC
) AS X
WHERE X.STATO=[$DT_STATO$]
]]>
</sql>
<sql id="Tempistica.countScadenzeIntegrazioni">
<![CDATA[
SELECT COUNT(temp.TEMPISTICAID) COUNT_TEMPISTICA
FROM PORTOS_BO_TEMPISTICA temp
LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND ( (inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid))
OR (inte.TIPOPRATICA='01' AND inte.CONTROLLOOBBLIGATORIO=true)
OR (inte.TIPOPRATICA='02')
OR ((inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid)
AND inte.CONTROLLOOBBLIGATORIO=false)))
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
]]>
</sql>
<sql id="Tempistica.praticheAttiveAutorizzazioni">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND inte.TIPOPRATICA='02'
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=1
]]>
</sql>
<sql id="Tempistica.praticheAttiveSorteggiate">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid)
AND inte.CONTROLLOOBBLIGATORIO=false
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=1
]]>
</sql>
<sql id="Tempistica.praticheAttiveControlloObbligatorio">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND inte.TIPOPRATICA='01' AND inte.CONTROLLOOBBLIGATORIO=true
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=1
]]>
</sql>
<sql id="Tempistica.countPraticheInScadenzaAutorizzazioni">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND inte.TIPOPRATICA='02'
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=0
]]>
</sql>
<sql id="Tempistica.countPraticheInScadenzaSorteggiate">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid)
AND inte.CONTROLLOOBBLIGATORIO=false
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=0
]]>
</sql>
<sql id="Tempistica.countPraticheInScadenzaControlloObbligatorio">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND inte.TIPOPRATICA='01' AND inte.CONTROLLOOBBLIGATORIO=true
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=0
]]>
</sql>
<sql id="Tempistica.countPraticheScaduteAutorizzazione">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND inte.TIPOPRATICA='02'
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=-1
]]>
</sql>
<sql id="Tempistica.countPraticheScaduteSorteggiate">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND inte.TIPOPRATICA='01' AND exists (select * from portos_bo_sorteggio as sorte where inte.intpraticaid = sorte.intpraticaid)
AND inte.CONTROLLOOBBLIGATORIO=false
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=-1
]]>
</sql>
<sql id="Tempistica.countPraticheScaduteControlloObbligatorio">
<![CDATA[
SELECT DISTINCT X.INTPRATICAID
FROM (
SELECT inte.INTPRATICAID,
CASE WHEN ((temp.STOP>0 AND (((temp.STOP-(temp.START_+temp.WAIT))<[$DT_1$] AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_2$])))
OR (temp.STOP=0 AND (([$DT_3$]-(temp.START_+temp.WAIT))<[$DT_1$] AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_2$]))) THEN 0
ELSE CASE WHEN ((temp.STOP>0 AND (temp.STOP-(temp.START_+temp.WAIT))>=[$DT_1$]) OR (temp.STOP=0 AND ([$DT_3$]-(temp.START_+temp.WAIT))>=[$DT_1$])) THEN -1
ELSE 1 END END STATO
FROM PORTOS_BO_TEMPISTICA temp LEFT JOIN PORTOS_BO_INTPRATICA inte on inte.INTPRATICAID=temp.INTPRATICAID
WHERE temp.COMPLETO=false
AND temp.TIPO=?
AND temp.COMPANYID=?
AND inte.TIPOPRATICA='01' AND inte.CONTROLLOOBBLIGATORIO=true
AND (inte.STATOPRATICA is not null AND inte.STATOPRATICA <> '' AND inte.STATOPRATICA not in ('CO','NC','IN','AL','AN','AU'))
) AS X
WHERE X.STATO=-1
]]>
</sql>
</custom-sql>

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

@ -1,7 +1,5 @@
/**
*
* @author Salvatore La Manna, Manifattura Web Group per Regione Siciliana
*
*/
package it.mwg.sismica.bo.util;
@ -21,7 +19,6 @@ import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.model.ParereGeologo;
import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica;
import it.tref.liferay.portos.bo.model.Tempistica;
import it.tref.liferay.portos.bo.service.AllegatoManualeLocalServiceUtil;
import it.tref.liferay.portos.bo.service.AsseverazioneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil;
@ -39,7 +36,6 @@ import it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.StoricoSoggettoPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TempisticaLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.UnitaOperativeUtil;
@ -160,6 +156,7 @@ public class ManutenzioneDatabase {
public static List<String> pulisci(ServiceContext serviceContext, String mode) throws SystemException,
PortalException, SQLException {
List<String> esito = new ArrayList<>();
long companyId = serviceContext.getCompanyId();
if (mode.contains("!Scavi!")) {
@ -211,11 +208,11 @@ public class ManutenzioneDatabase {
MultiVMPoolUtil.clear();
CacheRegistryUtil.clear();
DirectServletRegistryUtil.clearServlets();
} catch (IllegalStateException e) {
}
} catch (IllegalStateException e) {}
}
private static List<String> fixUnitaOperative() throws SystemException {
List<String> esito = new ArrayList<>();
esitoLog(esito, "fixUnitaOperative");
int start = 0;
@ -261,8 +258,7 @@ public class ManutenzioneDatabase {
}
}
}
} catch (PortalException e) {
}
} catch (PortalException e) {}
if ((0 != destinazione) && (destinazione != pratica.getUnitaOperativa())) {
esitoLog(
esito,
@ -284,10 +280,9 @@ public class ManutenzioneDatabase {
}
private static List<String> svuotaDatabase(long companyId) throws SystemException, PortalException {
List<String> esito = new ArrayList<>();
List<String> esito = new ArrayList<>();
esitoLog(esito, svuotaDettPratica());
esitoLog(esito, svuotaAllegatoManuale());
esitoLog(esito, svuotaAssetEntry(companyId));
esitoLog(esito, svuotaAsseverazione());
@ -315,15 +310,14 @@ public class ManutenzioneDatabase {
esitoLog(esito, svuotaStoricoSoggettoPratica());
esitoLog(esito, svuotaSyncDLObject());
esitoLog(esito, svuotaSystemEvent(companyId));
esitoLog(esito, svuotaTempistica());
esitoLog(esito, svuotaWorkflowInstance());
return esito;
}
private static List<String> puliziaDocumentLibrary(long companyId) {
List<String> esito = new ArrayList<>();
Set<String> parentFolderNames = new HashSet<>();
try {
long allegatiFolderId = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId,
ConfigurazioneConstants.ATTACHMENT_FOLDER_ID);
@ -366,8 +360,7 @@ public class ManutenzioneDatabase {
long emailId = 0;
try {
emailId = Long.parseLong(folder.getName());
} catch (NumberFormatException e) {
}
} catch (NumberFormatException e) {}
if (Validator.isNotNull(emailId) && String.valueOf(emailId).equals(folder.getName())
&& !esiste(EMAIL_CLASS_NAME, emailId)) {
_log.info("Cancello la cartella " + folder.getName());
@ -393,6 +386,7 @@ public class ManutenzioneDatabase {
}
private static List<Long> avvisiFileEntries() throws SystemException {
List<Long> result = new ArrayList<>();
int start = 0;
List<Avviso> avvisi = null;
@ -409,6 +403,7 @@ public class ManutenzioneDatabase {
}
private static String puliziaAllegati(long companyId, long folderId) throws SystemException, PortalException {
List<Long> avvisiFileEntries = avvisiFileEntries();
long repositoryId = DLAppLocalServiceUtil.getFolder(folderId).getRepositoryId();
int start = 0;
@ -418,8 +413,7 @@ public class ManutenzioneDatabase {
int rimossi = 0;
fileEntries = DLAppServiceUtil.getFileEntries(repositoryId, folderId, start, start + SLICE);
for (FileEntry fileEntry : fileEntries) {
String[] parti = StringUtil.split(fileEntry.getTitle()
.replaceAll("\\.p7m$", StringPool.BLANK), '_');
String[] parti = StringUtil.split(fileEntry.getTitle().replaceAll("\\.p7m$", StringPool.BLANK), '_');
String strId1 = parti[0];
String tipo = StringPool.BLANK;
String strId2 = StringPool.BLANK;
@ -475,6 +469,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaAllegatoManuale() throws SystemException {
int start = 0;
int cancellati = 0;
List<AllegatoManuale> allegatiManuali = null;
@ -497,6 +492,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaAssetEntry(long companyId) throws SystemException {
int start = 0;
int cancellati = 0;
List<AssetEntry> assetEntries = null;
@ -520,6 +516,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaAsseverazione() throws SystemException {
int start = 0;
int cancellati = 0;
List<Asseverazione> asseverazioni = null;
@ -541,6 +538,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaAvviso(long companyId) throws SystemException {
int start = 0;
int cancellati = 0;
List<Avviso> avvisi = null;
@ -564,6 +562,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaCollaudo() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<Collaudo> collaudi = null;
@ -583,6 +582,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaContact(long companyId) throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<Contact> contacts = null;
@ -602,6 +602,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaControlloPratica() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<ControlloPratica> controlliPratiche = null;
@ -622,6 +623,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaDelega() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<Delega> deleghe = null;
@ -642,6 +644,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaDettPratica() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<DettPratica> dettPratiche = null;
@ -661,6 +664,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaDocAggiuntiva() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<DocAggiuntiva> docAggiuntive = null;
@ -682,6 +686,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaDocPratica() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<DocPratica> docPratiche = null;
@ -702,6 +707,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaEmail(long companyId) throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<Email> emails = null;
@ -721,6 +727,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaEmailAttachment() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<EmailAttachment> emailAttachments = null;
@ -741,6 +748,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaFineLavori() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<FineLavori> finiLavori = null;
@ -761,6 +769,7 @@ public class ManutenzioneDatabase {
// Troncare le tabelle è l'unico modo possibile
private static String svuotaIntPraticaDettPratica() {
int i = 0;
int d = 0;
try {
@ -768,13 +777,13 @@ public class ManutenzioneDatabase {
Statement s = connection.createStatement();
i = s.executeUpdate("DELETE FROM portos_bo_intpratica");
d = s.executeUpdate("DELETE FROM portos_bo_dettpratica");
} catch (SQLException e) {
}
} catch (SQLException e) {}
clearCache();
return "Cancellati " + i + " IntPratica, " + d + " DettPratica";
}
private static String svuotaGroup(long companyId) throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<Group> groups = null;
@ -794,6 +803,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaHistoryWorkflowAction() throws SystemException {
int start = 0;
int cancellati = 0;
List<HistoryWorkflowAction> actions = null;
@ -814,6 +824,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaMBDiscussion(long companyId) throws SystemException {
int start = 0;
int cancellati = 0;
List<MBDiscussion> mbDiscussions = null;
@ -835,6 +846,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaMBMessage(long companyId) throws SystemException {
int start = 0;
int cancellati = 0;
List<MBMessage> mbMessages = null;
@ -856,6 +868,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaMBThread() throws SystemException {
int start = 0;
int cancellati = 0;
List<MBThread> mbThreads = null;
@ -876,6 +889,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaPagamento(long companyId) throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<Pagamento> pagamenti = null;
@ -897,6 +911,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaParereGeologo() throws SystemException {
int start = 0;
int cancellati = 0;
List<ParereGeologo> pareriGeologo = null;
@ -918,6 +933,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaRatingsEntry() throws SystemException {
int start = 0;
int cancellati = 0;
List<RatingsEntry> entries = null;
@ -937,6 +953,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaRatingsStats(long companyId) throws SystemException {
int start = 0;
int cancellati = 0;
List<RatingsStats> ratingsStatses = null;
@ -956,6 +973,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaResourcePermission(long companyId) throws SystemException {
int start = 0;
int cancellati = 0;
List<ResourcePermission> resourcePermissions = null;
@ -969,8 +987,7 @@ public class ManutenzioneDatabase {
if (!String.valueOf(classPK).equals(resourcePermission.getPrimKey())) {
classPK = 0;
}
} catch (NumberFormatException e) {
}
} catch (NumberFormatException e) {}
if (Validator.isNotNull(classPK)) {
switch (resourcePermission.getScope()) {
case ResourceConstants.SCOPE_INDIVIDUAL:
@ -989,6 +1006,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaSoggetto() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
int docPraticaCancellati = 0;
@ -1006,8 +1024,7 @@ public class ManutenzioneDatabase {
deleteFileEntry(docPratica.getDlFileEntryId());
DocPraticaLocalServiceUtil.deleteDocPratica(docPratica);
docPraticaCancellati++;
} catch (PortalException e) {
}
} catch (PortalException e) {}
}
SoggettoLocalServiceUtil.deleteSoggetto(soggetto);
cancellati++;
@ -1020,6 +1037,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaStoricoSoggettoPratica() throws SystemException {
int start = 0;
int cancellati = 0;
List<StoricoSoggettoPratica> storicoSoggettiPratiche = null;
@ -1040,6 +1058,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaSystemEvent(long companyId) throws SystemException {
int start = 0;
int cancellati = 0;
List<SystemEvent> systemEvents = null;
@ -1059,6 +1078,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaSyncDLObject() throws SystemException {
int start = 0;
int cancellati = 0;
List<SyncDLObject> syncDLObjects = null;
@ -1086,27 +1106,8 @@ public class ManutenzioneDatabase {
return "Cancellati " + cancellati + " SyncDLObject";
}
private static String svuotaTempistica() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<Tempistica> tempistiche = null;
do {
int rimossi = 0;
tempistiche = TempisticaLocalServiceUtil.getTempisticas(start, start + SLICE);
for (Tempistica tempistica : tempistiche) {
if (!esiste(INTPRATICA_CLASS_NAME, tempistica.getIntPraticaId())
|| !esiste(DETTPRATICA_CLASS_NAME, tempistica.getDettPraticaId())) {
TempisticaLocalServiceUtil.deleteTempistica(tempistica);
cancellati++;
rimossi++;
}
}
start += SLICE - rimossi;
} while (tempistiche.size() > 0);
return "Cancellati " + cancellati + " Tempistica";
}
private static String svuotaUser(long companyId) throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<User> users = null;
@ -1125,6 +1126,7 @@ public class ManutenzioneDatabase {
}
private static String svuotaWorkflowInstance() throws SystemException, PortalException {
int start = 0;
int cancellati = 0;
List<WorkflowInstanceLink> links = null;
@ -1133,13 +1135,12 @@ public class ManutenzioneDatabase {
links = WorkflowInstanceLinkLocalServiceUtil.getWorkflowInstanceLinks(start, start + SLICE);
for (WorkflowInstanceLink link : links) {
if (!esiste(link.getClassName(), link.getClassPK())) {
_log.info("Manca " + link.getClassName() + " " + link.getClassPK());
_log.info("Manca " + link.getClassName() + StringPool.SPACE + link.getClassPK());
WorkflowInstance instance = null;
try {
instance = WorkflowInstanceManagerUtil.getWorkflowInstance(link.getCompanyId(),
link.getWorkflowInstanceId());
} catch (PortalException e) {
}
} catch (PortalException e) {}
if (Validator.isNull(instance)) {
WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(link);
} else {
@ -1156,10 +1157,12 @@ public class ManutenzioneDatabase {
}
private static boolean esiste(String className, long classPK) throws SystemException {
return esiste(className, classPK, 0);
}
private static boolean esiste(String className, long classPK, long companyId) throws SystemException {
if (0 != classPK && Validator.isNotNull(className)) {
try {
if (ALLEGATOMANUALE_CLASS_NAME.equals(className)) {
@ -1277,13 +1280,14 @@ public class ManutenzioneDatabase {
}
private static void deleteFileEntry(long fileEntryId) throws SystemException {
try {
DLAppLocalServiceUtil.deleteFileEntry(fileEntryId);
} catch (PortalException e) {
}
} catch (PortalException e) {}
}
private static void esitoLog(List<String> esito, String msg) {
_log.info(msg);
esito.add(msg);
}

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

@ -1,7 +1,5 @@
/**
*
* @author Salvatore La Manna, Manifattura Web Group per Regione Siciliana
*
*/
package it.mwg.sismica.bo.util;
@ -11,6 +9,7 @@ import it.tref.liferay.portos.bo.model.ControlloPratica;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.FineLavori;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.impl.AvvisoImpl;
import it.tref.liferay.portos.bo.scheduler.SchedulerPratiche;
import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil;
@ -53,6 +52,7 @@ import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.repository.model.FileEntry;
import com.liferay.portal.kernel.util.GetterUtil;
import com.liferay.portal.kernel.util.LocaleUtil;
import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
@ -111,8 +111,7 @@ public class SismicaUtil {
Date start = reference.getTime();
try {
start = (new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")).parse("2020-05-18 00:00:00");
} catch (ParseException e) {
}
} catch (ParseException e) {}
return new Date[] { start, end };
}
@ -124,8 +123,7 @@ public class SismicaUtil {
} catch (ParseException e) {
try {
date = new SimpleDateFormat("yyyy-MM-dd").parse(str);
} catch (ParseException e1) {
}
} catch (ParseException e1) {}
}
return date;
}
@ -136,8 +134,7 @@ public class SismicaUtil {
try {
start = sdfGiornoDB.parse(sdfGiornoDB.format(start));
end = sdfGiornoDB.parse(sdfGiornoDB.format(end));
} catch (ParseException e) {
}
} catch (ParseException e) {}
return Math.round((end.getTime() - start.getTime()) / 86400000.0);
}
return null;
@ -146,15 +143,16 @@ public class SismicaUtil {
public static List<String> integrazioniScadute() throws SystemException, PortalException {
List<String> esito = new ArrayList<>();
esitoLog(esito, "Controllo integrazioni/preavvisi scaduti");
esitoLog(esito, "Inizio controllo integrazioni/preavvisi scaduti");
final int giorniIntegrazione = 40;
final int giorniPreavviso = 20;
final int giorniSanzione = 100;
final long taskId = 21642;
final String taskName = "Esito";
final long nodeId = 21639;
final String nodeName = "Esito";
final String validCurrentNodeName = "signal_cittadino";
final String commento = "Pratica riassegnata automaticamente dal sistema per scadenza dei termini di integrazione";
final String commento = "Pratica riassegnata automaticamente dal sistema per scadenza dei termini";
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.HOUR, 0);
calendar.set(Calendar.MINUTE, 0);
@ -164,35 +162,39 @@ public class SismicaUtil {
date.put(StatoPraticaConstants.INTEGRAZIONE, calendar.getTime());
calendar.add(Calendar.DAY_OF_YEAR, giorniIntegrazione - giorniPreavviso);
date.put(StatoPraticaConstants.PREAVVISO_CONTRARIO, calendar.getTime());
calendar.add(Calendar.DAY_OF_YEAR, giorniPreavviso - giorniSanzione);
date.put(StatoPraticaConstants.PERIZIA_SANZIONE, calendar.getTime());
DynamicQuery query = IntPraticaLocalServiceUtil.dynamicQuery();
Disjunction or = RestrictionsFactoryUtil.disjunction();
or.add(RestrictionsFactoryUtil.eq("statoPratica", StatoPraticaConstants.INTEGRAZIONE));
or.add(RestrictionsFactoryUtil.eq("statoPratica", StatoPraticaConstants.PREAVVISO_CONTRARIO));
query.add(or);
Map<String, Integer> scadute = new HashMap<>();
scadute.put(StatoPraticaConstants.INTEGRAZIONE, 0);
scadute.put(StatoPraticaConstants.PREAVVISO_CONTRARIO, 0);
@SuppressWarnings("unchecked")
List<IntPratica> pratiche = IntPraticaLocalServiceUtil.dynamicQuery(query);
OrderByComparator comparator = OrderByComparatorFactoryUtil.create(AvvisoImpl.TABLE_NAME, "dtInvio", true);
for (IntPratica pratica : pratiche) {
Date dtUltimoAvviso = null;
List<Avviso> avvisi = AvvisoLocalServiceUtil.findByIntPratica(pratica.getIntPraticaId(), QueryUtil.ALL_POS,
QueryUtil.ALL_POS, comparator);
String stato = pratica.getStatoPratica().toUpperCase();
List<Avviso> avvisi = AvvisoLocalServiceUtil.findByIntPraticaId_tipoDocumento(pratica.getIntPraticaId(),
stato);
for (Avviso avviso : avvisi) {
if (avviso.getTipoAvviso().equalsIgnoreCase(AvvisoUtil.TIPO_AVVISO_FIRMA)
&& avviso.getInviato().equalsIgnoreCase(AvvisoUtil.DOCUMENTO_INVIATO) && !avviso.getAnnullato()
&& !avviso.getRifiutato() && !avviso.getErrore()
&& (Validator.isNull(dtUltimoAvviso) || dtUltimoAvviso.before(avviso.getDtInvio()))) {
&& !avviso.getRifiutato() && !avviso.getErrore() && date.containsKey(avviso.getTipoDocumento())) {
if (Validator.isNull(dtUltimoAvviso) || dtUltimoAvviso.before(avviso.getDtInvio())) {
dtUltimoAvviso = avviso.getDtInvio();
}
if (avviso.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.PERIZIA_SANZIONE)) {
stato = StatoPraticaConstants.PERIZIA_SANZIONE;
}
}
}
if (Validator.isNotNull(dtUltimoAvviso) && dtUltimoAvviso.before(date.get(stato))) {
scadute.put(stato, scadute.get(stato) + 1);
esito.addAll(riassegnaAlTecnico(pratica, commento, validCurrentNodeName, taskId, taskName, nodeId,
nodeName));
}
}
esitoLog(esito, "Fine controllo integrazioni/preavvisi scaduti");
return esito;
}
@ -344,8 +346,7 @@ public class SismicaUtil {
Long diff = null;
try {
diff = daysBetween(sdfGiornoDB.parse(start), sdfGiornoDB.parse(end));
} catch (ParseException e) {
}
} catch (ParseException e) {}
return diff;
}
@ -359,8 +360,7 @@ public class SismicaUtil {
Long diff = null;
try {
diff = daysBetween(sdfGiornoDB.parse(start), new Date());
} catch (ParseException e) {
}
} catch (ParseException e) {}
return diff;
}
@ -452,7 +452,7 @@ public class SismicaUtil {
private static List<String> riparaAssegnazioniAlRuolo(long companyId, long userId) {
List<String> esito = new ArrayList<>();
esitoLog(esito, "Controllo assegnazioni al ruolo");
esitoLog(esito, "Inizio controllo assegnazioni al ruolo");
int start = 0;
List<WorkflowTask> tasks = null;
do {
@ -526,6 +526,7 @@ public class SismicaUtil {
}
}
} while (tasks.size() > 0);
esitoLog(esito, "Fine controllo assegnazioni al ruolo");
return esito;
}
@ -601,8 +602,7 @@ public class SismicaUtil {
controllo.setStatus(WorkflowConstants.STATUS_APPROVED);
try {
ControlloPraticaLocalServiceUtil.updateControlloPratica(controllo);
} catch (SystemException e) {
}
} catch (SystemException e) {}
long fileEntryIdTemplate;
try {
fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(
@ -614,8 +614,7 @@ public class SismicaUtil {
try {
pratica.setStatoPratica(StatoPraticaConstants.CONFORME);
IntPraticaLocalServiceUtil.updateIntPratica(pratica);
} catch (SystemException e) {
}
} catch (SystemException e) {}
}
}
}
@ -626,8 +625,7 @@ public class SismicaUtil {
pratica.setStatoPratica(StatoPraticaConstants.CONFORME);
try {
IntPraticaLocalServiceUtil.updateIntPratica(pratica);
} catch (SystemException e) {
}
} catch (SystemException e) {}
}
}
}
@ -638,7 +636,7 @@ public class SismicaUtil {
private static List<String> riparaContextWorkflow(long companyId) {
List<String> esito = new ArrayList<>();
esitoLog(esito, "Riparazione context workflow");
esitoLog(esito, "Inizio riparazione context workflow");
int start = 0;
List<WorkflowTask> tasks = null;
do {
@ -653,6 +651,7 @@ public class SismicaUtil {
esito.addAll(checkWorkflow(companyId, task));
}
} while (tasks.size() > 0);
esitoLog(esito, "Fine riparazione context workflow");
return esito;
}
@ -705,7 +704,7 @@ public class SismicaUtil {
private static List<String> creaWorkflowMancanti(long companyId) {
List<String> esito = new ArrayList<>();
esitoLog(esito, "Creazione workflow mancanti");
esitoLog(esito, "Inizio creazione workflow mancanti");
List<Long> tokens = new ArrayList<>();
try {
for (KaleoTaskInstanceToken token : KaleoTaskInstanceTokenLocalServiceUtil.getKaleoTaskInstanceTokens(
@ -713,8 +712,7 @@ public class SismicaUtil {
if (token.getClassName().equals(ControlloPratica.class.getName()))
tokens.add(token.getClassPK());
}
} catch (SystemException e) {
}
} catch (SystemException e) {}
int start = 0;
List<IntPratica> pratiche = null;
do {
@ -759,6 +757,7 @@ public class SismicaUtil {
}
}
} while (pratiche.size() > 0);
esitoLog(esito, "Fine creazione workflow mancanti");
return esito;
}
@ -770,7 +769,7 @@ public class SismicaUtil {
private static List<String> riparaDocumenti(long companyId) throws SystemException, PortalException {
List<String> esito = new ArrayList<String>();
esitoLog(esito, "Riparazione generazione documenti");
esitoLog(esito, "Inizio riparazione generazione documenti");
initTemplate(companyId);
List<IntPratica> intPratiche = null;
int index = 0;
@ -785,6 +784,7 @@ public class SismicaUtil {
}
index += SLICE;
} while (intPratiche.size() > 0);
esitoLog(esito, "Fine riparazione generazione documenti");
return esito;
}
@ -831,8 +831,7 @@ public class SismicaUtil {
try {
serviceContext.setScopeGroupId(TerritorioLocalServiceUtil.getTerritorio(
intPratica.getTerritorioId()).getGroupId());
} catch (PortalException | SystemException e) {
}
} catch (PortalException | SystemException e) {}
serviceContext.setUserId(intPratica.getUserId());
}
List<Avviso> avvisi = getAvvisiPratica(intPraticaId);
@ -878,8 +877,8 @@ public class SismicaUtil {
try {
if (Validator.isNull(controllo)) {
controllo = aggiungiControlloPratica(intPratica);
esitoLog(esito, intPratica.getNumeroProgetto() + " aggiunto ControlloPratica "
+ controllo.getControlloPraticaId());
esitoLog(esito, intPratica.getNumeroProgetto()
+ " aggiunto ControlloPratica " + controllo.getControlloPraticaId());
}
AvvisoLocalServiceUtil.addAvviso(intPraticaId, StringPool.BLANK,
avviso.getDtAvviso(), AvvisoUtil.TIPO_AVVISO_DIRETTO,

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

@ -37,7 +37,7 @@ import java.util.Date;
public class AvvisoCacheModel implements CacheModel<Avviso>, Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(81);
StringBundler sb = new StringBundler(77);
sb.append("{uuid=");
sb.append(uuid);
@ -91,10 +91,6 @@ public class AvvisoCacheModel implements CacheModel<Avviso>, Externalizable {
sb.append(signal);
sb.append(", dtInvioSignal=");
sb.append(dtInvioSignal);
sb.append(", tempistica=");
sb.append(tempistica);
sb.append(", dtTempistica=");
sb.append(dtTempistica);
sb.append(", jsonParameters=");
sb.append(jsonParameters);
sb.append(", protocollo=");
@ -244,15 +240,6 @@ public class AvvisoCacheModel implements CacheModel<Avviso>, Externalizable {
avvisoImpl.setDtInvioSignal(new Date(dtInvioSignal));
}
avvisoImpl.setTempistica(tempistica);
if (dtTempistica == Long.MIN_VALUE) {
avvisoImpl.setDtTempistica(null);
}
else {
avvisoImpl.setDtTempistica(new Date(dtTempistica));
}
if (jsonParameters == null) {
avvisoImpl.setJsonParameters(StringPool.BLANK);
}
@ -342,8 +329,6 @@ public class AvvisoCacheModel implements CacheModel<Avviso>, Externalizable {
errore = objectInput.readBoolean();
signal = objectInput.readBoolean();
dtInvioSignal = objectInput.readLong();
tempistica = objectInput.readBoolean();
dtTempistica = objectInput.readLong();
jsonParameters = objectInput.readUTF();
protocollo = objectInput.readUTF();
dtProtocollo = objectInput.readLong();
@ -440,8 +425,6 @@ public class AvvisoCacheModel implements CacheModel<Avviso>, Externalizable {
objectOutput.writeBoolean(errore);
objectOutput.writeBoolean(signal);
objectOutput.writeLong(dtInvioSignal);
objectOutput.writeBoolean(tempistica);
objectOutput.writeLong(dtTempistica);
if (jsonParameters == null) {
objectOutput.writeUTF(StringPool.BLANK);
@ -515,8 +498,6 @@ public class AvvisoCacheModel implements CacheModel<Avviso>, Externalizable {
public boolean errore;
public boolean signal;
public long dtInvioSignal;
public boolean tempistica;
public long dtTempistica;
public String jsonParameters;
public String protocollo;
public long dtProtocollo;

30
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/AvvisoImpl.java

@ -1,13 +1,9 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General
* Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. This library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software
* Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in
* the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*/
package it.tref.liferay.portos.bo.model.impl;
@ -40,7 +36,6 @@ import com.liferay.portlet.documentlibrary.util.DLUtil;
/**
* The extended model implementation for the Avviso service. Represents a row in the &quot;portos_bo_Avviso&quot;
* database table, with each column mapped to a property of this class.
*
* <p>
* Helper methods and all application logic should be put in this class. Whenever methods are added, rerun
* ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.bo.model.Avviso} interface.
@ -62,16 +57,18 @@ public class AvvisoImpl extends AvvisoBaseImpl {
: "label.admingeniocivile.avviso.tipoDocumento.avvisomanuale";
String fullDescription = LanguageUtil.get(LocaleUtil.ITALIAN, tipoDocumento);
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(this.getIntPraticaId());
if(intPratica.getTipoRichiesta() == Constants.VIARCH) {
if (intPratica.getTipoRichiesta() == Constants.VIARCH) {
switch (this.getTipoDocumento()) {
case StatoPraticaConstants.AUTORIZZATA:
case StatoPraticaConstants.CONFORME:
return "Avviso di "
+ LanguageUtil.get(LocaleUtil.ITALIAN, "stato-pratica-" + StatoPraticaConstants.VIARCH_APERTO);
+ LanguageUtil.get(LocaleUtil.ITALIAN, "stato-pratica-"
+ StatoPraticaConstants.VIARCH_APERTO);
case StatoPraticaConstants.NON_AUTORIZZATA:
case StatoPraticaConstants.NON_CONFORME:
return "Avviso di "
+ LanguageUtil.get(LocaleUtil.ITALIAN, "stato-pratica-" + StatoPraticaConstants.VIARCH_CHIUSO);
+ LanguageUtil.get(LocaleUtil.ITALIAN, "stato-pratica-"
+ StatoPraticaConstants.VIARCH_CHIUSO);
}
}
if (this.getTipoDocumento().equalsIgnoreCase(StatoPraticaConstants.VIDIMATA)) {
@ -113,7 +110,8 @@ public class AvvisoImpl extends AvvisoBaseImpl {
@Override
public String getDescriptionOggettoProtocollo(String tipoProcedura) throws PortalException, SystemException {
if (tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_P3) || tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_Q3)) {
if (tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_P3)
|| tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_Q3)) {
switch (this.getTipoDocumento()) {
case StatoPraticaConstants.AUTORIZZATA:
case StatoPraticaConstants.CONFORME:
@ -167,6 +165,7 @@ public class AvvisoImpl extends AvvisoBaseImpl {
@Override
public String getDescriptionOggettoProtocollo() throws PortalException, SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(getIntPraticaId());
return getDescriptionOggettoProtocollo(intPratica.getTipoProcedura());
}
@ -184,7 +183,8 @@ public class AvvisoImpl extends AvvisoBaseImpl {
@Override
public String translateTipoDocumento(String tipoProcedura) throws PortalException, SystemException {
if (tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_P3) || tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_Q3)) {
if (tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_P3)
|| tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_Q3)) {
switch (this.getTipoDocumento()) {
case StatoPraticaConstants.AUTORIZZATA:
case StatoPraticaConstants.CONFORME:

Some files were not shown because too many files have changed in this diff Show More

Caricamento…
Annulla
Salva