Sfoglia il codice sorgente

Modifiche richieste

master
Salvatore La Manna 2 anni fa
parent
commit
6b0d6ae2be
  1. 29
      jasper/Attestazione Vincoli.jrxml
  2. 12
      jasper/Avviso di Non Competenza.jrxml
  3. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  4. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  5. 462
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  6. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  7. 15
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  8. 138
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistence.java
  9. 166
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaUtil.java
  10. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties
  11. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql
  12. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties
  13. 136
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java
  14. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java
  15. 24
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaModelImpl.java
  16. 446
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  17. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  18. 20
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ParereGeologoLocalServiceImpl.java
  19. 561
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java
  20. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  21. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/asset/controllopratica/full_content.jsp
  22. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/avvisi/view.jsp
  23. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/actions/action_annulla_ric_geologo.jsp
  24. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/view_columns.jspf
  25. 24
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_da_firmare.jsp
  26. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_da_firmare_altri.jsp
  27. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_firme.jsp
  28. 4
      liferay-plugins-sdk-6.2/portlets/portos-calendar-appointments-portlet/docroot/WEB-INF/src/service.properties
  29. 6
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp
  30. 2
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/assegna_parere.jsp
  31. 5
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridacompletare.jsp
  32. 8
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/soggettipratica/edit_soggetto.jsp

29
jasper/Attestazione Vincoli.jrxml

@ -209,20 +209,8 @@ e dell'identità siciliana]]></text>
<text><![CDATA[Protocollo]]></text> <text><![CDATA[Protocollo]]></text>
</staticText> </staticText>
</band> </band>
<band height="269"> <band height="238">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField isBlankWhenNull="true">
<reportElement key="" x="285" y="40" width="268" height="14" uuid="b82a2f48-cea2-4ad2-8b76-c443de8a1fe1">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans"/>
</textElement>
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression>
</textField>
<staticText> <staticText>
<reportElement key="" x="170" y="10" width="115" height="14" uuid="c0370045-7e64-47e0-9c03-d9259f814713"> <reportElement key="" x="170" y="10" width="115" height="14" uuid="c0370045-7e64-47e0-9c03-d9259f814713">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
@ -234,17 +222,6 @@ e dell'identità siciliana]]></text>
</textElement> </textElement>
<text><![CDATA[Al Committente]]></text> <text><![CDATA[Al Committente]]></text>
</staticText> </staticText>
<staticText>
<reportElement x="90" y="40" width="195" height="14" uuid="3f554448-d5dc-4075-b6ed-8e7bd10d7998">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement>
<font fontName="DejaVu Sans Bold" isBold="false"/>
</textElement>
<text><![CDATA[al Sindaco / S.U.E. del Comune di ]]></text>
</staticText>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement key="" x="285" y="10" width="268" height="14" uuid="f502c7f9-5ac4-43dd-bd91-cc46b395365e"> <reportElement key="" x="285" y="10" width="268" height="14" uuid="f502c7f9-5ac4-43dd-bd91-cc46b395365e">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
@ -281,7 +258,7 @@ e dell'identità siciliana]]></text>
<text><![CDATA[c/o il suo delegato]]></text> <text><![CDATA[c/o il suo delegato]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="3" y="70" width="548" height="60" uuid="e4fec3f3-6651-4474-af2b-5072d857d07e"> <reportElement x="3" y="56" width="548" height="60" uuid="e4fec3f3-6651-4474-af2b-5072d857d07e">
<property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/>
@ -295,7 +272,7 @@ e dell'identità siciliana]]></text>
- esaminata la documentazione allegata all’istanza;]]></text> - esaminata la documentazione allegata all’istanza;]]></text>
</staticText> </staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="170" width="548" height="99" uuid="0156b4c7-6c07-4e4a-b8f6-e8ef115f5b1e"> <reportElement x="3" y="130" width="548" height="99" uuid="0156b4c7-6c07-4e4a-b8f6-e8ef115f5b1e">
<property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/> <property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement> </reportElement>

12
jasper/Avviso di Non Competenza.jrxml

@ -361,6 +361,18 @@ esaminata la documentazione allegata all’istanza;]]></text>
</jr:list> </jr:list>
</componentElement> </componentElement>
</band> </band>
<band height="80">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField>
<reportElement x="4" y="4" width="547" height="76" uuid="deebe280-0183-4f34-bca6-0af88682e70c">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textFieldExpression><![CDATA[Contro il presente provvedimento è ammesso ricorso gerarchico all’Assessorato Regionale dei Beni Culturali ed Ambientali e dell’Identità Siciliana entro trenta giorni dall’acquisita conoscenza, o al Tribunale Amministrativo Regionale entro sessanta giorni.
L'eventuale ricorso gerarchico, debitamente sottoscritto e regolarizzato in bollo, dovrà riportare le generalità del ricorrente, comprensive di indirizzo di posta elettronica certificata, cui effettuare comunicazioni e notifiche relative al procedimento.]]></textFieldExpression>
</textField>
</band>
<band height="51"> <band height="51">
<staticText> <staticText>
<reportElement x="4" y="10" width="547" height="20" uuid="a357f0d4-8217-44d7-b424-b81c836f803a"> <reportElement x="4" y="10" width="547" height="20" uuid="a357f0d4-8217-44d7-b424-b81c836f803a">

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

@ -855,6 +855,10 @@
<finder-column name="dtPratica" /> <finder-column name="dtPratica" />
</finder> </finder>
<finder return-type="Collection" name="StatoPratica">
<finder-column name="statoPratica" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" /> <reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity> </entity>

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

@ -340,6 +340,14 @@ public interface IntPraticaLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException; com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.IntPratica deleteIntPratica( public it.tref.liferay.portos.bo.model.IntPratica deleteIntPratica(
it.tref.liferay.portos.bo.model.IntPratica intPratica, boolean forced) it.tref.liferay.portos.bo.model.IntPratica intPratica, boolean forced)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,

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

@ -155,235 +155,243 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName27 = "deleteIntPratica"; _methodName27 = "findByStatoPratica";
_methodParameterTypes27 = new String[] { _methodParameterTypes27 = new String[] { "java.lang.String" };
_methodName28 = "findByStatoPratica";
_methodParameterTypes28 = new String[] { "java.lang.String", "int", "int" };
_methodName29 = "deleteIntPratica";
_methodParameterTypes29 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "boolean" "it.tref.liferay.portos.bo.model.IntPratica", "boolean"
}; };
_methodName28 = "cloneIntPratica"; _methodName30 = "cloneIntPratica";
_methodParameterTypes28 = new String[] { _methodParameterTypes30 = new String[] {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName29 = "updateDelegati"; _methodName31 = "updateDelegati";
_methodParameterTypes29 = new String[] { _methodParameterTypes31 = new String[] {
"long", "java.lang.String", "java.lang.String", "boolean" "long", "java.lang.String", "java.lang.String", "boolean"
}; };
_methodName30 = "findFascicoliNotProgetto"; _methodName32 = "findFascicoliNotProgetto";
_methodParameterTypes30 = new String[] { "int", "int" }; _methodParameterTypes32 = new String[] { "int", "int" };
_methodName31 = "countFascicoliNotProgetto"; _methodName33 = "countFascicoliNotProgetto";
_methodParameterTypes31 = new String[] { }; _methodParameterTypes33 = new String[] { };
_methodName32 = "countByPosizione"; _methodName34 = "countByPosizione";
_methodParameterTypes32 = new String[] { "double", "double", "int" }; _methodParameterTypes34 = new String[] { "double", "double", "int" };
_methodName33 = "findByPosizione"; _methodName35 = "findByPosizione";
_methodParameterTypes33 = new String[] { "double", "double", "int" }; _methodParameterTypes35 = new String[] { "double", "double", "int" };
_methodName34 = "findByPosizione"; _methodName36 = "findByPosizione";
_methodParameterTypes34 = new String[] { _methodParameterTypes36 = new String[] {
"double", "double", "int", "int", "int" "double", "double", "int", "int", "int"
}; };
_methodName35 = "addNumeroProgetto"; _methodName37 = "addNumeroProgetto";
_methodParameterTypes35 = new String[] { "long" }; _methodParameterTypes37 = new String[] { "long" };
_methodName36 = "sospendiPratica"; _methodName38 = "sospendiPratica";
_methodParameterTypes36 = new String[] { "long", "boolean" }; _methodParameterTypes38 = new String[] { "long", "boolean" };
_methodName37 = "cambiaTitolare"; _methodName39 = "cambiaTitolare";
_methodParameterTypes37 = new String[] { _methodParameterTypes39 = new String[] {
"long", "long", "com.liferay.portal.service.ServiceContext" "long", "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName38 = "updateStatoPratica"; _methodName40 = "updateStatoPratica";
_methodParameterTypes38 = new String[] { "long", "java.lang.String" };
_methodName39 = "findByC_UserId"; _methodParameterTypes40 = new String[] { "long", "java.lang.String" };
_methodParameterTypes39 = new String[] { "long", "long", "int", "int" }; _methodName41 = "findByC_UserId";
_methodName40 = "countByC_UserId"; _methodParameterTypes41 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes40 = new String[] { "long", "long" }; _methodName42 = "countByC_UserId";
_methodName41 = "updateStatus";
_methodParameterTypes41 = new String[] { "long", "int" };
_methodName42 = "findByCompanyIdSoggettoProgetti";
_methodParameterTypes42 = new String[] { "long", "long" }; _methodParameterTypes42 = new String[] { "long", "long" };
_methodName43 = "countByCompanyIdSoggettoProgetti"; _methodName43 = "updateStatus";
_methodParameterTypes43 = new String[] { "long", "long" }; _methodParameterTypes43 = new String[] { "long", "int" };
_methodName44 = "findByCompanyIdSoggettoArchivio"; _methodName44 = "findByCompanyIdSoggettoProgetti";
_methodParameterTypes44 = new String[] { "long", "long" }; _methodParameterTypes44 = new String[] { "long", "long" };
_methodName45 = "countByCompanyIdSoggettoArchivio"; _methodName45 = "countByCompanyIdSoggettoProgetti";
_methodParameterTypes45 = new String[] { "long", "long" }; _methodParameterTypes45 = new String[] { "long", "long" };
_methodName46 = "findByCompanyIdSoggettoAltriProgetti"; _methodName46 = "findByCompanyIdSoggettoArchivio";
_methodParameterTypes46 = new String[] { "long", "long", "int", "int" }; _methodParameterTypes46 = new String[] { "long", "long" };
_methodName47 = "countByCompanyIdSoggettoAltriProgetti"; _methodName47 = "countByCompanyIdSoggettoArchivio";
_methodParameterTypes47 = new String[] { "long", "long" }; _methodParameterTypes47 = new String[] { "long", "long" };
_methodName48 = "findByCanAddFineLavori"; _methodName48 = "findByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes48 = new String[] { _methodParameterTypes48 = new String[] { "long", "long", "int", "int" };
"long", "java.lang.String", "int", "int"
};
_methodName49 = "countByCanAddFineLavori"; _methodName49 = "countByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes49 = new String[] { "long", "java.lang.String" }; _methodParameterTypes49 = new String[] { "long", "long" };
_methodName50 = "findByCanAddCollaudo"; _methodName50 = "findByCanAddFineLavori";
_methodParameterTypes50 = new String[] { _methodParameterTypes50 = new String[] {
"long", "java.lang.String", "int", "int" "long", "java.lang.String", "int", "int"
}; };
_methodName51 = "countByCanAddCollaudo"; _methodName51 = "countByCanAddFineLavori";
_methodParameterTypes51 = new String[] { "long", "java.lang.String" }; _methodParameterTypes51 = new String[] { "long", "java.lang.String" };
_methodName52 = "search"; _methodName52 = "findByCanAddCollaudo";
_methodParameterTypes52 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName53 = "countByCanAddCollaudo";
_methodParameterTypes53 = new String[] { "long", "java.lang.String" };
_methodParameterTypes52 = new String[] { "java.util.List", "int", "int" }; _methodName54 = "search";
_methodName53 = "countSearch"; _methodParameterTypes54 = new String[] { "java.util.List", "int", "int" };
_methodParameterTypes53 = new String[] { "java.util.List" }; _methodName55 = "countSearch";
_methodName54 = "searchWithIntPraticaId"; _methodParameterTypes55 = new String[] { "java.util.List" };
_methodParameterTypes54 = new String[] { _methodName56 = "searchWithIntPraticaId";
_methodParameterTypes56 = new String[] {
"java.util.List", "long", "int", "int" "java.util.List", "long", "int", "int"
}; };
_methodName55 = "allegaFileAnnullamento"; _methodName57 = "allegaFileAnnullamento";
_methodParameterTypes55 = new String[] { _methodParameterTypes57 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String", "long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName56 = "generateFileAnnullamento"; _methodName58 = "generateFileAnnullamento";
_methodParameterTypes56 = new String[] { _methodParameterTypes58 = new String[] {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName57 = "deleteFileAnnullamento"; _methodName59 = "deleteFileAnnullamento";
_methodParameterTypes57 = new String[] { "long" }; _methodParameterTypes59 = new String[] { "long" };
_methodName58 = "completeAnnullamento"; _methodName60 = "completeAnnullamento";
_methodParameterTypes58 = new String[] { "long" }; _methodParameterTypes60 = new String[] { "long" };
_methodName59 = "cambiaIstruttore"; _methodName61 = "cambiaIstruttore";
_methodParameterTypes59 = new String[] { "long", "long", "long" }; _methodParameterTypes61 = new String[] { "long", "long", "long" };
_methodName60 = "countCaricoLavoroCF"; _methodName62 = "countCaricoLavoroCF";
_methodParameterTypes60 = new String[] { _methodParameterTypes62 = new String[] {
"long", "java.lang.String", "java.lang.Long[][]" "long", "java.lang.String", "java.lang.Long[][]"
}; };
_methodName61 = "countCaricoLavoroIstruttore"; _methodName63 = "countCaricoLavoroIstruttore";
_methodParameterTypes61 = new String[] { "long", "java.lang.String" }; _methodParameterTypes63 = new String[] { "long", "java.lang.String" };
_methodName62 = "generateReportPratica"; _methodName64 = "generateReportPratica";
_methodParameterTypes62 = new String[] { _methodParameterTypes64 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long" "it.tref.liferay.portos.bo.model.IntPratica", "long"
}; };
_methodName63 = "updateModifiedDate"; _methodName65 = "updateModifiedDate";
_methodParameterTypes63 = new String[] { "long", "java.util.Date" }; _methodParameterTypes65 = new String[] { "long", "java.util.Date" };
_methodName64 = "reIndexFascicolo"; _methodName66 = "reIndexFascicolo";
_methodParameterTypes64 = new String[] { _methodParameterTypes66 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long" "it.tref.liferay.portos.bo.model.IntPratica", "long"
}; };
_methodName65 = "reIndexFasciolo"; _methodName67 = "reIndexFasciolo";
_methodParameterTypes65 = new String[] { "java.lang.String", "long" }; _methodParameterTypes67 = new String[] { "java.lang.String", "long" };
_methodName66 = "reIndexFasciolo"; _methodName68 = "reIndexFasciolo";
_methodParameterTypes66 = new String[] { "long", "long" }; _methodParameterTypes68 = new String[] { "long", "long" };
_methodName67 = "findByNumeroProgetto"; _methodName69 = "findByNumeroProgetto";
_methodParameterTypes67 = new String[] { "java.lang.String" }; _methodParameterTypes69 = new String[] { "java.lang.String" };
_methodName68 = "findByTerritorioId"; _methodName70 = "findByTerritorioId";
_methodParameterTypes68 = new String[] { "long" }; _methodParameterTypes70 = new String[] { "long" };
_methodName69 = "getOrganizationByIntPraticaId"; _methodName71 = "getOrganizationByIntPraticaId";
_methodParameterTypes69 = new String[] { "long" }; _methodParameterTypes71 = new String[] { "long" };
_methodName70 = "hasRichiestaIntegrazioneAttiva"; _methodName72 = "hasRichiestaIntegrazioneAttiva";
_methodParameterTypes70 = new String[] { "long" }; _methodParameterTypes72 = new String[] { "long" };
_methodName71 = "invioMailNotifica"; _methodName73 = "invioMailNotifica";
_methodParameterTypes71 = new String[] { _methodParameterTypes73 = new String[] {
"long", "long", "java.lang.String", "java.lang.String[][]", "long", "long", "java.lang.String", "java.lang.String[][]",
"java.lang.String[][]", "java.lang.String[][]", "java.lang.String[][]", "java.lang.String[][]",
"java.lang.String", "com.liferay.portal.kernel.json.JSONObject", "java.lang.String", "com.liferay.portal.kernel.json.JSONObject",
"java.util.List", "com.liferay.portal.service.ServiceContext" "java.util.List", "com.liferay.portal.service.ServiceContext"
}; };
_methodName72 = "searchAltriProgetti"; _methodName74 = "searchAltriProgetti";
_methodParameterTypes72 = new String[] { _methodParameterTypes74 = new String[] {
"javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int" "com.liferay.portal.model.User", "int", "int"
}; };
_methodName73 = "searchArchivioProgetti"; _methodName75 = "searchArchivioProgetti";
_methodParameterTypes73 = new String[] { _methodParameterTypes75 = new String[] {
"javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int" "com.liferay.portal.model.User", "int", "int"
}; };
_methodName74 = "searchMieiProgetti"; _methodName76 = "searchMieiProgetti";
_methodParameterTypes74 = new String[] { _methodParameterTypes76 = new String[] {
"javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int" "com.liferay.portal.model.User", "int", "int"
}; };
@ -1238,6 +1246,72 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
return (it.tref.liferay.portos.bo.model.IntPratica)ClpSerializer.translateOutput(returnObj); return (it.tref.liferay.portos.bo.model.IntPratica)ClpSerializer.translateOutput(returnObj);
} }
@Override
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes27,
new Object[] { ClpSerializer.translateInput(statoPratica) });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.IntPratica>)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes28,
new Object[] {
ClpSerializer.translateInput(statoPratica),
start,
end
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.IntPratica>)ClpSerializer.translateOutput(returnObj);
}
@Override @Override
public it.tref.liferay.portos.bo.model.IntPratica deleteIntPratica( public it.tref.liferay.portos.bo.model.IntPratica deleteIntPratica(
it.tref.liferay.portos.bo.model.IntPratica intPratica, boolean forced) it.tref.liferay.portos.bo.model.IntPratica intPratica, boolean forced)
@ -1246,8 +1320,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName27, returnObj = _invokableLocalService.invokeMethod(_methodName29,
_methodParameterTypes27, _methodParameterTypes29,
new Object[] { new Object[] {
ClpSerializer.translateInput(intPratica), ClpSerializer.translateInput(intPratica),
@ -1286,8 +1360,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName28, returnObj = _invokableLocalService.invokeMethod(_methodName30,
_methodParameterTypes28, _methodParameterTypes30,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1327,8 +1401,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName29, returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes29, _methodParameterTypes31,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1370,8 +1444,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName30, returnObj = _invokableLocalService.invokeMethod(_methodName32,
_methodParameterTypes30, new Object[] { start, end }); _methodParameterTypes32, new Object[] { start, end });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1398,8 +1472,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName31, returnObj = _invokableLocalService.invokeMethod(_methodName33,
_methodParameterTypes31, new Object[] { }); _methodParameterTypes33, new Object[] { });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1426,8 +1500,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName32, returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes32, new Object[] { lat, lng, raggio }); _methodParameterTypes34, new Object[] { lat, lng, raggio });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1455,8 +1529,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName33, returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes33, new Object[] { lat, lng, raggio }); _methodParameterTypes35, new Object[] { lat, lng, raggio });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1484,8 +1558,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName34, returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes34, _methodParameterTypes36,
new Object[] { lat, lng, raggio, start, end }); new Object[] { lat, lng, raggio, start, end });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1515,8 +1589,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName35, returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes35, new Object[] { intPraticaId }); _methodParameterTypes37, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1549,8 +1623,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName36, returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes36, _methodParameterTypes38,
new Object[] { intPraticaId, sospesa }); new Object[] { intPraticaId, sospesa });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1585,8 +1659,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName37, returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes37, _methodParameterTypes39,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1626,8 +1700,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName38, returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes38, _methodParameterTypes40,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1664,8 +1738,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName39, returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes39, _methodParameterTypes41,
new Object[] { companyId, userId, start, end }); new Object[] { companyId, userId, start, end });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1693,8 +1767,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName40, returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes40, new Object[] { companyId, userId }); _methodParameterTypes42, new Object[] { companyId, userId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1720,8 +1794,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName41, _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes41, new Object[] { intPraticaId, status }); _methodParameterTypes43, new Object[] { intPraticaId, status });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1752,8 +1826,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName42, returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes42, _methodParameterTypes44,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1786,8 +1860,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName43, returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes43, _methodParameterTypes45,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1821,8 +1895,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName44, returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes44, _methodParameterTypes46,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1855,8 +1929,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName45, returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes45, _methodParameterTypes47,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1890,8 +1964,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName46, returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes46, _methodParameterTypes48,
new Object[] { companyId, soggettoId, start, end }); new Object[] { companyId, soggettoId, start, end });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1925,8 +1999,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName47, returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes47, _methodParameterTypes49,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1960,8 +2034,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName48, returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes48, _methodParameterTypes50,
new Object[] { new Object[] {
companyId, companyId,
@ -2003,8 +2077,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName49, returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes49, _methodParameterTypes51,
new Object[] { new Object[] {
companyId, companyId,
@ -2042,8 +2116,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName50, returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes50, _methodParameterTypes52,
new Object[] { new Object[] {
companyId, companyId,
@ -2085,8 +2159,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName51, returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes51, _methodParameterTypes53,
new Object[] { new Object[] {
companyId, companyId,
@ -2123,8 +2197,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName52, returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes52, _methodParameterTypes54,
new Object[] { new Object[] {
ClpSerializer.translateInput(groupIds), ClpSerializer.translateInput(groupIds),
@ -2158,8 +2232,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName53, returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes53, _methodParameterTypes55,
new Object[] { ClpSerializer.translateInput(groupIds) }); new Object[] { ClpSerializer.translateInput(groupIds) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2188,8 +2262,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName54, returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes54, _methodParameterTypes56,
new Object[] { new Object[] {
ClpSerializer.translateInput(groupIds), ClpSerializer.translateInput(groupIds),
@ -2230,8 +2304,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName55, returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes55, _methodParameterTypes57,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -2281,8 +2355,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName56, returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes56, _methodParameterTypes58,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -2321,8 +2395,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName57, _invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes57, _methodParameterTypes59,
new Object[] { docPraticaAnnullamentoId }); new Object[] { docPraticaAnnullamentoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2351,8 +2425,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName58, _invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes58, new Object[] { intPraticaId }); _methodParameterTypes60, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2381,8 +2455,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName59, _invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes59, _methodParameterTypes61,
new Object[] { intPraticaId, controlloPraticaId, istruttoreId }); new Object[] { intPraticaId, controlloPraticaId, istruttoreId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2414,8 +2488,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName60, returnObj = _invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes60, _methodParameterTypes62,
new Object[] { new Object[] {
ispettoreId, ispettoreId,
@ -2454,8 +2528,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName61, returnObj = _invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes61, _methodParameterTypes63,
new Object[] { new Object[] {
ispettoreId, ispettoreId,
@ -2489,8 +2563,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName62, returnObj = _invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes62, _methodParameterTypes64,
new Object[] { new Object[] {
ClpSerializer.translateInput(intPratica), ClpSerializer.translateInput(intPratica),
@ -2528,8 +2602,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName63, returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes63, _methodParameterTypes65,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -2563,8 +2637,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFascicolo( public void reIndexFascicolo(
it.tref.liferay.portos.bo.model.IntPratica pratica, long companyId) { it.tref.liferay.portos.bo.model.IntPratica pratica, long companyId) {
try { try {
_invokableLocalService.invokeMethod(_methodName64, _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes64, _methodParameterTypes66,
new Object[] { ClpSerializer.translateInput(pratica), companyId }); new Object[] { ClpSerializer.translateInput(pratica), companyId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2584,8 +2658,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId) public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName65, _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes65, _methodParameterTypes67,
new Object[] { new Object[] {
ClpSerializer.translateInput(numeroProgetto), ClpSerializer.translateInput(numeroProgetto),
@ -2614,8 +2688,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName66, _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes66, _methodParameterTypes68,
new Object[] { intPraticaId, companyId }); new Object[] { intPraticaId, companyId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2646,8 +2720,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName67, returnObj = _invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes67, _methodParameterTypes69,
new Object[] { ClpSerializer.translateInput(numeroProgetto) }); new Object[] { ClpSerializer.translateInput(numeroProgetto) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2676,8 +2750,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName68, returnObj = _invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes68, new Object[] { territorioId }); _methodParameterTypes70, new Object[] { territorioId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2706,8 +2780,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName69, returnObj = _invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes69, new Object[] { intPraticaId }); _methodParameterTypes71, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2737,8 +2811,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName70, returnObj = _invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes70, new Object[] { intPraticaId }); _methodParameterTypes72, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2766,8 +2840,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName71, _invokableLocalService.invokeMethod(_methodName73,
_methodParameterTypes71, _methodParameterTypes73,
new Object[] { new Object[] {
dettPraticaId, dettPraticaId,
@ -2818,8 +2892,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName72, returnObj = _invokableLocalService.invokeMethod(_methodName74,
_methodParameterTypes72, _methodParameterTypes74,
new Object[] { new Object[] {
ClpSerializer.translateInput(request), ClpSerializer.translateInput(request),
@ -2852,8 +2926,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName73, returnObj = _invokableLocalService.invokeMethod(_methodName75,
_methodParameterTypes73, _methodParameterTypes75,
new Object[] { new Object[] {
ClpSerializer.translateInput(request), ClpSerializer.translateInput(request),
@ -2886,8 +2960,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName74, returnObj = _invokableLocalService.invokeMethod(_methodName76,
_methodParameterTypes74, _methodParameterTypes76,
new Object[] { new Object[] {
ClpSerializer.translateInput(request), ClpSerializer.translateInput(request),
@ -3062,4 +3136,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
private String[] _methodParameterTypes73; private String[] _methodParameterTypes73;
private String _methodName74; private String _methodName74;
private String[] _methodParameterTypes74; private String[] _methodParameterTypes74;
private String _methodName75;
private String[] _methodParameterTypes75;
private String _methodName76;
private String[] _methodParameterTypes76;
} }

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

@ -373,6 +373,18 @@ public class IntPraticaLocalServiceUtil {
esitoControllo, dtPratica, serviceContext); esitoControllo, dtPratica, serviceContext);
} }
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findByStatoPratica(statoPratica);
}
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findByStatoPratica(statoPratica, start, end);
}
public static it.tref.liferay.portos.bo.model.IntPratica deleteIntPratica( public static it.tref.liferay.portos.bo.model.IntPratica deleteIntPratica(
it.tref.liferay.portos.bo.model.IntPratica intPratica, boolean forced) it.tref.liferay.portos.bo.model.IntPratica intPratica, boolean forced)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,

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

@ -396,6 +396,21 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
numeroProgetto, validata, esitoControllo, dtPratica, serviceContext); numeroProgetto, validata, esitoControllo, dtPratica, serviceContext);
} }
@Override
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.findByStatoPratica(statoPratica);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.findByStatoPratica(statoPratica, start,
end);
}
@Override @Override
public it.tref.liferay.portos.bo.model.IntPratica deleteIntPratica( public it.tref.liferay.portos.bo.model.IntPratica deleteIntPratica(
it.tref.liferay.portos.bo.model.IntPratica intPratica, boolean forced) it.tref.liferay.portos.bo.model.IntPratica intPratica, boolean forced)

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

@ -1046,6 +1046,144 @@ public interface IntPraticaPersistence extends BasePersistence<IntPratica> {
public int countByP(int status, java.util.Date dtPratica) public int countByP(int status, java.util.Date dtPratica)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the int praticas where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @return the matching int praticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the int praticas where statoPratica = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param statoPratica the stato pratica
* @param start the lower bound of the range of int praticas
* @param end the upper bound of the range of int praticas (not inclusive)
* @return the range of matching int praticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the int praticas where statoPratica = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param statoPratica the stato pratica
* @param start the lower bound of the range of int praticas
* @param end the upper bound of the range of int praticas (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching int praticas
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.IntPratica findByStatoPratica_First(
java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException;
/**
* Returns the first int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.IntPratica fetchByStatoPratica_First(
java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.IntPratica findByStatoPratica_Last(
java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException;
/**
* Returns the last int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.IntPratica fetchByStatoPratica_Last(
java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the int praticas before and after the current int pratica in the ordered set where statoPratica = &#63;.
*
* @param intPraticaId the primary key of the current int pratica
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a int pratica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.IntPratica[] findByStatoPratica_PrevAndNext(
long intPraticaId, java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException;
/**
* Removes all the int praticas where statoPratica = &#63; from the database.
*
* @param statoPratica the stato pratica
* @throws SystemException if a system exception occurred
*/
public void removeByStatoPratica(java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of int praticas where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @return the number of matching int praticas
* @throws SystemException if a system exception occurred
*/
public int countByStatoPratica(java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Caches the int pratica in the entity cache if it is enabled. * Caches the int pratica in the entity cache if it is enabled.
* *

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

@ -1303,6 +1303,172 @@ public class IntPraticaUtil {
return getPersistence().countByP(status, dtPratica); return getPersistence().countByP(status, dtPratica);
} }
/**
* Returns all the int praticas where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @return the matching int praticas
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findByStatoPratica(statoPratica);
}
/**
* Returns a range of all the int praticas where statoPratica = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param statoPratica the stato pratica
* @param start the lower bound of the range of int praticas
* @param end the upper bound of the range of int praticas (not inclusive)
* @return the range of matching int praticas
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findByStatoPratica(statoPratica, start, end);
}
/**
* Returns an ordered range of all the int praticas where statoPratica = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param statoPratica the stato pratica
* @param start the lower bound of the range of int praticas
* @param end the upper bound of the range of int praticas (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching int praticas
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByStatoPratica(
java.lang.String statoPratica, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByStatoPratica(statoPratica, start, end,
orderByComparator);
}
/**
* Returns the first int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.IntPratica findByStatoPratica_First(
java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException {
return getPersistence()
.findByStatoPratica_First(statoPratica, orderByComparator);
}
/**
* Returns the first int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.IntPratica fetchByStatoPratica_First(
java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByStatoPratica_First(statoPratica, orderByComparator);
}
/**
* Returns the last int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.IntPratica findByStatoPratica_Last(
java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException {
return getPersistence()
.findByStatoPratica_Last(statoPratica, orderByComparator);
}
/**
* Returns the last int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.IntPratica fetchByStatoPratica_Last(
java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByStatoPratica_Last(statoPratica, orderByComparator);
}
/**
* Returns the int praticas before and after the current int pratica in the ordered set where statoPratica = &#63;.
*
* @param intPraticaId the primary key of the current int pratica
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a int pratica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.IntPratica[] findByStatoPratica_PrevAndNext(
long intPraticaId, java.lang.String statoPratica,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException {
return getPersistence()
.findByStatoPratica_PrevAndNext(intPraticaId, statoPratica,
orderByComparator);
}
/**
* Removes all the int praticas where statoPratica = &#63; from the database.
*
* @param statoPratica the stato pratica
* @throws SystemException if a system exception occurred
*/
public static void removeByStatoPratica(java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence().removeByStatoPratica(statoPratica);
}
/**
* Returns the number of int praticas where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @return the number of matching int praticas
* @throws SystemException if a system exception occurred
*/
public static int countByStatoPratica(java.lang.String statoPratica)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByStatoPratica(statoPratica);
}
/** /**
* Caches the int pratica in the entity cache if it is enabled. * Caches the int pratica in the entity cache if it is enabled.
* *

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

@ -153,6 +153,7 @@ IX_BAD23F73=portos_bo_HistoryWorkflowAction.IntPraticaAndDettPratica
IX_9929E083=portos_bo_IntPratica.C_Group IX_9929E083=portos_bo_IntPratica.C_Group
IX_E75F8D41=portos_bo_IntPratica.C_UserId IX_E75F8D41=portos_bo_IntPratica.C_UserId
IX_779B836B=portos_bo_IntPratica.P IX_779B836B=portos_bo_IntPratica.P
IX_ACF2D38C=portos_bo_IntPratica.StatoPratica
IX_4736A755=portos_bo_IntPratica.TerritorioId IX_4736A755=portos_bo_IntPratica.TerritorioId
IX_DB56E0F7=portos_bo_IntPratica.UUID_G IX_DB56E0F7=portos_bo_IntPratica.UUID_G
IX_B06E1913=portos_bo_IntPratica.Uuid IX_B06E1913=portos_bo_IntPratica.Uuid

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

@ -149,6 +149,7 @@ create index IX_BAD23F73 on portos_bo_HistoryWorkflowAction (intPraticaId, dettP
create index IX_9929E083 on portos_bo_IntPratica (companyId, groupId); create index IX_9929E083 on portos_bo_IntPratica (companyId, groupId);
create index IX_E75F8D41 on portos_bo_IntPratica (companyId, userId); create index IX_E75F8D41 on portos_bo_IntPratica (companyId, userId);
create index IX_ACF2D38C on portos_bo_IntPratica (statoPratica);
create index IX_779B836B on portos_bo_IntPratica (status, dtPratica); create index IX_779B836B on portos_bo_IntPratica (status, dtPratica);
create index IX_4736A755 on portos_bo_IntPratica (territorioId); create index IX_4736A755 on portos_bo_IntPratica (territorioId);
create index IX_B06E1913 on portos_bo_IntPratica (uuid_); create index IX_B06E1913 on portos_bo_IntPratica (uuid_);

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

@ -977,7 +977,7 @@ pagamento-utilizzata-05 = Rifiutato
pagamento-utilizzata-06 = Non Pagabile pagamento-utilizzata-06 = Non Pagabile
pagamento-utilizzata-07 = Sostituito pagamento-utilizzata-07 = Sostituito
label-pagamenti-spese-istruttoria = DIRITTI FISSI (D.A. 3319/2013;D.A. 116/2104) label-pagamenti-spese-istruttoria = DIRITTI FISSI (L.R. 17/2004, art. 7; D.A. 116/2014)
label-pagamenti-spese-bolli = Bolli label-pagamenti-spese-bolli = Bolli
label-pagamenti-nuove-costruzioni = Nuove costruzioni label-pagamenti-nuove-costruzioni = Nuove costruzioni
label-pagamenti-adeguamento-sismico = Nuove costruzioni / Adeguamento sismico label-pagamenti-adeguamento-sismico = Nuove costruzioni / Adeguamento sismico
@ -1021,7 +1021,7 @@ ricevuta-pagamento-bolli = Ricevuta Pagamento Bolli
go-back = Indietro go-back = Indietro
upload-file = Carica Ricevuta upload-file = Carica Ricevuta
label-diritti-fissi = DIRITTI FISSI (D.A. 3319/2013;D.A. 116/2104) label-diritti-fissi = DIRITTI FISSI (L.R. 17/2004, art. 7; D.A. 116/2014)
label-interventi-beni-culturali = <strong>Interventi su beni culturali</strong> (D.Lgs. 42/2004 parte II, titolo I, capo III, sez. I) label-interventi-beni-culturali = <strong>Interventi su beni culturali</strong> (D.Lgs. 42/2004 parte II, titolo I, capo III, sez. I)
label-interventi-beni-paesaggistici = <strong>Interventi su beni paesaggistici</strong> (D.Lgs. 42/2004 parte II, titolo I, capo III, sez. I) label-interventi-beni-paesaggistici = <strong>Interventi su beni paesaggistici</strong> (D.Lgs. 42/2004 parte II, titolo I, capo III, sez. I)
label-pagSoggettiAdAutorizzazione = Interventi soggetti ad autorizzazione label-pagSoggettiAdAutorizzazione = Interventi soggetti ad autorizzazione
@ -1212,6 +1212,9 @@ Tab_AvvisiAltri = Assegnati ad altri
label.avviso.dettaglioPratica = label.avviso.dettaglioPratica =
label.avviso.progetto = Progetto label.avviso.progetto = Progetto
label.avviso.protocollo = Protocollo label.avviso.protocollo = Protocollo
label.avviso.provincia = Provincia
label.avviso.comune = Comune
label.avviso.unitaoperativa = U.O.
label.avviso.descrizione = Descrizione label.avviso.descrizione = Descrizione
label.avviso.tipoProcedura = Tipo pratica label.avviso.tipoProcedura = Tipo pratica
label.avviso.dataAvviso = Data label.avviso.dataAvviso = Data
@ -1236,7 +1239,7 @@ label.admingeniocivile.avviso.tipoDocumento.autorizzazione = Autorizzazione
label.admingeniocivile.avviso.tipoDocumento.autorizzazionenegata = Autorizzazione negata label.admingeniocivile.avviso.tipoDocumento.autorizzazionenegata = Autorizzazione negata
label.admingeniocivile.avviso.tipoDocumento.integrazione = Richiesta di integrazione label.admingeniocivile.avviso.tipoDocumento.integrazione = Richiesta di integrazione
label.admingeniocivile.avviso.tipoDocumento.preavvisocontrario = Preavviso di parere contrario label.admingeniocivile.avviso.tipoDocumento.preavvisocontrario = Preavviso di parere contrario
label.admingeniocivile.avviso.tipoDocumento.noparere = Avviso di non competenza label.admingeniocivile.avviso.tipoDocumento.noparere = Avviso di conclusione procedimento
label.admingeniocivile.avviso.tipoDocumento.rifiutata = Rifiutata label.admingeniocivile.avviso.tipoDocumento.rifiutata = Rifiutata
label.admingeniocivile.avviso.tipoDocumento.sottopostaparere = Avviso di avvio procedimento label.admingeniocivile.avviso.tipoDocumento.sottopostaparere = Avviso di avvio procedimento
label.admingeniocivile.avviso.tipoDocumento.annullata = Avviso di annullamento label.admingeniocivile.avviso.tipoDocumento.annullata = Avviso di annullamento
@ -1380,5 +1383,5 @@ sanatoria-edilizia = Sanatoria edilizia
intervento-voce-p7 = L.R. 5/2019, art. 3, allegato B: intervento alla voce B intervento-voce-p7 = L.R. 5/2019, art. 3, allegato B: intervento alla voce B
note-richiedente = Note del richiedente note-richiedente = Note del richiedente
note-assegnatore = Note per l'istruttore note-assegnatore = Note dell'assegnatore
note-approvatore = Note dell'approvatore note-approvatore = Note dell'approvatore

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

@ -401,7 +401,7 @@ public class SismicaUtil {
public static List<String> riparaWorkflow(long companyId, long userId) { public static List<String> riparaWorkflow(long companyId, long userId) {
List<String> esito = new ArrayList<>(); List<String> esito = new ArrayList<>();
esito.addAll(riparaConformita(companyId)); esito.addAll(riparaControlli(companyId));
esito.addAll(riparaAssegnazioniAlRuolo(companyId, userId)); esito.addAll(riparaAssegnazioniAlRuolo(companyId, userId));
esito.addAll(creaWorkflowMancanti(companyId)); esito.addAll(creaWorkflowMancanti(companyId));
esito.addAll(riparaContextWorkflow(companyId)); esito.addAll(riparaContextWorkflow(companyId));
@ -413,6 +413,37 @@ public class SismicaUtil {
return esito; return esito;
} }
private static List<String> riparaControlli(long companyId) {
List<String> esito = new ArrayList<>();
esitoLog(esito, "Inizio riparazione controlli pratiche");
try {
List<IntPratica> pratiche = IntPraticaLocalServiceUtil.findByStatoPratica(StatoPraticaConstants.VIDIMATA);
esitoLog(esito, "Trovate " + pratiche.size() + " pratiche in stato vidimata");
for (IntPratica pratica : pratiche) {
if ((new Date()).getTime() - pratica.getDtPratica().getTime() > 3600000) {
List<ControlloPratica> controlli = ControlloPraticaLocalServiceUtil.findByIntPratica(pratica
.getIntPraticaId());
for (ControlloPratica controllo : controlli) {
if (controllo.getStatus() == WorkflowConstants.STATUS_DRAFT) {
esitoLog(esito, "Cancello controllo pratica id = " + controllo.getControlloPraticaId());
}
ControlloPraticaLocalServiceUtil.deleteControlloPratica(controllo);
}
esitoLog(
esito,
"Aggiungo controllo alla pratica " + pratica.getNumeroProgetto() + ", id"
+ pratica.getIntPraticaId());
aggiungiControlloPratica(pratica);
}
}
} catch (PortalException | SystemException e) {
_log.error(e);
}
esitoLog(esito, "Fine riparazione controlli pratiche");
return esito;
}
public static List<String> gestionePratiche() { public static List<String> gestionePratiche() {
List<String> esito = new ArrayList<>(); List<String> esito = new ArrayList<>();
esitoLog(esito, "Gestione pratiche"); esitoLog(esito, "Gestione pratiche");
@ -531,109 +562,6 @@ public class SismicaUtil {
return esito; return esito;
} }
private static List<String> riparaConformita(long companyId) {
List<String> esito = new ArrayList<>();
esitoLog(esito, "Riparazione avvisi di conformità");
List<IntPratica> pratiche = null;
int start = 0;
do {
try {
pratiche = IntPraticaLocalServiceUtil.getIntPraticas(start, start + SLICE);
} catch (SystemException e) {
esitoLog(esito, "Errore caricamento intPratiche: " + e.getMessage());
}
start += SLICE;
List<Avviso> avvisi = null;
for (IntPratica pratica : pratiche) {
String stato = pratica.getStatoPratica();
if (Validator.isNotNull(stato) && Validator.isNotNull(pratica.getTipoProcedura())
&& pratica.getTipoPratica().equals(Constants.TIPO_PRATICA_DEPOSITO)) {
try {
avvisi = AvvisoLocalServiceUtil.findByIntPraticaId_tipoDocumento(pratica.getIntPraticaId(),
StatoPraticaConstants.CONFORME);
} catch (SystemException e) {
esitoLog(esito, "Errore caricamento avvisi: " + e.getMessage());
}
List<Avviso> totali = null;
try {
totali = AvvisoLocalServiceUtil.findByIntPratica(pratica.getIntPraticaId(), QueryUtil.ALL_POS,
QueryUtil.ALL_POS, null);
} catch (SystemException e) {
totali = new ArrayList<>();
}
if ((avvisi.size() == 0) && stato.equalsIgnoreCase(StatoPraticaConstants.VIDIMATA)) {
List<ControlloPratica> controlli = null;
try {
controlli = ControlloPraticaLocalServiceUtil.findByIntPratica(pratica.getIntPraticaId());
} catch (SystemException e) {
controlli = new ArrayList<>();
}
if (pratica.getStatoPratica().equals(StatoPraticaConstants.VIDIMATA) && (controlli.size() == 0)) {
esitoLog(
esito,
"Progetto: " + pratica.getNumeroProgetto() + " (" + pratica.getIntPraticaId()
+ "), procedura=" + pratica.getTipoProcedura() + ", avvisi="
+ totali.size() + ", stato=" + pratica.getStatoPratica() + ", controlli="
+ controlli.size());
DettPratica dettPratica;
try {
dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(pratica
.getIntPraticaId());
} catch (SystemException e) {
dettPratica = null;
}
if (Validator.isNotNull(dettPratica)) {
ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(dettPratica.getCompanyId());
serviceContext.setScopeGroupId(dettPratica.getGroupId());
serviceContext.setUserId(dettPratica.getUserId());
ControlloPratica controllo;
try {
controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(
dettPratica.getGroupId(), dettPratica.getUserId(),
pratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false,
serviceContext);
} catch (PortalException | SystemException e) {
controllo = null;
}
if (Validator.isNotNull(controllo)) {
controllo.setStatus(WorkflowConstants.STATUS_APPROVED);
try {
ControlloPraticaLocalServiceUtil.updateControlloPratica(controllo);
} catch (SystemException e) {}
long fileEntryIdTemplate;
try {
fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(
companyId, "conf.geniocivile.avviso.template.id.deposito.B2");
} catch (SystemException e) {
fileEntryIdTemplate = 0;
}
if (Validator.isNotNull(fileEntryIdTemplate)) {
try {
pratica.setStatoPratica(StatoPraticaConstants.CONFORME);
IntPraticaLocalServiceUtil.updateIntPratica(pratica);
} catch (SystemException e) {}
}
}
}
}
} else if ((totali.size() == 2) && (avvisi.size() > 0)
&& stato.equalsIgnoreCase(StatoPraticaConstants.SOTTOPOSTA_A_PARERE)) {
esitoLog(esito, "Rendo conforme: " + pratica.getNumeroProgetto());
pratica.setStatoPratica(StatoPraticaConstants.CONFORME);
try {
IntPraticaLocalServiceUtil.updateIntPratica(pratica);
} catch (SystemException e) {}
}
}
}
} while (pratiche.size() > 0);
return esito;
}
private static List<String> riparaContextWorkflow(long companyId) { private static List<String> riparaContextWorkflow(long companyId) {
List<String> esito = new ArrayList<>(); List<String> esito = new ArrayList<>();

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

@ -1074,7 +1074,7 @@ public class DettPraticaImpl extends DettPraticaBaseImpl {
} }
if (!progettistaTecnicoRilevatorePresente if (!progettistaTecnicoRilevatorePresente
&& (intPratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_P8) && (intPratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_P8)
|| intPratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_Q9) || (progettistaPresente && (intPratica || intPratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_Q8) || (progettistaPresente && (intPratica
.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_P9) || intPratica.getTipoProcedura() .getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_P9) || intPratica.getTipoProcedura()
.equalsIgnoreCase(Constants.PROCEDURA_Q9))))) { .equalsIgnoreCase(Constants.PROCEDURA_Q9))))) {
notCompleted.add("gc-soggetto-06-tecnico-rilevatore-not-present"); notCompleted.add("gc-soggetto-06-tecnico-rilevatore-not-present");

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

@ -121,11 +121,12 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
public static long COMPANYID_COLUMN_BITMASK = 1L; public static long COMPANYID_COLUMN_BITMASK = 1L;
public static long DTPRATICA_COLUMN_BITMASK = 2L; public static long DTPRATICA_COLUMN_BITMASK = 2L;
public static long GROUPID_COLUMN_BITMASK = 4L; public static long GROUPID_COLUMN_BITMASK = 4L;
public static long STATUS_COLUMN_BITMASK = 8L; public static long STATOPRATICA_COLUMN_BITMASK = 8L;
public static long TERRITORIOID_COLUMN_BITMASK = 16L; public static long STATUS_COLUMN_BITMASK = 16L;
public static long USERID_COLUMN_BITMASK = 32L; public static long TERRITORIOID_COLUMN_BITMASK = 32L;
public static long UUID_COLUMN_BITMASK = 64L; public static long USERID_COLUMN_BITMASK = 64L;
public static long INTPRATICAID_COLUMN_BITMASK = 128L; public static long UUID_COLUMN_BITMASK = 128L;
public static long INTPRATICAID_COLUMN_BITMASK = 256L;
/** /**
* Converts the soap model instance into a normal model instance. * Converts the soap model instance into a normal model instance.
@ -765,9 +766,19 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
@Override @Override
public void setStatoPratica(String statoPratica) { public void setStatoPratica(String statoPratica) {
_columnBitmask |= STATOPRATICA_COLUMN_BITMASK;
if (_originalStatoPratica == null) {
_originalStatoPratica = _statoPratica;
}
_statoPratica = statoPratica; _statoPratica = statoPratica;
} }
public String getOriginalStatoPratica() {
return GetterUtil.getString(_originalStatoPratica);
}
@JSON @JSON
@Override @Override
public String getNumeroProgetto() { public String getNumeroProgetto() {
@ -1186,6 +1197,8 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
intPraticaModelImpl._setOriginalTerritorioId = false; intPraticaModelImpl._setOriginalTerritorioId = false;
intPraticaModelImpl._originalStatoPratica = intPraticaModelImpl._statoPratica;
intPraticaModelImpl._originalStatus = intPraticaModelImpl._status; intPraticaModelImpl._originalStatus = intPraticaModelImpl._status;
intPraticaModelImpl._setOriginalStatus = false; intPraticaModelImpl._setOriginalStatus = false;
@ -1620,6 +1633,7 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
private long _docPraticaAnnullamentoId; private long _docPraticaAnnullamentoId;
private int _unitaOperativa; private int _unitaOperativa;
private String _statoPratica; private String _statoPratica;
private String _originalStatoPratica;
private String _numeroProgetto; private String _numeroProgetto;
private boolean _validata; private boolean _validata;
private int _status; private int _status;

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

@ -154,245 +154,253 @@ public class IntPraticaLocalServiceClpInvoker {
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName180 = "deleteIntPratica"; _methodName180 = "findByStatoPratica";
_methodParameterTypes180 = new String[] { _methodParameterTypes180 = new String[] { "java.lang.String" };
_methodName181 = "findByStatoPratica";
_methodParameterTypes181 = new String[] { "java.lang.String", "int", "int" };
_methodName182 = "deleteIntPratica";
_methodParameterTypes182 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "boolean" "it.tref.liferay.portos.bo.model.IntPratica", "boolean"
}; };
_methodName181 = "deleteIntPratica"; _methodName183 = "deleteIntPratica";
_methodParameterTypes181 = new String[] { _methodParameterTypes183 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica" "it.tref.liferay.portos.bo.model.IntPratica"
}; };
_methodName182 = "cloneIntPratica"; _methodName184 = "cloneIntPratica";
_methodParameterTypes182 = new String[] { _methodParameterTypes184 = new String[] {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName184 = "updateDelegati"; _methodName186 = "updateDelegati";
_methodParameterTypes184 = new String[] { _methodParameterTypes186 = new String[] {
"long", "java.lang.String", "java.lang.String", "boolean" "long", "java.lang.String", "java.lang.String", "boolean"
}; };
_methodName185 = "fetchIntPratica"; _methodName187 = "fetchIntPratica";
_methodParameterTypes185 = new String[] { "long" }; _methodParameterTypes187 = new String[] { "long" };
_methodName186 = "findFascicoliNotProgetto"; _methodName188 = "findFascicoliNotProgetto";
_methodParameterTypes186 = new String[] { "int", "int" }; _methodParameterTypes188 = new String[] { "int", "int" };
_methodName187 = "countFascicoliNotProgetto"; _methodName189 = "countFascicoliNotProgetto";
_methodParameterTypes187 = new String[] { }; _methodParameterTypes189 = new String[] { };
_methodName189 = "countByPosizione"; _methodName191 = "countByPosizione";
_methodParameterTypes189 = new String[] { "double", "double", "int" }; _methodParameterTypes191 = new String[] { "double", "double", "int" };
_methodName190 = "findByPosizione"; _methodName192 = "findByPosizione";
_methodParameterTypes190 = new String[] { "double", "double", "int" }; _methodParameterTypes192 = new String[] { "double", "double", "int" };
_methodName191 = "findByPosizione"; _methodName193 = "findByPosizione";
_methodParameterTypes191 = new String[] { _methodParameterTypes193 = new String[] {
"double", "double", "int", "int", "int" "double", "double", "int", "int", "int"
}; };
_methodName193 = "addNumeroProgetto"; _methodName195 = "addNumeroProgetto";
_methodParameterTypes193 = new String[] { "long" }; _methodParameterTypes195 = new String[] { "long" };
_methodName194 = "sospendiPratica"; _methodName196 = "sospendiPratica";
_methodParameterTypes194 = new String[] { "long", "boolean" }; _methodParameterTypes196 = new String[] { "long", "boolean" };
_methodName195 = "cambiaTitolare"; _methodName197 = "cambiaTitolare";
_methodParameterTypes195 = new String[] { _methodParameterTypes197 = new String[] {
"long", "long", "com.liferay.portal.service.ServiceContext" "long", "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName196 = "updateStatoPratica"; _methodName198 = "updateStatoPratica";
_methodParameterTypes196 = new String[] { "long", "java.lang.String" }; _methodParameterTypes198 = new String[] { "long", "java.lang.String" };
_methodName197 = "findByC_UserId"; _methodName199 = "findByC_UserId";
_methodParameterTypes197 = new String[] { "long", "long", "int", "int" }; _methodParameterTypes199 = new String[] { "long", "long", "int", "int" };
_methodName198 = "countByC_UserId"; _methodName200 = "countByC_UserId";
_methodParameterTypes198 = new String[] { "long", "long" }; _methodParameterTypes200 = new String[] { "long", "long" };
_methodName199 = "updateStatus"; _methodName201 = "updateStatus";
_methodParameterTypes199 = new String[] { "long", "int" }; _methodParameterTypes201 = new String[] { "long", "int" };
_methodName200 = "findByCompanyIdSoggettoProgetti"; _methodName202 = "findByCompanyIdSoggettoProgetti";
_methodParameterTypes200 = new String[] { "long", "long" }; _methodParameterTypes202 = new String[] { "long", "long" };
_methodName201 = "countByCompanyIdSoggettoProgetti"; _methodName203 = "countByCompanyIdSoggettoProgetti";
_methodParameterTypes201 = new String[] { "long", "long" }; _methodParameterTypes203 = new String[] { "long", "long" };
_methodName203 = "findByCompanyIdSoggettoArchivio"; _methodName205 = "findByCompanyIdSoggettoArchivio";
_methodParameterTypes203 = new String[] { "long", "long" }; _methodParameterTypes205 = new String[] { "long", "long" };
_methodName204 = "countByCompanyIdSoggettoArchivio"; _methodName206 = "countByCompanyIdSoggettoArchivio";
_methodParameterTypes204 = new String[] { "long", "long" }; _methodParameterTypes206 = new String[] { "long", "long" };
_methodName206 = "findByCompanyIdSoggettoAltriProgetti"; _methodName208 = "findByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes206 = new String[] { "long", "long", "int", "int" }; _methodParameterTypes208 = new String[] { "long", "long", "int", "int" };
_methodName207 = "countByCompanyIdSoggettoAltriProgetti"; _methodName209 = "countByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes207 = new String[] { "long", "long" }; _methodParameterTypes209 = new String[] { "long", "long" };
_methodName209 = "findByCanAddFineLavori"; _methodName211 = "findByCanAddFineLavori";
_methodParameterTypes209 = new String[] { _methodParameterTypes211 = new String[] {
"long", "java.lang.String", "int", "int" "long", "java.lang.String", "int", "int"
}; };
_methodName210 = "countByCanAddFineLavori"; _methodName212 = "countByCanAddFineLavori";
_methodParameterTypes210 = new String[] { "long", "java.lang.String" }; _methodParameterTypes212 = new String[] { "long", "java.lang.String" };
_methodName212 = "findByCanAddCollaudo"; _methodName214 = "findByCanAddCollaudo";
_methodParameterTypes212 = new String[] { _methodParameterTypes214 = new String[] {
"long", "java.lang.String", "int", "int" "long", "java.lang.String", "int", "int"
}; };
_methodName213 = "countByCanAddCollaudo"; _methodName215 = "countByCanAddCollaudo";
_methodParameterTypes213 = new String[] { "long", "java.lang.String" }; _methodParameterTypes215 = new String[] { "long", "java.lang.String" };
_methodName214 = "search"; _methodName216 = "search";
_methodParameterTypes214 = new String[] { "java.util.List", "int", "int" }; _methodParameterTypes216 = new String[] { "java.util.List", "int", "int" };
_methodName215 = "countSearch"; _methodName217 = "countSearch";
_methodParameterTypes215 = new String[] { "java.util.List" }; _methodParameterTypes217 = new String[] { "java.util.List" };
_methodName216 = "searchWithIntPraticaId"; _methodName218 = "searchWithIntPraticaId";
_methodParameterTypes216 = new String[] { _methodParameterTypes218 = new String[] {
"java.util.List", "long", "int", "int" "java.util.List", "long", "int", "int"
}; };
_methodName217 = "allegaFileAnnullamento"; _methodName219 = "allegaFileAnnullamento";
_methodParameterTypes217 = new String[] { _methodParameterTypes219 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String", "long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName218 = "generateFileAnnullamento"; _methodName220 = "generateFileAnnullamento";
_methodParameterTypes218 = new String[] { _methodParameterTypes220 = new String[] {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName219 = "deleteFileAnnullamento"; _methodName221 = "deleteFileAnnullamento";
_methodParameterTypes219 = new String[] { "long" }; _methodParameterTypes221 = new String[] { "long" };
_methodName220 = "completeAnnullamento"; _methodName222 = "completeAnnullamento";
_methodParameterTypes220 = new String[] { "long" }; _methodParameterTypes222 = new String[] { "long" };
_methodName221 = "cambiaIstruttore"; _methodName223 = "cambiaIstruttore";
_methodParameterTypes221 = new String[] { "long", "long", "long" }; _methodParameterTypes223 = new String[] { "long", "long", "long" };
_methodName222 = "countCaricoLavoroCF"; _methodName224 = "countCaricoLavoroCF";
_methodParameterTypes222 = new String[] { _methodParameterTypes224 = new String[] {
"long", "java.lang.String", "java.lang.Long[][]" "long", "java.lang.String", "java.lang.Long[][]"
}; };
_methodName223 = "countCaricoLavoroIstruttore"; _methodName225 = "countCaricoLavoroIstruttore";
_methodParameterTypes223 = new String[] { "long", "java.lang.String" }; _methodParameterTypes225 = new String[] { "long", "java.lang.String" };
_methodName224 = "generateReportPratica"; _methodName226 = "generateReportPratica";
_methodParameterTypes224 = new String[] { _methodParameterTypes226 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long" "it.tref.liferay.portos.bo.model.IntPratica", "long"
}; };
_methodName225 = "updateModifiedDate"; _methodName227 = "updateModifiedDate";
_methodParameterTypes225 = new String[] { "long", "java.util.Date" }; _methodParameterTypes227 = new String[] { "long", "java.util.Date" };
_methodName226 = "reIndexFascicolo"; _methodName228 = "reIndexFascicolo";
_methodParameterTypes226 = new String[] { _methodParameterTypes228 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long" "it.tref.liferay.portos.bo.model.IntPratica", "long"
}; };
_methodName227 = "reIndexFasciolo"; _methodName229 = "reIndexFasciolo";
_methodParameterTypes227 = new String[] { "java.lang.String", "long" }; _methodParameterTypes229 = new String[] { "java.lang.String", "long" };
_methodName228 = "reIndexFasciolo"; _methodName230 = "reIndexFasciolo";
_methodParameterTypes228 = new String[] { "long", "long" }; _methodParameterTypes230 = new String[] { "long", "long" };
_methodName229 = "findByNumeroProgetto"; _methodName231 = "findByNumeroProgetto";
_methodParameterTypes229 = new String[] { "java.lang.String" }; _methodParameterTypes231 = new String[] { "java.lang.String" };
_methodName230 = "findByTerritorioId"; _methodName232 = "findByTerritorioId";
_methodParameterTypes230 = new String[] { "long" }; _methodParameterTypes232 = new String[] { "long" };
_methodName231 = "getOrganizationByIntPraticaId"; _methodName233 = "getOrganizationByIntPraticaId";
_methodParameterTypes231 = new String[] { "long" }; _methodParameterTypes233 = new String[] { "long" };
_methodName232 = "hasRichiestaIntegrazioneAttiva"; _methodName234 = "hasRichiestaIntegrazioneAttiva";
_methodParameterTypes232 = new String[] { "long" }; _methodParameterTypes234 = new String[] { "long" };
_methodName233 = "invioMailNotifica"; _methodName235 = "invioMailNotifica";
_methodParameterTypes233 = new String[] { _methodParameterTypes235 = new String[] {
"long", "long", "java.lang.String", "java.lang.String[][]", "long", "long", "java.lang.String", "java.lang.String[][]",
"java.lang.String[][]", "java.lang.String[][]", "java.lang.String[][]", "java.lang.String[][]",
"java.lang.String", "com.liferay.portal.kernel.json.JSONObject", "java.lang.String", "com.liferay.portal.kernel.json.JSONObject",
"java.util.List", "com.liferay.portal.service.ServiceContext" "java.util.List", "com.liferay.portal.service.ServiceContext"
}; };
_methodName234 = "searchAltriProgetti"; _methodName236 = "searchAltriProgetti";
_methodParameterTypes234 = new String[] { _methodParameterTypes236 = new String[] {
"javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int" "com.liferay.portal.model.User", "int", "int"
}; };
_methodName235 = "searchArchivioProgetti"; _methodName237 = "searchArchivioProgetti";
_methodParameterTypes235 = new String[] { _methodParameterTypes237 = new String[] {
"javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int" "com.liferay.portal.model.User", "int", "int"
}; };
_methodName236 = "searchMieiProgetti"; _methodName238 = "searchMieiProgetti";
_methodParameterTypes236 = new String[] { _methodParameterTypes238 = new String[] {
"javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int" "com.liferay.portal.model.User", "int", "int"
}; };
@ -555,60 +563,72 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName180.equals(name) && if (_methodName180.equals(name) &&
Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) {
return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], return IntPraticaLocalServiceUtil.findByStatoPratica((java.lang.String)arguments[0]);
((Boolean)arguments[1]).booleanValue());
} }
if (_methodName181.equals(name) && if (_methodName181.equals(name) &&
Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) {
return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0]); return IntPraticaLocalServiceUtil.findByStatoPratica((java.lang.String)arguments[0],
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
} }
if (_methodName182.equals(name) && if (_methodName182.equals(name) &&
Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) {
return IntPraticaLocalServiceUtil.cloneIntPratica(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
(com.liferay.portal.service.ServiceContext)arguments[1]); ((Boolean)arguments[1]).booleanValue());
}
if (_methodName183.equals(name) &&
Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) {
return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0]);
} }
if (_methodName184.equals(name) && if (_methodName184.equals(name) &&
Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) {
return IntPraticaLocalServiceUtil.cloneIntPratica(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]);
}
if (_methodName186.equals(name) &&
Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateDelegati(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.updateDelegati(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2], (java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Boolean)arguments[3]).booleanValue()); ((Boolean)arguments[3]).booleanValue());
} }
if (_methodName185.equals(name) && if (_methodName187.equals(name) &&
Arrays.deepEquals(_methodParameterTypes185, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) {
return IntPraticaLocalServiceUtil.fetchIntPratica(((Long)arguments[0]).longValue()); return IntPraticaLocalServiceUtil.fetchIntPratica(((Long)arguments[0]).longValue());
} }
if (_methodName186.equals(name) && if (_methodName188.equals(name) &&
Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes188, parameterTypes)) {
return IntPraticaLocalServiceUtil.findFascicoliNotProgetto(((Integer)arguments[0]).intValue(), return IntPraticaLocalServiceUtil.findFascicoliNotProgetto(((Integer)arguments[0]).intValue(),
((Integer)arguments[1]).intValue()); ((Integer)arguments[1]).intValue());
} }
if (_methodName187.equals(name) && if (_methodName189.equals(name) &&
Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
return IntPraticaLocalServiceUtil.countFascicoliNotProgetto(); return IntPraticaLocalServiceUtil.countFascicoliNotProgetto();
} }
if (_methodName189.equals(name) && if (_methodName191.equals(name) &&
Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByPosizione(((Double)arguments[0]).doubleValue(), return IntPraticaLocalServiceUtil.countByPosizione(((Double)arguments[0]).doubleValue(),
((Double)arguments[1]).doubleValue(), ((Double)arguments[1]).doubleValue(),
((Integer)arguments[2]).intValue()); ((Integer)arguments[2]).intValue());
} }
if (_methodName190.equals(name) && if (_methodName192.equals(name) &&
Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByPosizione(((Double)arguments[0]).doubleValue(), return IntPraticaLocalServiceUtil.findByPosizione(((Double)arguments[0]).doubleValue(),
((Double)arguments[1]).doubleValue(), ((Double)arguments[1]).doubleValue(),
((Integer)arguments[2]).intValue()); ((Integer)arguments[2]).intValue());
} }
if (_methodName191.equals(name) && if (_methodName193.equals(name) &&
Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByPosizione(((Double)arguments[0]).doubleValue(), return IntPraticaLocalServiceUtil.findByPosizione(((Double)arguments[0]).doubleValue(),
((Double)arguments[1]).doubleValue(), ((Double)arguments[1]).doubleValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
@ -616,168 +636,168 @@ public class IntPraticaLocalServiceClpInvoker {
((Integer)arguments[4]).intValue()); ((Integer)arguments[4]).intValue());
} }
if (_methodName193.equals(name) && if (_methodName195.equals(name) &&
Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) {
return IntPraticaLocalServiceUtil.addNumeroProgetto(((Long)arguments[0]).longValue()); return IntPraticaLocalServiceUtil.addNumeroProgetto(((Long)arguments[0]).longValue());
} }
if (_methodName194.equals(name) && if (_methodName196.equals(name) &&
Arrays.deepEquals(_methodParameterTypes194, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
return IntPraticaLocalServiceUtil.sospendiPratica(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.sospendiPratica(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue()); ((Boolean)arguments[1]).booleanValue());
} }
if (_methodName195.equals(name) && if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
return IntPraticaLocalServiceUtil.cambiaTitolare(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.cambiaTitolare(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[2]); (com.liferay.portal.service.ServiceContext)arguments[2]);
} }
if (_methodName196.equals(name) && if (_methodName198.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateStatoPratica(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.updateStatoPratica(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]); (java.lang.String)arguments[1]);
} }
if (_methodName197.equals(name) && if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByC_UserId(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.findByC_UserId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue()); ((Integer)arguments[3]).intValue());
} }
if (_methodName198.equals(name) && if (_methodName200.equals(name) &&
Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByC_UserId(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countByC_UserId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
} }
if (_methodName199.equals(name) && if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
IntPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(), IntPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue()); ((Integer)arguments[1]).intValue());
return null; return null;
} }
if (_methodName200.equals(name) && if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
} }
if (_methodName201.equals(name) && if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
} }
if (_methodName203.equals(name) && if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
} }
if (_methodName204.equals(name) && if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
} }
if (_methodName206.equals(name) && if (_methodName208.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue()); ((Integer)arguments[3]).intValue());
} }
if (_methodName207.equals(name) && if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
} }
if (_methodName209.equals(name) && if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddFineLavori(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.findByCanAddFineLavori(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue()); ((Integer)arguments[3]).intValue());
} }
if (_methodName210.equals(name) && if (_methodName212.equals(name) &&
Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddFineLavori(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countByCanAddFineLavori(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]); (java.lang.String)arguments[1]);
} }
if (_methodName212.equals(name) && if (_methodName214.equals(name) &&
Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddCollaudo(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.findByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue()); ((Integer)arguments[3]).intValue());
} }
if (_methodName213.equals(name) && if (_methodName215.equals(name) &&
Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddCollaudo(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]); (java.lang.String)arguments[1]);
} }
if (_methodName214.equals(name) && if (_methodName216.equals(name) &&
Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) {
return IntPraticaLocalServiceUtil.search((java.util.List<java.lang.Long>)arguments[0], return IntPraticaLocalServiceUtil.search((java.util.List<java.lang.Long>)arguments[0],
((Integer)arguments[1]).intValue(), ((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue()); ((Integer)arguments[2]).intValue());
} }
if (_methodName215.equals(name) && if (_methodName217.equals(name) &&
Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSearch((java.util.List<java.lang.Long>)arguments[0]); return IntPraticaLocalServiceUtil.countSearch((java.util.List<java.lang.Long>)arguments[0]);
} }
if (_methodName216.equals(name) && if (_methodName218.equals(name) &&
Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0], return IntPraticaLocalServiceUtil.searchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0],
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue()); ((Integer)arguments[3]).intValue());
} }
if (_methodName217.equals(name) && if (_methodName219.equals(name) &&
Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
return IntPraticaLocalServiceUtil.allegaFileAnnullamento(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.allegaFileAnnullamento(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2], (byte[])arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3], (java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]); (com.liferay.portal.service.ServiceContext)arguments[4]);
} }
if (_methodName218.equals(name) && if (_methodName220.equals(name) &&
Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]); (com.liferay.portal.service.ServiceContext)arguments[1]);
} }
if (_methodName219.equals(name) && if (_methodName221.equals(name) &&
Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue()); IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue());
return null; return null;
} }
if (_methodName220.equals(name) && if (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue()); IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue());
return null; return null;
} }
if (_methodName221.equals(name) && if (_methodName223.equals(name) &&
Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) {
IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(), IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue()); ((Long)arguments[2]).longValue());
@ -785,76 +805,76 @@ public class IntPraticaLocalServiceClpInvoker {
return null; return null;
} }
if (_methodName222.equals(name) && if (_methodName224.equals(name) &&
Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.Long[])arguments[2]); (java.lang.String)arguments[1], (java.lang.Long[])arguments[2]);
} }
if (_methodName223.equals(name) && if (_methodName225.equals(name) &&
Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]); (java.lang.String)arguments[1]);
} }
if (_methodName224.equals(name) && if (_methodName226.equals(name) &&
Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
} }
if (_methodName225.equals(name) && if (_methodName227.equals(name) &&
Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(), return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(),
(java.util.Date)arguments[1]); (java.util.Date)arguments[1]);
} }
if (_methodName226.equals(name) && if (_methodName228.equals(name) &&
Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
return null; return null;
} }
if (_methodName227.equals(name) && if (_methodName229.equals(name) &&
Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0], IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0],
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
return null; return null;
} }
if (_methodName228.equals(name) && if (_methodName230.equals(name) &&
Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(), IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue()); ((Long)arguments[1]).longValue());
return null; return null;
} }
if (_methodName229.equals(name) && if (_methodName231.equals(name) &&
Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]); return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]);
} }
if (_methodName230.equals(name) && if (_methodName232.equals(name) &&
Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue()); return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue());
} }
if (_methodName231.equals(name) && if (_methodName233.equals(name) &&
Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) {
return IntPraticaLocalServiceUtil.getOrganizationByIntPraticaId(((Long)arguments[0]).longValue()); return IntPraticaLocalServiceUtil.getOrganizationByIntPraticaId(((Long)arguments[0]).longValue());
} }
if (_methodName232.equals(name) && if (_methodName234.equals(name) &&
Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes234, parameterTypes)) {
return IntPraticaLocalServiceUtil.hasRichiestaIntegrazioneAttiva(((Long)arguments[0]).longValue()); return IntPraticaLocalServiceUtil.hasRichiestaIntegrazioneAttiva(((Long)arguments[0]).longValue());
} }
if (_methodName233.equals(name) && if (_methodName235.equals(name) &&
Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes235, parameterTypes)) {
IntPraticaLocalServiceUtil.invioMailNotifica(((Long)arguments[0]).longValue(), IntPraticaLocalServiceUtil.invioMailNotifica(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
(java.lang.String)arguments[2], (java.lang.String)arguments[2],
@ -869,24 +889,24 @@ public class IntPraticaLocalServiceClpInvoker {
return null; return null;
} }
if (_methodName234.equals(name) && if (_methodName236.equals(name) &&
Arrays.deepEquals(_methodParameterTypes234, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchAltriProgetti((javax.servlet.http.HttpServletRequest)arguments[0], return IntPraticaLocalServiceUtil.searchAltriProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1], (com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue()); ((Integer)arguments[3]).intValue());
} }
if (_methodName235.equals(name) && if (_methodName237.equals(name) &&
Arrays.deepEquals(_methodParameterTypes235, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes237, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchArchivioProgetti((javax.servlet.http.HttpServletRequest)arguments[0], return IntPraticaLocalServiceUtil.searchArchivioProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1], (com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue()); ((Integer)arguments[3]).intValue());
} }
if (_methodName236.equals(name) && if (_methodName238.equals(name) &&
Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes238, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchMieiProgetti((javax.servlet.http.HttpServletRequest)arguments[0], return IntPraticaLocalServiceUtil.searchMieiProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1], (com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
@ -954,24 +974,24 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes181; private String[] _methodParameterTypes181;
private String _methodName182; private String _methodName182;
private String[] _methodParameterTypes182; private String[] _methodParameterTypes182;
private String _methodName183;
private String[] _methodParameterTypes183;
private String _methodName184; private String _methodName184;
private String[] _methodParameterTypes184; private String[] _methodParameterTypes184;
private String _methodName185;
private String[] _methodParameterTypes185;
private String _methodName186; private String _methodName186;
private String[] _methodParameterTypes186; private String[] _methodParameterTypes186;
private String _methodName187; private String _methodName187;
private String[] _methodParameterTypes187; private String[] _methodParameterTypes187;
private String _methodName188;
private String[] _methodParameterTypes188;
private String _methodName189; private String _methodName189;
private String[] _methodParameterTypes189; private String[] _methodParameterTypes189;
private String _methodName190;
private String[] _methodParameterTypes190;
private String _methodName191; private String _methodName191;
private String[] _methodParameterTypes191; private String[] _methodParameterTypes191;
private String _methodName192;
private String[] _methodParameterTypes192;
private String _methodName193; private String _methodName193;
private String[] _methodParameterTypes193; private String[] _methodParameterTypes193;
private String _methodName194;
private String[] _methodParameterTypes194;
private String _methodName195; private String _methodName195;
private String[] _methodParameterTypes195; private String[] _methodParameterTypes195;
private String _methodName196; private String _methodName196;
@ -986,22 +1006,22 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes200; private String[] _methodParameterTypes200;
private String _methodName201; private String _methodName201;
private String[] _methodParameterTypes201; private String[] _methodParameterTypes201;
private String _methodName202;
private String[] _methodParameterTypes202;
private String _methodName203; private String _methodName203;
private String[] _methodParameterTypes203; private String[] _methodParameterTypes203;
private String _methodName204; private String _methodName205;
private String[] _methodParameterTypes204; private String[] _methodParameterTypes205;
private String _methodName206; private String _methodName206;
private String[] _methodParameterTypes206; private String[] _methodParameterTypes206;
private String _methodName207; private String _methodName208;
private String[] _methodParameterTypes207; private String[] _methodParameterTypes208;
private String _methodName209; private String _methodName209;
private String[] _methodParameterTypes209; private String[] _methodParameterTypes209;
private String _methodName210; private String _methodName211;
private String[] _methodParameterTypes210; private String[] _methodParameterTypes211;
private String _methodName212; private String _methodName212;
private String[] _methodParameterTypes212; private String[] _methodParameterTypes212;
private String _methodName213;
private String[] _methodParameterTypes213;
private String _methodName214; private String _methodName214;
private String[] _methodParameterTypes214; private String[] _methodParameterTypes214;
private String _methodName215; private String _methodName215;
@ -1048,4 +1068,8 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes235; private String[] _methodParameterTypes235;
private String _methodName236; private String _methodName236;
private String[] _methodParameterTypes236; private String[] _methodParameterTypes236;
private String _methodName237;
private String[] _methodParameterTypes237;
private String _methodName238;
private String[] _methodParameterTypes238;
} }

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

@ -219,6 +219,18 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
return intPratica; return intPratica;
} }
@Override
public List<IntPratica> findByStatoPratica(String statoPratica) throws SystemException {
return intPraticaPersistence.findByStatoPratica(statoPratica);
}
@Override
public List<IntPratica> findByStatoPratica(String statoPratica, int start, int end) throws SystemException {
return intPraticaPersistence.findByStatoPratica(statoPratica, start, end);
}
@Override @Override
public IntPratica deleteIntPratica(IntPratica intPratica, boolean forced) throws SystemException, PortalException { public IntPratica deleteIntPratica(IntPratica intPratica, boolean forced) throws SystemException, PortalException {
if (intPratica.getStatus() == WorkflowConstants.STATUS_ANY || forced) { if (intPratica.getStatus() == WorkflowConstants.STATUS_ANY || forced) {

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

@ -279,16 +279,16 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
private DynamicQuery dqInCorso() { private DynamicQuery dqInCorso() {
DynamicQuery query = dynamicQuery(); DynamicQuery query = dynamicQuery();
Junction assegnataNonApprovata = RestrictionsFactoryUtil.conjunction(); Disjunction or = RestrictionsFactoryUtil.disjunction();
assegnataNonApprovata.add(RestrictionsFactoryUtil.ne("unitaOperativa", 0)); Junction and = RestrictionsFactoryUtil.conjunction();
assegnataNonApprovata.add(RestrictionsFactoryUtil.isNotNull("dtAssegnazione")); and.add(RestrictionsFactoryUtil.eq("assegnatoreUserId", 0L));
assegnataNonApprovata.add(RestrictionsFactoryUtil.isNull("dtApprovazione")); and.add(RestrictionsFactoryUtil.isNull("dtCompilazione"));
Disjunction nonEspressoONonApprovato = RestrictionsFactoryUtil.disjunction(); or.add(and);
nonEspressoONonApprovato.add(assegnataNonApprovata); and = RestrictionsFactoryUtil.conjunction();
// I pareri richiesti prima dell'aggiornamento hanno unitaOperativa = 0 and.add(RestrictionsFactoryUtil.ne("assegnatoreUserId", 0L));
nonEspressoONonApprovato.add(RestrictionsFactoryUtil.eq("unitaOperativa", 0)); and.add(RestrictionsFactoryUtil.isNull("dtApprovazione"));
query.add(nonEspressoONonApprovato); or.add(and);
query.add(RestrictionsFactoryUtil.isNull("dtCompilazione")); query.add(or);
query.add(RestrictionsFactoryUtil.isNull("dtAnnullamento")); query.add(RestrictionsFactoryUtil.isNull("dtAnnullamento"));
return query; return query;
} }

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

@ -3953,6 +3953,548 @@ public class IntPraticaPersistenceImpl extends BasePersistenceImpl<IntPratica>
private static final String _FINDER_COLUMN_P_STATUS_2 = "intPratica.status = ? AND "; private static final String _FINDER_COLUMN_P_STATUS_2 = "intPratica.status = ? AND ";
private static final String _FINDER_COLUMN_P_DTPRATICA_1 = "intPratica.dtPratica IS NULL"; private static final String _FINDER_COLUMN_P_DTPRATICA_1 = "intPratica.dtPratica IS NULL";
private static final String _FINDER_COLUMN_P_DTPRATICA_2 = "intPratica.dtPratica = ?"; private static final String _FINDER_COLUMN_P_DTPRATICA_2 = "intPratica.dtPratica = ?";
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STATOPRATICA =
new FinderPath(IntPraticaModelImpl.ENTITY_CACHE_ENABLED,
IntPraticaModelImpl.FINDER_CACHE_ENABLED, IntPraticaImpl.class,
FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByStatoPratica",
new String[] {
String.class.getName(),
Integer.class.getName(), Integer.class.getName(),
OrderByComparator.class.getName()
});
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STATOPRATICA =
new FinderPath(IntPraticaModelImpl.ENTITY_CACHE_ENABLED,
IntPraticaModelImpl.FINDER_CACHE_ENABLED, IntPraticaImpl.class,
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByStatoPratica",
new String[] { String.class.getName() },
IntPraticaModelImpl.STATOPRATICA_COLUMN_BITMASK);
public static final FinderPath FINDER_PATH_COUNT_BY_STATOPRATICA = new FinderPath(IntPraticaModelImpl.ENTITY_CACHE_ENABLED,
IntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class,
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByStatoPratica",
new String[] { String.class.getName() });
/**
* Returns all the int praticas where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @return the matching int praticas
* @throws SystemException if a system exception occurred
*/
@Override
public List<IntPratica> findByStatoPratica(String statoPratica)
throws SystemException {
return findByStatoPratica(statoPratica, QueryUtil.ALL_POS,
QueryUtil.ALL_POS, null);
}
/**
* Returns a range of all the int praticas where statoPratica = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param statoPratica the stato pratica
* @param start the lower bound of the range of int praticas
* @param end the upper bound of the range of int praticas (not inclusive)
* @return the range of matching int praticas
* @throws SystemException if a system exception occurred
*/
@Override
public List<IntPratica> findByStatoPratica(String statoPratica, int start,
int end) throws SystemException {
return findByStatoPratica(statoPratica, start, end, null);
}
/**
* Returns an ordered range of all the int praticas where statoPratica = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param statoPratica the stato pratica
* @param start the lower bound of the range of int praticas
* @param end the upper bound of the range of int praticas (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching int praticas
* @throws SystemException if a system exception occurred
*/
@Override
public List<IntPratica> findByStatoPratica(String statoPratica, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
boolean pagination = true;
FinderPath finderPath = null;
Object[] finderArgs = null;
if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) &&
(orderByComparator == null)) {
pagination = false;
finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STATOPRATICA;
finderArgs = new Object[] { statoPratica };
}
else {
finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_STATOPRATICA;
finderArgs = new Object[] {
statoPratica,
start, end, orderByComparator
};
}
List<IntPratica> list = (List<IntPratica>)FinderCacheUtil.getResult(finderPath,
finderArgs, this);
if ((list != null) && !list.isEmpty()) {
for (IntPratica intPratica : list) {
if (!Validator.equals(statoPratica, intPratica.getStatoPratica())) {
list = null;
break;
}
}
}
if (list == null) {
StringBundler query = null;
if (orderByComparator != null) {
query = new StringBundler(3 +
(orderByComparator.getOrderByFields().length * 3));
}
else {
query = new StringBundler(3);
}
query.append(_SQL_SELECT_INTPRATICA_WHERE);
boolean bindStatoPratica = false;
if (statoPratica == null) {
query.append(_FINDER_COLUMN_STATOPRATICA_STATOPRATICA_1);
}
else if (statoPratica.equals(StringPool.BLANK)) {
query.append(_FINDER_COLUMN_STATOPRATICA_STATOPRATICA_3);
}
else {
bindStatoPratica = true;
query.append(_FINDER_COLUMN_STATOPRATICA_STATOPRATICA_2);
}
if (orderByComparator != null) {
appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS,
orderByComparator);
}
else
if (pagination) {
query.append(IntPraticaModelImpl.ORDER_BY_JPQL);
}
String sql = query.toString();
Session session = null;
try {
session = openSession();
Query q = session.createQuery(sql);
QueryPos qPos = QueryPos.getInstance(q);
if (bindStatoPratica) {
qPos.add(statoPratica);
}
if (!pagination) {
list = (List<IntPratica>)QueryUtil.list(q, getDialect(),
start, end, false);
Collections.sort(list);
list = new UnmodifiableList<IntPratica>(list);
}
else {
list = (List<IntPratica>)QueryUtil.list(q, getDialect(),
start, end);
}
cacheResult(list);
FinderCacheUtil.putResult(finderPath, finderArgs, list);
}
catch (Exception e) {
FinderCacheUtil.removeResult(finderPath, finderArgs);
throw processException(e);
}
finally {
closeSession(session);
}
}
return list;
}
/**
* Returns the first int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public IntPratica findByStatoPratica_First(String statoPratica,
OrderByComparator orderByComparator)
throws NoSuchIntPraticaException, SystemException {
IntPratica intPratica = fetchByStatoPratica_First(statoPratica,
orderByComparator);
if (intPratica != null) {
return intPratica;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("statoPratica=");
msg.append(statoPratica);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchIntPraticaException(msg.toString());
}
/**
* Returns the first int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public IntPratica fetchByStatoPratica_First(String statoPratica,
OrderByComparator orderByComparator) throws SystemException {
List<IntPratica> list = findByStatoPratica(statoPratica, 0, 1,
orderByComparator);
if (!list.isEmpty()) {
return list.get(0);
}
return null;
}
/**
* Returns the last int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public IntPratica findByStatoPratica_Last(String statoPratica,
OrderByComparator orderByComparator)
throws NoSuchIntPraticaException, SystemException {
IntPratica intPratica = fetchByStatoPratica_Last(statoPratica,
orderByComparator);
if (intPratica != null) {
return intPratica;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("statoPratica=");
msg.append(statoPratica);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchIntPraticaException(msg.toString());
}
/**
* Returns the last int pratica in the ordered set where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public IntPratica fetchByStatoPratica_Last(String statoPratica,
OrderByComparator orderByComparator) throws SystemException {
int count = countByStatoPratica(statoPratica);
if (count == 0) {
return null;
}
List<IntPratica> list = findByStatoPratica(statoPratica, count - 1,
count, orderByComparator);
if (!list.isEmpty()) {
return list.get(0);
}
return null;
}
/**
* Returns the int praticas before and after the current int pratica in the ordered set where statoPratica = &#63;.
*
* @param intPraticaId the primary key of the current int pratica
* @param statoPratica the stato pratica
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a int pratica with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public IntPratica[] findByStatoPratica_PrevAndNext(long intPraticaId,
String statoPratica, OrderByComparator orderByComparator)
throws NoSuchIntPraticaException, SystemException {
IntPratica intPratica = findByPrimaryKey(intPraticaId);
Session session = null;
try {
session = openSession();
IntPratica[] array = new IntPraticaImpl[3];
array[0] = getByStatoPratica_PrevAndNext(session, intPratica,
statoPratica, orderByComparator, true);
array[1] = intPratica;
array[2] = getByStatoPratica_PrevAndNext(session, intPratica,
statoPratica, orderByComparator, false);
return array;
}
catch (Exception e) {
throw processException(e);
}
finally {
closeSession(session);
}
}
protected IntPratica getByStatoPratica_PrevAndNext(Session session,
IntPratica intPratica, String statoPratica,
OrderByComparator orderByComparator, boolean previous) {
StringBundler query = null;
if (orderByComparator != null) {
query = new StringBundler(6 +
(orderByComparator.getOrderByFields().length * 6));
}
else {
query = new StringBundler(3);
}
query.append(_SQL_SELECT_INTPRATICA_WHERE);
boolean bindStatoPratica = false;
if (statoPratica == null) {
query.append(_FINDER_COLUMN_STATOPRATICA_STATOPRATICA_1);
}
else if (statoPratica.equals(StringPool.BLANK)) {
query.append(_FINDER_COLUMN_STATOPRATICA_STATOPRATICA_3);
}
else {
bindStatoPratica = true;
query.append(_FINDER_COLUMN_STATOPRATICA_STATOPRATICA_2);
}
if (orderByComparator != null) {
String[] orderByConditionFields = orderByComparator.getOrderByConditionFields();
if (orderByConditionFields.length > 0) {
query.append(WHERE_AND);
}
for (int i = 0; i < orderByConditionFields.length; i++) {
query.append(_ORDER_BY_ENTITY_ALIAS);
query.append(orderByConditionFields[i]);
if ((i + 1) < orderByConditionFields.length) {
if (orderByComparator.isAscending() ^ previous) {
query.append(WHERE_GREATER_THAN_HAS_NEXT);
}
else {
query.append(WHERE_LESSER_THAN_HAS_NEXT);
}
}
else {
if (orderByComparator.isAscending() ^ previous) {
query.append(WHERE_GREATER_THAN);
}
else {
query.append(WHERE_LESSER_THAN);
}
}
}
query.append(ORDER_BY_CLAUSE);
String[] orderByFields = orderByComparator.getOrderByFields();
for (int i = 0; i < orderByFields.length; i++) {
query.append(_ORDER_BY_ENTITY_ALIAS);
query.append(orderByFields[i]);
if ((i + 1) < orderByFields.length) {
if (orderByComparator.isAscending() ^ previous) {
query.append(ORDER_BY_ASC_HAS_NEXT);
}
else {
query.append(ORDER_BY_DESC_HAS_NEXT);
}
}
else {
if (orderByComparator.isAscending() ^ previous) {
query.append(ORDER_BY_ASC);
}
else {
query.append(ORDER_BY_DESC);
}
}
}
}
else {
query.append(IntPraticaModelImpl.ORDER_BY_JPQL);
}
String sql = query.toString();
Query q = session.createQuery(sql);
q.setFirstResult(0);
q.setMaxResults(2);
QueryPos qPos = QueryPos.getInstance(q);
if (bindStatoPratica) {
qPos.add(statoPratica);
}
if (orderByComparator != null) {
Object[] values = orderByComparator.getOrderByConditionValues(intPratica);
for (Object value : values) {
qPos.add(value);
}
}
List<IntPratica> list = q.list();
if (list.size() == 2) {
return list.get(1);
}
else {
return null;
}
}
/**
* Removes all the int praticas where statoPratica = &#63; from the database.
*
* @param statoPratica the stato pratica
* @throws SystemException if a system exception occurred
*/
@Override
public void removeByStatoPratica(String statoPratica)
throws SystemException {
for (IntPratica intPratica : findByStatoPratica(statoPratica,
QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
remove(intPratica);
}
}
/**
* Returns the number of int praticas where statoPratica = &#63;.
*
* @param statoPratica the stato pratica
* @return the number of matching int praticas
* @throws SystemException if a system exception occurred
*/
@Override
public int countByStatoPratica(String statoPratica)
throws SystemException {
FinderPath finderPath = FINDER_PATH_COUNT_BY_STATOPRATICA;
Object[] finderArgs = new Object[] { statoPratica };
Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs,
this);
if (count == null) {
StringBundler query = new StringBundler(2);
query.append(_SQL_COUNT_INTPRATICA_WHERE);
boolean bindStatoPratica = false;
if (statoPratica == null) {
query.append(_FINDER_COLUMN_STATOPRATICA_STATOPRATICA_1);
}
else if (statoPratica.equals(StringPool.BLANK)) {
query.append(_FINDER_COLUMN_STATOPRATICA_STATOPRATICA_3);
}
else {
bindStatoPratica = true;
query.append(_FINDER_COLUMN_STATOPRATICA_STATOPRATICA_2);
}
String sql = query.toString();
Session session = null;
try {
session = openSession();
Query q = session.createQuery(sql);
QueryPos qPos = QueryPos.getInstance(q);
if (bindStatoPratica) {
qPos.add(statoPratica);
}
count = (Long)q.uniqueResult();
FinderCacheUtil.putResult(finderPath, finderArgs, count);
}
catch (Exception e) {
FinderCacheUtil.removeResult(finderPath, finderArgs);
throw processException(e);
}
finally {
closeSession(session);
}
}
return count.intValue();
}
private static final String _FINDER_COLUMN_STATOPRATICA_STATOPRATICA_1 = "intPratica.statoPratica IS NULL";
private static final String _FINDER_COLUMN_STATOPRATICA_STATOPRATICA_2 = "intPratica.statoPratica = ?";
private static final String _FINDER_COLUMN_STATOPRATICA_STATOPRATICA_3 = "(intPratica.statoPratica IS NULL OR intPratica.statoPratica = '')";
public IntPraticaPersistenceImpl() { public IntPraticaPersistenceImpl() {
setModelClass(IntPratica.class); setModelClass(IntPratica.class);
@ -4366,6 +4908,25 @@ public class IntPraticaPersistenceImpl extends BasePersistenceImpl<IntPratica>
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P, FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P,
args); args);
} }
if ((intPraticaModelImpl.getColumnBitmask() &
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STATOPRATICA.getColumnBitmask()) != 0) {
Object[] args = new Object[] {
intPraticaModelImpl.getOriginalStatoPratica()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_STATOPRATICA,
args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STATOPRATICA,
args);
args = new Object[] { intPraticaModelImpl.getStatoPratica() };
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_STATOPRATICA,
args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STATOPRATICA,
args);
}
} }
EntityCacheUtil.putResult(IntPraticaModelImpl.ENTITY_CACHE_ENABLED, EntityCacheUtil.putResult(IntPraticaModelImpl.ENTITY_CACHE_ENABLED,

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

@ -13,8 +13,8 @@
## ##
build.namespace=portos_bo build.namespace=portos_bo
build.number=3608 build.number=3610
build.date=1653567453540 build.date=1655995616028
build.auto.upgrade=true build.auto.upgrade=true
## ##

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/asset/controllopratica/full_content.jsp

@ -54,8 +54,8 @@ List<ParereGeologo> pareri = ParereGeologoLocalServiceUtil.findByIntPraticaId(in
<c:if test="<%= intPratica.getUnitaOperativa() > 0 %>"> <c:if test="<%= intPratica.getUnitaOperativa() > 0 %>">
<strong>Unità Operativa: </strong><%= intPratica.getUnitaOperativa() %> - <strong>Unità Operativa: </strong><%= intPratica.getUnitaOperativa() %> -
</c:if> </c:if>
<strong>Tecnico istruttore: </strong> <%= tecnicoIstruttore != null ? tecnicoIstruttore.getFullName() <strong>Tecnico istruttore: </strong> <%= tecnicoIstruttore == null ? "Nessun istruttore"
: "Nessun istruttore" %> : Generics.capitalizeFull(tecnicoIstruttore.getFullName()) %>
</p> </p>
</div> </div>
<div> <div>
@ -82,7 +82,7 @@ List<ParereGeologo> pareri = ParereGeologoLocalServiceUtil.findByIntPraticaId(in
User approvatore = parere.getApprovatoreUserId() == 0 ? null User approvatore = parere.getApprovatoreUserId() == 0 ? null
: UserLocalServiceUtil.getUser(parere.getApprovatoreUserId()); : UserLocalServiceUtil.getUser(parere.getApprovatoreUserId());
boolean espresso = Validator.isNotNull(parere.getDtCompilazione()) boolean espresso = Validator.isNotNull(parere.getDtCompilazione())
&& (parere.getUnitaOperativa() == 0 || Validator.isNotNull(parere.getDtApprovazione())); && (parere.getAssegnatoreUserId() == 0 || Validator.isNotNull(parere.getDtApprovazione()));
%> %>
<li> <li>
<c:choose> <c:choose>

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/avvisi/view.jsp

@ -9,7 +9,8 @@
<%@ include file="/html/avvisi/init.jsp" %> <%@ include file="/html/avvisi/init.jsp" %>
<% <%
long intPraticaId = ParamUtil.getLong(request, "intPraticaId", 0L); long intPraticaId = ParamUtil.getLong(request, "intPraticaId", 0L);
List<Avviso> avvisi = AvvisoLocalServiceUtil.findByIntPratica(intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); List<Avviso> avvisi = AvvisoLocalServiceUtil.findByIntPratica(intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
OrderByComparatorFactoryUtil.create(AvvisoImpl.TABLE_NAME, "dtInvio", true));
%> %>
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" orderByType="desc" orderByCol="createDate"> <liferay-ui:search-container emptyResultsMessage="no-entries-were-found" orderByType="desc" orderByCol="createDate">
<liferay-ui:search-container-results results="<%= avvisi %>" total="<%= avvisi.size() %>" /> <liferay-ui:search-container-results results="<%= avvisi %>" total="<%= avvisi.size() %>" />

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/actions/action_annulla_ric_geologo.jsp

@ -27,8 +27,6 @@ List<ParereGeologo> pareri = ParereGeologoLocalServiceUtil.findByIntPraticaIdInC
String fullName; String fullName;
if (parere.getGeologoUserId() != 0) { if (parere.getGeologoUserId() != 0) {
User geologo = UserLocalServiceUtil.getUser(parere.getGeologoUserId()); User geologo = UserLocalServiceUtil.getUser(parere.getGeologoUserId());
List<Organization> listaOrganizzazioni = OrganizationLocalServiceUtil
.getUserOrganizations(geologo.getUserId());
fullName = geologo.getFullName(); fullName = geologo.getFullName();
} else { } else {
fullName = "U.O. " + parere.getUnitaOperativa(); fullName = "U.O. " + parere.getUnitaOperativa();

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/view_columns.jspf

@ -215,7 +215,7 @@ DettPratica lastDettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntP
if (Validator.isNotNull(parere.getDtAnnullamento())) { if (Validator.isNotNull(parere.getDtAnnullamento())) {
annullati++; annullati++;
} else if (Validator.isNotNull(parere.getDtCompilazione()) } else if (Validator.isNotNull(parere.getDtCompilazione())
&& (parere.getUnitaOperativa() == 0 || Validator.isNotNull(parere.getDtApprovazione()))) { && (parere.getAssegnatoreUserId() == 0 || Validator.isNotNull(parere.getDtApprovazione()))) {
espressi++; espressi++;
} }
} }

24
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_da_firmare.jsp

@ -73,6 +73,9 @@ if (Validator.isNotNull(mvcPath)) {
+ LanguageUtil.get(pageContext, "tipo_procedura_" + LanguageUtil.get(pageContext, "tipo_procedura_"
+ intPratica.getTipoProcedura()); + intPratica.getTipoProcedura());
} }
Territorio territorio = TerritorioLocalServiceUtil.fetchTerritorio(intPratica.getTerritorioId());
Comune comune = ComuneLocalServiceUtil.fetchComune(territorio.getComuneId());
Provincia provincia = ProvinciaLocalServiceUtil.findByC_C(comune.getCompanyId(), comune.getCodiceProvincia());
%> %>
<liferay-ui:search-container-column-text name="label.avviso.progetto" <liferay-ui:search-container-column-text name="label.avviso.progetto"
value="<%= Validator.isNull(intPratica) ? StringPool.MINUS value="<%= Validator.isNull(intPratica) ? StringPool.MINUS
@ -84,9 +87,12 @@ if (Validator.isNotNull(mvcPath)) {
cssClass="text-center" /> cssClass="text-center" />
<liferay-ui:search-container-column-text name="label.avviso.tipoProcedura" <liferay-ui:search-container-column-text name="label.avviso.tipoProcedura"
value="<%= tipoProcedura %>" /> value="<%= tipoProcedura %>" />
<liferay-ui:search-container-column-text name="U.O."> <liferay-ui:search-container-column-text name="label.avviso.provincia"
<%= intPratica.getUnitaOperativa() %> value="<%= provincia.getProvincia() %>" />
</liferay-ui:search-container-column-text> <liferay-ui:search-container-column-text name="label.avviso.comune"
value="<%= comune.getDenominazione() %>"/>
<liferay-ui:search-container-column-text name="label.avviso.unitaoperativa"
value="<%= String.valueOf(intPratica.getUnitaOperativa()) %>" />
<liferay-ui:search-container-column-text name="label.avviso.dataAvviso" <liferay-ui:search-container-column-text name="label.avviso.dataAvviso"
value='<%= dateFormatDateTime.format(avviso.getDtAvviso()) %>' /> value='<%= dateFormatDateTime.format(avviso.getDtAvviso()) %>' />
<% <%
@ -187,6 +193,9 @@ if (Validator.isNotNull(mvcPath)) {
tipoProcedura = LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica tipoProcedura = LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica
.getTipoProcedura()); .getTipoProcedura());
} }
Territorio territorio = TerritorioLocalServiceUtil.fetchTerritorio(intPratica.getTerritorioId());
Comune comune = ComuneLocalServiceUtil.fetchComune(territorio.getComuneId());
Provincia provincia = ProvinciaLocalServiceUtil.findByC_C(comune.getCompanyId(), comune.getCodiceProvincia());
%> %>
<liferay-ui:search-container-column-text name="label.avviso.progetto" <liferay-ui:search-container-column-text name="label.avviso.progetto"
value="<%= Validator.isNull(intPratica) ? StringPool.MINUS value="<%= Validator.isNull(intPratica) ? StringPool.MINUS
@ -198,9 +207,12 @@ if (Validator.isNotNull(mvcPath)) {
cssClass="text-center" /> cssClass="text-center" />
<liferay-ui:search-container-column-text name="label.avviso.tipoProcedura" <liferay-ui:search-container-column-text name="label.avviso.tipoProcedura"
value="<%= tipoProcedura %>" /> value="<%= tipoProcedura %>" />
<liferay-ui:search-container-column-text name="U.O."> <liferay-ui:search-container-column-text name="label.avviso.provincia"
<%= intPratica.getUnitaOperativa() %> value="<%= provincia.getProvincia() %>" />
</liferay-ui:search-container-column-text> <liferay-ui:search-container-column-text name="label.avviso.comune"
value="<%= comune.getDenominazione() %>"/>
<liferay-ui:search-container-column-text name="label.avviso.unitaoperativa"
value="<%= String.valueOf(intPratica.getUnitaOperativa()) %>" />
<liferay-ui:search-container-column-text name="label.avviso.dataAvviso" <liferay-ui:search-container-column-text name="label.avviso.dataAvviso"
value='<%= dateFormatDateTime.format(avviso.getDtAvviso()) %>' /> value='<%= dateFormatDateTime.format(avviso.getDtAvviso()) %>' />
<% <%

26
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_da_firmare_altri.jsp

@ -65,10 +65,14 @@ for (Organization organization:organizations) {
DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(avviso.getClassPk()); DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(avviso.getClassPk());
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(avviso.getIntPraticaId()); IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(avviso.getIntPraticaId());
String tipoProcedura = ""; String tipoProcedura = "";
if(Validator.isNotNull(intPratica)) if (Validator.isNotNull(intPratica)) {
tipoProcedura = LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") " + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura()); tipoProcedura = LanguageUtil.get(pageContext,
"label_procedura_" + intPratica.getTipoProcedura()) + ") "
+ LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura());
}
Territorio territorio = TerritorioLocalServiceUtil.fetchTerritorio(intPratica.getTerritorioId());
Comune comune = ComuneLocalServiceUtil.fetchComune(territorio.getComuneId());
Provincia provincia = ProvinciaLocalServiceUtil.findByC_C(comune.getCompanyId(), comune.getCodiceProvincia());
%> %>
<liferay-ui:search-container-column-text name="label.avviso.progetto" <liferay-ui:search-container-column-text name="label.avviso.progetto"
value="<%=intPratica!=null ? intPratica.getNumeroProgetto():StringPool.MINUS %>" cssClass="text-center"/> value="<%=intPratica!=null ? intPratica.getNumeroProgetto():StringPool.MINUS %>" cssClass="text-center"/>
@ -77,14 +81,12 @@ for (Organization organization:organizations) {
<liferay-ui:search-container-column-text name="label.avviso.tipoProcedura" value="<%= tipoProcedura %>" /> <liferay-ui:search-container-column-text name="label.avviso.tipoProcedura" value="<%= tipoProcedura %>" />
<liferay-ui:search-container-column-text name="provincia" > <liferay-ui:search-container-column-text name="label.avviso.provincia"
<% long territorioGroupId = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()).getGroupId(); value="<%= provincia.getProvincia() %>" />
long organizationId = GroupLocalServiceUtil.getGroup(territorioGroupId).getOrganizationId(); <liferay-ui:search-container-column-text name="label.avviso.comune"
String genio = OrganizationLocalServiceUtil.getOrganization(organizationId).getName(); value="<%= comune.getDenominazione() %>"/>
%> <liferay-ui:search-container-column-text name="label.avviso.unitaoperativa"
<%=genio %> value="<%= String.valueOf(intPratica.getUnitaOperativa()) %>" />
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="label.avviso.dataAvviso" value='<%=dateFormatDateTime.format(avviso.getDtAvviso()) %>' /> <liferay-ui:search-container-column-text name="label.avviso.dataAvviso" value='<%=dateFormatDateTime.format(avviso.getDtAvviso()) %>' />
<% <%
String tipoDocumento = PraticaUtil.getStatoPratica(avviso.getTipoDocumento(), String tipoDocumento = PraticaUtil.getStatoPratica(avviso.getTipoDocumento(),

16
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_firme.jsp

@ -52,6 +52,9 @@ searchURL.setParameter("tabs1", tabs1);
if(Validator.isNotNull(intPratica)) if(Validator.isNotNull(intPratica))
tipoProcedura = LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") " + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura()); tipoProcedura = LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") " + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura());
Territorio territorio = TerritorioLocalServiceUtil.fetchTerritorio(intPratica.getTerritorioId());
Comune comune = ComuneLocalServiceUtil.fetchComune(territorio.getComuneId());
Provincia provincia = ProvinciaLocalServiceUtil.findByC_C(comune.getCompanyId(), comune.getCodiceProvincia());
%> %>
<liferay-ui:search-container-column-text name="label.avviso.progetto" <liferay-ui:search-container-column-text name="label.avviso.progetto"
@ -60,13 +63,12 @@ searchURL.setParameter("tabs1", tabs1);
value="<%= Validator.isNotNull(dettPratica) ? dettPratica.getProtocollo() : StringPool.BLANK %>" cssClass="text-center" /> value="<%= Validator.isNotNull(dettPratica) ? dettPratica.getProtocollo() : StringPool.BLANK %>" cssClass="text-center" />
<liferay-ui:search-container-column-text name="label.avviso.tipoProcedura" value="<%= tipoProcedura %>" /> <liferay-ui:search-container-column-text name="label.avviso.tipoProcedura" value="<%= tipoProcedura %>" />
<liferay-ui:search-container-column-text name="provincia" > <liferay-ui:search-container-column-text name="label.avviso.provincia"
<% long territorioGroupId = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()).getGroupId(); value="<%= provincia.getProvincia() %>" />
long organizationId = GroupLocalServiceUtil.getGroup(territorioGroupId).getOrganizationId(); <liferay-ui:search-container-column-text name="label.avviso.comune"
String genio = OrganizationLocalServiceUtil.getOrganization(organizationId).getName(); value="<%= comune.getDenominazione() %>"/>
%> <liferay-ui:search-container-column-text name="label.avviso.unitaoperativa"
<%= genio %> value="<%= String.valueOf(intPratica.getUnitaOperativa()) %>" />
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="label.avviso.dataAvviso" value='<%=dateFormatDateTime.format(avviso.getDtAvviso()) %>' /> <liferay-ui:search-container-column-text name="label.avviso.dataAvviso" value='<%=dateFormatDateTime.format(avviso.getDtAvviso()) %>' />
<% <%
String tipoDocumento = PraticaUtil.getStatoPratica(avviso.getTipoDocumento(), String tipoDocumento = PraticaUtil.getStatoPratica(avviso.getTipoDocumento(),

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

@ -13,8 +13,8 @@
## ##
build.namespace=portos_calendar_appointments build.namespace=portos_calendar_appointments
build.number=177 build.number=178
build.date=1632921903647 build.date=1655995359988
build.auto.upgrade=true build.auto.upgrade=true
## ##

6
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp

@ -800,14 +800,14 @@ $('#<portlet:namespace/>tc-intervento-opere-escavazioneCheckbox').change(functio
} }
}); });
$('#<portlet:namespace/>tc-manut-ord-straordCheckbox, #<portlet:namespace/>tc-nuova-costruzione-pertinenzaCheckbox').change(function () { /* $('#<portlet:namespace/>tc-manut-ord-straordCheckbox, #<portlet:namespace/>tc-nuova-costruzione-pertinenzaCheckbox').change(function () {
var _this = $(this); var _this = $(this);
if (_this.is(":checked")) { if (_this.is(":checked")) {
enableDisableChk('#<portlet:namespace/>tc-no-opere-escavazioneCheckbox', 'enable', true); enableDisableChk('#<portlet:namespace/>tc-no-opere-escavazioneCheckbox', 'enable', true);
} else { } else {
enableDisableChk('#<portlet:namespace/>tc-no-opere-escavazioneCheckbox', 'not_enable', false); enableDisableChk('#<portlet:namespace/>tc-no-opere-escavazioneCheckbox', 'not_enable', false);
} }
}); }); */
$('#<portlet:namespace/>normEsenteBolloCheckbox').change(function () { $('#<portlet:namespace/>normEsenteBolloCheckbox').change(function () {
var _this = $(this); var _this = $(this);
@ -873,9 +873,11 @@ function enableDisableChk(obj, action, disable) {
if (disable) { if (disable) {
$(obj).attr("disabled", true); $(obj).attr("disabled", true);
$(obj).prop("disabled", true); $(obj).prop("disabled", true);
$(obj).addClass('disabled');
} else { } else {
$(obj).attr("disabled", false); $(obj).attr("disabled", false);
$(obj).prop("disabled", false); $(obj).prop("disabled", false);
$(obj).removeClass('disabled');
} }
} }
</script> </script>

2
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/assegna_parere.jsp

@ -21,7 +21,7 @@ String contentDiv = "divIdAssegnaParere_" + parereId;
<div id='<%= renderResponse.getNamespace() + contentDiv %>' class="hide" > <div id='<%= renderResponse.getNamespace() + contentDiv %>' class="hide" >
<c:if test="<%= Validator.isNotNull(parere.getNoteRichiedente()) %>"> <c:if test="<%= Validator.isNotNull(parere.getNoteRichiedente()) %>">
<strong> <strong>
<%= LanguageUtil.get(pageContext, "note-approvatore") %> <%= LanguageUtil.get(pageContext, "note-richiedente") %>
<%= Generics.capitalizeFull(parere.getUserName()) %>: <%= Generics.capitalizeFull(parere.getUserName()) %>:
</strong> </strong>
<span><%= HtmlUtil.escape(parere.getNoteRichiedente()) %></span><br /><br /> <span><%= HtmlUtil.escape(parere.getNoteRichiedente()) %></span><br /><br />

5
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridacompletare.jsp

@ -23,10 +23,9 @@
<% <%
List<ParereGeologo> lista = ParereGeologoLocalServiceUtil.findByGeologoIdInCorso(user.getUserId(), List<ParereGeologo> lista = ParereGeologoLocalServiceUtil.findByGeologoIdInCorso(user.getUserId(),
searchContainer.getStart(), searchContainer.getEnd()); searchContainer.getStart(), searchContainer.getEnd());
int totale = ParereGeologoLocalServiceUtil.countByGeologoIdInCorso(user.getUserId()); searchContainer.setTotal(countDaEsprimere);
searchContainer.setTotal(totale);
pageContext.setAttribute("results", lista); pageContext.setAttribute("results", lista);
pageContext.setAttribute("total", totale); pageContext.setAttribute("total", countDaEsprimere);
%> %>
<liferay-ui:search-container-results results="<%= lista %>" /> <liferay-ui:search-container-results results="<%= lista %>" />
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.ParereGeologo" modelVar="parere"> <liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.ParereGeologo" modelVar="parere">

8
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/soggettipratica/edit_soggetto.jsp

@ -1285,9 +1285,11 @@ Liferay.provide(window, '<portlet:namespace/>aggiornaForm', function () {
} }
var el = $('#<portlet:namespace />codiceFiscalePersone'); var el = $('#<portlet:namespace />codiceFiscalePersone');
if (value == titolare) { if (value == titolare) {
cf_precedente = el.val(); if (<%= !disabledInput %>) {
el.attr('readonly', 'readonly'); cf_precedente = el.val();
el.val(cf_titolare); el.attr('readonly', 'readonly');
el.val(cf_titolare);
}
} else { } else {
el.removeAttr('readonly'); el.removeAttr('readonly');
el.val(cf_precedente); el.val(cf_precedente);

Caricamento…
Annulla
Salva