portale per la richiesta autorizzazioni sismiche da parte del Genio Civile
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

1682 righe
66 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<author>Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l.</author>
<namespace>portos_bo</namespace>
<entity name="Provincia" local-service="true" remote-service="true">
<!-- PK fields -->
<column name="provinciaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<!-- Other fields -->
<column name="codiceProvincia" type="String" />
<column name="provincia" type="String" />
<column name="regione" type="String" />
<column name="sigla" type="String" />
<!-- Order -->
<order by="asc">
<order-column name="codiceProvincia" />
</order>
<!-- Finder -->
<finder name="CompanyId" return-type="Collection">
<finder-column name="companyId" />
</finder>
<finder name="C_C" return-type="Provincia" unique="true">
<finder-column name="companyId" />
<finder-column name="codiceProvincia" />
</finder>
<finder name="C_S" return-type="Provincia" unique="true">
<finder-column name="companyId" />
<finder-column name="sigla" />
</finder>
</entity>
<entity name="Comune" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="comuneId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<!-- Other fields -->
<column name="codiceProvincia" type="String" />
<column name="codiceComune" type="String" />
<column name="codiceIstat" type="String" />
<column name="codiceBelfiore" type="String" />
<column name="denominazione" type="String" />
<column name="provincia" type="boolean" />
<column name="stato" type="boolean" />
<column name="disabilitato" type="boolean" />
<column name="mailSuap" type="String" />
<column name="mailSue" type="String" />
<!-- Order -->
<order by="asc">
<order-column name="denominazione" />
</order>
<!-- Finder -->
<finder name="CompanyId" return-type="Collection">
<finder-column name="companyId" />
</finder>
<finder name="C_CI" return-type="Comune" unique="true">
<finder-column name="companyId" />
<finder-column name="codiceIstat" />
</finder>
<finder name="CI" return-type="Comune" unique="true">
<finder-column name="codiceIstat" />
</finder>
<finder name="C_CB" return-type="Comune" unique="true">
<finder-column name="companyId" />
<finder-column name="codiceBelfiore" />
</finder>
<finder name="C_CP" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="codiceProvincia" />
</finder>
<finder name="C_Stato" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="stato" />
</finder>
<finder name="C_Denominazione" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="denominazione" comparator="LIKE"
case-sensitive="false" />
</finder>
</entity>
<entity name="Sorteggio" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="sorteggioId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Workflow fields -->
<column name="status" type="int" />
<column name="statusByUserId" type="long" />
<column name="statusByUserName" type="String" />
<column name="statusDate" type="Date" />
<!-- Entity IntPratica -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="note" type="String" />
<column name="anno" type="String" />
<column name="mese" type="String" />
<column name="settimana" type="int" />
<column name="dtSorteggio" type="Date" />
<column name="stato" type="String" />
<column name="dettagli" type="String" />
<!-- x Ricerca -->
<column name="numeroEstrazione" type="long" />
<column name="pratica" type="String" />
<column name="committente" type="String" />
<column name="comune" type="String" />
<column name="provincia" type="String" />
<column name="tecnico" type="String" />
<column name="mesePrecedente" type="String" />
<!-- Pratiche da table esterna -->
<column name="esterna" type="boolean" />
<column name="praticaEsternaId" type="long" />
<!-- Usate da Portos 2 -->
<column name="oldSorteggioId" type="long" />
<!-- Finder -->
<finder return-type="Sorteggio" name="OldSorteggioId">
<finder-column name="oldSorteggioId" />
</finder>
<finder return-type="Collection" name="C_GroupId">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder return-type="Collection" name="C_DettPratica">
<finder-column name="companyId" />
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="GroupId_Anno_Mese_Settimana">
<finder-column name="groupId" />
<finder-column name="anno" />
<finder-column name="mese" />
<finder-column name="settimana" />
</finder>
<finder return-type="Collection" name="Anno_Mese_Settimana">
<finder-column name="anno" />
<finder-column name="mese" />
<finder-column name="settimana" />
</finder>
</entity>
<entity name="ParereGeologo" local-service="true"
remote-service="true" uuid="true" table="portos_bo_ParereGeo">
<!-- PK fields -->
<column name="parereGeologoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="geologoUserId" type="long" />
<column name="parere" type="String" />
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="fileEntryId" type="long" />
<column name="dtRichista" type="Date" />
<column name="dtCompilazione" type="Date" />
<column name="status" type="int" />
<!-- Finder -->
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Parere">
<finder-column name="intPraticaId" />
<finder-column name="parere" />
</finder>
<finder return-type="Collection" name="IntPraticaId_GeologoId">
<finder-column name="intPraticaId" />
<finder-column name="geologoUserId" />
</finder>
<finder return-type="Collection" name="GeologoId">
<finder-column name="geologoUserId" />
</finder>
<finder return-type="Collection" name="C_GroupId">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity cache-enabled="false" name="Configurazione"
local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="configurazioneId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="chiave" type="String" />
<column name="valore" type="String" />
<finder return-type="Configurazione" name="C_Chiave" unique="true"
db-index="true">
<finder-column name="companyId" />
<finder-column name="chiave" />
</finder>
</entity>
<entity name="Tempistica" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="tempisticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="tipo" type="String" />
<column name="start" type="long" />
<column name="stop" type="long" />
<column name="wait" type="long" />
<column name="completo" type="boolean" />
<column name="oldTempisticaId" type="long" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipo">
<finder-column name="intPraticaId" />
<finder-column name="tipo" />
</finder>
<finder return-type="Tempistica" name="OldTempisticaId">
<finder-column name="oldTempisticaId" />
</finder>
<finder return-type="Collection" name="C_IntPratica_Tipo_Completo">
<finder-column name="companyId" />
<finder-column name="intPraticaId" />
<finder-column name="tipo" />
<finder-column name="completo" />
</finder>
</entity>
<entity name="DocPratica" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="docPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Campi Id referenziati -->
<column name="classPk" type="long" />
<column name="className" type="String" />
<column name="intPraticaId" type="long" />
<column name="dlFileEntryId" type="long" />
<column name="oldDlFileEntryId" type="long" />
<!-- Other fields -->
<column name="version" type="String" />
<column name="praticaValidata" type="boolean" />
<column name="descLong" type="String" />
<column name="tipologia" type="String" />
<column name="sha256" type="String" />
<!-- MD5 viene mantenuto per l importazione dei vecchi files -->
<column name="md5" type="String" />
<column name="aggiornato" type="boolean" />
<column name="jsonFirmatari" type="String" />
<!-- Aggiunti per Portos 2 -->
<column name="status" type="long" />
<column name="errorCode" type="String" />
<column name="oldDocPraticaId" type="long" />
<column name="rimosso" type="boolean" />
<column name="dettPraticaIdRimozione" type="long" />
<column name="dtDataRimozione" type="Date" />
<!-- Finder -->
<finder return-type="DocPratica" name="DlFileEntry">
<finder-column name="dlFileEntryId" />
</finder>
<finder return-type="DocPratica" name="OldDocPratica">
<finder-column name="oldDocPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="ClassPk">
<finder-column name="classPk" />
</finder>
<finder return-type="Collection" name="ClassPk_Status">
<finder-column name="classPk" />
<finder-column name="status" />
</finder>
<finder return-type="Collection" name="ClassPk_Status_InTipologia">
<finder-column name="classPk" />
<finder-column name="status" />
<finder-column name="tipologia" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="Status">
<finder-column name="status" />
</finder>
<finder return-type="Collection" name="Status_InTipologia">
<finder-column name="status" />
<finder-column name="tipologia" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="ClassPk_Tipologia">
<finder-column name="classPk" />
<finder-column name="tipologia" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipologia">
<finder-column name="intPraticaId" />
<finder-column name="tipologia" />
</finder>
<finder return-type="DocPratica" name="DlFileEntry_Version">
<finder-column name="dlFileEntryId" />
<finder-column name="version" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="StoricoSoggettoPratica" local-service="true"
remote-service="true" uuid="false">
<!-- PK fields -->
<column name="storicoSoggettoPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="intPraticaId" type="long" />
<column name="nome" type="String" />
<column name="cognome" type="String" />
<column name="codiceFiscale" type="String" />
<!-- aggiunti per portos 2 -->
<column name="oldStoricoSoggettoPraticaId" type="long" />
<!-- Order -->
<order>
<order-column name="createDate" order-by="asc" />
</order>
<!-- Finder -->
<finder return-type="Collection" name="C_IntPratica">
<finder-column name="companyId" />
<finder-column name="intPraticaId" />
</finder>
<finder return-type="StoricoSoggettoPratica" name="OldStoricoSoggettoPraticaId">
<finder-column name="oldStoricoSoggettoPraticaId" />
</finder>
</entity>
<entity name="DettPratica" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="dettPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<column name="intPraticaId" type="long" />
<column name="integrazione" type="long" />
<column name="protocollo" type="String" />
<column name="dtProtocollo" type="Date" />
<column name="tipoIntegrazione" type="String" />
<column name="completa" type="boolean" />
<column name="gestita" type="boolean" />
<column name="importoSpeseIstruttoria" type="String" />
<column name="codicePagamentoOneri" type="String" />
<column name="causalePagamentoOneri" type="String" />
<column name="mezzoPagamentoOneri" type="String" />
<column name="importoBolli" type="String" />
<column name="codicePagamentoBolli" type="String" />
<column name="causalePagamentoBolli" type="String" />
<column name="mezzoPagamentoBolli" type="String" />
<column name="dataEffettuazione" type="Date" />
<column name="version" type="int" />
<column name="versionata" type="boolean" />
<!-- Campi Id referenziati -->
<column name="avvisi" type="Collection" entity="Avviso"
mapping-key="dettPraticaId" />
<column name="docPratiche" type="Collection" entity="DocPratica"
mapping-key="dettPraticaId" />
<column name="soggetti" type="Collection" entity="Soggetto"
mapping-key="dettPraticaId" />
<!-- Workflow -->
<column name="status" type="int" />
<column name="statusByUserId" type="long" />
<column name="statusByUserName" type="String" />
<column name="statusDate" type="Date" />
<column name="statusTask" type="int" />
<column name="workflowForzato" type="boolean" />
<column name="soggettoSostituitoId" type="long" />
<column name="dtInvioSignal" type="Date" />
<!-- Campi aggiuntivi provenienti da intPratica -->
<column name="destinazione" type="String" />
<column name="ag" type="String" />
<column name="descLongIntervento" type="String" />
<column name="via" type="String" />
<column name="localita" type="String" />
<column name="estremiCatastali" type="String" />
<column name="estremiPratCom" type="String" />
<column name="contestoPaesaggistico" type="String" />
<column name="livelloDiTutela" type="String" />
<column name="vincoli" type="String" />
<column name="variataDa" type="long" />
<column name="varianteNumero" type="long" />
<column name="varianteSostanziale" type="boolean" />
<column name="operaConforme" type="boolean" />
<column name="collaudoStatico" type="boolean" />
<column name="codiceFiscaleDelegato" type="String" />
<column name="codiceRuoloDelegato" type="String" />
<column name="codiceFiscaleDelegatoCommittente" type="String" />
<column name="codiceFiscaleDelegatoFineLavori" type="String" />
<column name="codiceFiscaleDelegatoCollaudo" type="String" />
<column name="codiceFiscalePrincipaleCommittente" type="String" />
<column name="codiceFiscalePrincipaleCollaudatore" type="String" />
<column name="codiceFiscalePrincipaleProgettista" type="String" />
<column name="codiceFiscalePrincipaleDirettoreLavori" type="String" />
<column name="codiceFiscalePrincipaleDitta" type="String" />
<column name="codiceFiscalePrincipaleGeologo" type="String" />
<column name="lavoriInEconomiaCommittente" type="boolean" />
<column name="inizioLavoriContestualeOpera" type="boolean" />
<column name="dataInizioLavoriOpera" type="Date" />
<column name="dataInizioEsecuzioneOpera" type="Date" />
<column name="dataFineEsecuzioneOpera" type="Date" />
<column name="metratura" type="String" />
<column name="lavoriPubblici" type="boolean" />
<!-- Campi aggiuntivi solo per Portos 2 -->
<column name="pagamentoIdOneri" type="long" />
<column name="pagamentoIdBolli" type="long" />
<column name="lavoriPubbliciPercentuale" type="int" />
<column name="numeroCivico" type="String" />
<column name="dcParticelle" type="String" />
<column name="dcFoglio" type="String" />
<column name="dcAllegato" type="String" />
<column name="dePiani" type="String" />
<column name="deAltezza" type="String" />
<column name="deInterrati" type="String" />
<column name="deSuperficie" type="String" />
<column name="deCostruzione" type="String" />
<column name="deRistrutturazione" type="String" />
<column name="deUso" type="String" />
<column name="dePubblica" type="String" />
<column name="dePrivata" type="String" />
<column name="deUtilizzazione" type="String" />
<column name="dePosizioneEdificio" type="String" />
<column name="deInfStradalePonte" type="boolean" />
<column name="deInfStradaleStrada" type="boolean" />
<column name="deInfStradaleAltro" type="boolean" />
<column name="deInfIdraulicaLong" type="boolean" />
<column name="deInfIdraulicaTrasv" type="boolean" />
<column name="deInfIdraulicaAltro" type="boolean" />
<column name="deInfOperaAccStradale" type="boolean" />
<column name="deInfOperaAccIdraulica" type="boolean" />
<column name="deInfOperaAccAltro" type="boolean" />
<column name="deInfAltraInfrastruttura" type="boolean" />
<column name="deInfAltro" type="boolean" />
<column name="deInfAltroDesc" type="String" />
<column name="dccFondazioni" type="String" />
<column name="dccStruttureEleMuraturePietrame" type="boolean" />
<column name="dccStruttureEleMuratureLaterizio" type="boolean" />
<column name="dccStruttureEleMuratureMisto" type="boolean" />
<column name="dccStruttureEleMuratureStoriche" type="boolean" />
<column name="dccStruttureEleAcciaio" type="String" />
<column name="dccStruttureEleCA" type="String" />
<column name="dccStruttureEleLegno" type="String" />
<column name="dccStruttureEleMistoCA" type="boolean" />
<column name="dccStruttureEleMistoAcciaio" type="boolean" />
<column name="dccStruttureEleMistoMuratura" type="boolean" />
<column name="dccStruttureEleMistoLegno" type="boolean" />
<column name="dccStruttureElePrefabbricato" type="boolean" />
<column name="dccStruttureEleAltro" type="boolean" />
<column name="dccStruttureEleAltroDescrizione" type="String" />
<column name="dccOrizzontamentiCAAcciaio" type="boolean" />
<column name="dccOrizzontamentiLegno" type="boolean" />
<column name="dccOrizzontamentiLegnoCA" type="boolean" />
<column name="dccOrizzontamentiLamieraGrecata" type="boolean" />
<column name="dccOrizzontamentiVolte" type="boolean" />
<column name="dccOrizzontamentiAltro" type="boolean" />
<column name="dccOrizzontamentiAltroDescrizione" type="String" />
<column name="dccCopertura" type="String" />
<column name="dccCoperturaCAAcciaio" type="boolean" />
<column name="dccCoperturaLegno" type="boolean" />
<column name="dccCoperturaLegnoCA" type="boolean" />
<column name="dccCoperturaLamieraGrecata" type="boolean" />
<column name="dccCoperturaPannelli" type="boolean" />
<column name="dccCoperturaPVCTelonati" type="boolean" />
<column name="dccCoperturaLeggere" type="boolean" />
<column name="dccCoperturaAltro" type="boolean" />
<column name="dccCoperturaAltroDesrizione" type="String" />
<column name="dccElemNonStrutLaterizio" type="boolean" />
<column name="dccElemNonStrutCartongesso" type="boolean" />
<column name="dccElemNonStrutCalcestruzzo" type="boolean" />
<column name="dccElemNonStrutLegno" type="boolean" />
<column name="dccElemNonStrutAltro" type="boolean" />
<column name="dccElemNonStrutAltroDescrizione" type="String" />
<column name="dccOpereDiRinforzoInsCatene" type="boolean" />
<column name="dccOpereDiRinforzoInsCordoli" type="boolean" />
<column name="dccOpereDiRinforzoIniArmate" type="boolean" />
<column name="dccOpereDiRinforzoPlaccaggi" type="boolean" />
<column name="dccOpereDiRinforzoIrrSolai" type="boolean" />
<column name="dccOpereDiRinforzoRinforziFRP" type="boolean" />
<column name="dccOpereDiRinforzoTelaiECerchiature" type="boolean" />
<column name="dccOpereDiRinforzoInsRompitratta" type="boolean" />
<column name="dccOpereDiRinforzoAltro" type="boolean" />
<column name="dccOpereDiRinforzoAltroDescrizione" type="String" />
<column name="geoClasseIndagine" type="String" />
<column name="geoCategoriaSottosuolo" type="String" />
<column name="geoCategoriaTopografica" type="String" />
<column name="geoConsolidamento" type="String" />
<column name="geoPericolositaGeologica" type="String" />
<column name="geoPericolositaSismica" type="String" />
<column name="geoPericolositaIdraulica" type="String" />
<column name="geoPericolositaGeomorfica" type="String" />
<column name="geoRischioGeomorfologicoPai" type="String"></column>
<column name="geoPericolositaIdraulicaPai" type="String"></column>
<column name="geoRischioIdraulicoPai" type="String"></column>
<column name="geoFattibilitaGeologica" type="String" />
<column name="geoFattibilitaSismica" type="String" />
<column name="geoFattibilitaIdraulica" type="String" />
<column name="geoOperaRilevante" type="String" />
<column name="geoOpereDiSostegno" type="String" />
<column name="geoOpereInSotterranea" type="String" />
<column name="geoPresenzaPrescrizioni" type="String" />
<column name="geoNotePrescrizioni" type="String" />
<column name="geoNoteIndagini" type="String" />
<column name="geoEvidenzeGeomorfiche" type="String" />
<column name="geoEvidenzeGeologiche" type="String" />
<column name="geoDtRelazione" type="Date" />
<column name="pagNuoveCostruzioni" type="boolean" />
<column name="pagAdeguamentoSismico" type="int" />
<column name="pagMiglioramentoSismico" type="int" />
<column name="pagMiglioramentoSismicoSicilia" type="boolean" />
<column name="pagRiparazioneInterventoLocale" type="boolean" />
<column name="pagOperaNonQuantificabile" type="boolean" />
<column name="pagNuovaCostruzione" type="int" />
<column name="pagVarianti" type="boolean" />
<column name="pagAltro" type="int" />
<column name="pagCalcolatoAdeguamentoSismico" type="String" />
<column name="pagCalcolatoMiglioramentoSismico" type="String" />
<column name="pagCalcolatoRiparazioneInterventoLocale" type="String" />
<column name="pagCalcolatoOperaNonQuantificabile" type="String" />
<column name="pagEffettivoAdeguamentoSismico" type="String" />
<column name="pagEffettivoMiglioramentoSismico" type="String" />
<column name="pagEffettivoRiparazioneInterventoLocale" type="String" />
<column name="pagEffettivoOperaNonQuantificabile" type="String" />
<column name="pagNoteUtente" type="String"></column>
<column name="note" type="String" />
<column name="noteUfficio" type="String" />
<column name="localizzazioneGeografica" type="String" />
<!-- Campi al posto di tipologia sistemi costruttivi -->
<column name="tcNuovaCostruzione" type="boolean" />
<column name="tcNuovaCostruzioneComplessa" type="boolean" />
<column name="tcAdeguamentoSismico" type="boolean" />
<column name="tcMiglioramentoSismico" type="boolean" />
<column name="tcRiparazioneInterventoLocale" type="boolean" />
<!-- Campi prima presenti in sistemi costruttivi -->
<column name="tcInCA" type="boolean" />
<column name="tcInOpera" type="boolean" />
<column name="tcPrefabbricato" type="boolean" />
<column name="tcInAcciaio" type="boolean" />
<column name="tcMista" type="boolean" />
<column name="tcInMuratura" type="boolean" />
<column name="tcInMuraturaOrdinaria" type="boolean" />
<column name="tcInMuraturaArmata" type="boolean" />
<column name="tcInMuraturaMista" type="boolean" />
<column name="tcInLegno" type="boolean" />
<column name="tcAltro" type="boolean" />
<column name="tcAltroDescrizione" type="String" />
<column name="tcConDispositivi" type="boolean" />
<!-- Campi aggiunti che non so se vanno importati dal vecchio -->
<column name="normLavoriInProprio" type="boolean" />
<column name="normEsenteBollo" type="boolean" />
<column name="normEsenteSpese" type="boolean" />
<column name="normDpr01Dep" type="boolean" />
<column name="normDpr02Dep" type="boolean" />
<column name="normDpr01Aut" type="boolean" />
<column name="normDpr02Aut" type="boolean" />
<column name="normDpr03" type="boolean" />
<column name="normDpr04" type="boolean" />
<column name="normDpr05" type="boolean" />
<column name="normDm01" type="boolean" />
<column name="normDm02" type="boolean" />
<column name="normDm03" type="boolean" />
<column name="normDm2018" type="boolean" />
<column name="normDm04" type="boolean" />
<column name="normDm05" type="boolean" />
<column name="normDprg01" type="boolean" />
<column name="normDprg02" type="boolean" />
<column name="normAnr" type="boolean" />
<column name="normOrd01" type="boolean" />
<column name="normCI01" type="boolean" />
<column name="normLTC01" type="boolean" />
<column name="normArt3com3" type="boolean" />
<column name="normArt3com4" type="boolean" />
<column name="dpdc" type="boolean" />
<column name="normSismaBonus" type="boolean" />
<column name="clRischioPreInt" type="String" />
<column name="clRischioPostInt" type="String" />
<column name="intervFinPub" type="boolean" />
<column name="intervFinPubDesc" type="String" />
<column name="suap" type="boolean" />
<finder return-type="DettPratica" name="Protocollo">
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="DettPratica" name="C_G_Protocollo">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId_TipoIntegrazione_Completa"
db-index="true">
<finder-column name="intPraticaId" />
<finder-column name="tipoIntegrazione" />
<finder-column name="completa" />
</finder>
<finder return-type="Collection" name="IntPraticaId_TipoIntegrazione"
db-index="true">
<finder-column name="intPraticaId" />
<finder-column name="tipoIntegrazione" />
</finder>
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry" />
<reference package-path="com.liferay.portlet.asset" entity="AssetCategory" />
<reference package-path="com.liferay.portlet.asset" entity="AssetVocabulary" />
<reference package-path="com.liferay.portlet.asset" entity="AssetLink" />
<reference package-path="com.liferay.portlet.expando"
entity="ExpandoValue" />
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="FineLavori" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="fineLavoriId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica -->
<column name="intPraticaId" type="long" />
<!-- Campi Id referenziati -->
<column name="docPratiche" type="Collection" entity="DocPratica"
mapping-key="fineLavoriId" />
<!-- Other fields -->
<column name="protocollo" type="String" />
<column name="dtProtocollo" type="Date" />
<column name="parziale" type="boolean" />
<column name="completata" type="boolean" />
<column name="gestita" type="boolean" />
<column name="numero" type="long" />
<column name="codiceFiscaleDelegato" type="String" />
<column name="dataEffettuazione" type="Date" />
<column name="dataFineLavori" type="Date" />
<column name="normEsenteBollo" type="boolean" />
<column name="normEsenteCollaudo" type="boolean" />
<column name="comunicazioneDirettoreLavori" type="String" />
<column name="pagamentoId" type="long" />
<column name="codicePagamento" type="String" />
<column name="causalePagamento" type="String" />
<column name="mezzoPagamento" type="String" />
<column name="importoBolli" type="String" />
<!-- Finder -->
<finder return-type="FineLavori" name="Protocollo">
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="FineLavori" name="C_G_Protocollo">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscaleDelegato" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Completata">
<finder-column name="intPraticaId" />
<finder-column name="completata" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_Completata">
<finder-column name="codiceFiscaleDelegato" />
<finder-column name="completata" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Parziale">
<finder-column name="intPraticaId" />
<finder-column name="parziale" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Parziale_Completata">
<finder-column name="intPraticaId" />
<finder-column name="parziale" />
<finder-column name="completata" />
</finder>
</entity>
<entity name="Collaudo" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="collaudoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica -->
<column name="intPraticaId" type="long" />
<!-- Campi Id referenziati -->
<column name="docPratiche" type="Collection" entity="DocPratica"
mapping-key="collaudoId" />
<!-- Other fields -->
<column name="protocollo" type="String" />
<column name="dtProtocollo" type="Date" />
<column name="parziale" type="boolean" />
<column name="completata" type="boolean" />
<column name="gestita" type="boolean" />
<column name="numero" type="long" />
<column name="codiceFiscaleDelegato" type="String" />
<column name="dataEffettuazione" type="Date" />
<column name="dataCollaudo" type="Date" />
<column name="noteCollaudo" type="String" />
<column name="pagamentoId" type="long" />
<column name="codicePagamento" type="String" />
<column name="causalePagamento" type="String" />
<column name="mezzoPagamento" type="String" />
<column name="normEsenteBollo" type="boolean" />
<column name="importoBolli" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collaudo" name="Protocollo">
<finder-column name="protocollo" />
</finder>
<finder return-type="Collaudo" name="C_G_Protocollo">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscaleDelegato" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Completata">
<finder-column name="intPraticaId" />
<finder-column name="completata" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_Completata">
<finder-column name="codiceFiscaleDelegato" />
<finder-column name="completata" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Parziale">
<finder-column name="intPraticaId" />
<finder-column name="parziale" />
</finder>
</entity>
<entity name="Avviso" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="avvisoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="descLong" type="String" />
<column name="dtAvviso" type="Date" />
<column name="tipoAvviso" type="String" />
<column name="tipoDocumento" type="String" />
<column name="fileEntryIdTemplate" type="long" />
<column name="fileEntryIdBase" type="long" />
<column name="fileEntryIdInvio" type="long" />
<column name="fileEntryIdProtocollo" type="long" />
<column name="oldFileEntryIdBase" type="long" />
<column name="oldFileEntryIdInvio" type="long" />
<column name="dtCreateFileEntryInvio" type="Date" />
<column name="userCodiceFiscalePrimaFirma" type="String" />
<column name="firmaInCorso" type="boolean" />
<column name="transactionIdPrimaFirma" type="String" />
<column name="inviato" type="String" />
<column name="dtInvio" type="Date" />
<column name="annullato" type="boolean" />
<column name="errore" type="boolean" />
<column name="signal" type="boolean" />
<column name="dtInvioSignal" type="Date" />
<column name="tempistica" type="boolean" />
<column name="dtTempistica" type="Date" />
<column name="jsonParameters" type="String" />
<column name="protocollo" type="String" />
<column name="dtProtocollo" type="Date" />
<column name="oggettoProtocollo" type="String" />
<column name="inviatoTecnico" type="boolean" />
<column name="rifiutato" type="boolean" />
<column name="dtRifiuto" type="Date" />
<column name="commentoRifiuto" type="String" />
<!-- Campi usati da portos 2 -->
<column name="oldAvvisoId" type="long" />
<column name="intPraticaId" type="long" />
<column name="controlloPraticaId" type="long" />
<!-- Campi Id referenziati -->
<column name="classPk" type="long" />
<column name="className" type="String" />
<order by="desc">
<order-column name="dtAvviso" />
</order>
<!-- Finder -->
<finder return-type="Avviso" name="oldAvvisoId">
<finder-column name="oldAvvisoId" />
</finder>
<finder return-type="Collection" name="IntPraticaId_tipoDocumento">
<finder-column name="intPraticaId" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="IntPraticaIds_tipoDocumento">
<finder-column name="intPraticaId" arrayable-operator="OR" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="ControlloPraticaId_tipoDocumento">
<finder-column name="controlloPraticaId" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="ControlloPraticaIds_tipoDocumento">
<finder-column name="controlloPraticaId"
arrayable-operator="OR" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="ControlloPratica">
<finder-column name="controlloPraticaId" />
</finder>
<finder return-type="Collection" name="ClassPk_tipoDocumento">
<finder-column name="classPk" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_Inviato">
<finder-column name="intPraticaId" />
<finder-column name="inviato" />
</finder>
<finder return-type="Collection" name="ClassPk">
<finder-column name="classPk" />
</finder>
<finder return-type="Avviso" name="C_G_Protocollo">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="protocollo" />
</finder>
<finder return-type="Avviso" name="Protocollo">
<finder-column name="protocollo" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="IntPratica" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="intPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Campi Id referenziati -->
<column name="tipoPratica" type="String"></column>
<column name="territorioId" type="long" />
<column name="tipoProcedura" type="String"></column>
<!-- Annullamento fields -->
<column name="dtAnnullamento" type="Date" />
<column name="docPraticaAnnullamentoId" type="long" />
<!-- Other fields -->
<column name="dtSorteggio" type="Date" />
<column name="statoPratica" type="String" />
<column name="numeroProgetto" type="String" />
<column name="validata" type="boolean" />
<column name="status" type="int" />
<column name="statusByUserId" type="long" />
<column name="statusDate" type="Date" />
<column name="esitoControllo" type="int" />
<column name="dtPratica" type="Date" />
<column name="sospesa" type="boolean" />
<column name="dtSospensione" type="Date" />
<column name="codiceFiscaleDelegatoFineLavori" type="String" />
<column name="codiceFiscaleDelegatoCollaudo" type="String" />
<column name="fineLavoriParziale" type="boolean" />
<column name="fineLavoriTotale" type="boolean" />
<column name="collaudoParziale" type="boolean" />
<column name="collaudoTotale" type="boolean" />
<column name="controlloObbligatorio" type="boolean" />
<column name="dettPratiche" type="Collection" entity="DettPratica"
mapping-key="intPraticaId" />
<column name="sistemiCostruttivi" type="Collection" entity="SistemaCostruttivo"
mapping-key="intPraticaId" />
<column name="soggetti" type="Collection" entity="Soggetto"
mapping-key="intPraticaId" />
<column name="docPratiche" type="Collection" entity="DocPratica"
mapping-key="intPraticaId" />
<column name="inLavorazioneSue" type="boolean" />
<!-- Finder -->
<finder name="C_UserId" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="userId" />
</finder>
<finder name="TerritorioId" return-type="Collection">
<finder-column name="territorioId" />
</finder>
<finder name="C_Group" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder name="P" return-type="Collection">
<finder-column name="status" />
<finder-column name="dtPratica" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="Soggetto" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="soggettoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Campi Id referenziati -->
<column name="dettPraticaId" type="long" />
<column name="intPraticaId" type="long" />
<!-- Other fields -->
<column name="nome" type="String" />
<column name="cognome" type="String" />
<column name="codiceFiscale" type="String" />
<column name="codiceFiscaleDelegato" type="String" />
<!-- Dati nascita -->
<column name="dataNascita" type="Date" />
<column name="provinciaNascita" type="String" />
<column name="comuneNascita" type="String" />
<!-- Dati domicilio -->
<column name="comuneDomicilio" type="String" />
<column name="comuneDomicilioEstero" type="String" />
<column name="provinciaDomicilio" type="String" />
<column name="viaDomicilio" type="String" />
<column name="numeroCivicoDomicilio" type="String" />
<column name="capDomicilio" type="String" />
<column name="domicilioExtra" type="String" />
<!-- Dati residenza o sede della ditta -->
<column name="comune" type="String" />
<column name="comuneEstero" type="String" />
<column name="provincia" type="String" />
<column name="via" type="String" />
<column name="numeroCivico" type="String" />
<column name="cap" type="String" />
<!-- Solo per ditta -->
<column name="denominazione" type="String" />
<column name="sedeLegale" type="String" />
<column name="legaleRap" type="String" />
<column name="dataNascitaRap" type="Date" />
<column name="provinciaNascitaRap" type="String" />
<column name="comuneNascitaRap" type="String" />
<column name="viaRap" type="String" />
<column name="numeroCivicoRap" type="String" />
<column name="capRap" type="String" />
<column name="provinciaRap" type="String" />
<column name="comuneRap" type="String" />
<column name="comuneRapEstero" type="String" />
<!-- Solo professionista -->
<column name="albo" type="String" />
<column name="alboDescr" type="String" />
<column name="regAlbo" type="String" />
<column name="provinciaAlbo" type="String" />
<column name="numIscrAlbo" type="String" />
<!-- Contatti -->
<column name="telefono" type="String" />
<column name="fax" type="String" />
<column name="email" type="String" />
<!-- Tipologia -->
<column name="tipologiaSoggetto" type="String" />
<column name="aggiuntivo" type="boolean" />
<column name="rimosso" type="boolean" />
<!-- Campi aggiunti solo per Porto 2 -->
<column name="tmp" type="boolean" />
<column name="ambitoAttivita" type="String" />
<column name="ambitoProfessione" type="String" />
<column name="intPraticaIdRimozione" type="long" />
<column name="dettPraticaIdRimozione" type="long" />
<column name="dtDataRimozione" type="Date" />
<column name="sostituitoDa" type="long" />
<column name="soggettoSostituitoId" type="long" />
<column name="oldSoggettoId" type="long" />
<column name="fileVariazioneId" type="long" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_TipologiaSoggetto">
<finder-column name="intPraticaId" />
<finder-column name="tipologiaSoggetto" />
</finder>
<finder return-type="Collection" name="DettPratica_TipologiaSoggetto">
<finder-column name="dettPraticaId" />
<finder-column name="tipologiaSoggetto" />
</finder>
<finder return-type="Soggetto" name="oldSoggettoId">
<finder-column name="oldSoggettoId" />
</finder>
<finder return-type="Collection" name="DettPratica_TipologiaSoggetto_Aggiuntivo">
<finder-column name="dettPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="aggiuntivo" />
</finder>
<finder return-type="Collection"
name="DettPratica_TipologiaSoggetto_Aggiuntivo_Rimosso">
<finder-column name="dettPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="aggiuntivo" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection" name="IntPratica_TipologiaSoggetto_Rimosso">
<finder-column name="intPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection"
name="IntPratica_TipologiaSoggetto_DettPraticaIdRimozione">
<finder-column name="intPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="dettPraticaIdRimozione" />
</finder>
<finder return-type="Collection"
name="IntPratica_TipologiaSoggetto_Aggiuntivo_Rimosso">
<finder-column name="intPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="aggiuntivo" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection" name="DettPratica_CodiceFiscale">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection"
name="DettPratica_TipologiaSoggetto_CodiceFiscale">
<finder-column name="dettPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale_Rimosso">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection" name="DettPratica_CodiceFiscale_Rimosso">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection" name="UserId">
<finder-column name="userId" />
</finder>
<finder return-type="Collection" name="UserId_CodiceFiscale">
<finder-column name="userId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="UserId_CodiceFiscale_TipologiaSoggetto">
<finder-column name="userId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologiaSoggetto" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="Territorio" local-service="true" remote-service="true">
<!-- PK fields -->
<column name="territorioId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Campi Id referenziati -->
<column name="zona" type="String" />
<column name="fascia" type="String" />
<column name="comuneId" type="long" />
<column name="codiceProvincia" type="String" />
<column name="articolo61" type="boolean" />
<column name="dtIni" type="Date" />
<column name="dtFin" type="Date" />
<column name="oldTerritorioId" type="long" />
<column name="artLeggiComune" type="Collection" entity="ArtLeggeTerritorio"
mapping-key="territorioId" />
<column name="intPratiche" type="Collection" entity="IntPratica"
mapping-key="territorioId" />
<column name="agMin" type="String" />
<column name="agMax" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="ComuneId">
<finder-column name="comuneId" />
</finder>
<finder return-type="Collection" name="Zona">
<finder-column name="zona" />
</finder>
<finder return-type="Collection" name="Fascia">
<finder-column name="fascia" />
</finder>
<finder return-type="Territorio" name="C_G_Z_F_D" unique="true"
db-index="true">
<finder-column name="comuneId" />
<finder-column name="groupId" />
<finder-column name="zona" />
<finder-column name="fascia" />
<finder-column name="dtIni" />
</finder>
<finder name="C_Group" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder name="Group" return-type="Collection">
<finder-column name="groupId" />
</finder>
<finder name="C" return-type="Collection">
<finder-column name="companyId" />
</finder>
<finder name="OldTerritorioId" return-type="Territorio">
<finder-column name="oldTerritorioId" />
</finder>
</entity>
<entity name="ControlloPratica" local-service="true"
remote-service="true" uuid="true">
<!-- PK fields -->
<column name="controlloPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="dettPraticaId" type="long" />
<column name="intPraticaId" type="long" />
<!-- Other fields -->
<column name="parereGeologo" type="String" />
<column name="status" type="int" />
<column name="statusByUserId" type="long" />
<column name="statusByUserName" type="String" />
<column name="statusDate" type="Date" />
<!-- Finder -->
<finder return-type="Collection" name="DettPraticaId">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Status">
<finder-column name="intPraticaId" />
<finder-column name="status" />
</finder>
<reference package-path="com.liferay.portal" entity="WorkflowInstanceLink"></reference>
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry" />
<reference package-path="com.liferay.portlet.asset" entity="AssetCategory" />
<reference package-path="com.liferay.portlet.asset" entity="AssetVocabulary" />
<reference package-path="com.liferay.portlet.asset" entity="AssetLink" />
</entity>
<entity name="Pagamento" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="pagamentoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="intPraticaId" type="long" />
<column name="classPk" type="long" />
<column name="className" type="String" />
<column name="fileEntryId" type="long" />
<column name="oldFileEntryId" type="long" />
<!-- Other fields -->
<column name="tipoPagamento" type="String" />
<column name="url" type="String" />
<column name="codice" type="String" />
<column name="causale" type="String" />
<column name="mezzo" type="String" />
<column name="codiceFiscaleCommittente" type="String" />
<column name="importo" type="String" />
<column name="utilizzata" type="String" />
<column name="utilizzataSostituita" type="String" />
<column name="otf" type="boolean" />
<column name="otfCreateDate" type="Date" />
<column name="emailPending" type="boolean" />
<column name="oldPagamentoId" type="long" />
<!-- Finder -->
<finder return-type="Collection" name="ClassPk_Mezzo">
<finder-column name="classPk" />
<finder-column name="mezzo" />
</finder>
<finder return-type="Collection" name="Mezzo_Utilizzata">
<finder-column name="mezzo" />
<finder-column name="utilizzata" />
</finder>
<finder return-type="Collection" name="Mezzo_Utilizzata_CreateDate">
<finder-column name="mezzo" />
<finder-column name="utilizzata" />
<finder-column name="createDate" comparator="&lt;" />
</finder>
<finder return-type="Collection" name="Mezzo_Utilizzata_EmailPending_CreateDate">
<finder-column name="mezzo" />
<finder-column name="utilizzata" />
<finder-column name="emailPending" />
<finder-column name="createDate" comparator="&lt;" />
</finder>
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId"></finder-column>
</finder>
<finder return-type="Collection" name="ClassPk">
<finder-column name="classPk" />
</finder>
<finder return-type="Pagamento" name="OldPagamentoId">
<finder-column name="oldPagamentoId" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="Comunicazione" local-service="true"
remote-service="true" uuid="true">
<!-- PK fields -->
<column name="comunicazioneId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Fascicolo (intPraticaId si riferisce al proprietario del
fascicolo) -->
<column name="intPraticaId" type="long" />
<!-- Other fields -->
<column name="domanda" type="String" />
<column name="risposta" type="String" />
<column name="dtRisposta" type="Date" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId"></finder-column>
</finder>
</entity>
<entity name="DocAggiuntiva" local-service="true"
remote-service="true" uuid="true">
<!-- PK fields -->
<column name="docAggiuntivaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="fileEntryId" type="long" />
<column name="oldFileEntryId" type="long" />
<!-- Other fields -->
<column name="descrizione" type="String" />
<column name="feVisible" type="boolean" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId"></finder-column>
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId"></finder-column>
</finder>
<finder return-type="Collection" name="IntPratica_FeVisible">
<finder-column name="intPraticaId"></finder-column>
<finder-column name="feVisible"></finder-column>
</finder>
<finder return-type="DocAggiuntiva" name="oldFileEntryId">
<finder-column name="oldFileEntryId" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="AllegatoManuale" local-service="true"
remote-service="true" uuid="true">
<!-- PK fields -->
<column name="allegatoManualeId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="avvisoId" type="long" />
<column name="fileEntryId" type="long" />
<column name="oldFileEntryId" type="long" />
<!-- Other fields -->
<column name="descrizione" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId"></finder-column>
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId"></finder-column>
</finder>
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="Delega" local-service="true" remote-service="true"
uuid="true">
<!-- PK fields -->
<column name="delegaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<!-- Other fields -->
<column name="tipologia" type="String" />
<column name="esito" type="String" />
<column name="dtEsito" type="Date" />
<column name="codiceFiscale" type="String" />
<column name="dichiarazioni" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="CodiceFiscale">
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="IntPratica_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_InEsito">
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_CodiceFiscale_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection"
name="DettPratica_CodiceFiscale_Tipologia_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" arrayable-operator="IN" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_Tipologia_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_Tipologie_InEsiti">
<finder-column name="dettPraticaId" />
<finder-column name="tipologia" arrayable-operator="IN" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_Tipologia_InEsito">
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection"
name="IntPratica_CodiceFiscale_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="Asseverazione" local-service="true"
remote-service="true" uuid="true">
<!-- PK fields -->
<column name="asseverazioneId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="fileEntryId" type="long" />
<column name="soggettoId" type="long" />
<!-- Other fields -->
<column name="tipologia" type="String" />
<column name="esito" type="String" />
<column name="dtEsito" type="Date" />
<column name="mezzo" type="String" />
<column name="codiceFiscale" type="String" />
<column name="dichiarazioni" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="IntPratica_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_InEsito">
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_CodiceFiscale_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_Tipologia_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_Tipologia_InEsito">
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection"
name="IntPratica_CodiceFiscale_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
<entity name="HistoryWorkflowAction" local-service="true"
remote-service="true">
<column name="historyWorkflowActionId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="numeroProgetto" type="String" />
<column name="attivato" type="boolean" />
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaAndDettPratica">
<finder-column name="intPraticaId" />
<finder-column name="dettPraticaId" />
</finder>
</entity>
<exceptions>
<exception>DuplicateProvincia</exception>
<exception>CodiceProvincia</exception>
<exception>Provincia</exception>
<exception>Sigla</exception>
<exception>NoSuchProvincia</exception>
<exception>CSVFileNotFound</exception>
<exception>CSVFileFormat</exception>
<exception>CodiceBelfiore</exception>
<exception>CodiceComune</exception>
<exception>CodiceIstat</exception>
<exception>Denominazione</exception>
<exception>DuplicateComune</exception>
</exceptions>
</service-builder>