Confronta commit
Nessun commit in comune. 'control-panel-filter' e 'master' hanno storie completamente diverse.
control-pa
...
master
715 ha cambiato i file con 3107 aggiunte e 51381 eliminazioni
File binario non mostrato.
@ -1,385 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71"> |
||||
<property name="ireport.zoom" value="1.948717100000009"/> |
||||
<property name="ireport.x" value="0"/> |
||||
<property name="ireport.y" value="301"/> |
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> |
||||
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7"> |
||||
<field name="codiceAllegato" class="java.lang.String"/> |
||||
<field name="titoloAllegato" class="java.lang.String"/> |
||||
<field name="sha256Allegato" class="java.lang.String"/> |
||||
</subDataset> |
||||
<parameter name="LOGO_REGIONE" class="java.lang.String"/> |
||||
<field name="collaudatore" class="java.lang.String"/> |
||||
<field name="allegati" class="java.util.List"/> |
||||
<field name="titolareDigitale" class="java.lang.String"/> |
||||
<field name="direttoreLavori" class="java.lang.String"/> |
||||
<field name="codiceUnivoco" class="java.lang.String"/> |
||||
<field name="committente" class="java.lang.String"/> |
||||
<field name="comune" class="java.lang.String"/> |
||||
<field name="dataAvviso" class="java.util.Date"/> |
||||
<field name="dataPratica" class="java.util.Date"/> |
||||
<field name="lavoriDi" class="java.lang.String"/> |
||||
<field name="numeroProgetto" class="java.lang.String"/> |
||||
<field name="numeroProtocollo" class="java.lang.String"/> |
||||
<field name="parziale" class="java.lang.Boolean"/> |
||||
<field name="parzialeNumero" class="java.lang.String"/> |
||||
<field name="sedeGenioCivile" class="java.lang.String"/> |
||||
<field name="tecnicoEmail" class="java.lang.String"/> |
||||
<field name="tecnico" class="java.lang.String"/> |
||||
<field name="tipo" class="java.lang.String"/> |
||||
<field name="ubicazione" class="java.lang.String"/> |
||||
<field name="richiestaAttestazione" class="java.lang.String"/> |
||||
<variable name="PAGE" class="java.lang.Integer" resetType="Page" incrementType="Page"> |
||||
<variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression> |
||||
<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression> |
||||
</variable> |
||||
<variable name="CURPAGE" class="java.lang.Integer" resetType="Page" incrementType="Page"> |
||||
<variableExpression><![CDATA[$V{CURPAGE}+1]]></variableExpression> |
||||
<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression> |
||||
</variable> |
||||
<pageHeader> |
||||
<band height="109" splitType="Stretch"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
<image> |
||||
<reportElement x="0" y="17" width="224" height="92" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/> |
||||
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> |
||||
</image> |
||||
<textField> |
||||
<reportElement x="376" y="84" width="160" height="20" uuid="a329da1c-ce69-4c4e-8461-34eb44195739"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Center" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["di "+$F{sedeGenioCivile}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement x="376" y="46" width="160" height="25" uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Center" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Dipartimento dei beni culturali e dell'identità siciliana]]></text> |
||||
</staticText> |
||||
<line> |
||||
<reportElement x="0" y="-75" width="555" height="1" uuid="4134836a-6121-4e04-94f5-b4df956806e0"/> |
||||
</line> |
||||
<rectangle> |
||||
<reportElement mode="Transparent" x="1" y="16" width="554" height="93" uuid="43161f21-9f25-415d-a5eb-44f0d8acf9aa"/> |
||||
</rectangle> |
||||
<staticText> |
||||
<reportElement x="3" y="0" width="545" height="16" uuid="bfd4d8eb-0f07-47c8-a867-dbb5a2404e71"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans" size="10" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[BBCC Mod. PROS - Interventi potenziamentoreteospedaliera - acquisizione comunicazione - deposito]]></text> |
||||
</staticText> |
||||
<staticText> |
||||
<reportElement x="376" y="72" width="160" height="18" uuid="946bd993-7966-4877-ba29-9f5085d8b310"> |
||||
<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[Soprintendenza BB.CC.AA]]></text> |
||||
</staticText> |
||||
<image> |
||||
<reportElement x="4" y="17" width="224" height="92" uuid="346004ee-292a-45dc-a835-30a49e439c29"/> |
||||
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> |
||||
</image> |
||||
</band> |
||||
</pageHeader> |
||||
<detail> |
||||
<band height="493"> |
||||
<staticText> |
||||
<reportElement x="0" y="12" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Oggetto:]]></text> |
||||
</staticText> |
||||
<staticText> |
||||
<reportElement positionType="Float" x="11" y="360" width="538" height="20" uuid="ff20aaeb-9dbf-4e7c-b7a9-6052c15f462e"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Right" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA["Il Soprintendente"]]></text> |
||||
</staticText> |
||||
<staticText> |
||||
<reportElement key="" x="266" y="153" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="true"/> |
||||
</textElement> |
||||
<text><![CDATA[Al Committente]]></text> |
||||
</staticText> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="136" y="115" width="410" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement x="9" y="115" width="120" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Istanza n.]]></text> |
||||
</staticText> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="381" y="153" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression> |
||||
</textField> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="136" y="130" width="410" height="15" isRemoveLineWhenBlank="true" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{numeroProtocollo} ) && $F{numeroProtocollo}!=null]]></printWhenExpression> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement x="9" y="130" width="120" height="15" isRemoveLineWhenBlank="true" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{numeroProtocollo} ) && $F{numeroProtocollo}!=null]]></printWhenExpression> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Protocollo]]></text> |
||||
</staticText> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="381" y="168" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement key="" x="266" y="168" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="true"/> |
||||
</textElement> |
||||
<text><![CDATA[c/o il suo delegato]]></text> |
||||
</staticText> |
||||
<staticText> |
||||
<reportElement x="9" y="100" width="120" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Ubicazione]]></text> |
||||
</staticText> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="136" y="100" width="410" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> |
||||
</textField> |
||||
<textField isStretchWithOverflow="true"> |
||||
<reportElement x="3" y="229" width="546" height="129" isRemoveLineWhenBlank="true" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623"/> |
||||
<textElement textAlignment="Justified" markup="html"> |
||||
<font fontName="DejaVu Sans" isBold="false"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["<pre><p>Con riferimento all'istanza in oggetto, </p>" + |
||||
"<ul><li><b>Visto il Piano di Potenziamento della Rete Ospedaliera della Regione Siciliana di cui al Decreto Assessoriale dell'Assessore Regionale alla Sanità n. 960 del 21/09/2021 approvato con Decreto del Ministero della Salute - Direzione Generale della Programmazione Sanitaria n. MDS/DGPROGS/92/24/05/2022</b></li>" + |
||||
"<li><b>Visto l'intervento di potenziamento descritto in oggetto, ed i suoi allegati di progetto esecutivo/varianti approvati con Determina del Soggetto Attuatore in conseguenza dei poteri Commissariali allo stesso attribuiti ai sensi del D.L. 34/2020 convertito con modificazioni dalla L. 17 luglio 2020, n. 77, con il quale le opere sono state ritenute tra quelle indicate nel D.L. 34/2020 art. 2 comma 13 - “Riordino della rete ospedaliera in emergenza COVID-19“ convertito con modificazioni dalla L. 17 luglio 2020, n. 77, si comunica che la richiesta presentata, unitamente alla documentazione allegata, è stata accolta ed acquisita dal sistema informatico “Paesaggistica“ della Regione Siciliana</b></li>" + |
||||
"<li><b>Visto il Codice dei Beni Culturali e del Paesaggio (D.L.vo n. 42 del 22.01.2004 e ss.mm.ii.);</b></li>" + |
||||
"<li><b>In presenza di zone sottoposte a tutela o di zone sottoposte a vincoli archeologici e/o di interesse archeologico/paesaggistico, i lavori saranno eseguiti sotto sorveglianza archeologica da parte della Soprintendenza, nonché è posto l'obbligo di nomina di archeologo da parte della Struttura Commissariale che provvederà al deposito dei registri di scavo tramite il portale paesaggistica Sicilia; </b></li>" + |
||||
"<li><b>I lavori saranno eseguiti sotto la responsabilità del Direttore dei Lavori, il quale - nel rispetto dell'art. 67 comma 8 bis, come introdotto dall'art.3 del D.L.32/2019, convertito nella L. 55/2019 - dopo la fine dei lavori è tenuto a redigere la relazione a Strutture Ultimate ed il collaudo a cura del collaudatore, depositando nelle apposite sezioni della Piattaforma Sismica Sicilia la Relazone a Strutture Ultimate (a cura del Direttore dei Lavori) ed il collaudo (a cura del Collaudatore)</b></li><ul>" + |
||||
"</pre>"]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement x="170" y="60" width="211" height="16" isRemoveLineWhenBlank="true" uuid="e33ff8f9-7c08-417f-8a0b-f07f7fab27d7"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Center" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans Bold" size="9" isBold="true" isUnderline="true"/> |
||||
</textElement> |
||||
<text><![CDATA[AVVISO DI PRESA IN CARICO]]></text> |
||||
</staticText> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="381" y="199" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement key="" x="49" y="199" width="325" height="15" uuid="2b364a08-ef1e-44b2-8250-713b1c22f9c3"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Right"> |
||||
<font fontName="DejaVu Sans Bold" isBold="true" isStrikeThrough="false"/> |
||||
</textElement> |
||||
<text><![CDATA[al Sindaco / S.U.E del Comune di ]]></text> |
||||
</staticText> |
||||
<componentElement> |
||||
<reportElement positionType="Float" x="0" y="450" width="554" height="34" uuid="e4cd61dc-051b-4207-acb8-8aaf86f47d86"> |
||||
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> |
||||
<datasetRun subDataset="dataset1" uuid="30575842-b142-4675-9258-3ea446f13838"> |
||||
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression> |
||||
</datasetRun> |
||||
<jr:listContents height="34" width="554"> |
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||
<reportElement positionType="Float" x="20" y="4" width="519" height="14" uuid="e34780ba-179e-45a9-817f-5248908207ce"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans" size="9"/> |
||||
<paragraph lineSpacing="Single"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression> |
||||
</textField> |
||||
<ellipse> |
||||
<reportElement positionType="Float" x="11" y="6" width="4" height="4" backcolor="#000000" uuid="c139f256-eaf2-4a55-ae46-a8adc4ca4240"> |
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
</ellipse> |
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||
<reportElement positionType="Float" x="20" y="19" width="519" height="14" uuid="1c100ea1-6ffe-42e8-be6f-4c9d7aacde28"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans" size="9"/> |
||||
<paragraph lineSpacing="Single"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression> |
||||
</textField> |
||||
</jr:listContents> |
||||
</jr:list> |
||||
</componentElement> |
||||
<textField isStretchWithOverflow="true"> |
||||
<reportElement x="57" y="12" width="487" height="41" isRemoveLineWhenBlank="true" uuid="42beb015-8f6b-44a8-80c0-5022f61bc737"/> |
||||
<textElement textAlignment="Justified" markup="html"> |
||||
<font fontName="DejaVu Sans" isBold="true"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["Comunicazione relativa al deposito ai sensi del D.L.34/2020 art. 2 comma 13 - \n" + |
||||
"convertito con modificazioni dalla L. 17 luglio 2020, n. 77 “Riordino della rete\n" + |
||||
"ospedaliera in emergenza COVID-19“"]]></textFieldExpression> |
||||
</textField> |
||||
<elementGroup> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="136" y="85" width="410" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement x="9" y="85" width="120" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Descrizione]]></text> |
||||
</staticText> |
||||
</elementGroup> |
||||
<staticText> |
||||
<reportElement x="6" y="431" width="548" height="16" isRemoveLineWhenBlank="true" uuid="0c88fa06-f5fa-4512-b443-8706cf21d4db"> |
||||
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression> |
||||
</reportElement> |
||||
<textElement textAlignment="Justified"> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all'istanza ed acquisiti dal sistema informatico "Paesaggistica" della Regione Siciliana.]]></text> |
||||
</staticText> |
||||
<textField evaluationTime="Auto"> |
||||
<reportElement positionType="Float" x="11" y="374" width="538" height="20" isRemoveLineWhenBlank="true" uuid="db0f6004-711f-4270-97a7-53b31feefb91"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Right" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans Bold" size="8" isBold="false" isStrikeThrough="false"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["Firmato Digitalmente"]]></textFieldExpression> |
||||
</textField> |
||||
</band> |
||||
<band height="80"> |
||||
<textField isStretchWithOverflow="true" evaluationTime="Auto"> |
||||
<reportElement positionType="Float" x="4" y="4" width="540" height="61" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="8a7e4b88-3391-45ed-bd01-a6ecdb32409b"/> |
||||
<textElement textAlignment="Justified"> |
||||
<font fontName="DejaVu Sans" size="7" isBold="false"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 24/1990 e ss. mm. ii. e della L.R. 7/2019, si comunica che, per il presente \n" + |
||||
"procedimento amministrativo: \n" + |
||||
"- Le unità Operative che si occupano di provvedimenti autorizzativi in materia di Beni Culturali nelle Soprintendenze \n" + |
||||
" dell'Isola, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile <i>del procedimento \n" + |
||||
" sotto il profilo tecnico-scientifico e di ogni atto procedimentale interlocutorio;</i> \n" + |
||||
"- responsabile dell'adozione del provvedimento finale è il Soprintendente; \n" + |
||||
"- ai fini dell'eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il \n" + |
||||
" Dirigente Generale del Dipartimento Beni Culturali e dell'Identità Siciliana.\n" + |
||||
"Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio (mparlavecchio@regione.sicilia.it). \n\n" + |
||||
"Il titolare del trattamento, definito dall'articolo 4, n. 7 del GDPR - Regolamento generale sulla protezione dei dati \n" + |
||||
"(UE/2016/679), è il Dipartimento Beni Culturali e dell'Identità Siciliana. \n" + |
||||
"Responsabili del trattamento, definito all'articolo 4, n. 8 del GDPR - Regolamento generale sulla protezione dei dati \n" + |
||||
"(UE/2016/679), sono le Soprintendenze di Agrigento, Caltanissetta, Catania, Enna, Messina, Palermo, Ragusa, Siracusa, \n" + |
||||
"Trapani e la Soprintendenza del Mare. \n"]]></textFieldExpression> |
||||
</textField> |
||||
</band> |
||||
</detail> |
||||
<pageFooter> |
||||
<band height="100" splitType="Stretch"> |
||||
<staticText> |
||||
<reportElement x="4" y="76" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[www.regione.sicilia.it |
||||
https://sismica.lavoripubblici.it]]></text> |
||||
</staticText> |
||||
<line> |
||||
<reportElement x="0" y="74" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/> |
||||
</line> |
||||
<componentElement> |
||||
<reportElement x="188" y="3" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/> |
||||
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom"> |
||||
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression> |
||||
</jr:PDF417> |
||||
</componentElement> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="8" y="54" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/> |
||||
<textElement textAlignment="Center"> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression> |
||||
</textField> |
||||
</band> |
||||
</pageFooter> |
||||
</jasperReport> |
File binario non mostrato.
File diff soppresso perché troppo grande
Load Diff
File binario non mostrato.
File binario non mostrato.
@ -1,376 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="vidimazione" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71"> |
||||
<property name="ireport.zoom" value="1.610510000000007"/> |
||||
<property name="ireport.x" value="0"/> |
||||
<property name="ireport.y" value="445"/> |
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> |
||||
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="c69a9629-80ab-47f7-a2f9-7db3f777d9a7"> |
||||
<field name="codiceAllegato" class="java.lang.String"/> |
||||
<field name="titoloAllegato" class="java.lang.String"/> |
||||
<field name="sha256Allegato" class="java.lang.String"/> |
||||
</subDataset> |
||||
<parameter name="LOGO_REGIONE" class="java.lang.String"/> |
||||
<field name="collaudatore" class="java.lang.String"/> |
||||
<field name="allegati" class="java.util.List"/> |
||||
<field name="titolareDigitale" class="java.lang.String"/> |
||||
<field name="direttoreLavori" class="java.lang.String"/> |
||||
<field name="codiceUnivoco" class="java.lang.String"/> |
||||
<field name="committente" class="java.lang.String"/> |
||||
<field name="comune" class="java.lang.String"/> |
||||
<field name="dataAvviso" class="java.util.Date"/> |
||||
<field name="dataPratica" class="java.util.Date"/> |
||||
<field name="lavoriDi" class="java.lang.String"/> |
||||
<field name="numeroProgetto" class="java.lang.String"/> |
||||
<field name="numeroProtocollo" class="java.lang.String"/> |
||||
<field name="parziale" class="java.lang.Boolean"/> |
||||
<field name="parzialeNumero" class="java.lang.String"/> |
||||
<field name="sedeGenioCivile" class="java.lang.String"/> |
||||
<field name="tecnicoEmail" class="java.lang.String"/> |
||||
<field name="tecnico" class="java.lang.String"/> |
||||
<field name="tipo" class="java.lang.String"/> |
||||
<field name="ubicazione" class="java.lang.String"/> |
||||
<field name="richiestaAttestazione" class="java.lang.String"/> |
||||
<variable name="PAGE" class="java.lang.Integer" resetType="Page" incrementType="Page"> |
||||
<variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression> |
||||
<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression> |
||||
</variable> |
||||
<variable name="CURPAGE" class="java.lang.Integer" resetType="Page" incrementType="Page"> |
||||
<variableExpression><![CDATA[$V{CURPAGE}+1]]></variableExpression> |
||||
<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression> |
||||
</variable> |
||||
<pageHeader> |
||||
<band height="109" splitType="Stretch"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
<image> |
||||
<reportElement x="0" y="17" width="224" height="92" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"/> |
||||
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> |
||||
</image> |
||||
<textField> |
||||
<reportElement x="376" y="84" width="160" height="20" uuid="a329da1c-ce69-4c4e-8461-34eb44195739"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Center" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["di "+$F{sedeGenioCivile}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement x="376" y="46" width="160" height="25" uuid="fc65b94e-03de-4043-8de7-16b29fff3c4f"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Center" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans Bold" size="9" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Dipartimento dei beni culturali e dell'identità siciliana]]></text> |
||||
</staticText> |
||||
<line> |
||||
<reportElement x="0" y="-75" width="555" height="1" uuid="4134836a-6121-4e04-94f5-b4df956806e0"/> |
||||
</line> |
||||
<rectangle> |
||||
<reportElement mode="Transparent" x="1" y="16" width="554" height="93" uuid="43161f21-9f25-415d-a5eb-44f0d8acf9aa"/> |
||||
</rectangle> |
||||
<staticText> |
||||
<reportElement x="3" y="0" width="545" height="16" uuid="bfd4d8eb-0f07-47c8-a867-dbb5a2404e71"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans" size="10" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Mod. PROS - Interventi potenziamentoreteospedaliera - AVVISO DI CONFORMITA' A SEGUITO DI CONTROLLO]]></text> |
||||
</staticText> |
||||
<staticText> |
||||
<reportElement x="376" y="72" width="160" height="18" uuid="946bd993-7966-4877-ba29-9f5085d8b310"> |
||||
<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[Soprintendenza BB.CC.AA]]></text> |
||||
</staticText> |
||||
<image> |
||||
<reportElement x="4" y="17" width="224" height="92" uuid="346004ee-292a-45dc-a835-30a49e439c29"/> |
||||
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> |
||||
</image> |
||||
</band> |
||||
</pageHeader> |
||||
<detail> |
||||
<band height="593"> |
||||
<staticText> |
||||
<reportElement x="0" y="12" width="56" height="13" uuid="2bb6962b-397c-4592-ab9b-f49f30c26032"/> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Oggetto:]]></text> |
||||
</staticText> |
||||
<textField evaluationTime="Auto"> |
||||
<reportElement positionType="Float" x="11" y="373" width="538" height="20" isRemoveLineWhenBlank="true" uuid="ff20aaeb-9dbf-4e7c-b7a9-6052c15f462e"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Right" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans Bold" size="9" isBold="false" isStrikeThrough="false"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["Il Soprintendente"]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement key="" x="266" y="135" width="115" height="15" uuid="4cae4c79-8532-4cbb-9d81-bde3f93c21b1"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="true"/> |
||||
</textElement> |
||||
<text><![CDATA[Al Committente]]></text> |
||||
</staticText> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="136" y="97" width="410" height="15" uuid="59326b1c-3092-45ab-ba73-d188ee32f184"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement x="9" y="97" width="120" height="15" uuid="7a2a67be-5d54-4aa9-b690-799f437cb642"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Istanza n.]]></text> |
||||
</staticText> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="381" y="135" width="168" height="15" uuid="f9c28d14-b419-47e8-8c47-a936d86fee32"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{committente}]]></textFieldExpression> |
||||
</textField> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="136" y="112" width="410" height="15" isRemoveLineWhenBlank="true" uuid="eebebb00-ee6a-490c-ba75-5fafadc9043d"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{numeroProtocollo} ) && $F{numeroProtocollo}!=null]]></printWhenExpression> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement x="9" y="112" width="120" height="15" isRemoveLineWhenBlank="true" uuid="75c195a3-8c3e-4aef-ada3-41361d35dffa"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
<printWhenExpression><![CDATA[!"".equalsIgnoreCase( $F{numeroProtocollo} ) && $F{numeroProtocollo}!=null]]></printWhenExpression> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Protocollo]]></text> |
||||
</staticText> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="381" y="150" width="168" height="15" uuid="7c7cdd0e-ed24-4b4f-b405-32ff24b0150c"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{titolareDigitale}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement key="" x="266" y="150" width="115" height="15" uuid="c7bfa3ec-5129-4a9e-9be8-74c7287d34ba"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="true"/> |
||||
</textElement> |
||||
<text><![CDATA[c/o il suo delegato]]></text> |
||||
</staticText> |
||||
<staticText> |
||||
<reportElement x="9" y="82" width="120" height="15" uuid="b51c76f6-33b6-4a2b-b261-b382e5ffb7d6"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Ubicazione]]></text> |
||||
</staticText> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="136" y="82" width="410" height="15" uuid="0ecba67a-e48b-4fcd-8522-feebc5761ee9"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> |
||||
</textField> |
||||
<textField isStretchWithOverflow="true"> |
||||
<reportElement x="3" y="229" width="546" height="129" isRemoveLineWhenBlank="true" uuid="122c39b6-f0c9-45b0-816c-4fdde45c8623"/> |
||||
<textElement textAlignment="Justified" markup="html"> |
||||
<font fontName="DejaVu Sans" isBold="false"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["<pre><p>Con riferimento all'istanza in oggetto, </p>" + |
||||
"<ul><li>Visto il <b>Codice dei Beni Culturali e del Paesaggio (D.L.vo n. 42 del 22.01.2004 e ss.mm.ii.);</b></li></ul>" + |
||||
"<li>Visto il Piano di Potenziamento della Rete Ospedaliera della Regione Siciliana di cui al Decreto Assessoriale dell'Assessore Regionale alla Sanità n. 960 del 21/09/2021 approvato con Decreto del Ministero della Salute - Direzione Generale della Programmazione Sanitaria n. MDS/DGPROGS/92/24/05/2022</li></ul>" + |
||||
"<li>Visto l'intervento di potenziamento descritto in opggetto, ed i suoi allegati di progetto esecutivo/varianti approvati con Determina del Soggetto Attuatore in conseguenza dei poteri Commissariali allo stesso attribuiti ai sensi del D.L. 34/2020 convertito con modificazioni dalla L. 17 luglio 2020, n. 77, con il quale le opere sono state ritenute tra quelle indicate nel <b>D.L. 34/2020 art. 2 comma 13 - “Riordino della rete ospedaliera in emergenza COVID-19“ convertito con modificazioni dalla L. 17 luglio 2020, n. 77</b>, si comunica che:</b></li></ul>" + |
||||
"<p>La pratica presentata è stata sottoposta a controllo, fermo restando che in presenza di zone sottoposte a tutela o di zone sottoposte a vincoli archeologici e/o di interesse archeologico/paesaggistico, i lavori saranno eseguiti sotto sorveglianza archeologica da parte della Soprintendenza, nonché è posto obbligo di nomina di archeologo da parte della Struttura Commissariale che provvederà al deposito dei registri di scavo tramite il portale paesaggistica Sicilia;</p>" + |
||||
"<p>Dai controlli eseguiti, il progetto, per quanto è stato possibile accertare, risulta essere redatto secondo quanto disposto dalla normativa vigente in materia di beni culturali e non sono emersi elementi sostanziali di contrasto con la suddetta normativa.</p>" + |
||||
"<p>Copia della presente comunicazione sarà disponibile nella sezione “Avvisi“ del portale “Paesaggistica“ della Regione Sicilia</p></pre>"]]></textFieldExpression> |
||||
</textField> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="381" y="181" width="168" height="15" isRemoveLineWhenBlank="true" uuid="8e769118-8cd7-489f-8e8d-793e1ece7135"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement key="" x="49" y="181" width="325" height="15" uuid="2b364a08-ef1e-44b2-8250-713b1c22f9c3"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Right"> |
||||
<font fontName="DejaVu Sans Bold" isBold="true" isStrikeThrough="false"/> |
||||
</textElement> |
||||
<text><![CDATA[al Sindaco / S.U.E del Comune di ]]></text> |
||||
</staticText> |
||||
<componentElement> |
||||
<reportElement positionType="Float" x="0" y="505" width="554" height="34" uuid="e4cd61dc-051b-4207-acb8-8aaf86f47d86"> |
||||
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> |
||||
<datasetRun subDataset="dataset1" uuid="30575842-b142-4675-9258-3ea446f13838"> |
||||
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression> |
||||
</datasetRun> |
||||
<jr:listContents height="34" width="554"> |
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||
<reportElement positionType="Float" x="20" y="4" width="519" height="14" uuid="e34780ba-179e-45a9-817f-5248908207ce"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans" size="9"/> |
||||
<paragraph lineSpacing="Single"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression> |
||||
</textField> |
||||
<ellipse> |
||||
<reportElement positionType="Float" x="11" y="6" width="4" height="4" backcolor="#000000" uuid="c139f256-eaf2-4a55-ae46-a8adc4ca4240"> |
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
</ellipse> |
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||
<reportElement positionType="Float" x="20" y="19" width="519" height="14" uuid="1c100ea1-6ffe-42e8-be6f-4c9d7aacde28"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans" size="9"/> |
||||
<paragraph lineSpacing="Single"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression> |
||||
</textField> |
||||
</jr:listContents> |
||||
</jr:list> |
||||
</componentElement> |
||||
<textField isStretchWithOverflow="true"> |
||||
<reportElement x="57" y="12" width="487" height="41" isRemoveLineWhenBlank="true" uuid="42beb015-8f6b-44a8-80c0-5022f61bc737"/> |
||||
<textElement textAlignment="Justified" markup="html"> |
||||
<font fontName="DejaVu Sans" isBold="true"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["Esito del controllo relativo al deposito ai sensi del D.L.34/2020 art. 2 comma 13 - \n" + |
||||
"convertito con modificazioni dalla L. 17 luglio 2020, n. 77 “Riordino della rete\n" + |
||||
"ospedaliera in emergenza COVID-19“"]]></textFieldExpression> |
||||
</textField> |
||||
<elementGroup> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="136" y="67" width="410" height="15" uuid="6f2cb684-6534-4cc9-acd4-9c5fd6a677b1"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> |
||||
</textField> |
||||
<staticText> |
||||
<reportElement x="9" y="67" width="120" height="15" uuid="db348311-9894-42af-ae4e-727d96f8aa08"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[Descrizione]]></text> |
||||
</staticText> |
||||
</elementGroup> |
||||
<staticText> |
||||
<reportElement x="6" y="477" width="548" height="16" isRemoveLineWhenBlank="true" uuid="0c88fa06-f5fa-4512-b443-8706cf21d4db"> |
||||
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||
<printWhenExpression><![CDATA[$F{richiestaAttestazione}]]></printWhenExpression> |
||||
</reportElement> |
||||
<textElement textAlignment="Justified"> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all'istanza ed acquisiti dal sistema informatico "Paesaggistica" della Regione Siciliana.]]></text> |
||||
</staticText> |
||||
<textField evaluationTime="Auto"> |
||||
<reportElement positionType="Float" x="11" y="387" width="538" height="20" isRemoveLineWhenBlank="true" uuid="db0f6004-711f-4270-97a7-53b31feefb91"> |
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||
</reportElement> |
||||
<textElement textAlignment="Right" verticalAlignment="Middle"> |
||||
<font fontName="DejaVu Sans Bold" size="8" isBold="false" isStrikeThrough="false"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["Firmato Digitalmente"]]></textFieldExpression> |
||||
</textField> |
||||
</band> |
||||
<band height="80" splitType="Prevent"> |
||||
<textField isStretchWithOverflow="true" evaluationTime="Auto"> |
||||
<reportElement positionType="Float" x="4" y="11" width="540" height="61" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="8a7e4b88-3391-45ed-bd01-a6ecdb32409b"/> |
||||
<textElement textAlignment="Justified"> |
||||
<font fontName="DejaVu Sans" size="7" isBold="false"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA["Nel rispetto di quanto prescritto dalla L. 24/1990 e ss. mm. ii. e della L.R. 7/2019, si comunica che, per il presente \n" + |
||||
"procedimento amministrativo: \n" + |
||||
"- Le unità Operative che si occupano di provvedimenti autorizzativi in materia di Beni Culturali nelle Soprintendenze \n" + |
||||
" dell'Isola, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile <i>del procedimento \n" + |
||||
" sotto il profilo tecnico-scientifico e di ogni atto procedimentale interlocutorio;</i> \n" + |
||||
"- responsabile dell'adozione del provvedimento finale è il Soprintendente; \n" + |
||||
"- ai fini dell'eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità, è il \n" + |
||||
" Dirigente Generale del Dipartimento Beni Culturali e dell'Identità Siciliana.\n" + |
||||
"Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio (mparlavecchio@regione.sicilia.it). \n\n" + |
||||
"Il titolare del trattamento, definito dall'articolo 4, n. 7 del GDPR - Regolamento generale sulla protezione dei dati \n" + |
||||
"(UE/2016/679), è il Dipartimento Beni Culturali e dell'Identità Siciliana. \n" + |
||||
"Responsabili del trattamento, definito all'articolo 4, n. 8 del GDPR - Regolamento generale sulla protezione dei dati \n" + |
||||
"(UE/2016/679), sono le Soprintendenze di Agrigento, Caltanissetta, Catania, Enna, Messina, Palermo, Ragusa, Siracusa, \n" + |
||||
"Trapani e la Soprintendenza del Mare. \n"]]></textFieldExpression> |
||||
</textField> |
||||
</band> |
||||
</detail> |
||||
<pageFooter> |
||||
<band height="100" splitType="Stretch"> |
||||
<staticText> |
||||
<reportElement x="4" y="76" width="377" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"/> |
||||
<textElement> |
||||
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/> |
||||
</textElement> |
||||
<text><![CDATA[www.regione.sicilia.it |
||||
https://sismica.lavoripubblici.it]]></text> |
||||
</staticText> |
||||
<line> |
||||
<reportElement x="0" y="74" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"/> |
||||
</line> |
||||
<componentElement> |
||||
<reportElement x="188" y="3" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"/> |
||||
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom"> |
||||
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression> |
||||
</jr:PDF417> |
||||
</componentElement> |
||||
<textField isBlankWhenNull="true"> |
||||
<reportElement x="8" y="54" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"/> |
||||
<textElement textAlignment="Center"> |
||||
<font fontName="DejaVu Sans"/> |
||||
</textElement> |
||||
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression> |
||||
</textField> |
||||
</band> |
||||
</pageFooter> |
||||
</jasperReport> |
File diff soppresso perché troppo grande
Load Diff
@ -1,10 +0,0 @@
|
||||
# Default ignored files |
||||
/shelf/ |
||||
/workspace.xml |
||||
# Editor-based HTTP Client requests |
||||
/httpRequests/ |
||||
# Datasource local storage ignored files |
||||
/dataSources/ |
||||
/dataSources.local.xml |
||||
# Zeppelin ignored files |
||||
/ZeppelinRemoteNotebooks/ |
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="AntConfiguration"> |
||||
<buildFile url="file://$PROJECT_DIR$/build.xml" /> |
||||
</component> |
||||
</project> |
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="JpaBuddyIdeaProjectConfig"> |
||||
<option name="renamerInitialized" value="true" /> |
||||
</component> |
||||
</project> |
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="ProjectRootManager" version="2" default="true"> |
||||
<output url="file://$PROJECT_DIR$/classes" /> |
||||
</component> |
||||
<component name="ProjectType"> |
||||
<option name="id" value="jpab" /> |
||||
</component> |
||||
</project> |
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="VcsDirectoryMappings"> |
||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" /> |
||||
</component> |
||||
</project> |
@ -1,6 +0,0 @@
|
||||
projectKey=Sicilia-Paesaggistica |
||||
serverUrl=http://sonar.nextmind.it |
||||
serverVersion=9.4.0.54424 |
||||
dashboardUrl=http://sonar.nextmind.it/dashboard?id=Sicilia-Paesaggistica |
||||
ceTaskId=AYZej0Tqqvn_43R2i7P6 |
||||
ceTaskUrl=http://sonar.nextmind.it/api/ce/task?id=AYZej0Tqqvn_43R2i7P6 |
@ -1,10 +0,0 @@
|
||||
# Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
|
||||
#Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
#Tue Feb 07 14:49:02 CET 2023 |
||||
app.server.tomcat.lib.global.dir = C:\\progetti\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\lib\\ext |
||||
app.server.tomcat.deploy.dir = C:\\progetti\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps |
||||
app.server.parent.dir = C:\\progetti\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5 |
||||
app.server.tomcat.dir = C:\\progetti\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62 |
||||
app.server.type = tomcat |
||||
app.server.tomcat.portal.dir = C:\\progetti\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps\\ROOT |
@ -1,9 +0,0 @@
|
||||
# Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
|
||||
#Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
app.server.tomcat.lib.global.dir = C:\\servers\\paesagistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\lib\\ext |
||||
app.server.tomcat.deploy.dir = C:\\servers\\paesagistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps |
||||
app.server.parent.dir = C:\\servers\\paesagistica\\liferay-portal-6.2-ce-ga6-patched6.2.5 |
||||
app.server.tomcat.dir = C:\\servers\\paesagistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62 |
||||
app.server.type = tomcat |
||||
app.server.tomcat.portal.dir = C:\\servers\\paesagistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps\\ROOT |
@ -1,14 +0,0 @@
|
||||
# Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
|
||||
#Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
#Tue Apr 04 17:33:21 CEST 2023 |
||||
app.server.portal.dir = C:\\liferay-sviluppo\\sicilia\\pae\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps\\ROOT |
||||
app.server.parent.dir = C:\\liferay-sviluppo\\sicilia\\pae\\liferay-portal-6.2-ce-ga6-patched6.2.5 |
||||
app.server.lib.global.dir = C:\\liferay-sviluppo\\sicilia\\pae\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\lib\\ext |
||||
app.server.deploy.dir = C:\\liferay-sviluppo\\sicilia\\pae\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps |
||||
app.server.type = tomcat |
||||
app.server.dir = C:\\liferay-sviluppo\\sicilia\\pae\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62 |
||||
app.server.tomcat.dir = C:\\liferay-sviluppo\\sicilia\\pae\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62 |
||||
app.server.tomcat.deploy.dir = C:\\liferay-sviluppo\\sicilia\\pae\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps |
||||
app.server.tomcat.portal.dir = C:\\liferay-sviluppo\\sicilia\\pae\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps\\ROOT |
||||
app.server.tomcat.lib.global.dir = C:\\liferay-sviluppo\\sicilia\\pae\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\lib\\ext |
@ -1,10 +0,0 @@
|
||||
# Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
|
||||
#Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
#Fri Feb 10 15:41:28 CET 2023 |
||||
app.server.tomcat.lib.global.dir = C:\\liferay-sviluppo\\sicilia\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\lib\\ext |
||||
app.server.tomcat.deploy.dir = C:\\liferay-sviluppo\\sicilia\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps |
||||
app.server.parent.dir = C:\\liferay-sviluppo\\sicilia\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5 |
||||
app.server.tomcat.dir = C:\\liferay-sviluppo\\sicilia\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62 |
||||
app.server.type = tomcat |
||||
app.server.tomcat.portal.dir = C:\\liferay-sviluppo\\sicilia\\paesaggistica\\liferay-portal-6.2-ce-ga6-patched6.2.5\\tomcat-7.0.62\\webapps\\ROOT |
@ -1,10 +0,0 @@
|
||||
# Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
|
||||
#Managed by Liferay IDE (remove this comment to prevent future updates) |
||||
#Tue May 19 15:47:40 CEST 2020 |
||||
app.server.tomcat.lib.global.dir = C:/liferay-project/Paesaggistica/liferay-portal-6.2-ce-ga6-patched6.2.5/liferay-portal-6.2-ce-ga6-patched6.2.5/tomcat-7.0.62/lib/ext |
||||
app.server.tomcat.deploy.dir = C:/liferay-project/Paesaggistica/liferay-portal-6.2-ce-ga6-patched6.2.5/liferay-portal-6.2-ce-ga6-patched6.2.5/tomcat-7.0.62/webapps |
||||
app.server.parent.dir = C:/liferay-project/Paesaggistica/liferay-portal-6.2-ce-ga6-patched6.2.5/liferay-portal-6.2-ce-ga6-patched6.2.5 |
||||
app.server.tomcat.dir = C:/liferay-project/Paesaggistica/liferay-portal-6.2-ce-ga6-patched6.2.5/liferay-portal-6.2-ce-ga6-patched6.2.5/tomcat-7.0.62 |
||||
app.server.type = tomcat |
||||
app.server.tomcat.portal.dir = C:/liferay-project/Paesaggistica/liferay-portal-6.2-ce-ga6-patched6.2.5/liferay-portal-6.2-ce-ga6-patched6.2.5/tomcat-7.0.62/webapps/ROOT |
@ -1 +1 @@
|
||||
b2996cd58c16b53d0e5cba6f59304ace |
||||
45b38289274e4397c600a212c5477afa |
||||
|
@ -1 +1 @@
|
||||
edfd9cc2944faf63dd7d39e25283a4b6 |
||||
9e586203944d7fe5baccd02ed7bf20c1 |
||||
|
@ -1 +1 @@
|
||||
a7d8aaa34b7d1028a4d449b5ab8f767e |
||||
cf39082434c04fdd3a9563acce7cb551 |
||||
|
@ -1 +1 @@
|
||||
4b40da73b53b5860b9adbb52cde18473 |
||||
6ad0549f4c64b52b40d871393d72f9aa |
||||
|
File binario non mostrato.
@ -1 +1 @@
|
||||
0b9e4199159f29548166ac11ab8d12c0 |
||||
2aae42c5c43b993944b8c0fe9e31d5fb |
||||
|
@ -1 +1 @@
|
||||
8f22881d5bfb74c587681be94ad54598 |
||||
e1a7d560dfc36faf61c7d7da67bb03df |
||||
|
@ -1 +1 @@
|
||||
4102c750f16136e66085045251a34292 |
||||
f6d028f89713fdbf3004b38da2b16dcf |
||||
|
@ -1 +1 @@
|
||||
f6d022d60b1ed1cc45a21c61c21c8f22 |
||||
3325db6f628a33488c6c832368b134e4 |
||||
|
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
@ -1,7 +0,0 @@
|
||||
eclipse.preferences.version=1 |
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
||||
org.eclipse.jdt.core.compiler.source=1.7 |
@ -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.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"> |
||||
<attributes> |
||||
<attribute name="owner.project.facets" value="java"/> |
||||
</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.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/hook"> |
||||
<attributes> |
||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/> |
||||
</attributes> |
||||
</classpathentry> |
||||
<classpathentry kind="output" path="docroot/WEB-INF/classes"/> |
||||
</classpath> |
@ -1,36 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<projectDescription> |
||||
<name>portos-filter-hook</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> |
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE project> |
||||
|
||||
<project name="portos-filter-hook" basedir="." default="deploy"> |
||||
<import file="../build-common-hook.xml" /> |
||||
</project> |
@ -1,3 +0,0 @@
|
||||
Manifest-Version: 1.0 |
||||
Class-Path: |
||||
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE hook PUBLIC "-//Liferay//DTD Hook 6.2.0//EN" "http://www.liferay.com/dtd/liferay-hook_6_2_0.dtd"> |
||||
|
||||
<hook> |
||||
<servlet-filter> |
||||
<servlet-filter-name>Sample Filter</servlet-filter-name> |
||||
<servlet-filter-impl>it.tref.liferay.portos.filter.PortosAccesFilter</servlet-filter-impl> |
||||
</servlet-filter> |
||||
<servlet-filter-mapping> |
||||
<servlet-filter-name>Sample Filter</servlet-filter-name> |
||||
<url-pattern>/group/control_panel/*</url-pattern> |
||||
<dispatcher>REQUEST</dispatcher> |
||||
<dispatcher>FORWARD</dispatcher> |
||||
</servlet-filter-mapping> |
||||
</hook> |
@ -1,13 +0,0 @@
|
||||
name=Portos Filter |
||||
module-group-id=liferay |
||||
module-incremental-version=1 |
||||
module-version=6.2.0.5 |
||||
tags= |
||||
short-description= |
||||
long-description= |
||||
change-log= |
||||
page-url=http://www.liferay.com |
||||
author=Liferay, Inc. |
||||
licenses=LGPL |
||||
liferay-versions=6.2+ |
||||
liferay-version=6.2.0+ |
@ -1,99 +0,0 @@
|
||||
package it.tref.liferay.portos.filter; |
||||
|
||||
import com.liferay.portal.kernel.log.Log; |
||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
||||
import com.liferay.portal.kernel.util.StringUtil; |
||||
import com.liferay.portal.kernel.util.WebKeys; |
||||
import com.liferay.portal.model.Company; |
||||
import com.liferay.portal.model.Role; |
||||
import com.liferay.portal.model.User; |
||||
import com.liferay.portal.service.RoleLocalServiceUtil; |
||||
import com.liferay.portal.util.PortalUtil; |
||||
|
||||
import java.io.IOException; |
||||
import java.util.List; |
||||
|
||||
import javax.servlet.Filter; |
||||
import javax.servlet.FilterChain; |
||||
import javax.servlet.FilterConfig; |
||||
import javax.servlet.ServletException; |
||||
import javax.servlet.ServletRequest; |
||||
import javax.servlet.ServletResponse; |
||||
import javax.servlet.http.HttpServletRequest; |
||||
import javax.servlet.http.HttpServletResponse; |
||||
|
||||
public class PortosAccesFilter implements Filter { |
||||
final static Log _log = LogFactoryUtil.getLog(PortosAccesFilter.class.getName()); |
||||
|
||||
@Override |
||||
public void destroy() { |
||||
_log.debug("Called destroy()"); |
||||
} |
||||
|
||||
@Override |
||||
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, |
||||
FilterChain filterChain) throws IOException, ServletException { |
||||
HttpServletRequest httpReq = (HttpServletRequest) servletRequest; |
||||
_log.debug("httpReq.getRequestURI()=" + httpReq.getRequestURI()); |
||||
_log.debug("httpReq.getRequestURL()=" + httpReq.getRequestURL()); |
||||
|
||||
String uri = (String) servletRequest.getAttribute(WebKeys.INVOKER_FILTER_URI); |
||||
|
||||
_log.debug("Called SampleFilter.doFilter(" + servletRequest + ", " + servletResponse + ", " + filterChain |
||||
+ ") for URI " + uri); |
||||
HttpServletRequest httpServletRequest = (HttpServletRequest) servletRequest; |
||||
boolean permesso = false; |
||||
boolean permessoRuoli = false; |
||||
try { |
||||
User user = PortalUtil.getUser(httpServletRequest); |
||||
|
||||
if (user != null) { |
||||
List<Role> userRoles = RoleLocalServiceUtil.getUserRoles(user.getUserId()); |
||||
for (int i = 0; i < userRoles.size(); i++) { |
||||
if("Admin publication".equals((userRoles.get(i)).getName())){ |
||||
permessoRuoli=true; |
||||
} |
||||
} |
||||
} |
||||
if ((user == null || (user.isDefaultUser() && !permessoRuoli))) { |
||||
HttpServletResponse httpServletResponse = (HttpServletResponse) servletResponse; |
||||
httpServletResponse.setStatus(403); |
||||
_log.debug("Guest non permesso"); |
||||
return; |
||||
} |
||||
if(httpServletRequest.getParameterMap().containsKey("p_p_id")&& |
||||
!httpServletRequest.getParameterMap().get("p_p_id")[0].isEmpty()&& |
||||
("158".equals( httpServletRequest.getParameterMap().get("p_p_id")[0]))){ |
||||
|
||||
if (user != null && PortalUtil.isCompanyAdmin(user) || permessoRuoli) { |
||||
permesso = true; |
||||
_log.debug("Admin passa il controllo :" + user.getFullName()); |
||||
} |
||||
|
||||
|
||||
if (!permesso) { |
||||
HttpServletResponse httpServletResponse = (HttpServletResponse) servletResponse; |
||||
//RequestLogUtil.createOrUpdateLog(httpReq);
|
||||
httpServletResponse.setStatus(403); |
||||
} else { |
||||
filterChain.doFilter(servletRequest, servletResponse); |
||||
} |
||||
}else { |
||||
filterChain.doFilter(servletRequest, servletResponse); |
||||
} |
||||
} catch (Exception e) { |
||||
_log.error(e, e); |
||||
HttpServletResponse httpServletResponse = (HttpServletResponse) servletResponse; |
||||
if (httpServletResponse.getStatus() != 403) { |
||||
filterChain.doFilter(servletRequest, servletResponse); |
||||
} |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public void init(FilterConfig filterConfig) { |
||||
_log.debug("Called FIXPermissionFilter.init()"); |
||||
|
||||
} |
||||
|
||||
} |
@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<web-app id="WebApp_ID" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> |
||||
</web-app> |
@ -1,7 +0,0 @@
|
||||
eclipse.preferences.version=1 |
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
||||
org.eclipse.jdt.core.compiler.source=1.7 |
@ -1 +1 @@
|
||||
db650d63ad964c1897f8af97aac0e727 |
||||
2c267788e15963b22e4e720e12f5611c |
||||
|
@ -1 +1 @@
|
||||
8e943594b3e1f97e457b967864997dc5 |
||||
ae2292c03b059802eec34967b7e85b8a |
||||
|
@ -1,7 +0,0 @@
|
||||
eclipse.preferences.version=1 |
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
||||
org.eclipse.jdt.core.compiler.source=1.7 |
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> |
||||
<wb-module deploy-name="portos-accesso-atti-portlet"> |
||||
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/> |
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/> |
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/service"/> |
||||
<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-accesso-atti-portlet"/> |
||||
<property name="java-output-path" value="/portos-accesso-atti-portlet/docroot/WEB-INF/classes"/> |
||||
</wb-module> |
||||
</project-modules> |
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
@ -1 +1 @@
|
||||
c730f302e3c8f650a807fe624894d9ea |
||||
987c468ab803b131a7ff0c2ece8911b3 |
||||
|
@ -1,18 +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"/> |
||||
<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"> |
||||
<attributes> |
||||
<attribute name="owner.project.facets" value="java"/> |
||||
</attributes> |
||||
</classpathentry> |
||||
<classpathentry kind="output" path="docroot/WEB-INF/classes"/> |
||||
</classpath> |
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<projectDescription> |
||||
<name>portos-advanced-operation-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> |
||||
<nature>org.apache.ivyde.eclipse.ivynature</nature> |
||||
</natures> |
||||
<filteredResources> |
||||
<filter> |
||||
<id>1677484993608</id> |
||||
<name></name> |
||||
<type>30</type> |
||||
<matcher> |
||||
<id>org.eclipse.core.resources.regexFilterMatcher</id> |
||||
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> |
||||
</matcher> |
||||
</filter> |
||||
</filteredResources> |
||||
</projectDescription> |
@ -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> |
@ -1,7 +0,0 @@
|
||||
eclipse.preferences.version=1 |
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
||||
org.eclipse.jdt.core.compiler.source=1.7 |
@ -1,3 +0,0 @@
|
||||
eclipse.preferences.version=1 |
||||
validateFragments=false |
||||
validation.use-project-settings=true |
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> |
||||
<wb-module deploy-name="portos-advanced-operation-portlet"> |
||||
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/> |
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/> |
||||
<property name="context-root" value="portos-advanced-operation-portlet"/> |
||||
<property name="java-output-path" value="/portos-advanced-operation-portlet/docroot/WEB-INF/classes"/> |
||||
</wb-module> |
||||
</project-modules> |
@ -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> |
@ -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="java" version="1.7"/> |
||||
<installed facet="jst.web" version="3.0"/> |
||||
<installed facet="liferay.portlet" version="6.0"/> |
||||
<installed facet="wst.jsdt.web" version="1.0"/> |
||||
</faceted-project> |
@ -1 +0,0 @@
|
||||
org.eclipse.wst.jsdt.launching.baseBrowserLibrary |
@ -1 +0,0 @@
|
||||
Window |
@ -1 +0,0 @@
|
||||
{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]} |
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE project> |
||||
|
||||
<project name="portos-advanced-operation-portlet" basedir="." default="deploy"> |
||||
<property name="import.shared" value="portos-bo-shared,portos-kaleo-shared" /> |
||||
<import file="../build-common-portlet.xml" /> |
||||
</project> |
@ -1,3 +0,0 @@
|
||||
Manifest-Version: 1.0 |
||||
Class-Path: |
||||
|
@ -1 +0,0 @@
|
||||
/classes/ |
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
@ -1,10 +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"> |
||||
<category name="category.advancedoperation"> |
||||
<portlet id="1" /> |
||||
</category> |
||||
</category> |
||||
</display> |
@ -1,18 +0,0 @@
|
||||
name=Portos Advanced Operation |
||||
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+ |
||||
portal-dependency-jars=\ |
||||
jstl-api.jar,\ |
||||
jstl-impl.jar |
||||
portal-dependency-tlds=\ |
||||
c.tld |
||||
required-deployment-contexts=\ |
||||
portos-bo-portlet |
@ -1,32 +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> |
||||
<control-panel-entry-category> |
||||
configuration |
||||
</control-panel-entry-category> |
||||
<control-panel-entry-weight>1.6</control-panel-entry-weight> |
||||
<header-portlet-css>/css/main.css</header-portlet-css> |
||||
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript> |
||||
<css-class-wrapper>portos-advanced-operation-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> |
@ -1,35 +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>Portos Advanced Operation</display-name> |
||||
<portlet-class>it.nextmind.liferay.portos.advanced.operation.portlet.AdvancedOperationPortlet</portlet-class> |
||||
<init-param> |
||||
<name>view-template</name> |
||||
<value>/html/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>Portos Advanced Operation</title> |
||||
<short-title>Portos Advanced Operation</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> |
@ -1,249 +0,0 @@
|
||||
package it.nextmind.liferay.portos.advanced.operation.portlet; |
||||
|
||||
import com.liferay.portal.kernel.exception.PortalException; |
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
import com.liferay.portal.kernel.log.Log; |
||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
||||
import com.liferay.portal.kernel.servlet.SessionErrors; |
||||
import com.liferay.portal.kernel.util.ParamUtil; |
||||
import com.liferay.portal.kernel.util.Validator; |
||||
import com.liferay.portal.kernel.util.WebKeys; |
||||
import com.liferay.portal.kernel.workflow.WorkflowConstants; |
||||
import com.liferay.portal.kernel.workflow.WorkflowTask; |
||||
import com.liferay.portal.service.UserLocalServiceUtil; |
||||
import com.liferay.portal.theme.ThemeDisplay; |
||||
import com.liferay.portal.util.PortalUtil; |
||||
import com.liferay.util.bridges.mvc.MVCPortlet; |
||||
|
||||
import it.nextmind.liferay.portos.advanced.operation.util.AdvancedOperationUtil; |
||||
import it.tref.liferay.portos.bo.model.ControlloPratica; |
||||
import it.tref.liferay.portos.bo.model.DettPratica; |
||||
import it.tref.liferay.portos.bo.model.DocPratica; |
||||
import it.tref.liferay.portos.bo.model.IntPratica; |
||||
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.util.WorkflowUtil; |
||||
|
||||
import java.util.List; |
||||
|
||||
import javax.portlet.ActionRequest; |
||||
import javax.portlet.ActionResponse; |
||||
|
||||
public class AdvancedOperationPortlet extends MVCPortlet { |
||||
private static class Privati { |
||||
|
||||
static void checkIfUserIsCompanyAdmin(ActionRequest actionRequest) throws Exception{ |
||||
ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); |
||||
if(!PortalUtil.isCompanyAdmin(themeDisplay.getUser())){ |
||||
SessionErrors.add(actionRequest, "operazione-non-permessa"); |
||||
throw new Exception("Action permitted to CompanyAdmins only"); |
||||
} |
||||
} |
||||
|
||||
static void ripristinaPratica(IntPratica intPratica, int status) throws PortalException, SystemException{ |
||||
long docPraticaAnnullamentoId = intPratica.getDocPraticaAnnullamentoId(); |
||||
IntPraticaLocalServiceUtil.deleteFileAnnullamento(docPraticaAnnullamentoId); |
||||
IntPraticaLocalServiceUtil.updateStatus(intPratica.getIntPraticaId(), status); |
||||
} |
||||
|
||||
} |
||||
|
||||
// @Override
|
||||
// public void serveResource(ResourceRequest resourceRequest,
|
||||
// ResourceResponse resourceResponse) throws IOException,
|
||||
// PortletException {
|
||||
//
|
||||
// String id = resourceRequest.getResourceID();
|
||||
// if ("brokenUO".equals(id)) {
|
||||
// List<IntPratica> brokenUOList = AdvancedOperationUtil.getBrokenUOList();
|
||||
//
|
||||
// JSONArray jsonArray = JSONFactoryUtil.createJSONArray();
|
||||
// for(IntPratica intPratica : brokenUOList){
|
||||
// JSONObject jsonObject = JSONFactoryUtil.createJSONObject();
|
||||
// jsonObject.put("id", intPratica.getIntPraticaId());
|
||||
// jsonObject.put("UO", intPratica.getUnitaOperativa());
|
||||
// jsonObject.put("destUO", AdvancedOperationUtil.getDestinationUO(intPratica));
|
||||
// jsonArray.put(jsonObject);
|
||||
// }
|
||||
// writeJSON(resourceRequest, resourceResponse, jsonArray);
|
||||
// }
|
||||
// }
|
||||
|
||||
public void fixUserID(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{ |
||||
|
||||
Privati.checkIfUserIsCompanyAdmin(actionRequest); |
||||
|
||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L); |
||||
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
||||
|
||||
if(!AdvancedOperationUtil.evalInt_Dett_UserID(intPratica)){ |
||||
DettPratica dettPratica = DettPraticaLocalServiceUtil.getLastEditableByIntPratica(intPratica.getIntPraticaId()); |
||||
if(Validator.isNotNull(dettPratica)){ |
||||
long userId = intPratica.getUserId(); |
||||
dettPratica.setUserId(userId); |
||||
dettPratica.setUserName(UserLocalServiceUtil.getUser(userId).getScreenName()); |
||||
DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); |
||||
} |
||||
} |
||||
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPraticaId)); |
||||
} |
||||
|
||||
public void reindexPratica(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{ |
||||
|
||||
Privati.checkIfUserIsCompanyAdmin(actionRequest); |
||||
|
||||
ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); |
||||
|
||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", 0L); |
||||
if (intPraticaId != 0L) { |
||||
_log.info("AdvancedOperationPortlet --- Reindexing fascicolo of IntPraticaId " + intPraticaId); |
||||
IntPraticaLocalServiceUtil.reIndexFasciolo(intPraticaId, themeDisplay.getCompanyId()); |
||||
} |
||||
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPraticaId)); |
||||
} |
||||
|
||||
public void fixStatusPratica(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{ |
||||
|
||||
Privati.checkIfUserIsCompanyAdmin(actionRequest); |
||||
|
||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L); |
||||
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
||||
|
||||
if(WorkflowConstants.STATUS_DRAFT == intPratica.getStatus()){ |
||||
IntPraticaLocalServiceUtil.updateStatus(intPraticaId, WorkflowConstants.STATUS_PENDING); |
||||
} else { |
||||
SessionErrors.add(actionRequest, "operazione-impossibile"); |
||||
} |
||||
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPraticaId)); |
||||
} |
||||
|
||||
public void cambiaIstruttore(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{ |
||||
ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); |
||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L); |
||||
long istruttoreId = ParamUtil.getLong(actionRequest, "istruttoreId", -1L); |
||||
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
||||
WorkflowTask lastTask = AdvancedOperationUtil.getLastTask(intPratica); |
||||
if (lastTask != null && lastTask.getName().equalsIgnoreCase("Esito")) { |
||||
List<ControlloPratica> controlloPraticas = ControlloPraticaLocalServiceUtil.findByIntPratica(intPratica.getIntPraticaId()); |
||||
if(!controlloPraticas.isEmpty()){ |
||||
for(ControlloPratica controlloPratica : controlloPraticas){ |
||||
if(controlloPratica.getStatus() == WorkflowConstants.STATUS_PENDING){ |
||||
WorkflowUtil.assegnaUltimoTask(intPratica.getCompanyId(), intPratica.getGroupId(), |
||||
istruttoreId, themeDisplay.getUserId(), controlloPratica); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPraticaId)); |
||||
} |
||||
|
||||
public void fixUO(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{ |
||||
|
||||
Privati.checkIfUserIsCompanyAdmin(actionRequest); |
||||
|
||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L); |
||||
_log.info("intPraticaId: "+intPraticaId); |
||||
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
||||
int destinationUO = AdvancedOperationUtil.getDestinationUO(intPratica); |
||||
_log.info("intPratica uo: "+intPratica.getUnitaOperativa()); |
||||
if (AdvancedOperationUtil.evalUO(intPratica)) { |
||||
_setUO(intPratica, destinationUO); |
||||
} |
||||
_log.info("intPratica uo: "+intPratica.getUnitaOperativa()); |
||||
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPraticaId)); |
||||
} |
||||
|
||||
private void _setUO(IntPratica intPratica, int uo) throws SystemException, PortalException{ |
||||
_log.info("uo: "+uo); |
||||
intPratica.setUnitaOperativa(uo); |
||||
IntPraticaLocalServiceUtil.updateIntPratica(intPratica); |
||||
|
||||
IntPraticaLocalServiceUtil.reIndexFasciolo(intPratica.getIntPraticaId(), intPratica.getCompanyId()); |
||||
|
||||
// Indexer intPraticaIndexer = IndexerRegistryUtil.getIndexer(IntPratica.class);
|
||||
// intPraticaIndexer.reindex(intPratica);
|
||||
// Indexer controlloPraticaIndexer = IndexerRegistryUtil.getIndexer(ControlloPratica.class);
|
||||
// List<ControlloPratica> controlloPraticas = ControlloPraticaLocalServiceUtil.findByIntPratica(intPratica.getIntPraticaId());
|
||||
// if(!controlloPraticas.isEmpty()){
|
||||
// for(ControlloPratica controlloPratica : controlloPraticas){
|
||||
// if(controlloPratica.getStatus() == WorkflowConstants.STATUS_PENDING){
|
||||
// controlloPraticaIndexer.reindex(intPratica);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
} |
||||
|
||||
public void ripristinaPraticaVidimata(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{ |
||||
|
||||
Privati.checkIfUserIsCompanyAdmin(actionRequest); |
||||
|
||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L); |
||||
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
||||
|
||||
if(WorkflowConstants.STATUS_INCOMPLETE == intPratica.getStatus()){ |
||||
Privati.ripristinaPratica(intPratica, WorkflowConstants.STATUS_DRAFT); |
||||
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPraticaId)); |
||||
} else { |
||||
SessionErrors.add(actionRequest, "operazione-impossibile"); |
||||
throw new Exception("This Pratica is not in status=5, action RIPRISTINA is not available"); |
||||
} |
||||
} |
||||
|
||||
public void ripristinaPraticaConforme(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{ |
||||
|
||||
Privati.checkIfUserIsCompanyAdmin(actionRequest); |
||||
|
||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L); |
||||
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
||||
|
||||
if(WorkflowConstants.STATUS_INCOMPLETE == intPratica.getStatus()){ |
||||
Privati.ripristinaPratica(intPratica, WorkflowConstants.STATUS_APPROVED); |
||||
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPraticaId)); |
||||
} else { |
||||
SessionErrors.add(actionRequest, "operazione-impossibile"); |
||||
throw new Exception("This Pratica is not in status=5, action RIPRISTINA is not available"); |
||||
} |
||||
} |
||||
|
||||
public void deleteDocPratica(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{ |
||||
|
||||
Privati.checkIfUserIsCompanyAdmin(actionRequest); |
||||
|
||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L); |
||||
|
||||
List<DocPratica> docPraticaOrfani = AdvancedOperationUtil.getDocPraticaOrfani(intPraticaId); |
||||
for(DocPratica docPratica : docPraticaOrfani){ |
||||
DocPraticaLocalServiceUtil.deleteDocPratica(docPratica); |
||||
} |
||||
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPraticaId)); |
||||
} |
||||
|
||||
public void findIntPratica(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{ |
||||
|
||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L); |
||||
String numeroProgetto = ParamUtil.getString(actionRequest, "numeroProgetto", ""); |
||||
|
||||
IntPratica intPratica = null; |
||||
|
||||
if(intPraticaId != -1L){ |
||||
intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
||||
} else { |
||||
intPratica = IntPraticaLocalServiceUtil.findByNumeroProgetto(numeroProgetto); |
||||
} |
||||
|
||||
if(Validator.isNotNull(intPratica)){ |
||||
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPratica.getIntPraticaId())); |
||||
} else { |
||||
SessionErrors.add(actionRequest, "nessuna-pratica-trovata"); |
||||
PortalUtil.copyRequestParameters(actionRequest, actionResponse); |
||||
} |
||||
} |
||||
|
||||
public void correggiBug(ActionRequest actionRequest, ActionResponse actionResponse) { |
||||
|
||||
} |
||||
|
||||
private static final Log _log = LogFactoryUtil.getLog(AdvancedOperationUtil.class); |
||||
} |
@ -1,300 +0,0 @@
|
||||
package it.nextmind.liferay.portos.advanced.operation.util; |
||||
|
||||
import com.liferay.portal.kernel.dao.orm.QueryUtil; |
||||
import com.liferay.portal.kernel.exception.PortalException; |
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
import com.liferay.portal.kernel.log.Log; |
||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
||||
import com.liferay.portal.kernel.util.Validator; |
||||
import com.liferay.portal.kernel.workflow.WorkflowConstants; |
||||
import com.liferay.portal.kernel.workflow.WorkflowTask; |
||||
import com.liferay.portal.kernel.workflow.WorkflowTaskManagerUtil; |
||||
import com.liferay.portal.model.User; |
||||
import com.liferay.portal.model.WorkflowInstanceLink; |
||||
import com.liferay.portal.service.UserLocalServiceUtil; |
||||
import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil; |
||||
|
||||
import it.mwg.sismica.bo.shared.util.UserUtil; |
||||
import it.tref.liferay.portos.bo.model.ControlloPratica; |
||||
import it.tref.liferay.portos.bo.model.DettPratica; |
||||
import it.tref.liferay.portos.bo.model.DocPratica; |
||||
import it.tref.liferay.portos.bo.model.IntPratica; |
||||
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants; |
||||
import it.tref.liferay.portos.bo.util.WorkflowUtil; |
||||
|
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
import java.util.SortedSet; |
||||
|
||||
public class AdvancedOperationUtil { |
||||
private static class P_ { |
||||
static boolean e(Exception ex) { |
||||
return !nl(ex); |
||||
} |
||||
static boolean nl(Object o) { |
||||
return Validator.isNull(o); |
||||
} |
||||
static |
||||
TupleIntPratica fetchIntPratica(long intPraticaId) { |
||||
IntPratica ip = null; |
||||
Exception ex = null; |
||||
try { |
||||
ip = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
||||
} catch (Exception e) { |
||||
ex = e; |
||||
} |
||||
if (e(ex)) handleIntPraticaErr(ex); |
||||
return new TupleIntPratica(ip, ex); |
||||
} |
||||
static void handleIntPraticaErr(Exception ex) { |
||||
_log.error(ex,ex); |
||||
} |
||||
static |
||||
TupleDocPraticaList findByIntPraticaList(long intPraticaId) { |
||||
List<DocPratica> dpl = new ArrayList<DocPratica>(); |
||||
Exception ex = null; |
||||
try { |
||||
dpl = DocPraticaLocalServiceUtil.findByIntPratica(intPraticaId); |
||||
} catch (Exception e) { |
||||
ex = e; |
||||
} |
||||
if (e(ex)) handleDocPraticaListErr(ex); |
||||
return new TupleDocPraticaList(dpl, ex); |
||||
} |
||||
static void handleDocPraticaListErr(Exception ex) { |
||||
_log.error(ex,ex); |
||||
} |
||||
|
||||
static List<DettPratica> getDettPraticaList(long intPraticaId){ |
||||
List<DettPratica> dettPraticaList = new ArrayList<DettPratica>(); |
||||
|
||||
try { |
||||
dettPraticaList = DettPraticaLocalServiceUtil.findByIntPraticaId(intPraticaId); |
||||
} catch (SystemException e) { |
||||
_log.error(e,e); |
||||
} |
||||
|
||||
return dettPraticaList; |
||||
} |
||||
} |
||||
static class TupleIntPratica { |
||||
IntPratica rs; Exception er; |
||||
TupleIntPratica(IntPratica ip, Exception ex) {rs=ip;er=ex;} |
||||
} |
||||
static class TupleDocPraticaList { |
||||
List<DocPratica> rs; Exception er; |
||||
TupleDocPraticaList(List<DocPratica> dpl, Exception ex) {rs=dpl;er=ex;} |
||||
} |
||||
|
||||
public static boolean isPraticaAnnullata(IntPratica intPratica){ |
||||
if(Validator.isNotNull(intPratica)){ |
||||
return WorkflowConstants.STATUS_INACTIVE == intPratica.getStatus(); |
||||
} |
||||
return false; |
||||
} |
||||
|
||||
public static List<DocPratica> getDocPraticaOrfani(long intPraticaId) { |
||||
TupleIntPratica intPratica = P_.fetchIntPratica(intPraticaId); |
||||
if (P_.nl(intPratica.er) && P_.nl(intPratica.rs)) { |
||||
TupleDocPraticaList docPraticaList = P_.findByIntPraticaList(intPraticaId); |
||||
if (P_.nl(docPraticaList.er)) |
||||
return docPraticaList.rs; |
||||
} |
||||
return new ArrayList<DocPratica>(); |
||||
} |
||||
|
||||
public static boolean hasDettPratica(long intPraticaId){ |
||||
|
||||
return !P_.getDettPraticaList(intPraticaId).isEmpty(); |
||||
} |
||||
|
||||
public static boolean evalInt_Dett_UserID(IntPratica intPratica){ |
||||
_log.info("lastDettPraticaUserID: "+getLastDettPraticaUserID(intPratica)+" || intPraticaUserID: "+intPratica.getUserId()); |
||||
return getLastDettPraticaUserID(intPratica) == intPratica.getUserId(); |
||||
} |
||||
|
||||
public static long getLastDettPraticaUserID(IntPratica intPratica){ |
||||
try { |
||||
DettPratica dettPratica = DettPraticaLocalServiceUtil.getLastEditableByIntPratica(intPratica.getIntPraticaId()); |
||||
if(Validator.isNotNull(dettPratica)){ |
||||
return dettPratica.getUserId(); |
||||
} |
||||
} catch (SystemException e){ |
||||
_log.error(e,e); |
||||
} |
||||
return intPratica.getUserId(); |
||||
} |
||||
|
||||
// public static boolean getNormLavoriInProprioFlag(long intPraticaId){
|
||||
// List<DettPratica> dettPraticaList = P_.getDettPraticaList(intPraticaId);
|
||||
// if(!dettPraticaList.isEmpty()){
|
||||
// return dettPraticaList.get(0).getNormLavoriInProprio();
|
||||
// }
|
||||
// return false;
|
||||
// }
|
||||
|
||||
private static List<DettPratica> _getDettPraticaList(long intPraticaId){ |
||||
List<DettPratica> dettPraticaList = new ArrayList<DettPratica>(); |
||||
|
||||
try { |
||||
dettPraticaList = DettPraticaLocalServiceUtil.findByIntPraticaId(intPraticaId); |
||||
} catch (SystemException e) { |
||||
_log.error(e,e); |
||||
} |
||||
|
||||
return dettPraticaList; |
||||
} |
||||
|
||||
public static String getLavoriInEconomiaBtnLabel(boolean normLavoriInProprioFlag){ |
||||
return normLavoriInProprioFlag ? "Rimuovi flag normLavoriInProprio" : "Aggiungi flag normLavoriInProprio"; |
||||
} |
||||
|
||||
public static boolean isStatoPraticaIN(IntPratica intPratica){ |
||||
if(Validator.isNotNull(intPratica)){ |
||||
return "IN".equals(intPratica.getStatoPratica()); |
||||
} |
||||
return false; |
||||
} |
||||
|
||||
public static boolean isNotWorkflowManuallyStarted(IntPratica intPratica){ |
||||
switch (intPratica.getStatoPratica()) { |
||||
case StatoPraticaConstants.VIDIMATA : |
||||
case StatoPraticaConstants.AUTORIZZATA: |
||||
case StatoPraticaConstants.CONFORME: |
||||
return true; |
||||
default: |
||||
return false; |
||||
} |
||||
} |
||||
|
||||
public static List<WorkflowTask> getListaTask(IntPratica intPratica) { |
||||
if(Validator.isNull(intPratica)){ |
||||
return null; |
||||
} |
||||
try { |
||||
ControlloPratica controlloPratica = null; |
||||
List<ControlloPratica> controlloPraticaList = |
||||
ControlloPraticaLocalServiceUtil.findByIntPraticaId_Status(intPratica.getIntPraticaId(), intPratica.getStatus()); |
||||
if(controlloPraticaList.size() > 1){ |
||||
for(ControlloPratica cp : controlloPraticaList){ |
||||
if(Validator.isNull(controlloPratica) || cp.getCreateDate().after(controlloPratica.getCreateDate())) { |
||||
controlloPratica = cp; |
||||
} |
||||
} |
||||
} else if(controlloPraticaList.size() == 1){ |
||||
controlloPratica = controlloPraticaList.get(0); |
||||
} else { |
||||
return null; |
||||
} |
||||
WorkflowInstanceLink workflowInstanceLink = WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink( |
||||
controlloPratica.getCompanyId(),controlloPratica.getGroupId(), ControlloPratica.class.getName(), |
||||
controlloPratica.getPrimaryKey()); |
||||
List<WorkflowTask> listaTask = null; |
||||
if (workflowInstanceLink == null) { |
||||
return null; |
||||
} else { |
||||
return listaTask = WorkflowTaskManagerUtil.getWorkflowTasksByWorkflowInstance(controlloPratica.getCompanyId(), null, |
||||
workflowInstanceLink.getWorkflowInstanceId(), false, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); |
||||
} |
||||
} catch (SystemException | PortalException e){ |
||||
_log.error(e,e); |
||||
return null; |
||||
} |
||||
} |
||||
|
||||
public static long getCurrentAssignee(IntPratica intPratica){ |
||||
long currentAssignee = 0; |
||||
WorkflowTask lastTask = getLastTask(intPratica); |
||||
if(Validator.isNotNull(lastTask)){ |
||||
if(it.mwg.sismica.bo.shared.util.WorkflowConstants.WORKFLOW_TASKNAME_ESITO.equalsIgnoreCase(lastTask.getName())){ |
||||
currentAssignee = lastTask.getAssigneeUserId(); |
||||
} |
||||
} |
||||
return currentAssignee; |
||||
} |
||||
|
||||
public static WorkflowTask getLastTask(IntPratica intPratica){ |
||||
if(Validator.isNotNull(intPratica)){ |
||||
try { |
||||
List<ControlloPratica> controlloPraticas = ControlloPraticaLocalServiceUtil.findByIntPratica(intPratica.getIntPraticaId()); |
||||
if(!controlloPraticas.isEmpty()){ |
||||
for(ControlloPratica controlloPratica : controlloPraticas){ |
||||
if(controlloPratica.getStatus() == WorkflowConstants.STATUS_PENDING){ |
||||
return WorkflowUtil.getLastTask(controlloPratica.getCompanyId(), |
||||
controlloPratica.getGroupId(), null, controlloPratica); |
||||
} |
||||
} |
||||
} |
||||
}catch (SystemException | PortalException e){ |
||||
_log.error(e,e); |
||||
} |
||||
} |
||||
return null; |
||||
} |
||||
|
||||
public static List<IntPratica> getBrokenUOList(){ |
||||
List<IntPratica> brokenUoList = new ArrayList<IntPratica>(); |
||||
try { |
||||
List<IntPratica> intPraticasList = IntPraticaLocalServiceUtil.getIntPraticas(QueryUtil.ALL_POS, QueryUtil.ALL_POS); |
||||
|
||||
for(IntPratica intPratica : intPraticasList){ |
||||
if(evalUO(intPratica)){ |
||||
brokenUoList.add(intPratica); |
||||
} |
||||
} |
||||
} catch (SystemException e) { |
||||
_log.error(e,e); |
||||
} |
||||
return brokenUoList; |
||||
} |
||||
|
||||
public static boolean evalCurrentAssignee(IntPratica intPratica, User tecnico){ |
||||
WorkflowTask lastTask = getLastTask(intPratica); |
||||
if(Validator.isNotNull(lastTask) && lastTask.getName().equalsIgnoreCase("Esito")){ |
||||
return tecnico.getUserId() != lastTask.getAssigneeUserId() || lastTask.getAssigneeUserId() == 0; |
||||
} |
||||
return false; |
||||
} |
||||
|
||||
public static boolean evalUO(IntPratica intPratica){ |
||||
int uo = intPratica.getUnitaOperativa(); |
||||
SortedSet<Integer> istruttoreUOs = getIstruttoreUOs(intPratica); |
||||
if(Validator.isNotNull(istruttoreUOs)){ |
||||
return getDestinationUO(intPratica) != uo; |
||||
} |
||||
return false; |
||||
} |
||||
|
||||
public static int getDestinationUO(IntPratica intPratica){ |
||||
int destination = 0; |
||||
SortedSet<Integer> istruttoreUOs = getIstruttoreUOs(intPratica); |
||||
if(Validator.isNotNull(istruttoreUOs)){ |
||||
for(int uo : istruttoreUOs){ |
||||
if (uo > destination) { |
||||
destination = uo; |
||||
} |
||||
} |
||||
} |
||||
return destination; |
||||
} |
||||
|
||||
public static SortedSet<Integer> getIstruttoreUOs(IntPratica intPratica){ |
||||
try { |
||||
User tecnicoIstruttore = UserLocalServiceUtil.fetchUser(intPratica.getStatusByUserId()); |
||||
if(Validator.isNotNull(tecnicoIstruttore) && -1 != tecnicoIstruttore.getUserId()){ |
||||
return UserUtil.getUnitaOperative(tecnicoIstruttore); |
||||
} |
||||
} catch (SystemException e) { |
||||
_log.error("AOP ==> Error while analyzing IntPratica: " + intPratica.getIntPraticaId()); |
||||
_log.error(e,e); |
||||
} |
||||
return null; |
||||
} |
||||
|
||||
private static final Log _log = LogFactoryUtil.getLog(AdvancedOperationUtil.class); |
||||
|
||||
} |
@ -1,139 +0,0 @@
|
||||
package it.nextmind.liferay.portos.advanced.operation.util; |
||||
|
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
import com.liferay.portal.kernel.log.Log; |
||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
||||
import com.liferay.portal.kernel.search.BooleanClauseOccur; |
||||
import com.liferay.portal.kernel.search.BooleanQuery; |
||||
import com.liferay.portal.kernel.search.BooleanQueryFactoryUtil; |
||||
import com.liferay.portal.kernel.search.Field; |
||||
import com.liferay.portal.kernel.search.Hits; |
||||
import com.liferay.portal.kernel.search.ParseException; |
||||
import com.liferay.portal.kernel.search.SearchContext; |
||||
import com.liferay.portal.kernel.search.SearchContextFactory; |
||||
import com.liferay.portal.kernel.search.SearchEngineUtil; |
||||
import com.liferay.portal.kernel.search.SearchException; |
||||
import com.liferay.portal.kernel.search.Sort; |
||||
import com.liferay.portal.kernel.search.TermQuery; |
||||
import com.liferay.portal.kernel.search.TermQueryFactoryUtil; |
||||
import com.liferay.portal.kernel.util.FastDateFormatFactoryUtil; |
||||
import com.liferay.portal.kernel.util.GetterUtil; |
||||
import com.liferay.portal.kernel.util.ParamUtil; |
||||
import com.liferay.portal.kernel.util.PropsKeys; |
||||
import com.liferay.portal.kernel.util.PropsUtil; |
||||
import com.liferay.portal.kernel.util.Validator; |
||||
import com.liferay.portal.kernel.workflow.WorkflowConstants; |
||||
|
||||
import it.mwg.sismica.bo.shared.util.IndexField; |
||||
import it.tref.liferay.portos.bo.model.ControlloPratica; |
||||
|
||||
import java.text.DateFormat; |
||||
import java.text.Format; |
||||
import java.text.SimpleDateFormat; |
||||
import java.util.Arrays; |
||||
import java.util.List; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
|
||||
public class ControlloPraticaSearch { |
||||
|
||||
private static final Log _log = LogFactoryUtil.getLog(ControlloPraticaSearch.class); |
||||
|
||||
public static final Format DATE_FORMAT_LUCENE = FastDateFormatFactoryUtil.getSimpleDateFormat("yyyyMMdd"); |
||||
|
||||
public static final DateFormat DATE_FORMAT_STRING = new SimpleDateFormat("dd/MM/yyyy"); |
||||
|
||||
public static Hits searchFixBug(HttpServletRequest request,int start, int end) { |
||||
|
||||
SearchContext searchContext = SearchContextFactory.getInstance(request); |
||||
boolean searchForExport = ParamUtil.getBoolean(request, "searchForExport", false); |
||||
if (searchForExport) { |
||||
int maxEnd = GetterUtil.getInteger(PropsUtil.get(PropsKeys.INDEX_FILTER_SEARCH_LIMIT)); |
||||
searchContext.setStart(0); |
||||
searchContext.setEnd(maxEnd); |
||||
searchContext.setAttribute("paginationType", "none"); |
||||
} else { |
||||
searchContext.setAttribute("paginationType", "more"); |
||||
searchContext.setStart(start); |
||||
searchContext.setEnd(end); |
||||
} |
||||
// Gestione Ordinamento
|
||||
searchContext.setSorts(getOrderedQuery(request)); |
||||
Hits hits = null; |
||||
try { |
||||
BooleanQuery query = BooleanQueryFactoryUtil.create(searchContext); |
||||
// Condizioni necessarie per questa ricerca: entryClassName=ControlloPratica & roleIds non e tra i
|
||||
// taskAssigneeIds userId non e tra taskAssigneeId
|
||||
TermQuery term = TermQueryFactoryUtil.create(searchContext, Field.ENTRY_CLASS_NAME, |
||||
ControlloPratica.class.getName()); |
||||
query.add(term, BooleanClauseOccur.MUST); |
||||
|
||||
BooleanQuery subQuery = BooleanQueryFactoryUtil.create(searchContext); |
||||
if (subQuery.clauses().size() > 0) { |
||||
query.add(subQuery, BooleanClauseOccur.MUST_NOT); |
||||
} |
||||
term = TermQueryFactoryUtil.create(searchContext, IndexField.STATUS, WorkflowConstants.STATUS_PENDING); |
||||
query.add(term, BooleanClauseOccur.MUST); |
||||
// Ricavo i groupId relativi all utente che effettua la ricerca per filtrare
|
||||
subQuery = BooleanQueryFactoryUtil.create(searchContext); |
||||
// Condizioni aggiuntive
|
||||
query(query, searchContext); |
||||
hits = SearchEngineUtil.search(searchContext, query); |
||||
logResults(query, hits); |
||||
} catch (ParseException | SearchException e) { |
||||
_log.error(e, e); |
||||
} |
||||
return hits; |
||||
} |
||||
|
||||
protected static void logResults(BooleanQuery query, Hits hits) { |
||||
|
||||
if (_log.isDebugEnabled()) { |
||||
_log.debug(query + " --- " + hits.getLength()); |
||||
} |
||||
} |
||||
|
||||
private static void query(BooleanQuery query, SearchContext searchContext) throws ParseException { |
||||
|
||||
|
||||
String task = "signal_cittadino"; |
||||
|
||||
TermQuery term = TermQueryFactoryUtil.create(searchContext, IndexField.TASK, task); |
||||
|
||||
query.add(term, BooleanClauseOccur.MUST_NOT); |
||||
|
||||
String statoPratica = "IN"; |
||||
|
||||
term = TermQueryFactoryUtil.create(searchContext, IndexField.STATO_PRATICA, statoPratica); |
||||
query.add(term, BooleanClauseOccur.MUST); |
||||
} |
||||
|
||||
public static List<String> getFields() { |
||||
|
||||
return Arrays.asList(IndexField.NUMERO_PROGETTO, IndexField.TIPO_PROCEDURA, IndexField.CODICE_PROVINCIA, |
||||
IndexField.COMUNE_ID, IndexField.TITOLARE, IndexField.ISTRUTTORE, IndexField.ISTRUTTORE_ID, |
||||
IndexField.COMMITTENTE, IndexField.SOGGETTO, IndexField.UNITA_OPERATIVA, IndexField.GEOLOGO_ID, |
||||
IndexField.PARERI_FORNITI, IndexField.TASK, IndexField.DATA_RICHIESTA_DA, IndexField.DATA_RICHIESTA_A, |
||||
IndexField.DATA_ESITO_DA, IndexField.DATA_ESITO_A, IndexField.STATO_PRATICA); |
||||
} |
||||
|
||||
protected static Sort[] getOrderedQuery(HttpServletRequest request) { |
||||
|
||||
Sort[] sortes = new Sort[1]; |
||||
String orderField = ParamUtil.getString(request, "orderByCol", "numeroProgetto"); |
||||
String orderType = ParamUtil.getString(request, "orderByType", "dec"); |
||||
sortes[0] = new Sort(); |
||||
if (Validator.isNotNull(orderField)) { |
||||
sortes[0].setFieldName(orderField + "_sortable"); |
||||
} |
||||
switch (orderField) { |
||||
case IndexField.NUMERO_PROGETTO: |
||||
sortes[0].setType(Sort.LONG_TYPE); |
||||
break; |
||||
default: |
||||
sortes[0].setType(Sort.STRING_TYPE); |
||||
} |
||||
sortes[0].setReverse(!"asc".equals(orderType)); |
||||
return sortes; |
||||
} |
||||
} |
@ -1,37 +0,0 @@
|
||||
package it.nextmind.liferay.portos.advanced.operation.util; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
@SuppressWarnings("serial") |
||||
public class IndexField implements Serializable { |
||||
|
||||
public static final String CODICE_PROVINCIA = "codiceProvincia"; |
||||
public static final String COMMITTENTE = "committente"; |
||||
public static final String COMUNE_ID = "comuneId"; |
||||
public static final String CONTROLLO_PRATICA_ID = "controlloPraticaId"; |
||||
public static final String DATA_ESITO = "dataEsito"; |
||||
public static final String DATA_ESITO_A = "dataEsitoA"; |
||||
public static final String DATA_ESITO_DA = "dataEsitoDa"; |
||||
public static final String DATA_RICHIESTA = "dataRichiesta"; |
||||
public static final String DATA_RICHIESTA_A = "dataRichiestaA"; |
||||
public static final String DATA_RICHIESTA_DA = "dataRichiestaDa"; |
||||
public static final String DESCRIZIONE = "descrizione"; |
||||
public static final String ESITO_PENDENTE = "esitoPendente"; |
||||
public static final String GEOLOGO_ID = "geologoId"; |
||||
public static final String IN_LAVORAZIONE_SUE = "inLavorazioneSue"; |
||||
public static final String INT_PRATICA_ID = "intPraticaId"; |
||||
public static final String ISTRUTTORE = "istruttore"; |
||||
public static final String ISTRUTTORE_ID = "istruttoreId"; |
||||
public static final String NUMERO_PROGETTO = "numeroProgetto"; |
||||
public static final String PARERI_FORNITI = "pareriForniti"; |
||||
public static final String PRATICA_APERTA = "praticaAperta"; |
||||
public static final String SOGGETTO = "soggetto"; |
||||
public static final String STATO_PRATICA = "statoPratica"; |
||||
public static final String STATUS = "status"; |
||||
public static final String TASK = "task"; |
||||
public static final String TASK_ASSIGNEE_ROLE_IDS = "taskAssigneeRoleIds"; |
||||
public static final String TASK_ASSIGNEE_USER_ID = "taskAssigneeUserId"; |
||||
public static final String TIPO_PROCEDURA = "tipoProcedura"; |
||||
public static final String TITOLARE = "titolare"; |
||||
public static final String UNITA_OPERATIVA = "unitaOperativa"; |
||||
} |
File diff soppresso perché troppo grande
Load Diff
@ -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> |
@ -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> |
@ -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> |
@ -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> |
File diff soppresso perché troppo grande
Load Diff
@ -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> |
Some files were not shown because too many files have changed in this diff Show More
Caricamento…
Reference in new issue