Sfoglia il codice sorgente

Aggiornamento Jasper Reports a v 5.0.4

Salvatore La Manna 4 anni fa
parent
commit
11a854b42c
  1. 403
      jasper/richiesta_integrazione_portos2.jrxml
  2. 22
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.classpath
  3. 36
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.project
  4. 12
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/.jsdtscope
  5. 7
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.jdt.core.prefs
  6. 3
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.jst.jsp.core.prefs
  7. 11
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.common.component
  8. 7
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
  9. 11
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml
  10. 1
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container
  11. 1
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name
  12. 1
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.tern-project
  13. 6
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/build.xml
  14. 3
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/META-INF/MANIFEST.MF
  15. 1
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/.gitignore
  16. 9
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/liferay-display.xml
  17. 13
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/liferay-plugin-package.properties
  18. 31
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/liferay-portlet.xml
  19. 38
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/portlet.xml
  20. 32
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/autodestroy/portlet/AutoDestroyPortlet.java
  21. 2568
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/aui.tld
  22. 538
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld
  23. 158
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-portlet.tld
  24. 106
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-security.tld
  25. 65
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-theme.tld
  26. 4691
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-ui.tld
  27. 141
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-util.tld
  28. 2
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/web.xml
  29. 0
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/css/main.css
  30. 65
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/html/autodestroy/init.jsp
  31. 10
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/html/autodestroy/view.jsp
  32. BIN
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/icon.png
  33. 0
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/js/main.js
  34. 15
      liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/test/integration/arquillian.xml
  35. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/scheduler/SchedulerWorkflow.java
  36. 35
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/PuliziaDatabase.java
  37. 216
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java
  38. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SorteggioPraticaUtil.java
  39. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/DocAggiuntivaPortlet.java
  40. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/GestioneAttivitaIstruttorePortlet.java
  41. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/GestioneAttivitaPortlet.java
  42. 81
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/SismicaAdministrationPortlet.java
  43. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraDocumento.java
  44. 23
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerInvioDocumento.java
  45. 278
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  46. 37
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  47. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AllegatoManualePersistenceImpl.java
  48. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java
  49. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AvvisoPersistenceImpl.java
  50. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistenceImpl.java
  51. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunePersistenceImpl.java
  52. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunicazionePersistenceImpl.java
  53. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ConfigurazionePersistenceImpl.java
  54. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ControlloPraticaPersistenceImpl.java
  55. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DelegaPersistenceImpl.java
  56. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java
  57. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocAggiuntivaPersistenceImpl.java
  58. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocPraticaPersistenceImpl.java
  59. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistenceImpl.java
  60. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/HistoryWorkflowActionPersistenceImpl.java
  61. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IUVPersistenceImpl.java
  62. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/InfoFascicoloPersistenceImpl.java
  63. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java
  64. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java
  65. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistenceImpl.java
  66. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ProvinciaPersistenceImpl.java
  67. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SoggettoPersistenceImpl.java
  68. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SorteggioPersistenceImpl.java
  69. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/StoricoSoggettoPraticaPersistenceImpl.java
  70. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TempisticaPersistenceImpl.java
  71. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TerritorioPersistenceImpl.java
  72. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/UtentePortosPersistenceImpl.java
  73. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  74. 29
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/doc_aggiuntiva/view.jsp
  75. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/sismica_administration/view.jsp
  76. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/dom4j.jar
  77. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/geronimo-stax-api_1.0_spec.jar
  78. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/itext.jar
  79. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/jasperreports.jar
  80. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/poi-ooxml-schemas.jar
  81. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/poi-ooxml.jar
  82. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/poi.jar
  83. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/stax-api.jar
  84. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/util-java.jar
  85. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/xmlbeans.jar
  86. 2
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/ivy.xml
  87. 2
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/ivy.xml.MD5
  88. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/ant-launcher.jar
  89. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/ant.jar
  90. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/antlr2.jar
  91. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/asm.jar
  92. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/avalon-framework-impl.jar
  93. 0
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/barcode4j.jar
  94. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/batik-anim.jar
  95. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/batik-awt-util.jar
  96. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/batik-bridge.jar
  97. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/batik-css.jar
  98. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/batik-dom.jar
  99. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/batik-ext.jar
  100. BIN
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/batik-gvt.jar
  101. Some files were not shown because too many files have changed in this diff Show More

403
jasper/richiesta_integrazione_portos2.jrxml

@ -0,0 +1,403 @@
<?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="richiesta_integrazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71">
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="LOGO_REGIONE" class="java.lang.String"/>
<parameter name="documentazione" class="java.lang.String"/>
<parameter name="delegato" class="java.lang.String"/>
<parameter name="testo_del_documento" class="java.lang.String"/>
<field name="alCollaudatore" class="java.lang.String"/>
<field name="alTitolareDigitale" class="java.lang.String"/>
<field name="tipo" class="java.lang.String"/>
<field name="lavoriDi" class="java.lang.String"/>
<field name="numeroProgetto" class="java.lang.String"/>
<field name="committente" class="java.lang.String"/>
<field name="comune" class="java.lang.String"/>
<field name="alCommittente" class="java.lang.String"/>
<field name="alDirettoreLavori" class="java.lang.String"/>
<field name="codiceUnivoco" class="java.lang.String"/>
<field name="dataPratica" class="java.util.Date"/>
<field name="dataSorteggio" class="java.util.Date"/>
<field name="dataAvviso" class="java.util.Date"/>
<field name="sedeGenioCivile" class="java.lang.String"/>
<field name="tecnico" class="java.lang.String"/>
<field name="tecnicoEmail" class="java.lang.String"/>
<field name="numeroVariante" class="java.lang.String"/>
<field name="numeroProtocollo" class="java.lang.String"/>
<field name="ubicazione" class="java.lang.String"/>
<field name="po" class="java.lang.String"/>
<pageHeader>
<band height="75">
<image>
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/>
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression>
</image>
<textField>
<reportElement x="285" y="50" width="269" height="25" uuid="06ea1524-7ade-4d0a-bde6-707862143806">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Sede di "+$F{sedeGenioCivile}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="285" y="25" width="269" height="25" uuid="2aee3ee3-206d-4598-9f05-b90f0502de42">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Genio Civile]]></text>
</staticText>
<staticText>
<reportElement x="285" y="0" width="270" height="25" uuid="a2c1ff68-ead2-44e5-867b-68a0bdb01b92">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/>
</textElement>
<text><![CDATA[Dipartimento Regionale Tecnico]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="289">
<staticText>
<reportElement x="1" y="29" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<text><![CDATA[Oggetto:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="57" y="29" width="498" height="50" uuid="e4c22bc1-a61e-4eb0-8a3e-e9993506b8a8"/>
<textElement>
<font fontName="DejaVu Sans" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"D.P.R. n. 380 06/06/2001.\n"+
"Progetto soggetto ad autorizzazione ai sensi delli'art. 94 D.P.R. 380/2001 in relazione"+
"ai controlli a campione effettuati ai sensi dall'art. 94-bis, comma 5, secondo le"+
"indicazioni di cui al D.D.G. 189/2019.\n"+
"\n"+
"Richiesta di documentazione integrativa o sostitutiva.\n"
:
($F{tipo}.equals("CO") ?
"Art. 94 del D.P.R. n. 380 06/06/2001 - .\n"+
"Progetto sottoposto a controllo obbligatorio ai sensi dell'art. . \n"
:
($F{tipo}.equals("SO") ?
"Art. 93 del D.P.R. n. 380 06/06/2001 - .\n"+
"Progetto sottoposto a controllo a campione ai sensi dell'art. . \n"
:
""))]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="22" width="555" height="1" uuid="94b2c91e-bbd3-4d62-b399-34fcba04c0cb"/>
</line>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="235" width="545" height="53" uuid="e4c22bc1-a61e-4eb0-8a3e-e9993506b8a8"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" isBold="false"/>
<paragraph lineSpacing="Fixed"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"In riferimento a quanto richiamato in oggetto ed al relativo progetto, vista la documentazione tecnica prodotta, si comunica la necessità di integrare la documentazione con quanto segue:"
:
($F{tipo}.equals("CO") ?
"In riferimento a quanto richiamato in oggetto ed al relativo progetto, sottoposto ad controllo OBBLIGATORIO , si comunica la necessità di integrare la documentazione con quanto segue:"
:
($F{tipo}.equals("SO") ?
"In riferimento a quanto richiamato in oggetto ed al relativo progetto, sottoposto ad controllo per sorteggio in data "+new SimpleDateFormat("dd/MM/yyyy").format($F{dataSorteggio})+" ai sensi dell’art , si comunica la necessità di integrare la documentazione con quanto segue:"
:
""))]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="5" width="48" height="12" uuid="46e03250-19be-4840-97fa-f5de14d1f301"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[Data Avviso]]></text>
</staticText>
<textField>
<reportElement x="63" y="5" width="100" height="12" uuid="e9f4a0fe-af77-4c17-b67c-18a95b7a29b1"/>
<textElement>
<font fontName="DejaVu Sans" size="8"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="83" width="82" height="14" uuid="c90e9d67-8eb2-4f90-ab88-a11fb29154b7">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Comune:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="201" width="168" height="14" uuid="d278b840-1f7c-4e63-b4c7-758353758c20">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alDirettoreLavori}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="111" width="82" height="14" uuid="5102239e-6dda-4766-86eb-d86cc07a46c9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Lavori di:]]></text>
</staticText>
<staticText>
<reportElement key="" x="266" y="173" width="115" height="14" uuid="51cf9774-23c7-4810-8d26-dbb80636c6a5">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[Al Committente]]></text>
</staticText>
<staticText>
<reportElement x="266" y="201" width="115" height="14" uuid="4f9c4024-049d-4303-8a92-abb1f9d82851">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al D.L.]]></text>
</staticText>
<staticText>
<reportElement x="9" y="97" width="82" height="14" uuid="c214270f-3c69-4225-aaaa-4a0390e22215">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Committente:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="139" width="458" height="14" uuid="da43c22d-e49b-4c77-a703-3a8d0a193f63">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="111" width="458" height="14" uuid="e4516a16-3c02-4355-bceb-b153ce75de9f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="83" width="458" height="14" uuid="3fc735eb-7f68-4d5e-8810-965012bd4dec">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="97" width="458" height="14" uuid="876616c8-b862-43f1-baa2-6c546ea88043">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="139" width="82" height="14" uuid="2d32e56b-e45f-41dc-a483-cc01b81cc67c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Progetto n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="173" width="168" height="14" uuid="04c6e414-072c-4451-a2cb-37c55ba68c8a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="91" y="153" width="458" height="14" uuid="d9aa171e-98c6-4245-851c-7bdd46325010">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="9" y="153" width="82" height="14" uuid="31a670b0-8ac2-4625-bcd7-9bbc8e47c013">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Protocollo n.]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="187" width="168" height="14" uuid="598fd2f5-b142-4953-b08b-d806672c5f92">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="" x="266" y="187" width="115" height="14" uuid="49e505a5-eef9-4229-849c-977bc22d4080">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="true"/>
</textElement>
<text><![CDATA[c/o il suo delegato]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="381" y="215" width="168" height="14" isRemoveLineWhenBlank="true" uuid="fce46523-445a-467f-9f35-b088f0607109">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{alCollaudatore}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="266" y="215" width="115" height="14" isRemoveLineWhenBlank="true" uuid="eec8a1fc-f44f-4ee7-8330-76b5c3681d5b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{alCollaudatore} ) && $F{alCollaudatore}!=null]]></printWhenExpression>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Al Collaudatore]]></text>
</staticText>
<staticText>
<reportElement x="9" y="125" width="82" height="14" uuid="ebc06f54-26be-4cc4-b7e8-6caf6c5042c1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[Ubicazione:]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="91" y="125" width="458" height="14" uuid="79de021f-f4af-4326-b51b-0c0f7428e682">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression>
</textField>
</band>
<band height="14">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="0" width="545" height="14" isRemoveLineWhenBlank="true" uuid="457244af-bd1e-4321-bca3-e88c2bf69b93">
<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.tabStopWidth" value="px"/>
</reportElement>
<textElement textAlignment="Left">
<font fontName="DejaVu Sans"/>
<paragraph tabStopWidth="20"/>
</textElement>
<textFieldExpression><![CDATA[$P{testo_del_documento}+"\r\n"]]></textFieldExpression>
</textField>
</band>
<band height="173">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement positionType="Float" x="3" y="90" width="543" height="77" uuid="de413b06-ddfb-40ff-8c2f-10951736773b"/>
<textElement textAlignment="Justified">
<font fontName="DejaVu Sans" size="9" isItalic="true"/>
</textElement>
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. si comunica che per il presente procedimento amministrativo:\n"+
"- Le unità Operative che si occupano di Sismica in ogni ufficio del Genio civile, ognuna per le proprie competenze,"+
"rappresentano l'unità organizzativa responsabile del procedimento e dell'istruttoria e di ogni atto interlocutorio;\n"+
"- L' ing. capo è il dirigente del Servizio Provinciale Ufficio del Genio Civile di " +$F{sedeGenioCivile}+
",cui è stata presentata l'istanza, nonché il responsabile dell'adozione del provvedimento finale;\n"+
"- L'ing. "+$F{po}+", dirigente responsabile dell' Unità  Operative è il responsabile del procedimento;\n"+
"- Ai fini dell'eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della "+
"celerità è l'Arch. Salvatore Lizzio, Direttore Generale del Dipartimento Regionale Tecnico\n"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="6" width="545" height="84" isRemoveLineWhenBlank="true" uuid="e4c22bc1-a61e-4eb0-8a3e-e9993506b8a8"/>
<textElement textAlignment="Justified" markup="styled">
<font fontName="DejaVu Sans" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}.equals("AU") ?
"Si rappresenta che i termini per il rilascio del provvedimento autorizzativo si intendono"+
"sospesi fino alla presentazione della documentazione integrativa richiesta, che le integrazioni"+
"dovranno pervenire entro il termine di 30 giorni dalla data di ricezione della presente e che in"+
"caso di mancato riscontro questo Ufficio provvederà all'adozione di un provvedimento di"+
"diniego secondo le procedure previste dall'art. 10-bis della Legge 241/90 e succ. mod. e int. .\n"+
"\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+"\n"
:
($F{tipo}.equals("CO") ?
"Si comunica che i termini per il rilascio dell'esito della verifica si intendono sospesi fino alla presentazione della documentazione integrativa al progetto.\n"+
"Le integrazioni dovranno pervenire entro 30 giorni dalla data di ricezione della presente ai sensi dell’art. . \n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+"\n":
($F{tipo}.equals("SO") ?
"Si comunica che i termini per il rilascio dell'esito della verifica si intendono sospesi fino alla presentazione della documentazione integrativa al progetto.\n"+
"Le integrazioni dovranno pervenire entro 30 giorni dalla data di ricezione della presente ai sensi dell’art. .\n"+
"Il Tecnico istruttore, incaricato per il controllo è "+$F{tecnico}+", che può essere contattato con email: "+$F{tecnicoEmail}+"\n"
:
""))]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="4" y="102" width="328" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/>
<textElement>
<font fontName="DejaVu Sans" size="8" isBold="true"/>
</textElement>
<text><![CDATA[www.regione.sicilia.it
https://sismica.lavoripubblici.sicilia.it]]></text>
</staticText>
<line>
<reportElement x="0" y="99" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="8" y="76" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression>
</textField>
<componentElement>
<reportElement x="183" y="26" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888">
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression>
</reportElement>
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom">
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression>
</jr:PDF417>
</componentElement>
</band>
</pageFooter>
</jasperReport>

22
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.classpath

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="docroot/WEB-INF/src"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="con" path="com.liferay.ide.eclipse.server.plugin.container/portlet">
<attributes>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/com.liferay.ide.eclipse.server.tomcat.runtimeClasspathProvider/Liferay v6.2 CE (Tomcat 7)">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_80">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="docroot/WEB-INF/classes"/>
</classpath>

36
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.project

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>portos-autodestroy-portlet</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>

12
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/.jsdtscope

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="docroot"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>

7
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.jdt.core.prefs

@ -1,7 +0,0 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6

3
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.jst.jsp.core.prefs

@ -1,3 +0,0 @@
eclipse.preferences.version=1
validateFragments=false
validation.use-project-settings=true

11
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.common.component

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="portos-autodestroy-portlet">
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/>
<dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="portos-autodestroy-portlet"/>
<property name="java-output-path" value="/portos-autodestroy-portlet/docroot/WEB-INF/classes"/>
</wb-module>
</project-modules>

7
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml

@ -1,7 +0,0 @@
<root>
<facet id="liferay.portlet">
<node name="libprov">
<attribute name="provider-id" value="com.liferay.ide.eclipse.plugin.portlet.libraryProvider"/>
</node>
</facet>
</root>

11
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Liferay v6.2 CE (Tomcat 7)"/>
<fixed facet="java"/>
<fixed facet="jst.web"/>
<fixed facet="wst.jsdt.web"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="liferay.portlet" version="6.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="java" version="1.6"/>
</faceted-project>

1
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container

@ -1 +0,0 @@
org.eclipse.wst.jsdt.launching.baseBrowserLibrary

1
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name

@ -1 +0,0 @@
Window

1
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/.tern-project

@ -1 +0,0 @@
{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]}

6
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/build.xml

@ -1,6 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE project>
<project name="portos-autodestroy-portlet" basedir="." default="deploy">
<import file="../build-common-portlet.xml" />
</project>

3
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/META-INF/MANIFEST.MF

@ -1,3 +0,0 @@
Manifest-Version: 1.0
Class-Path:

1
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/.gitignore vendored

@ -1 +0,0 @@
/classes/

9
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/liferay-display.xml

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd">
<display>
<category name="category.portos">
<portlet id="1"></portlet>
</category>
</display>

13
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/liferay-plugin-package.properties

@ -1,13 +0,0 @@
name=Portos Autodestroy Portos
module-group-id=liferay
module-incremental-version=1
tags=
short-description=
long-description=
change-log=
page-url=http://www.liferay.com
author=Liferay, Inc.
licenses=LGPL
liferay-versions=6.2.0+
required-deployment-contexts=\
portos-bo-portlet

31
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/liferay-portlet.xml

@ -1,31 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.2.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd">
<liferay-portlet-app>
<portlet>
<portlet-name>1</portlet-name>
<icon>/icon.png</icon>
<header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>
/js/main.js
</footer-portlet-javascript>
<css-class-wrapper>1-portlet</css-class-wrapper>
</portlet>
<role-mapper>
<role-name>administrator</role-name>
<role-link>Administrator</role-link>
</role-mapper>
<role-mapper>
<role-name>guest</role-name>
<role-link>Guest</role-link>
</role-mapper>
<role-mapper>
<role-name>power-user</role-name>
<role-link>Power User</role-link>
</role-mapper>
<role-mapper>
<role-name>user</role-name>
<role-link>User</role-link>
</role-mapper>
</liferay-portlet-app>

38
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/portlet.xml

@ -1,38 +0,0 @@
<?xml version="1.0"?>
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0">
<portlet>
<portlet-name>1</portlet-name>
<display-name>Auto Destroy</display-name>
<portlet-class>
it.tref.liferay.portos.autodestroy.portlet.AutoDestroyPortlet
</portlet-class>
<init-param>
<name>view-template</name>
<value>/html/autodestroy/view.jsp</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<portlet-info>
<title>Auto Destroy</title>
<short-title>1</short-title>
<keywords></keywords>
</portlet-info>
<security-role-ref>
<role-name>administrator</role-name>
</security-role-ref>
<security-role-ref>
<role-name>guest</role-name>
</security-role-ref>
<security-role-ref>
<role-name>power-user</role-name>
</security-role-ref>
<security-role-ref>
<role-name>user</role-name>
</security-role-ref>
</portlet>
</portlet-app>

32
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/autodestroy/portlet/AutoDestroyPortlet.java

@ -1,32 +0,0 @@
package it.tref.liferay.portos.autodestroy.portlet;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import com.liferay.portal.kernel.cache.CacheRegistryUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.servlet.SessionErrors;
import com.liferay.util.bridges.mvc.MVCPortlet;
/**
* Portlet implementation class AutoDestroyPortlet
*/
public class AutoDestroyPortlet extends MVCPortlet {
private static Log _log = LogFactoryUtil.getLog(AutoDestroyPortlet.class.getName());
public void autoDestroy(ActionRequest actionRequest, ActionResponse actionResponse) {
try {
IntPraticaLocalServiceUtil.clearDb();
CacheRegistryUtil.clear();
} catch (Exception e) {
SessionErrors.add(actionRequest, "errore");
_log.error(e, e);
}
}
}

2568
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/aui.tld

File diff soppresso perché troppo grande Load Diff

538
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld

@ -1,538 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>liferay-portlet</short-name>
<uri>http://liferay.com/tld/portlet</uri>
<!--
liferay-portlet:actionURL is similar to portlet:actionURL except it has the
additional attributes plid, portletName, anchor, and encrypt.
Set varImpl to set the PortletURL object. This gives you an object reference
to the underlying URL implementation.
Set plid to the plid of another layout. This allows you to post the URL to
another layout.
Set portletName to the name of a portlet other than the current portlet.
This allows you to post the URL to another portlet.
Set anchor to false if you do not want the page to refresh and anchor to the
current portlet.
Set encrypt to true if you want to encrypt all the parameter values.
Set doAsUserId to process this URL as if it is accessed by the specified
user.
Set portletConfiguration to true if you want to pass the parameters needed
when you are accessing a portlet that is wrapped by the Portlet
Configuration portlet.
-->
<tag>
<name>actionURL</name>
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>allowEmptyParam</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encrypt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>plid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletConfiguration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererPlid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>varImpl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>icon-back</name>
<tag-class>com.liferay.taglib.portletext.IconBackTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-close</name>
<tag-class>com.liferay.taglib.portletext.IconCloseTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-configuration</name>
<tag-class>com.liferay.taglib.portletext.IconConfigurationTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-edit</name>
<tag-class>com.liferay.taglib.portletext.IconEditTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-edit-defaults</name>
<tag-class>com.liferay.taglib.portletext.IconEditDefaultsTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-edit-guest</name>
<tag-class>com.liferay.taglib.portletext.IconEditGuestTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-export-import</name>
<tag-class>com.liferay.taglib.portletext.IconExportImportTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-help</name>
<tag-class>com.liferay.taglib.portletext.IconHelpTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-maximize</name>
<tag-class>com.liferay.taglib.portletext.IconMaximizeTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-minimize</name>
<tag-class>com.liferay.taglib.portletext.IconMinimizeTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-options</name>
<tag-class>com.liferay.taglib.portletext.IconOptionsTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-portlet</name>
<tag-class>com.liferay.taglib.portletext.IconPortletTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>ariaRole</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>label</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portlet</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>icon-portlet-css</name>
<tag-class>com.liferay.taglib.portletext.IconPortletCssTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-print</name>
<tag-class>com.liferay.taglib.portletext.IconPrintTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-refresh</name>
<tag-class>com.liferay.taglib.portletext.IconRefreshTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>preview</name>
<tag-class>com.liferay.taglib.portletext.PreviewTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>portletName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>queryString</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>showBorders</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>width</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<!--
liferay-portlet:renderURL is similar to portlet:renderURL except it has the
additional attributes plid, portletName, anchor, and encrypt.
Set varImpl to set the PortletURL object. This gives you an object reference
to the underlying URL implementation.
Set plid to the plid of another layout. This allows you to post the URL to
another layout.
Set portletName to the name of a portlet other than the current portlet.
This allows you to post the URL to another portlet.
Set anchor to false if you do not want the page to refresh and anchor to the
current portlet.
Set encrypt to true if you want to encrypt all the parameter values.
Set doAsUserId to process this URL as if it is accessed by the specified
user.
Set portletConfiguration to true if you want to pass the parameters needed
when you are accessing a portlet that is wrapped by the Portlet
Configuration portlet.
-->
<tag>
<name>renderURL</name>
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>allowEmptyParam</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encrypt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>plid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletConfiguration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererPlid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>varImpl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>renderURLParams</name>
<tag-class>com.liferay.taglib.portlet.RenderURLParamsTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>varImpl</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<!--
liferay-portlet:resourceURL is similar to portlet:resourceURL except it has
the additional attributes plid, portletName, anchor, and encrypt.
Set varImpl to set the PortletURL object. This gives you an object reference
to the underlying URL implementation.
Set plid to the plid of another layout. This allows you to post the URL to
another layout.
Set portletName to the name of a portlet other than the current portlet.
This allows you to post the URL to another portlet.
Set anchor to false if you do not want the page to refresh and anchor to the
current portlet.
Set encrypt to true if you want to encrypt all the parameter values.
Set doAsUserId to process this URL as if it is accessed by the specified
user.
Set portletConfiguration to true if you want to pass the parameters needed
when you are accessing a portlet that is wrapped by the Portlet
Configuration portlet.
-->
<tag>
<name>resourceURL</name>
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encrypt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>plid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletConfiguration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererPlid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>varImpl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>runtime</name>
<tag-class>com.liferay.taglib.portletext.RuntimeTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>defaultPreferences</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>queryString</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

158
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-portlet.tld

@ -1,158 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>portlet</short-name>
<uri>http://java.sun.com/portlet</uri>
<tag>
<name>actionURL</name>
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>defineObjects</name>
<tag-class>com.liferay.taglib.portlet.DefineObjectsTag</tag-class>
<tei-class>com.liferay.taglib.portlet.DefineObjectsTei</tei-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>namespace</name>
<tag-class>com.liferay.taglib.portlet.NamespaceTag</tag-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>property</name>
<tag-class>com.liferay.taglib.util.PropertyTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>renderURL</name>
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>resourceURL</name>
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>cacheability</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

106
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-security.tld

@ -1,106 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>liferay-security</short-name>
<uri>http://liferay.com/tld/security</uri>
<tag>
<name>doAsURL</name>
<tag-class>com.liferay.taglib.security.DoAsURLTag</tag-class>
<tei-class>com.liferay.taglib.security.DoAsURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>encrypt</name>
<tag-class>com.liferay.taglib.security.EncryptTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>className</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>protocol</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>target</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>unencryptedParams</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>permissionsURL</name>
<tag-class>com.liferay.taglib.security.PermissionsURLTag</tag-class>
<tei-class>com.liferay.taglib.security.PermissionsURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>modelResource</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>modelResourceDescription</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>redirect</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>resourceGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>resourcePrimKey</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>roleTypes</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

65
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-theme.tld

@ -1,65 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>theme</short-name>
<uri>http://liferay.com/tld/theme</uri>
<tag>
<name>defineObjects</name>
<tag-class>com.liferay.taglib.theme.DefineObjectsTag</tag-class>
<tei-class>com.liferay.taglib.theme.DefineObjectsTei</tei-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>include</name>
<tag-class>com.liferay.taglib.theme.IncludeTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>page</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>layout-icon</name>
<tag-class>com.liferay.taglib.theme.LayoutIconTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>layout</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>meta-tags</name>
<tag-class>com.liferay.taglib.theme.MetaTagsTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>wrap-portlet</name>
<tag-class>com.liferay.taglib.theme.WrapPortletTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>page</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

4691
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-ui.tld

File diff soppresso perché troppo grande Load Diff

141
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/tld/liferay-util.tld

@ -1,141 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.2</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>liferay-util</short-name>
<uri>http://liferay.com/tld/util</uri>
<tag>
<name>body-bottom</name>
<tag-class>com.liferay.taglib.util.BodyBottomTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>body-top</name>
<tag-class>com.liferay.taglib.util.BodyTopTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>buffer</name>
<tag-class>com.liferay.taglib.util.BufferTag</tag-class>
<tei-class>com.liferay.taglib.util.BufferTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>get-url</name>
<tag-class>com.liferay.taglib.util.GetUrlTag</tag-class>
<tei-class>com.liferay.taglib.util.GetUrlTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>expires</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>html-bottom</name>
<tag-class>com.liferay.taglib.util.HtmlBottomTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>position</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>html-top</name>
<tag-class>com.liferay.taglib.util.HtmlTopTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>position</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>include</name>
<tag-class>com.liferay.taglib.util.IncludeTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>page</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>servletContext</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>strict</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>useCustomPage</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>whitespace-remover</name>
<tag-class>com.liferay.taglib.util.WhitespaceRemoverTag</tag-class>
<body-content>JSP</body-content>
</tag>
</taglib>

2
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/WEB-INF/web.xml

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"/>

0
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/css/main.css

65
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/html/autodestroy/init.jsp

@ -1,65 +0,0 @@
<%@page import="java.text.Format"%>
<%@page import="com.liferay.portal.kernel.util.FastDateFormatFactoryUtil"%>
<%@page import="com.liferay.portal.kernel.util.StringUtil"%>
<%@page import="java.util.Arrays"%>
<%@page import="javax.portlet.WindowState"%>
<%@page import="javax.portlet.PortletMode"%>
<%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %>
<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
<%@page import="com.liferay.portal.kernel.dao.search.ResultRow" %>
<%@page import="com.liferay.portal.kernel.template.TemplateHandler" %>
<%@page import="com.liferay.portal.kernel.template.TemplateHandlerRegistryUtil" %>
<%@page import="com.liferay.portal.kernel.util.GetterUtil" %>
<%@page import="com.liferay.portal.kernel.util.ParamUtil" %>
<%@page import="com.liferay.portal.kernel.util.StringPool" %>
<%@page import="com.liferay.portal.kernel.util.WebKeys" %>
<%@page import="com.liferay.portal.kernel.util.TextFormatter" %>
<%@page import="com.liferay.portal.model.Group" %>
<%@page import="com.liferay.portlet.portletdisplaytemplate.util.PortletDisplayTemplateUtil" %>
<%@page import="com.liferay.portal.theme.ThemeDisplay" %>
<%@page import="com.liferay.portal.util.PortalUtil" %>
<%@ page import="com.liferay.portlet.PortletPreferencesFactoryUtil" %>
<%@ page import="com.liferay.portal.kernel.util.Validator" %>
<%@ page import="com.liferay.portal.kernel.language.LanguageUtil" %>
<%@ page import="javax.portlet.PortletPreferences" %>
<%@page import="java.text.SimpleDateFormat" %>
<%@page import="java.util.List" %>
<%@ page import="com.liferay.portal.kernel.dao.orm.QueryUtil" %>
<%@ page import="com.liferay.portal.kernel.dao.search.DisplayTerms" %>
<%@ page import="com.liferay.portal.kernel.dao.search.ResultRow" %>
<%@ page import="com.liferay.portal.kernel.dao.search.RowChecker" %>
<%@ page import="com.liferay.portal.kernel.dao.search.SearchContainer" %>
<%@ page import="com.liferay.portal.kernel.util.OrderByComparator" %>
<%@ page import="com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil" %>
<liferay-theme:defineObjects />
<portlet:defineObjects />
<%
Format dateFormatDate = FastDateFormatFactoryUtil.getDate(locale, timeZone);
Format dateFormatDateTime = FastDateFormatFactoryUtil.getDateTime(locale, timeZone);
WindowState windowState = renderRequest.getWindowState();
PortletMode portletMode = renderRequest.getPortletMode();
String currentURL = PortalUtil.getCurrentURL(liferayPortletRequest);
%>

10
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/html/autodestroy/view.jsp

@ -1,10 +0,0 @@
<%@include file="/html/autodestroy/init.jsp" %>
<liferay-portlet:actionURL var="autoDestroyURL" name="autoDestroy">
<liferay-portlet:param name="redirect" value="<%=currentURL %>"/>
</liferay-portlet:actionURL>
<button class=" img-circle" style="background-color: red;width: 200px; height: 200px;color: white;font-weight: bold;font-size: 24px;" onclick="javascript:location.href='<%=autoDestroyURL%>'">DON'T PRESS</button>

BIN
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/icon.png

File binario non mostrato.

Prima

Larghezza:  |  Altezza:  |  Dimensione: 467 B

0
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/docroot/js/main.js

15
liferay-plugins-sdk-6.2/portlets/portos-autodestroy-portlet/test/integration/arquillian.xml

@ -1,15 +0,0 @@
<?xml version="1.0"?>
<arquillian
xmlns="http://jboss.org/schema/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd"
>
<container default="true" qualifier="tomcat">
<configuration>
<property name="jmxPort">8099</property>
<property name="pass">tomcat</property>
<property name="user">tomcat</property>
</configuration>
</container>
</arquillian>

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

@ -2,13 +2,10 @@ package it.mwg.sismica.bo.scheduler;
import it.mwg.sismica.bo.util.SismicaUtil; import it.mwg.sismica.bo.util.SismicaUtil;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock; import java.util.concurrent.locks.ReentrantLock;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.log.Log; import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil; import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.messaging.Message; import com.liferay.portal.kernel.messaging.Message;
@ -18,7 +15,6 @@ import com.liferay.portal.model.Company;
import com.liferay.portal.model.Role; import com.liferay.portal.model.Role;
import com.liferay.portal.model.RoleConstants; import com.liferay.portal.model.RoleConstants;
import com.liferay.portal.model.User; import com.liferay.portal.model.User;
import com.liferay.portal.security.auth.PrincipalThreadLocal;
import com.liferay.portal.security.permission.PermissionChecker; import com.liferay.portal.security.permission.PermissionChecker;
import com.liferay.portal.security.permission.PermissionCheckerFactoryUtil; import com.liferay.portal.security.permission.PermissionCheckerFactoryUtil;
import com.liferay.portal.security.permission.PermissionThreadLocal; import com.liferay.portal.security.permission.PermissionThreadLocal;

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

@ -58,8 +58,8 @@ public class PuliziaDatabase {
Date min = null; Date min = null;
Date max = null; Date max = null;
try { try {
min = sdf.parse("2020-09-25 18:43:49"); min = sdf.parse("2020-09-25 18:40:00");
max = sdf.parse("2020-09-25 18:44:15"); max = sdf.parse("2020-09-25 18:50:00");
} catch (ParseException e) { } catch (ParseException e) {
esitoLog(esito, "Errore date: " + e.getMessage()); esitoLog(esito, "Errore date: " + e.getMessage());
return esito; return esito;
@ -152,14 +152,15 @@ public class PuliziaDatabase {
case "B1": case "B1":
Sorteggio sorteggio = SorteggioLocalServiceUtil.findByIntPratica(intPratica Sorteggio sorteggio = SorteggioLocalServiceUtil.findByIntPratica(intPratica
.getIntPraticaId()); .getIntPraticaId());
if (Validator.isNull(sorteggio)) {
jsonParameters = jsonSerializer.serialize(parameters); jsonParameters = jsonSerializer.serialize(parameters);
try { try {
if (Validator.isNull(sorteggio)) {
AvvisoLocalServiceUtil.addAvviso(intPraticaId, descLongAnnullamento, AvvisoLocalServiceUtil.addAvviso(intPraticaId, descLongAnnullamento,
new Date(), AvvisoUtil.TIPO_AVVISO_DIRETTO, "MA", new Date(), AvvisoUtil.TIPO_AVVISO_DIRETTO, "MA",
templateAnnullamentoId, dettPratica.getPrimaryKey(), templateAnnullamentoId, dettPratica.getPrimaryKey(),
DettPratica.class.getName(), StringPool.BLANK, jsonParameters, DettPratica.class.getName(), StringPool.BLANK, jsonParameters,
controlloPraticaId, serviceContext); controlloPraticaId, serviceContext);
}
if (!conformi.contains(intPraticaId)) { if (!conformi.contains(intPraticaId)) {
AvvisoLocalServiceUtil.addAvviso(intPratica.getIntPraticaId(), AvvisoLocalServiceUtil.addAvviso(intPratica.getIntPraticaId(),
descLongConformita, new Date(), AvvisoUtil.TIPO_AVVISO_DIRETTO, descLongConformita, new Date(), AvvisoUtil.TIPO_AVVISO_DIRETTO,
@ -168,25 +169,23 @@ public class PuliziaDatabase {
controlloPraticaId, serviceContext); controlloPraticaId, serviceContext);
} }
} catch (PortalException e) { } catch (PortalException e) {
esitoLog(esito, esitoLog(esito, "Errore nell'invio per pratica " + intPratica.getNumeroProgetto()
"Errore nell'invio per pratica " + intPratica.getNumeroProgetto()
+ ", " + e.getMessage()); + ", " + e.getMessage());
} }
esitoLog(esito, "Pratica " String logStr = "Pratica " + intPratica.getNumeroProgetto() + " (" + intPraticaId
+ intPratica.getNumeroProgetto() + "), procedura " + intPratica.getTipoProcedura();
+ " (" if (Validator.isNull(sorteggio)) {
+ intPraticaId logStr += ", invio annullamento";
+ "), procedura "
+ intPratica.getTipoProcedura()
+ ", invio annullamento"
+ (conformi.contains(intPraticaId) ? ", conformità già inviata"
: " e conformità"));
annullatiB++;
} else { } else {
esitoLog(esito, "Pratica " + intPratica.getNumeroProgetto() + " (" + intPraticaId logStr += ", non invio annullamento perché sorteggiata";
+ "), procedura " + intPratica.getTipoProcedura()
+ ", non invio perché sorteggiata");
} }
if (conformi.contains(intPraticaId)) {
logStr += ", conformità già inviata";
} else {
logStr += ", invio conformità";
}
esitoLog(esito, logStr);
annullatiB++;
break; break;
case "C": case "C":
Avviso valido = null; Avviso valido = null;

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

@ -5,6 +5,7 @@
*/ */
package it.mwg.sismica.bo.util; package it.mwg.sismica.bo.util;
import flexjson.JSONSerializer;
import it.tref.liferay.portos.bo.model.AllegatoManuale; import it.tref.liferay.portos.bo.model.AllegatoManuale;
import it.tref.liferay.portos.bo.model.Asseverazione; import it.tref.liferay.portos.bo.model.Asseverazione;
import it.tref.liferay.portos.bo.model.Avviso; import it.tref.liferay.portos.bo.model.Avviso;
@ -105,7 +106,6 @@ import com.liferay.portal.workflow.kaleo.service.KaleoTaskInstanceTokenLocalServ
import com.liferay.portlet.documentlibrary.model.DLFileEntry; import com.liferay.portlet.documentlibrary.model.DLFileEntry;
import com.liferay.portlet.documentlibrary.model.DLFolder; import com.liferay.portlet.documentlibrary.model.DLFolder;
import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil; import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil;
import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil;
public class SismicaUtil { public class SismicaUtil {
private final static Log _log = LogFactoryUtil.getLog(SismicaUtil.class); private final static Log _log = LogFactoryUtil.getLog(SismicaUtil.class);
@ -133,11 +133,6 @@ public class SismicaUtil {
reference.add(Calendar.MILLISECOND, 1); reference.add(Calendar.MILLISECOND, 1);
reference.add(Calendar.DAY_OF_MONTH, -7); reference.add(Calendar.DAY_OF_MONTH, -7);
Date start = reference.getTime(); Date start = reference.getTime();
// try {
// start = (new
// SimpleDateFormat("yyyy-MM-dd HH:mm:ss")).parse("2020-05-18 00:00:00");
// } catch (ParseException e) {
// }
return new Date[] { start, end }; return new Date[] { start, end };
} }
@ -220,28 +215,6 @@ public class SismicaUtil {
return esito; return esito;
} }
public static List<String> dimensioniDL(long companyId) {
List<String> esito = new ArrayList<>();
int start = 0;
List<DLFileEntry> fileEntries = null;
do {
try {
fileEntries = DLFileEntryLocalServiceUtil.getFileEntries(start, start + SLICE);
} catch (SystemException e) {
fileEntries = new ArrayList<>();
}
for (DLFileEntry fileEntry : fileEntries) {
// fileEntry.getFileVersions();
}
} while (fileEntries.size() > 0);
return esito;
}
public static void sostituisciDL(ActionRequest actionRequest, ActionResponse actionResponse) {
}
public static void inviaAvviso(ActionRequest actionRequest, ActionResponse actionResponse) public static void inviaAvviso(ActionRequest actionRequest, ActionResponse actionResponse)
throws SystemException { throws SystemException {
List<String> esito = new ArrayList<>(); List<String> esito = new ArrayList<>();
@ -295,8 +268,8 @@ public class SismicaUtil {
controlloPraticaId = 0; controlloPraticaId = 0;
break; break;
case StatoPraticaConstants.FINE_LAVORI: case StatoPraticaConstants.FINE_LAVORI:
List<FineLavori> fineLavori = FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(intPraticaId, List<FineLavori> fineLavori = FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(
true, QueryUtil.ALL_POS, QueryUtil.ALL_POS, intPraticaId, true, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
OrderByComparatorFactoryUtil.create(FineLavoriImpl.TABLE_NAME, "dtProtocollo", true)); OrderByComparatorFactoryUtil.create(FineLavoriImpl.TABLE_NAME, "dtProtocollo", true));
FineLavori fineLavoro = null; FineLavori fineLavoro = null;
for (FineLavori el : fineLavori) { for (FineLavori el : fineLavori) {
@ -761,18 +734,61 @@ public class SismicaUtil {
return esito; return esito;
} }
public static List<String> testInterno(long companyId) { public static List<String> testInterno(ServiceContext serviceContext) throws PortalException,
SystemException {
List<String> esito = new ArrayList<>(); List<String> esito = new ArrayList<>();
long intPraticaId = 124101;
String descLong = "Richiesta di integrazione";
Date dtAvviso = new Date();
String tipoAvviso = AvvisoUtil.TIPO_AVVISO_DIRETTO;
String tipoDocumento = StatoPraticaConstants.INTEGRAZIONE;
long fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(
serviceContext.getCompanyId(), "conf.geniocivile.avviso.template.id.integrazione");
long classPk = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPraticaId).getPrimaryKey();
String className = DettPratica.class.getName();
String userCodiceFiscalePrimaFirma = StringPool.BLANK;
Map<String, String> parameters = new HashMap<>();
parameters.put("testo_del_documento",
"Dall'esame del progetto per i lavori di riparazione o intervento locale (8.4.1 D.M. "
+ "17/01/2018) dei danni causati dal sisma del 6 ottobre 2018 nella Chiesa Madre "
+ "di Maria SS. Assunta,piazza Umberto n. 62,Comune di Adrano,è emerso che lo "
+ "stesso è carente e pertanto necessita di integrazioni. Più precisamente,si è "
+ "riscontrato che:\r\n1)\tManca la copia del documento di riconoscimento di "
+ "tutti i soggetti interessati al progetto;\r\n2)\tManca la dichiarazione del "
+ "Tecnico Progettista - Direttore dei Lavori (Legge 64/74 art. 17),scaricabile "
+ "dal sito del Genio Civile – Catania;\r\n3)\tNella Tav. 2 “Rilievo – Piante – "
+ "Localizzazione dei danni e delle criticità”: \r\nZONA D – Cartiglio "
+ "nell’arco trionfale: non risulta verificato il permanere delle condizioni di "
+ "stabilità del cartiglio in stucco e la solidità degli agganci con la "
+ "muratura portante; \r\nZONA G – Aree esterna: non risulta verificata la "
+ "stabilità di alcune porzioni del prospetto,in particolare di alcune sfere "
+ "lapidee poste in cima a delle cuspidi,nonché degli elementi di laterizio "
+ "costituenti la parte sommitale delle cornici della fabbrica incompleta del "
+ "campanile di Sada;\r\n4)\t Nella Tav. A.1 “Relazione tecnica” non è definito "
+ "il Livello di Conoscenza raggiunto (C.8.5.4 Circolare 21 gennaio 2019 n. 7); "
+ "Per la modifica di aperture,accompagnata da opportuni rinforzi,deve "
+ "dimostrarsi che l’insieme degli interventi non modifichino significativamente "
+ "rigidezza,resistenza nei confronti delle azioni orizzontali e capacità di "
+ "deformazione della struttura. Inoltre nel caso di rafforzamento locale "
+ "finalizzato al miglioramento del funzionamento di elementi strutturali o alla "
+ "limitazione di meccanismi di collasso,è richiesta la valutazione della "
+ "variazione del livello locale di sicurezza (C8.4.1. Circolare 21 gennaio 2019 "
+ "n. 7);\r\n5)\tNon esiste una Scheda Tecnica,con chiara identificazione "
+ "prestazionale e di qualificazione (C11 Circolare 21 gennaio 2019 n. 7); della "
+ "fibra in carbonio e dei materiali da utilizzare per i rinforzi;\r\n"
+ "6)\tOccorre ritrasmettere,tramite il portale “PORTOS” tutti gli elaborati di "
+ "progetto,avendo cura di apporre digitalmente,in ogni singolo allegato,la "
+ "firma da parte dei tecnici interessati alla progettazione.\r\nIl Funzionario "
+ "direttivo\t\t\t\t\t\tIl Dirigente Capo U.O.7\r\nArch. Pianif. Rosario Di "
+ "Mauro\t\t\t\tArch. Giovanni Patti\r\nFirmata digitalmente\t\t\t\t\t\tFirmata "
+ "digitalmente");
JSONSerializer jsonSerializer = new JSONSerializer();
String jsonParameters = jsonSerializer.serialize(parameters);
long controlloPraticaId = 0;
try { AvvisoLocalServiceUtil.addAvviso(intPraticaId, descLong, dtAvviso, tipoAvviso, tipoDocumento,
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); fileEntryIdTemplate, classPk, className, userCodiceFiscalePrimaFirma, jsonParameters,
Date start = sdf.parse("2020-01-01 13:45:23.1111"); controlloPraticaId, serviceContext);
Date end = sdf.parse("2020-12-31 10:45:23.1111");
long diff = Math.round((end.getTime() - start.getTime()) / 86400000.0);
esito.add(diff + " giorni");
} catch (Exception e) {
esito.add("Eccezione: " + e.getMessage());
}
return esito; return esito;
} }
@ -1540,118 +1556,6 @@ public class SismicaUtil {
return corretti; return corretti;
} }
public static List<String> generaDocumenti2(long companyId) throws SystemException, PortalException {
List<String> esito = new ArrayList<>();
long templateConforme = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, AvvisoUtil
.getAllTipoDocumentoFileTemplateProps().get(StatoPraticaConstants.CONFORME));
long templateVidimata = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, AvvisoUtil
.getAllTipoDocumentoFileTemplateProps().get(StatoPraticaConstants.VIDIMATA));
int inizio = 0;
int totali = 0;
int conformita = 0;
int vidimazioni = 0;
List<IntPratica> pratiche = null;
do {
pratiche = IntPraticaLocalServiceUtil.getIntPraticas(inizio, inizio + SLICE);
for (IntPratica pratica : pratiche) {
List<String> avvisi = getTipologieDocumentiAvvisi(pratica.getIntPraticaId());
DettPratica dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(pratica
.getIntPraticaId());
ControlloPratica controllo = getLastControlloPratica(pratica.getIntPraticaId());
switch (pratica.getStatoPratica()) {
case StringPool.BLANK:
case StatoPraticaConstants.ANNULLATA:
break;
case StatoPraticaConstants.AUTORIZZATA:
break;
case StatoPraticaConstants.CONFORME:
if (Validator.isNotNull(dettPratica) && Validator.isNotNull(controllo)) {
switch (avvisi.size()) {
case 0:
_log.info("Pratica " + pratica.getNumeroProgetto() + ", invio vidimazione");
inviaVidimazione(dettPratica, controllo, templateVidimata);
vidimazioni++;
// Fall through
case 1:
if (!avvisi.contains(StatoPraticaConstants.CONFORME)) {
_log.info("Pratica " + pratica.getNumeroProgetto() + ", invio conformità");
inviaConformita(dettPratica, controllo, templateConforme);
conformita++;
} else {
_log.info("Pratica " + pratica.getNumeroProgetto()
+ " contiene già la conformità");
}
break;
}
}
break;
case StatoPraticaConstants.INTEGRAZIONE:
break;
case StatoPraticaConstants.NON_AUTORIZZATA:
break;
case StatoPraticaConstants.NON_CONFORME:
break;
case StatoPraticaConstants.SOTTOPOSTA_A_PARERE:
break;
case StatoPraticaConstants.VIDIMATA:
if (avvisi.size() == 0) {
_log.info("Pratica " + pratica.getNumeroProgetto() + ", invio Vidimazione");
inviaVidimazione(dettPratica, controllo, templateVidimata);
vidimazioni++;
}
break;
default:
_log.info("Sconosciuto '" + pratica.getStatoPratica() + "'");
return esito;
}
}
inizio += SLICE;
if (pratiche.size() > 0) {
totali += pratiche.size();
_log.info(totali + " pratiche");
}
} while (pratiche.size() > 0);
esito.add("Analizzate " + totali + " pratiche");
if (vidimazioni > 0) {
esito.add("Inviate " + vidimazioni + " vidimazioni");
}
if (conformita > 0) {
esito.add("Inviate " + conformita + " conformità");
}
return esito;
}
private static List<String> getTipologieDocumentiAvvisi(long intPraticaId) throws SystemException {
List<String> result = new ArrayList<>();
List<Avviso> avvisi = AvvisoLocalServiceUtil.findByIntPratica(intPraticaId, QueryUtil.ALL_POS,
QueryUtil.ALL_POS, null);
for (Avviso avviso : avvisi) {
result.add(avviso.getTipoDocumento());
}
return result;
}
private static void inviaConformita(DettPratica dettPratica, ControlloPratica controllo, long template)
throws PortalException, SystemException {
ServiceContext serviceContext = getServiceContextbyDettPratica(dettPratica);
AvvisoLocalServiceUtil.addAvviso(dettPratica.getIntPraticaId(), "Avviso di Conformità", new Date(),
AvvisoUtil.TIPO_AVVISO_DIRETTO, StatoPraticaConstants.CONFORME, template,
dettPratica.getDettPraticaId(), DettPratica.class.getName(),
controllo.getControlloPraticaId(), serviceContext);
}
private static void inviaVidimazione(DettPratica dettPratica, ControlloPratica controllo, long template)
throws PortalException, SystemException {
ServiceContext serviceContext = getServiceContextbyDettPratica(dettPratica);
AvvisoLocalServiceUtil.addAvviso(dettPratica.getIntPraticaId(), "Avviso di Vidimazione", new Date(),
AvvisoUtil.TIPO_AVVISO_DIRETTO, StatoPraticaConstants.VIDIMATA, template,
dettPratica.getDettPraticaId(), DettPratica.class.getName(),
controllo.getControlloPraticaId(), serviceContext);
}
private static ControlloPratica getLastControlloPratica(long intPraticaId) { private static ControlloPratica getLastControlloPratica(long intPraticaId) {
ControlloPratica result = null; ControlloPratica result = null;
try { try {
@ -1676,12 +1580,4 @@ public class SismicaUtil {
serviceContext.setUserId(intPratica.getUserId()); serviceContext.setUserId(intPratica.getUserId());
return serviceContext; return serviceContext;
} }
private static ServiceContext getServiceContextbyDettPratica(DettPratica dettPratica) {
ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(dettPratica.getCompanyId());
serviceContext.setScopeGroupId(dettPratica.getGroupId());
serviceContext.setUserId(dettPratica.getUserId());
return serviceContext;
}
} }

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

@ -303,6 +303,7 @@ public class SorteggioPraticaUtil {
IntPraticaLocalServiceUtil.updateIntPraticaSorteggio(pratica.getIntPraticaId(), dtSorteggio, IntPraticaLocalServiceUtil.updateIntPraticaSorteggio(pratica.getIntPraticaId(), dtSorteggio,
StatoPraticaConstants.SOTTOPOSTA_A_PARERE); StatoPraticaConstants.SOTTOPOSTA_A_PARERE);
IntPraticaLocalServiceUtil.reIndexFascicolo(pratica, companyId);
} }
} }

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

@ -46,8 +46,8 @@ public class DocAggiuntivaPortlet extends MVCPortlet {
private Log _log = LogFactoryUtil.getLog(DocAggiuntivaPortlet.class); private Log _log = LogFactoryUtil.getLog(DocAggiuntivaPortlet.class);
public void uploadDocAggiuntiva(ActionRequest actionRequest, ActionResponse actionResponse) throws PortalException, public void uploadDocAggiuntiva(ActionRequest actionRequest, ActionResponse actionResponse)
SystemException { throws PortalException, SystemException {
try { try {
UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(actionRequest); UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(actionRequest);
ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest); ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest);
@ -72,8 +72,8 @@ public class DocAggiuntivaPortlet extends MVCPortlet {
} else { } else {
if (Validator.isNotNull(intPraticaId) && Validator.isNotNull(dettPraticaId)) { if (Validator.isNotNull(intPraticaId) && Validator.isNotNull(dettPraticaId)) {
byte[] content = FileUtil.getBytes(file); byte[] content = FileUtil.getBytes(file);
DocAggiuntivaLocalServiceUtil.addDocAggiuntiva(serviceContext.getUserId(), intPraticaId, dettPraticaId, DocAggiuntivaLocalServiceUtil.addDocAggiuntiva(serviceContext.getUserId(), intPraticaId,
descrizione, feVisible, content, sourceFileName, serviceContext); dettPraticaId, descrizione, feVisible, content, sourceFileName, serviceContext);
} }
} }
@ -87,14 +87,15 @@ public class DocAggiuntivaPortlet extends MVCPortlet {
} }
public void deleteDocAggiuntiva(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { public void deleteDocAggiuntiva(ActionRequest actionRequest, ActionResponse actionResponse)
throws Exception {
long docAggiuntivaId = ParamUtil.getLong(actionRequest, "docAggiuntivaId"); long docAggiuntivaId = ParamUtil.getLong(actionRequest, "docAggiuntivaId");
DocAggiuntivaServiceUtil.deleteDocAggiuntiva(docAggiuntivaId); DocAggiuntivaServiceUtil.deleteDocAggiuntiva(docAggiuntivaId);
} }
@Override @Override
public void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException, public void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse)
PortletException { throws IOException, PortletException {
String id = resourceRequest.getResourceID(); String id = resourceRequest.getResourceID();
@ -113,8 +114,8 @@ public class DocAggiuntivaPortlet extends MVCPortlet {
continue; continue;
} }
FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(doc.getFileEntryId()); FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(doc.getFileEntryId());
inputStream = inputStream = DLFileEntryLocalServiceUtil.getFileAsStream(fileEntry.getFileEntryId(),
DLFileEntryLocalServiceUtil.getFileAsStream(fileEntry.getFileEntryId(), fileEntry.getVersion(), false); fileEntry.getVersion(), false);
String name = fileEntry.getTitle() + StringPool.PERIOD + fileEntry.getExtension(); String name = fileEntry.getTitle() + StringPool.PERIOD + fileEntry.getExtension();
zipWriter.addEntry(name, inputStream); zipWriter.addEntry(name, inputStream);
@ -130,8 +131,8 @@ public class DocAggiuntivaPortlet extends MVCPortlet {
resourceResponse.setContentType(ContentTypes.APPLICATION_ZIP); resourceResponse.setContentType(ContentTypes.APPLICATION_ZIP);
resourceResponse.addProperty(HttpHeaders.CACHE_CONTROL, "max-age=3600, must-revalidate"); resourceResponse.addProperty(HttpHeaders.CACHE_CONTROL, "max-age=3600, must-revalidate");
resourceResponse resourceResponse.addProperty(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=\""
.addProperty(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=\"" + file.getName() + "\""); + file.getName() + "\"");
resourceResponse.setContentLength(data.length); resourceResponse.setContentLength(data.length);
resourceResponse.getPortletOutputStream().write(data); resourceResponse.getPortletOutputStream().write(data);
@ -146,8 +147,7 @@ public class DocAggiuntivaPortlet extends MVCPortlet {
FilesImporter.importaFile(classPk, className); FilesImporter.importaFile(classPk, className);
PortletResponseUtil PortletResponseUtil
.write( .write(resourceResponse,
resourceResponse,
"<p style='margin-bottom:20px'><strong>Completato</strong></p><a href='#' class='btn btn-success' onclick=\"Liferay.Portlet.refresh('#p_p_id_" "<p style='margin-bottom:20px'><strong>Completato</strong></p><a href='#' class='btn btn-success' onclick=\"Liferay.Portlet.refresh('#p_p_id_"
+ PortletKeys.FASCICOLOFE + "_')\">Refresh</a>"); + PortletKeys.FASCICOLOFE + "_')\">Refresh</a>");

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

@ -32,7 +32,6 @@ import javax.portlet.ResourceRequest;
import javax.portlet.ResourceResponse; import javax.portlet.ResourceResponse;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.exception.PortalException; import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException; import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.json.JSONArray; import com.liferay.portal.kernel.json.JSONArray;

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

@ -527,7 +527,7 @@ public class GestioneAttivitaPortlet extends MVCPortlet {
String istruttore = "-"; String istruttore = "-";
if (intPratica.getStatusByUserId() != 0l) { if (intPratica.getStatusByUserId() != 0l) {
User istruttoreUser = UserLocalServiceUtil.fetchUser(intPratica.getStatusByUserId()); User istruttoreUser = UserLocalServiceUtil.fetchUser(intPratica.getStatusByUserId());
if (istruttore != null) { if (istruttoreUser != null) {
istruttore = istruttoreUser.getFullName(); istruttore = istruttoreUser.getFullName();
} else { } else {
istruttore = " [" + intPratica.getStatusByUserId() + "]"; istruttore = " [" + intPratica.getStatusByUserId() + "]";
@ -702,7 +702,7 @@ public class GestioneAttivitaPortlet extends MVCPortlet {
String istruttore = "-"; String istruttore = "-";
if (intPratica.getStatusByUserId() != 0l) { if (intPratica.getStatusByUserId() != 0l) {
User istruttoreUser = UserLocalServiceUtil.fetchUser(intPratica.getStatusByUserId()); User istruttoreUser = UserLocalServiceUtil.fetchUser(intPratica.getStatusByUserId());
if (istruttore != null) { if (istruttoreUser != null) {
istruttore = istruttoreUser.getFullName(); istruttore = istruttoreUser.getFullName();
} else { } else {
istruttore = " [" + intPratica.getStatusByUserId() + "]"; istruttore = " [" + intPratica.getStatusByUserId() + "]";

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

@ -83,9 +83,8 @@ public class SismicaAdministrationPortlet extends MVCPortlet {
actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()])); actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()]));
} }
public void sostituisciDL(ActionRequest actionRequest, ActionResponse actionResponse) throws SystemException, PortalException, IOException { public void sostituisciDL(ActionRequest actionRequest, ActionResponse actionResponse)
SismicaUtil.sostituisciDL(actionRequest, actionResponse); throws SystemException, PortalException, IOException {
long userId = 0; long userId = 0;
String title = null; String title = null;
String description = null; String description = null;
@ -111,7 +110,7 @@ public class SismicaAdministrationPortlet extends MVCPortlet {
File file = uploadRequest.getFile("file"); File file = uploadRequest.getFile("file");
Folder folder = null; Folder folder = null;
switch(className){ switch (className) {
case "it.tref.liferay.portos.bo.model.DocPratica": case "it.tref.liferay.portos.bo.model.DocPratica":
DocPratica pratica = DocPraticaLocalServiceUtil.getDocPratica(idOggetto); DocPratica pratica = DocPraticaLocalServiceUtil.getDocPratica(idOggetto);
userId = pratica.getUserId(); userId = pratica.getUserId();
@ -122,7 +121,8 @@ public class SismicaAdministrationPortlet extends MVCPortlet {
serviceContext.setScopeGroupId(groupId); serviceContext.setScopeGroupId(groupId);
serviceContext.setUserId(userId); serviceContext.setUserId(userId);
defaultFolderId = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, ConfigurazioneConstants.ATTACHMENT_FOLDER_ID); defaultFolderId = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId,
ConfigurazioneConstants.ATTACHMENT_FOLDER_ID);
defaultFolder = DLAppLocalServiceUtil.getFolder(defaultFolderId); defaultFolder = DLAppLocalServiceUtil.getFolder(defaultFolderId);
folderName = PraticaUtil.getFolderName(pratica.getClassPk()); folderName = PraticaUtil.getFolderName(pratica.getClassPk());
folderId = defaultFolder.getFolderId(); folderId = defaultFolder.getFolderId();
@ -140,20 +140,23 @@ public class SismicaAdministrationPortlet extends MVCPortlet {
description = sourceFileName; description = sourceFileName;
mimeType = MimeTypesUtil.getContentType(sourceFileName); mimeType = MimeTypesUtil.getContentType(sourceFileName);
/*try { /*
DLAppLocalServiceUtil.deleteFileEntry(pratica.getDlFileEntryId()); * try {
} catch(PortalException e){ * DLAppLocalServiceUtil.deleteFileEntry(pratica.getDlFileEntryId
* ()); } catch(PortalException e){
}*/ *
* }
*/
try { try {
fileEntry = DLAppLocalServiceUtil.getFileEntry(pratica.getDlFileEntryId()); fileEntry = DLAppLocalServiceUtil.getFileEntry(pratica.getDlFileEntryId());
fileEntry = DLAppLocalServiceUtil.updateFileEntry(userId, fileEntry.getFileEntryId(), fileEntry = DLAppLocalServiceUtil.updateFileEntry(userId, fileEntry.getFileEntryId(),
now.getTime() + "_" + sourceFileName, mimeType, title, description, changeLog, false, bytes, now.getTime() + "_" + sourceFileName, mimeType, title, description, changeLog, false,
serviceContext); bytes, serviceContext);
} catch (PortalException e) { } catch (PortalException e) {
fileEntry = DLAppLocalServiceUtil.addFileEntry(userId, folder.getRepositoryId(), folder.getFolderId(), now.getTime() + "_" + sourceFileName, fileEntry = DLAppLocalServiceUtil.addFileEntry(userId, folder.getRepositoryId(),
mimeType, title, description, changeLog, bytes, serviceContext); folder.getFolderId(), now.getTime() + "_" + sourceFileName, mimeType, title,
description, changeLog, bytes, serviceContext);
} }
pratica.setDlFileEntryId(fileEntry.getFileEntryId()); pratica.setDlFileEntryId(fileEntry.getFileEntryId());
@ -171,7 +174,8 @@ public class SismicaAdministrationPortlet extends MVCPortlet {
serviceContext.setScopeGroupId(groupId); serviceContext.setScopeGroupId(groupId);
serviceContext.setUserId(userId); serviceContext.setUserId(userId);
defaultFolderId = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, ConfigurazioneConstants.ATTACHMENT_FOLDER_ID); defaultFolderId = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId,
ConfigurazioneConstants.ATTACHMENT_FOLDER_ID);
defaultFolder = DLAppLocalServiceUtil.getFolder(defaultFolderId); defaultFolder = DLAppLocalServiceUtil.getFolder(defaultFolderId);
folderName = PraticaUtil.getFolderName(pagamento.getClassPk()); folderName = PraticaUtil.getFolderName(pagamento.getClassPk());
folderId = defaultFolder.getFolderId(); folderId = defaultFolder.getFolderId();
@ -190,20 +194,23 @@ public class SismicaAdministrationPortlet extends MVCPortlet {
description = StringPool.BLANK; description = StringPool.BLANK;
mimeType = MimeTypesUtil.getContentType(sourceFileName); mimeType = MimeTypesUtil.getContentType(sourceFileName);
/*try { /*
DLAppLocalServiceUtil.deleteFileEntry(pagamento.getFileEntryId()); * try {
} catch(PortalException e){ * DLAppLocalServiceUtil.deleteFileEntry(pagamento.getFileEntryId
* ()); } catch(PortalException e){
}*/ *
* }
*/
try { try {
fileEntry = DLAppLocalServiceUtil.getFileEntry(pagamento.getFileEntryId()); fileEntry = DLAppLocalServiceUtil.getFileEntry(pagamento.getFileEntryId());
fileEntry = DLAppLocalServiceUtil.updateFileEntry(userId, fileEntry.getFileEntryId(), fileEntry = DLAppLocalServiceUtil.updateFileEntry(userId, fileEntry.getFileEntryId(),
now.getTime() + "_" + sourceFileName, mimeType, title, description, changeLog, false, bytes, now.getTime() + "_" + sourceFileName, mimeType, title, description, changeLog, false,
serviceContext); bytes, serviceContext);
} catch (PortalException e) { } catch (PortalException e) {
fileEntry = DLAppLocalServiceUtil.addFileEntry(userId, folder.getRepositoryId(), folder.getFolderId(), now.getTime() + "_" + sourceFileName, fileEntry = DLAppLocalServiceUtil.addFileEntry(userId, folder.getRepositoryId(),
mimeType, title, description, changeLog, bytes, serviceContext); folder.getFolderId(), now.getTime() + "_" + sourceFileName, mimeType, title,
description, changeLog, bytes, serviceContext);
} }
pagamento.setFileEntryId(fileEntry.getFileEntryId()); pagamento.setFileEntryId(fileEntry.getFileEntryId());
@ -268,14 +275,15 @@ public class SismicaAdministrationPortlet extends MVCPortlet {
actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()])); actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()]));
} }
public void manutenzioneDatabase(ActionRequest actionRequest, ActionResponse actionResponse) public void testInterno(ActionRequest actionRequest, ActionResponse actionResponse)
throws PortalException, SystemException { throws PortalException, SystemException {
ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest);
List<String> esito = PuliziaDatabase.pulisci(serviceContext); List<String> esito = SismicaUtil.testInterno(serviceContext);
actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()])); actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()]));
} }
public void inviaAvviso(ActionRequest actionRequest, ActionResponse actionResponse) throws SystemException { public void inviaAvviso(ActionRequest actionRequest, ActionResponse actionResponse)
throws SystemException {
SismicaUtil.inviaAvviso(actionRequest, actionResponse); SismicaUtil.inviaAvviso(actionRequest, actionResponse);
} }
@ -294,23 +302,4 @@ public class SismicaAdministrationPortlet extends MVCPortlet {
sdf.format(dataProssimoSorteggio), serviceContext); sdf.format(dataProssimoSorteggio), serviceContext);
} }
private ServiceContext getServiceContext(ControlloPratica controlloPratica) {
ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(controlloPratica.getCompanyId());
serviceContext.setScopeGroupId(controlloPratica.getGroupId());
serviceContext.setUserId(controlloPratica.getUserId());
return serviceContext;
}
private ServiceContext getServiceContext(DettPratica dettPratica) {
ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(dettPratica.getCompanyId());
serviceContext.setScopeGroupId(dettPratica.getGroupId());
serviceContext.setUserId(dettPratica.getUserId());
return serviceContext;
}
} }

14
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraDocumento.java

@ -3,6 +3,7 @@ package it.tref.liferay.portos.bo.scheduler;
import it.tref.liferay.portos.bo.model.Avviso; import it.tref.liferay.portos.bo.model.Avviso;
import it.tref.liferay.portos.bo.model.DettPratica; import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.report.builder.bean.ReportAvvisoBean;
import it.tref.liferay.portos.bo.report.builder.builder.ReportAvvisoBeanBuilder; import it.tref.liferay.portos.bo.report.builder.builder.ReportAvvisoBeanBuilder;
import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil; import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil; import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil;
@ -20,6 +21,7 @@ import it.tref.liferay.portos.report.shared.util.ReportUtil;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock; import java.util.concurrent.locks.ReentrantLock;
@ -85,7 +87,7 @@ public class SchedulerGeneraDocumento implements MessageListener {
AvvisoLocalServiceUtil.updateAvvisoErrore(avviso.getAvvisoId(), AvvisoLocalServiceUtil.updateAvvisoErrore(avviso.getAvvisoId(),
true); true);
} }
if (fileEntryTemplate != null && avviso.getOldFileEntryIdBase() == 0L) { if (fileEntryTemplate != null) {
_log.debug("SchedulerGeneraDocumento - inizio genera documento"); _log.debug("SchedulerGeneraDocumento - inizio genera documento");
generaDocumento(avviso, fileEntryTemplate.getFileEntryId()); generaDocumento(avviso, fileEntryTemplate.getFileEntryId());
_log.debug("SchedulerGeneraDocumento - fine genera documento"); _log.debug("SchedulerGeneraDocumento - fine genera documento");
@ -133,7 +135,6 @@ public class SchedulerGeneraDocumento implements MessageListener {
JSONDeserializer<Map<String, String>> deserializer = JSONFactoryUtil.createJSONDeserializer(); JSONDeserializer<Map<String, String>> deserializer = JSONFactoryUtil.createJSONDeserializer();
parameters.putAll(deserializer.deserialize(avviso.getJsonParameters())); parameters.putAll(deserializer.deserialize(avviso.getJsonParameters()));
} }
Object bean;
if (DettPratica.class.getName().equals(avviso.getClassName())) { if (DettPratica.class.getName().equals(avviso.getClassName())) {
DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(avviso.getClassPk()); DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(avviso.getClassPk());
@ -148,7 +149,7 @@ public class SchedulerGeneraDocumento implements MessageListener {
} }
} }
} }
bean = ReportAvvisoBeanBuilder.build(avviso, parameters); ReportAvvisoBean bean = ReportAvvisoBeanBuilder.build(avviso, parameters);
String resourcePath = getClass().getName().replaceAll("\\w+\\.", "../") String resourcePath = getClass().getName().replaceAll("\\w+\\.", "../")
.replace(getClass().getSimpleName(), ReportConstants.PATH_LOGO_REGIONE); .replace(getClass().getSimpleName(), ReportConstants.PATH_LOGO_REGIONE);
@ -173,11 +174,16 @@ public class SchedulerGeneraDocumento implements MessageListener {
reportDto.setFolderId(folderId); reportDto.setFolderId(folderId);
reportDto.setFileName(fileName); reportDto.setFileName(fileName);
reportDto.setParameters(parameters); reportDto.setParameters(parameters);
// reportDto.setDataSource(bean);
reportDto.setShowNumberOfPage(true); reportDto.setShowNumberOfPage(true);
reportDto.setType(ReportConstants.ReportType.JRXML_TO_PDF.toString()); reportDto.setType(ReportConstants.ReportType.JRXML_TO_PDF.toString());
_log.info("*********************************************************");
_log.info("generaDocumento: generateReport: " + fileEntryIdTemplate); _log.info("generaDocumento: generateReport: " + fileEntryIdTemplate);
for (Entry<String, Object> entry : parameters.entrySet()) {
_log.info(entry.getKey() + " = " + entry.getValue());
}
_log.info("*********************************************************");
ReportResultDto result = ReportUtil.generateReport(companyId, userId, reportDto, bean); ReportResultDto result = ReportUtil.generateReport(companyId, userId, reportDto, bean);
idFileEntry = result.getFileEntryIds()[0]; idFileEntry = result.getFileEntryIds()[0];
// idFileEntry = (Long) // idFileEntry = (Long)

23
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerInvioDocumento.java

@ -211,20 +211,25 @@ public class SchedulerInvioDocumento implements MessageListener {
for (DettPratica integrazione : integrazioni) { for (DettPratica integrazione : integrazioni) {
try { try {
ControlloPratica controlloPratica = null;
List<ControlloPratica> controlli = ControlloPraticaLocalServiceUtil List<ControlloPratica> controlli = ControlloPraticaLocalServiceUtil
.findByIntPraticaId_Status(integrazione.getIntPraticaId(), .findByIntPraticaId_Status(integrazione.getIntPraticaId(),
WorkflowConstants.STATUS_PENDING); WorkflowConstants.STATUS_PENDING);
if (!controlli.isEmpty()) { if (controlli.isEmpty()) {
ControlloPratica controlloPratica = controlli.get(0); ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(integrazione.getCompanyId());
serviceContext.setScopeGroupId(integrazione.getGroupId());
serviceContext.setUserId(integrazione.getUserId());
invioSignal(integrazione, controlloPratica, controlloPratica = ControlloPraticaLocalServiceUtil.addControlloPratica(
WorkflowConstants.WORKFLOW_SIGNAL_INTEGRAZIONE); integrazione.getGroupId(), integrazione.getUserId(),
integrazione.getIntPraticaId(), integrazione.getDettPraticaId(), false,
serviceContext);
} else { } else {
_log.warn("signal non inviato per l'integrazione " controlloPratica = controlli.get(0);
+ integrazione.getDettPraticaId());
} }
invioSignal(integrazione, controlloPratica,
WorkflowConstants.WORKFLOW_SIGNAL_INTEGRAZIONE);
} catch (Exception e) { } catch (Exception e) {
_log.error("Error", e); _log.error("Error", e);
} }
@ -569,7 +574,6 @@ public class SchedulerInvioDocumento implements MessageListener {
Date dtInvio = avviso.getDtInvio(); Date dtInvio = avviso.getDtInvio();
if (tipoDocumento.equals(StatoPraticaConstants.SOTTOPOSTA_A_PARERE)) { if (tipoDocumento.equals(StatoPraticaConstants.SOTTOPOSTA_A_PARERE)) {
long intPraticaId = controlloPratica.getIntPraticaId(); long intPraticaId = controlloPratica.getIntPraticaId();
long dettPraticaId = controlloPratica.getDettPraticaId();
IntPratica intPratica = null; IntPratica intPratica = null;
try { try {
intPratica = IntPraticaLocalServiceUtil.getIntPratica(controlloPratica.getIntPraticaId()); intPratica = IntPraticaLocalServiceUtil.getIntPratica(controlloPratica.getIntPraticaId());
@ -577,7 +581,6 @@ public class SchedulerInvioDocumento implements MessageListener {
_log.error(e, e); _log.error(e, e);
} }
ServiceContext serviceContext = getServiceContext(controlloPratica);
// FIX prendo la data di vidimazione e non quella di sottoposto a // FIX prendo la data di vidimazione e non quella di sottoposto a
// parere per avvio dei tempi // parere per avvio dei tempi
Avviso avvisoExtra = null; Avviso avvisoExtra = null;

278
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java

@ -280,187 +280,187 @@ public class IntPraticaLocalServiceClpInvoker {
_methodParameterTypes242 = new String[] { "long", "java.lang.String" }; _methodParameterTypes242 = new String[] { "long", "java.lang.String" };
_methodName244 = "search"; _methodName243 = "search";
_methodParameterTypes244 = new String[] { "java.util.List", "int", "int" }; _methodParameterTypes243 = new String[] { "java.util.List", "int", "int" };
_methodName245 = "countSearch"; _methodName244 = "countSearch";
_methodParameterTypes245 = new String[] { "java.util.List" }; _methodParameterTypes244 = new String[] { "java.util.List" };
_methodName246 = "searchWithIntPraticaId"; _methodName245 = "searchWithIntPraticaId";
_methodParameterTypes246 = new String[] { _methodParameterTypes245 = new String[] {
"java.util.List", "long", "int", "int" "java.util.List", "long", "int", "int"
}; };
_methodName247 = "countSearchWithIntPraticaId"; _methodName246 = "countSearchWithIntPraticaId";
_methodParameterTypes247 = new String[] { "java.util.List", "long" }; _methodParameterTypes246 = new String[] { "java.util.List", "long" };
_methodName248 = "allegaFileAnnullamento"; _methodName247 = "allegaFileAnnullamento";
_methodParameterTypes248 = new String[] { _methodParameterTypes247 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String", "long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName249 = "generateFileAnnullamento"; _methodName248 = "generateFileAnnullamento";
_methodParameterTypes249 = new String[] { _methodParameterTypes248 = new String[] {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName250 = "deleteFileAnnullamento"; _methodName249 = "deleteFileAnnullamento";
_methodParameterTypes250 = new String[] { "long" }; _methodParameterTypes249 = new String[] { "long" };
_methodName251 = "completeAnnullamento"; _methodName250 = "completeAnnullamento";
_methodParameterTypes251 = new String[] { "long" }; _methodParameterTypes250 = new String[] { "long" };
_methodName252 = "cambiaIstruttore"; _methodName251 = "cambiaIstruttore";
_methodParameterTypes252 = new String[] { "long", "long", "long" }; _methodParameterTypes251 = new String[] { "long", "long", "long" };
_methodName253 = "countCaricoLavoroCF"; _methodName252 = "countCaricoLavoroCF";
_methodParameterTypes253 = new String[] { _methodParameterTypes252 = new String[] {
"long", "java.lang.String", "java.lang.Boolean", "long", "java.lang.String", "java.lang.Boolean",
"java.lang.Long[][]" "java.lang.Long[][]"
}; };
_methodName254 = "countCaricoLavoroIstruttore"; _methodName253 = "countCaricoLavoroIstruttore";
_methodParameterTypes254 = new String[] { _methodParameterTypes253 = new String[] {
"long", "java.lang.String", "java.lang.Boolean" "long", "java.lang.String", "java.lang.Boolean"
}; };
_methodName255 = "generateReportPratica"; _methodName254 = "generateReportPratica";
_methodParameterTypes255 = new String[] { _methodParameterTypes254 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long" "it.tref.liferay.portos.bo.model.IntPratica", "long"
}; };
_methodName256 = "updateModifiedDate"; _methodName255 = "updateModifiedDate";
_methodParameterTypes256 = new String[] { "long", "java.util.Date" }; _methodParameterTypes255 = new String[] { "long", "java.util.Date" };
_methodName257 = "countAutorizzazione"; _methodName256 = "countAutorizzazione";
_methodParameterTypes257 = new String[] { _methodParameterTypes256 = new String[] {
"java.util.Date", "java.util.Date", "long" "java.util.Date", "java.util.Date", "long"
}; };
_methodName258 = "countSanatorie"; _methodName257 = "countSanatorie";
_methodParameterTypes258 = new String[] { _methodParameterTypes257 = new String[] {
"java.util.Date", "java.util.Date", "long" "java.util.Date", "java.util.Date", "long"
}; };
_methodName259 = "countOpereMinoreImportanza"; _methodName258 = "countOpereMinoreImportanza";
_methodParameterTypes259 = new String[] { _methodParameterTypes258 = new String[] {
"java.util.Date", "java.util.Date", "long" "java.util.Date", "java.util.Date", "long"
}; };
_methodName260 = "countDeposito"; _methodName259 = "countDeposito";
_methodParameterTypes260 = new String[] { _methodParameterTypes259 = new String[] {
"java.util.Date", "java.util.Date", "long", "boolean" "java.util.Date", "java.util.Date", "long", "boolean"
}; };
_methodName261 = "countVidimate"; _methodName260 = "countVidimate";
_methodParameterTypes261 = new String[] { _methodParameterTypes260 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String", "java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean" "boolean"
}; };
_methodName262 = "countControllo"; _methodName261 = "countControllo";
_methodParameterTypes262 = new String[] { _methodParameterTypes261 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String", "java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean" "boolean"
}; };
_methodName263 = "importaVecchiFilesFascicolo"; _methodName262 = "importaVecchiFilesFascicolo";
_methodParameterTypes263 = new String[] { "long", "int", "int" }; _methodParameterTypes262 = new String[] { "long", "int", "int" };
_methodName264 = "findIntPraticaNotExist"; _methodName263 = "findIntPraticaNotExist";
_methodParameterTypes264 = new String[] { }; _methodParameterTypes263 = new String[] { };
_methodName265 = "riparaWorkflow"; _methodName264 = "riparaWorkflow";
_methodParameterTypes265 = new String[] { }; _methodParameterTypes264 = new String[] { };
_methodName266 = "reIndexFascicolo"; _methodName265 = "reIndexFascicolo";
_methodParameterTypes266 = new String[] { _methodParameterTypes265 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long" "it.tref.liferay.portos.bo.model.IntPratica", "long"
}; };
_methodName267 = "reIndexFasciolo"; _methodName266 = "reIndexFasciolo";
_methodParameterTypes267 = new String[] { "java.lang.String", "long" }; _methodParameterTypes266 = new String[] { "java.lang.String", "long" };
_methodName268 = "reIndexFasciolo"; _methodName267 = "reIndexFasciolo";
_methodParameterTypes268 = new String[] { "long", "long" }; _methodParameterTypes267 = new String[] { "long", "long" };
_methodName269 = "trovaDoppioni"; _methodName268 = "trovaDoppioni";
_methodParameterTypes269 = new String[] { }; _methodParameterTypes268 = new String[] { };
_methodName270 = "findByNumeroProgetto"; _methodName269 = "findByNumeroProgetto";
_methodParameterTypes270 = new String[] { "java.lang.String" }; _methodParameterTypes269 = new String[] { "java.lang.String" };
_methodName271 = "findByTerritorioId"; _methodName270 = "findByTerritorioId";
_methodParameterTypes271 = new String[] { "long" }; _methodParameterTypes270 = new String[] { "long" };
_methodName272 = "reportTempisticheIstruttorieAvvisiAutorizzazioni"; _methodName271 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodParameterTypes272 = new String[] { _methodParameterTypes271 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String" "java.util.Date", "java.util.Date", "long", "java.lang.String"
}; };
_methodName273 = "reportTempisticheIstruttorieCalcolaDataSorteggio"; _methodName272 = "reportTempisticheIstruttorieCalcolaDataSorteggio";
_methodParameterTypes273 = new String[] { _methodParameterTypes272 = new String[] {
"java.util.Date", "java.util.Date", "long" "java.util.Date", "java.util.Date", "long"
}; };
_methodName274 = "reportPraticheVidimate"; _methodName273 = "reportPraticheVidimate";
_methodParameterTypes274 = new String[] { _methodParameterTypes273 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String" "java.util.Date", "java.util.Date", "long", "java.lang.String"
}; };
_methodName275 = "reportPraticheVidimateCalcolaDataSorteggio"; _methodName274 = "reportPraticheVidimateCalcolaDataSorteggio";
_methodParameterTypes275 = new String[] { _methodParameterTypes274 = new String[] {
"java.util.Date", "java.util.Date", "long" "java.util.Date", "java.util.Date", "long"
}; };
_methodName276 = "countIngressiAutorizzazioni"; _methodName275 = "countIngressiAutorizzazioni";
_methodParameterTypes276 = new String[] { _methodParameterTypes275 = new String[] {
"java.util.Date", "java.util.Date", "long" "java.util.Date", "java.util.Date", "long"
}; };
_methodName277 = "countIngressiDepositi"; _methodName276 = "countIngressiDepositi";
_methodParameterTypes277 = new String[] { _methodParameterTypes276 = new String[] {
"java.util.Date", "java.util.Date", "long" "java.util.Date", "java.util.Date", "long"
}; };
_methodName278 = "countIngressiCO"; _methodName277 = "countIngressiCO";
_methodParameterTypes278 = new String[] { _methodParameterTypes277 = new String[] {
"java.util.Date", "java.util.Date", "long" "java.util.Date", "java.util.Date", "long"
}; };
} }
@ -793,62 +793,62 @@ public class IntPraticaLocalServiceClpInvoker {
(java.lang.String)arguments[1]); (java.lang.String)arguments[1]);
} }
if (_methodName244.equals(name) && if (_methodName243.equals(name) &&
Arrays.deepEquals(_methodParameterTypes244, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes243, parameterTypes)) {
return IntPraticaLocalServiceUtil.search((java.util.List<java.lang.Long>)arguments[0], return IntPraticaLocalServiceUtil.search((java.util.List<java.lang.Long>)arguments[0],
((Integer)arguments[1]).intValue(), ((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue()); ((Integer)arguments[2]).intValue());
} }
if (_methodName245.equals(name) && if (_methodName244.equals(name) &&
Arrays.deepEquals(_methodParameterTypes245, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes244, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSearch((java.util.List<java.lang.Long>)arguments[0]); return IntPraticaLocalServiceUtil.countSearch((java.util.List<java.lang.Long>)arguments[0]);
} }
if (_methodName246.equals(name) && if (_methodName245.equals(name) &&
Arrays.deepEquals(_methodParameterTypes246, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes245, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0], return IntPraticaLocalServiceUtil.searchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0],
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue()); ((Integer)arguments[3]).intValue());
} }
if (_methodName247.equals(name) && if (_methodName246.equals(name) &&
Arrays.deepEquals(_methodParameterTypes247, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes246, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSearchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0], return IntPraticaLocalServiceUtil.countSearchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0],
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
} }
if (_methodName248.equals(name) && if (_methodName247.equals(name) &&
Arrays.deepEquals(_methodParameterTypes248, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes247, parameterTypes)) {
return IntPraticaLocalServiceUtil.allegaFileAnnullamento(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.allegaFileAnnullamento(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2], (byte[])arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3], (java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]); (com.liferay.portal.service.ServiceContext)arguments[4]);
} }
if (_methodName249.equals(name) && if (_methodName248.equals(name) &&
Arrays.deepEquals(_methodParameterTypes249, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes248, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]); (com.liferay.portal.service.ServiceContext)arguments[1]);
} }
if (_methodName250.equals(name) && if (_methodName249.equals(name) &&
Arrays.deepEquals(_methodParameterTypes250, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes249, parameterTypes)) {
IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue()); IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue());
return null; return null;
} }
if (_methodName251.equals(name) && if (_methodName250.equals(name) &&
Arrays.deepEquals(_methodParameterTypes251, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes250, parameterTypes)) {
IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue()); IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue());
return null; return null;
} }
if (_methodName252.equals(name) && if (_methodName251.equals(name) &&
Arrays.deepEquals(_methodParameterTypes252, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes251, parameterTypes)) {
IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(), IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue()); ((Long)arguments[2]).longValue());
@ -856,92 +856,100 @@ public class IntPraticaLocalServiceClpInvoker {
return null; return null;
} }
if (_methodName253.equals(name) && if (_methodName252.equals(name) &&
Arrays.deepEquals(_methodParameterTypes253, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes252, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[1],
(java.lang.Boolean)arguments[2], (java.lang.Long[])arguments[3]); (java.lang.Boolean)arguments[2], (java.lang.Long[])arguments[3]);
} }
if (_methodName254.equals(name) && if (_methodName253.equals(name) &&
Arrays.deepEquals(_methodParameterTypes254, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes253, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.Boolean)arguments[2]); (java.lang.String)arguments[1], (java.lang.Boolean)arguments[2]);
} }
if (_methodName255.equals(name) && if (_methodName254.equals(name) &&
Arrays.deepEquals(_methodParameterTypes255, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes254, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
} }
if (_methodName256.equals(name) && if (_methodName255.equals(name) &&
Arrays.deepEquals(_methodParameterTypes256, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes255, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(),
(java.util.Date)arguments[1]); (java.util.Date)arguments[1]);
} }
if (_methodName257.equals(name) && if (_methodName256.equals(name) &&
Arrays.deepEquals(_methodParameterTypes257, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes256, parameterTypes)) {
return IntPraticaLocalServiceUtil.countAutorizzazione((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.countAutorizzazione((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); (java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
} }
if (_methodName258.equals(name) && if (_methodName257.equals(name) &&
Arrays.deepEquals(_methodParameterTypes258, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes257, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSanatorie((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.countSanatorie((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); (java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
} }
if (_methodName259.equals(name) && if (_methodName258.equals(name) &&
Arrays.deepEquals(_methodParameterTypes259, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes258, parameterTypes)) {
return IntPraticaLocalServiceUtil.countOpereMinoreImportanza((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.countOpereMinoreImportanza((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); (java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
} }
if (_methodName260.equals(name) && if (_methodName259.equals(name) &&
Arrays.deepEquals(_methodParameterTypes260, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes259, parameterTypes)) {
return IntPraticaLocalServiceUtil.countDeposito((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.countDeposito((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
((Boolean)arguments[3]).booleanValue()); ((Boolean)arguments[3]).booleanValue());
} }
if (_methodName261.equals(name) && if (_methodName260.equals(name) &&
Arrays.deepEquals(_methodParameterTypes261, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes260, parameterTypes)) {
return IntPraticaLocalServiceUtil.countVidimate((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.countVidimate((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3], (java.lang.String)arguments[3],
((Boolean)arguments[4]).booleanValue()); ((Boolean)arguments[4]).booleanValue());
} }
if (_methodName262.equals(name) && if (_methodName261.equals(name) &&
Arrays.deepEquals(_methodParameterTypes262, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes261, parameterTypes)) {
return IntPraticaLocalServiceUtil.countControllo((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.countControllo((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3], (java.lang.String)arguments[3],
((Boolean)arguments[4]).booleanValue()); ((Boolean)arguments[4]).booleanValue());
} }
if (_methodName263.equals(name) && if (_methodName262.equals(name) &&
Arrays.deepEquals(_methodParameterTypes263, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes262, parameterTypes)) {
return IntPraticaLocalServiceUtil.importaVecchiFilesFascicolo(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.importaVecchiFilesFascicolo(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(), ((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue()); ((Integer)arguments[2]).intValue());
} }
if (_methodName263.equals(name) &&
Arrays.deepEquals(_methodParameterTypes263, parameterTypes)) {
return IntPraticaLocalServiceUtil.findIntPraticaNotExist();
}
if (_methodName264.equals(name) && if (_methodName264.equals(name) &&
Arrays.deepEquals(_methodParameterTypes264, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes264, parameterTypes)) {
return IntPraticaLocalServiceUtil.findIntPraticaNotExist(); return IntPraticaLocalServiceUtil.riparaWorkflow();
} }
if (_methodName265.equals(name) && if (_methodName265.equals(name) &&
Arrays.deepEquals(_methodParameterTypes265, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes265, parameterTypes)) {
return IntPraticaLocalServiceUtil.riparaWorkflow(); IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
return null;
} }
if (_methodName266.equals(name) && if (_methodName266.equals(name) &&
Arrays.deepEquals(_methodParameterTypes266, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes266, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0],
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
return null; return null;
@ -949,7 +957,7 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName267.equals(name) && if (_methodName267.equals(name) &&
Arrays.deepEquals(_methodParameterTypes267, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes267, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0], IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
return null; return null;
@ -957,67 +965,59 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName268.equals(name) && if (_methodName268.equals(name) &&
Arrays.deepEquals(_methodParameterTypes268, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes268, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.trovaDoppioni();
((Long)arguments[1]).longValue());
return null;
} }
if (_methodName269.equals(name) && if (_methodName269.equals(name) &&
Arrays.deepEquals(_methodParameterTypes269, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes269, parameterTypes)) {
return IntPraticaLocalServiceUtil.trovaDoppioni(); return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]);
} }
if (_methodName270.equals(name) && if (_methodName270.equals(name) &&
Arrays.deepEquals(_methodParameterTypes270, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes270, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]); return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue());
} }
if (_methodName271.equals(name) && if (_methodName271.equals(name) &&
Arrays.deepEquals(_methodParameterTypes271, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes271, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue());
}
if (_methodName272.equals(name) &&
Arrays.deepEquals(_methodParameterTypes272, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportTempisticheIstruttorieAvvisiAutorizzazioni((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.reportTempisticheIstruttorieAvvisiAutorizzazioni((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3]); (java.lang.String)arguments[3]);
} }
if (_methodName273.equals(name) && if (_methodName272.equals(name) &&
Arrays.deepEquals(_methodParameterTypes273, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes272, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportTempisticheIstruttorieCalcolaDataSorteggio((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.reportTempisticheIstruttorieCalcolaDataSorteggio((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); (java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
} }
if (_methodName274.equals(name) && if (_methodName273.equals(name) &&
Arrays.deepEquals(_methodParameterTypes274, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes273, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportPraticheVidimate((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.reportPraticheVidimate((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3]); (java.lang.String)arguments[3]);
} }
if (_methodName275.equals(name) && if (_methodName274.equals(name) &&
Arrays.deepEquals(_methodParameterTypes275, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes274, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportPraticheVidimateCalcolaDataSorteggio((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.reportPraticheVidimateCalcolaDataSorteggio((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); (java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
} }
if (_methodName276.equals(name) && if (_methodName275.equals(name) &&
Arrays.deepEquals(_methodParameterTypes276, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes275, parameterTypes)) {
return IntPraticaLocalServiceUtil.countIngressiAutorizzazioni((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.countIngressiAutorizzazioni((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); (java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
} }
if (_methodName277.equals(name) && if (_methodName276.equals(name) &&
Arrays.deepEquals(_methodParameterTypes277, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes276, parameterTypes)) {
return IntPraticaLocalServiceUtil.countIngressiDepositi((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.countIngressiDepositi((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); (java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
} }
if (_methodName278.equals(name) && if (_methodName277.equals(name) &&
Arrays.deepEquals(_methodParameterTypes278, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes277, parameterTypes)) {
return IntPraticaLocalServiceUtil.countIngressiCO((java.util.Date)arguments[0], return IntPraticaLocalServiceUtil.countIngressiCO((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); (java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
} }
@ -1131,6 +1131,8 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes241; private String[] _methodParameterTypes241;
private String _methodName242; private String _methodName242;
private String[] _methodParameterTypes242; private String[] _methodParameterTypes242;
private String _methodName243;
private String[] _methodParameterTypes243;
private String _methodName244; private String _methodName244;
private String[] _methodParameterTypes244; private String[] _methodParameterTypes244;
private String _methodName245; private String _methodName245;
@ -1199,6 +1201,4 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes276; private String[] _methodParameterTypes276;
private String _methodName277; private String _methodName277;
private String[] _methodParameterTypes277; private String[] _methodParameterTypes277;
private String _methodName278;
private String[] _methodParameterTypes278;
} }

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

@ -1036,31 +1036,6 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
return intPraticaFinder.canAddCollaudoCount(codiceFiscale); return intPraticaFinder.canAddCollaudoCount(codiceFiscale);
} }
private DynamicQuery createQueryCollaudi(long companyId, String codiceFiscale, List<Long> ids)
throws SystemException, PortalException {
DynamicQuery dynamicQuery = intPraticaLocalService.dynamicQuery();
dynamicQuery.add(PropertyFactoryUtil.forName("companyId").eq(companyId));
dynamicQuery.add(RestrictionsFactoryUtil.ne("status", WorkflowConstants.STATUS_ANY));
dynamicQuery.add(RestrictionsFactoryUtil.ne("status", WorkflowConstants.STATUS_INCOMPLETE));
dynamicQuery.add(RestrictionsFactoryUtil.eq("sospesa", false));
dynamicQuery.add(RestrictionsFactoryUtil.ne("statoPratica", StatoPraticaConstants.ANNULLATA));
dynamicQuery.add(RestrictionsFactoryUtil.ilike("codiceFiscaleDelegatoCollaudo", codiceFiscale));
Disjunction or = RestrictionsFactoryUtil.disjunction();
or.add(RestrictionsFactoryUtil.eq("fineLavoriParziale", true));
or.add(RestrictionsFactoryUtil.eq("fineLavoriTotale", true));
dynamicQuery.add(or);
dynamicQuery.add(RestrictionsFactoryUtil.eq("collaudoTotale", false));
dynamicQuery.add(RestrictionsFactoryUtil.in("intPraticaId", ids));
return dynamicQuery;
}
public List<IntPratica> search(List<Long> groupIds, int start, int end) throws SystemException { public List<IntPratica> search(List<Long> groupIds, int start, int end) throws SystemException {
// TODO Modificare tramite Indexer // TODO Modificare tramite Indexer
@ -1758,11 +1733,8 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
intIndexer.delete(companyId, intPratica.getUuid()); intIndexer.delete(companyId, intPratica.getUuid());
intIndexer.reindex(IntPratica.class.getName(), intPratica.getIntPraticaId()); intIndexer.reindex(IntPratica.class.getName(), intPratica.getIntPraticaId());
DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(ControlloPratica.class); List<ControlloPratica> appList = ControlloPraticaLocalServiceUtil.findByIntPratica(intPratica
queryCP.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); .getIntPraticaId());
List<ControlloPratica> appList = ControlloPraticaLocalServiceUtil.dynamicQuery(queryCP,
QueryUtil.ALL_POS, QueryUtil.ALL_POS);
if (appList != null && !appList.isEmpty()) { if (appList != null && !appList.isEmpty()) {
for (ControlloPratica controlloPratica : appList) { for (ControlloPratica controlloPratica : appList) {
@ -1785,14 +1757,11 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
} }
public void reIndexFasciolo(long intPraticaId, long companyId) throws PortalException, SystemException { public void reIndexFasciolo(long intPraticaId, long companyId) throws PortalException, SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); reIndexFascicolo(IntPraticaLocalServiceUtil.getIntPratica(intPraticaId), companyId);
reIndexFascicolo(intPratica, companyId);
} }
public List<String> trovaDoppioni() throws SystemException { public List<String> trovaDoppioni() throws SystemException {
return IntPraticaFinderUtil.trovaDoppioni(); return IntPraticaFinderUtil.trovaDoppioni();
} }
public IntPratica findByNumeroProgetto(String numeroProgetto) throws SystemException { public IntPratica findByNumeroProgetto(String numeroProgetto) throws SystemException {

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AllegatoManualePersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchAllegatoManualeException;
import it.tref.liferay.portos.bo.model.AllegatoManuale; import it.tref.liferay.portos.bo.model.AllegatoManuale;
import it.tref.liferay.portos.bo.model.impl.AllegatoManualeImpl; import it.tref.liferay.portos.bo.model.impl.AllegatoManualeImpl;
import it.tref.liferay.portos.bo.model.impl.AllegatoManualeModelImpl; import it.tref.liferay.portos.bo.model.impl.AllegatoManualeModelImpl;
import it.tref.liferay.portos.bo.service.persistence.AllegatoManualePersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchAsseverazioneException;
import it.tref.liferay.portos.bo.model.Asseverazione; import it.tref.liferay.portos.bo.model.Asseverazione;
import it.tref.liferay.portos.bo.model.impl.AsseverazioneImpl; import it.tref.liferay.portos.bo.model.impl.AsseverazioneImpl;
import it.tref.liferay.portos.bo.model.impl.AsseverazioneModelImpl; import it.tref.liferay.portos.bo.model.impl.AsseverazioneModelImpl;
import it.tref.liferay.portos.bo.service.persistence.AsseverazionePersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AvvisoPersistenceImpl.java

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchAvvisoException;
import it.tref.liferay.portos.bo.model.Avviso; import it.tref.liferay.portos.bo.model.Avviso;
import it.tref.liferay.portos.bo.model.impl.AvvisoImpl; import it.tref.liferay.portos.bo.model.impl.AvvisoImpl;
import it.tref.liferay.portos.bo.model.impl.AvvisoModelImpl; import it.tref.liferay.portos.bo.model.impl.AvvisoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.AvvisoPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchCollaudoException;
import it.tref.liferay.portos.bo.model.Collaudo; import it.tref.liferay.portos.bo.model.Collaudo;
import it.tref.liferay.portos.bo.model.impl.CollaudoImpl; import it.tref.liferay.portos.bo.model.impl.CollaudoImpl;
import it.tref.liferay.portos.bo.model.impl.CollaudoModelImpl; import it.tref.liferay.portos.bo.model.impl.CollaudoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.CollaudoPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunePersistenceImpl.java

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchComuneException;
import it.tref.liferay.portos.bo.model.Comune; import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.impl.ComuneImpl; import it.tref.liferay.portos.bo.model.impl.ComuneImpl;
import it.tref.liferay.portos.bo.model.impl.ComuneModelImpl; import it.tref.liferay.portos.bo.model.impl.ComuneModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ComunePersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunicazionePersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchComunicazioneException;
import it.tref.liferay.portos.bo.model.Comunicazione; import it.tref.liferay.portos.bo.model.Comunicazione;
import it.tref.liferay.portos.bo.model.impl.ComunicazioneImpl; import it.tref.liferay.portos.bo.model.impl.ComunicazioneImpl;
import it.tref.liferay.portos.bo.model.impl.ComunicazioneModelImpl; import it.tref.liferay.portos.bo.model.impl.ComunicazioneModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ComunicazionePersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ConfigurazionePersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchConfigurazioneException;
import it.tref.liferay.portos.bo.model.Configurazione; import it.tref.liferay.portos.bo.model.Configurazione;
import it.tref.liferay.portos.bo.model.impl.ConfigurazioneImpl; import it.tref.liferay.portos.bo.model.impl.ConfigurazioneImpl;
import it.tref.liferay.portos.bo.model.impl.ConfigurazioneModelImpl; import it.tref.liferay.portos.bo.model.impl.ConfigurazioneModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ConfigurazionePersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ControlloPraticaPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchControlloPraticaException;
import it.tref.liferay.portos.bo.model.ControlloPratica; import it.tref.liferay.portos.bo.model.ControlloPratica;
import it.tref.liferay.portos.bo.model.impl.ControlloPraticaImpl; import it.tref.liferay.portos.bo.model.impl.ControlloPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.ControlloPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.ControlloPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ControlloPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DelegaPersistenceImpl.java

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchDelegaException;
import it.tref.liferay.portos.bo.model.Delega; import it.tref.liferay.portos.bo.model.Delega;
import it.tref.liferay.portos.bo.model.impl.DelegaImpl; import it.tref.liferay.portos.bo.model.impl.DelegaImpl;
import it.tref.liferay.portos.bo.model.impl.DelegaModelImpl; import it.tref.liferay.portos.bo.model.impl.DelegaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.DelegaPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchDettPraticaException;
import it.tref.liferay.portos.bo.model.DettPratica; import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.impl.DettPraticaImpl; import it.tref.liferay.portos.bo.model.impl.DettPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.DettPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.DettPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.DettPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocAggiuntivaPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchDocAggiuntivaException;
import it.tref.liferay.portos.bo.model.DocAggiuntiva; import it.tref.liferay.portos.bo.model.DocAggiuntiva;
import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaImpl; import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaImpl;
import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaModelImpl; import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.DocAggiuntivaPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocPraticaPersistenceImpl.java

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchDocPraticaException;
import it.tref.liferay.portos.bo.model.DocPratica; import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.impl.DocPraticaImpl; import it.tref.liferay.portos.bo.model.impl.DocPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.DocPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.DocPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.DocPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchFineLavoriException;
import it.tref.liferay.portos.bo.model.FineLavori; import it.tref.liferay.portos.bo.model.FineLavori;
import it.tref.liferay.portos.bo.model.impl.FineLavoriImpl; import it.tref.liferay.portos.bo.model.impl.FineLavoriImpl;
import it.tref.liferay.portos.bo.model.impl.FineLavoriModelImpl; import it.tref.liferay.portos.bo.model.impl.FineLavoriModelImpl;
import it.tref.liferay.portos.bo.service.persistence.FineLavoriPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/HistoryWorkflowActionPersistenceImpl.java

@ -42,6 +42,7 @@ import it.tref.liferay.portos.bo.NoSuchHistoryWorkflowActionException;
import it.tref.liferay.portos.bo.model.HistoryWorkflowAction; import it.tref.liferay.portos.bo.model.HistoryWorkflowAction;
import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionImpl; import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionImpl;
import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionModelImpl; import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionModelImpl;
import it.tref.liferay.portos.bo.service.persistence.HistoryWorkflowActionPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IUVPersistenceImpl.java

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchIUVException;
import it.tref.liferay.portos.bo.model.IUV; import it.tref.liferay.portos.bo.model.IUV;
import it.tref.liferay.portos.bo.model.impl.IUVImpl; import it.tref.liferay.portos.bo.model.impl.IUVImpl;
import it.tref.liferay.portos.bo.model.impl.IUVModelImpl; import it.tref.liferay.portos.bo.model.impl.IUVModelImpl;
import it.tref.liferay.portos.bo.service.persistence.IUVPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/InfoFascicoloPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchInfoFascicoloException;
import it.tref.liferay.portos.bo.model.InfoFascicolo; import it.tref.liferay.portos.bo.model.InfoFascicolo;
import it.tref.liferay.portos.bo.model.impl.InfoFascicoloImpl; import it.tref.liferay.portos.bo.model.impl.InfoFascicoloImpl;
import it.tref.liferay.portos.bo.model.impl.InfoFascicoloModelImpl; import it.tref.liferay.portos.bo.model.impl.InfoFascicoloModelImpl;
import it.tref.liferay.portos.bo.service.persistence.InfoFascicoloPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java

@ -48,6 +48,7 @@ import it.tref.liferay.portos.bo.NoSuchIntPraticaException;
import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl; import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.IntPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchPagamentoException;
import it.tref.liferay.portos.bo.model.Pagamento; import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.model.impl.PagamentoImpl; import it.tref.liferay.portos.bo.model.impl.PagamentoImpl;
import it.tref.liferay.portos.bo.model.impl.PagamentoModelImpl; import it.tref.liferay.portos.bo.model.impl.PagamentoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.PagamentoPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchParereGeologoException;
import it.tref.liferay.portos.bo.model.ParereGeologo; import it.tref.liferay.portos.bo.model.ParereGeologo;
import it.tref.liferay.portos.bo.model.impl.ParereGeologoImpl; import it.tref.liferay.portos.bo.model.impl.ParereGeologoImpl;
import it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl; import it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ParereGeologoPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ProvinciaPersistenceImpl.java

@ -43,6 +43,7 @@ import it.tref.liferay.portos.bo.NoSuchProvinciaException;
import it.tref.liferay.portos.bo.model.Provincia; import it.tref.liferay.portos.bo.model.Provincia;
import it.tref.liferay.portos.bo.model.impl.ProvinciaImpl; import it.tref.liferay.portos.bo.model.impl.ProvinciaImpl;
import it.tref.liferay.portos.bo.model.impl.ProvinciaModelImpl; import it.tref.liferay.portos.bo.model.impl.ProvinciaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ProvinciaPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SoggettoPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchSoggettoException;
import it.tref.liferay.portos.bo.model.Soggetto; import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.impl.SoggettoImpl; import it.tref.liferay.portos.bo.model.impl.SoggettoImpl;
import it.tref.liferay.portos.bo.model.impl.SoggettoModelImpl; import it.tref.liferay.portos.bo.model.impl.SoggettoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.SoggettoPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SorteggioPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchSorteggioException;
import it.tref.liferay.portos.bo.model.Sorteggio; import it.tref.liferay.portos.bo.model.Sorteggio;
import it.tref.liferay.portos.bo.model.impl.SorteggioImpl; import it.tref.liferay.portos.bo.model.impl.SorteggioImpl;
import it.tref.liferay.portos.bo.model.impl.SorteggioModelImpl; import it.tref.liferay.portos.bo.model.impl.SorteggioModelImpl;
import it.tref.liferay.portos.bo.service.persistence.SorteggioPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/StoricoSoggettoPraticaPersistenceImpl.java

@ -42,6 +42,7 @@ import it.tref.liferay.portos.bo.NoSuchStoricoSoggettoPraticaException;
import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica; import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica;
import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaImpl; import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.StoricoSoggettoPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TempisticaPersistenceImpl.java

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchTempisticaException;
import it.tref.liferay.portos.bo.model.Tempistica; import it.tref.liferay.portos.bo.model.Tempistica;
import it.tref.liferay.portos.bo.model.impl.TempisticaImpl; import it.tref.liferay.portos.bo.model.impl.TempisticaImpl;
import it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl; import it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.TempisticaPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TerritorioPersistenceImpl.java

@ -44,6 +44,7 @@ import it.tref.liferay.portos.bo.NoSuchTerritorioException;
import it.tref.liferay.portos.bo.model.Territorio; import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.model.impl.TerritorioImpl; import it.tref.liferay.portos.bo.model.impl.TerritorioImpl;
import it.tref.liferay.portos.bo.model.impl.TerritorioModelImpl; import it.tref.liferay.portos.bo.model.impl.TerritorioModelImpl;
import it.tref.liferay.portos.bo.service.persistence.TerritorioPersistence;
import java.io.Serializable; import java.io.Serializable;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/UtentePortosPersistenceImpl.java

@ -43,6 +43,7 @@ import it.tref.liferay.portos.bo.NoSuchUtentePortosException;
import it.tref.liferay.portos.bo.model.UtentePortos; import it.tref.liferay.portos.bo.model.UtentePortos;
import it.tref.liferay.portos.bo.model.impl.UtentePortosImpl; import it.tref.liferay.portos.bo.model.impl.UtentePortosImpl;
import it.tref.liferay.portos.bo.model.impl.UtentePortosModelImpl; import it.tref.liferay.portos.bo.model.impl.UtentePortosModelImpl;
import it.tref.liferay.portos.bo.service.persistence.UtentePortosPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -13,8 +13,8 @@
## ##
build.namespace=portos_bo build.namespace=portos_bo
build.number=2508 build.number=2512
build.date=1603288095361 build.date=1603814035425
build.auto.upgrade=true build.auto.upgrade=true
## ##

29
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/doc_aggiuntiva/view.jsp

@ -1,4 +1,3 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.ActionKeys"%> <%@page import="it.tref.liferay.portos.bo.shared.util.ActionKeys"%>
<%@page import="it.tref.liferay.portos.bo.service.permission.IntPraticaPermission"%> <%@page import="it.tref.liferay.portos.bo.service.permission.IntPraticaPermission"%>
<%@page import="java.util.ArrayList"%> <%@page import="java.util.ArrayList"%>
@ -88,7 +87,7 @@
> >
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Data" value="<%= dateFormatDate.format(docAggiuntiva.getCreateDate()) %>" /> <liferay-ui:search-container-column-text cssClass="text-nowrap" name="Data" value="<%= dateFormatDate.format(docAggiuntiva.getCreateDate()) %>" />
<c:if test="<%= inBO %>"> <c:if test="<%= inBO %>">
<liferay-ui:search-container-column-text cssClass="text-center" name="Visibile in FE" > <liferay-ui:search-container-column-text cssClass="text-center" name="docaggiuntiva-fevisible" >
<% <%
String clazz = StringPool.BLANK; String clazz = StringPool.BLANK;
if(docAggiuntiva.getFeVisible()){ if(docAggiuntiva.getFeVisible()){
@ -98,7 +97,16 @@
<span><i class="relative <%= clazz %>"></i></span> <span><i class="relative <%= clazz %>"></i></span>
</liferay-ui:search-container-column-text> </liferay-ui:search-container-column-text>
</c:if> </c:if>
<liferay-ui:search-container-column-text name="File" value="<%= docAggiuntiva.getFileName() %>" /> <%
String fileName = "fileName";
try {
fileName = docAggiuntiva.getFileName();
} catch (Exception e) {
fileName = "File " + docAggiuntiva.getFileEntryId() + " non disponibile (" +
e.getMessage() + ")";
}
%>
<liferay-ui:search-container-column-text name="File" value="<%= fileName %>" />
<liferay-ui:search-container-column-text property="descrizione" name="Descrizione"/> <liferay-ui:search-container-column-text property="descrizione" name="Descrizione"/>
<liferay-ui:search-container-column-text name="actions" cssClass="text-nowrap text-center"> <liferay-ui:search-container-column-text name="actions" cssClass="text-nowrap text-center">
@ -119,17 +127,22 @@
<liferay-portlet:param name="redirect" value='<%= currentURL+"#_1_WAR_portosboportlet_tab=_1_WAR_portosboportlet_page_doc_aggiuntiva" %>'/> <liferay-portlet:param name="redirect" value='<%= currentURL+"#_1_WAR_portosboportlet_tab=_1_WAR_portosboportlet_page_doc_aggiuntiva" %>'/>
</c:if> </c:if>
</liferay-portlet:renderURL> </liferay-portlet:renderURL>
<div title="Visualizza" class="tooltip-info" style="display: inline-block;">
<liferay-ui:icon id='<%=renderResponse.getNamespace()+"open_"+docAggiuntiva.getDocAggiuntivaId() %>' linkCssClass="btn btn-rounded btn-action" iconCssClass="fa fa-clipboard" message="" url="<%=previewURL%>" useDialog="true"/>
</div>
<% <%
FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(docAggiuntiva.getFileEntryId()); FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(docAggiuntiva.getFileEntryId());
String downloadUrl = DLUtil.getPreviewURL(fileEntry, fileEntry.getLatestFileVersion(), themeDisplay, "&download=true"); String downloadUrl = null;
try {
downloadUrl = DLUtil.getPreviewURL(fileEntry, fileEntry.getLatestFileVersion(), themeDisplay, "&download=true");
} catch (Exception e) {
}
%> %>
<c:if test="<%= downloadUrl != null %>">
<div title="Visualizza" class="tooltip-info" style="display: inline-block;">
<liferay-ui:icon id='<%=renderResponse.getNamespace()+"open_"+docAggiuntiva.getDocAggiuntivaId() %>' linkCssClass="btn btn-rounded btn-action" iconCssClass="fa fa-clipboard" message="" url="<%=previewURL%>" useDialog="true"/>
</div>
<div title="Scarica" class="tooltip-info" style="display: inline-block;"> <div title="Scarica" class="tooltip-info" style="display: inline-block;">
<liferay-ui:icon message="" id='<%=renderResponse.getNamespace()+"download_"+docAggiuntiva.getDocAggiuntivaId() %>' linkCssClass="btn btn-rounded btn-action" iconCssClass="fa fa-download" url="<%=downloadUrl%>"/> <liferay-ui:icon message="" id='<%=renderResponse.getNamespace()+"download_"+docAggiuntiva.getDocAggiuntivaId() %>' linkCssClass="btn btn-rounded btn-action" iconCssClass="fa fa-download" url="<%=downloadUrl%>"/>
</div> </div>
</c:if>
<c:if test="<%= inBO %>"> <c:if test="<%= inBO %>">
<liferay-portlet:actionURL var="deleteUrl" name="deleteDocAggiuntiva"> <liferay-portlet:actionURL var="deleteUrl" name="deleteDocAggiuntiva">
<liferay-portlet:param name="docAggiuntivaId" value="<%=String.valueOf(docAggiuntiva.getDocAggiuntivaId())%>" /> <liferay-portlet:param name="docAggiuntivaId" value="<%=String.valueOf(docAggiuntiva.getDocAggiuntivaId())%>" />

8
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/sismica_administration/view.jsp

@ -96,14 +96,14 @@ String dataProssimoSorteggio =
</div> </div>
</div> </div>
<liferay-portlet:actionURL name="manutenzioneDatabase" var="manutenzioneDatabaseURL" /> <liferay-portlet:actionURL name="testInterno" var="testInternoURL" />
<liferay-portlet:actionURL name="generaDocumenti" var="generaDocumentiURL" /> <liferay-portlet:actionURL name="generaDocumenti" var="generaDocumentiURL" />
<div class="row-fluid" style="margin-top: 10px;"> <div class="row-fluid" style="margin-top: 10px;">
<div class="span6"> <div class="span6">
<div style="font-weight: bold; font-size: 18px; margin-bottom: 10px;">Manutenzione Database</div> <div style="font-weight: bold; font-size: 18px; margin-bottom: 10px;">Test Interno</div>
<aui:form action="<%=manutenzioneDatabaseURL%>" method="post" name="fmDB"> <aui:form action="<%=testInternoURL%>" method="post" name="fmTI">
<div> <div>
<aui:button cssClass="btn-danger" type="submit" value="Manutenzione Database" /> <aui:button cssClass="btn-danger" type="submit" value="Avvia test" />
</div> </div>
</aui:form> </aui:form>
</div> </div>

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

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/geronimo-stax-api_1.0_spec.jar

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/poi-ooxml-schemas.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/poi-ooxml.jar

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

2
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/ivy.xml

@ -17,7 +17,7 @@
<dependency name="httpclient" org="org.apache.httpcomponents" rev="4.5"/> <dependency name="httpclient" org="org.apache.httpcomponents" rev="4.5"/>
<dependency name="httpmime" org="org.apache.httpcomponents" rev="4.5"/> <dependency name="httpmime" org="org.apache.httpcomponents" rev="4.5"/>
<dependency name="jasperreports" org="net.sf.jasperreports" rev="5.0.0"/> <dependency name="jasperreports" org="net.sf.jasperreports" rev="5.0.4"/>
<dependency name="jasperreports-fonts" org="net.sf.jasperreports" rev="5.0.0"/> <dependency name="jasperreports-fonts" org="net.sf.jasperreports" rev="5.0.0"/>
<dependency name="jOpenDocument" org="org.jopendocument" rev="1.3"/> <dependency name="jOpenDocument" org="org.jopendocument" rev="1.3"/>
</dependencies> </dependencies>

2
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/ivy.xml.MD5

@ -1 +1 @@
8ac2501ca718b6e57f0038572748dfb3 887cd0518266a1239f9bbb476c5323de

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

0
liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/barcode4j-2.1.jar → liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/lib/barcode4j.jar

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

Caricamento…
Annulla
Salva