diff --git a/liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar index 05db1343..98fd2a2a 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar index d77a5cde..49347f2e 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar index bf73c66c..72d73b32 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar index dda6b94f..3553cf19 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar index daff1c32..a5242ab8 100644 Binary files a/liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath index 785bec11..eb2a23ce 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath @@ -2,7 +2,7 @@ - + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore deleted file mode 100644 index 0a8642fa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml -# Zeppelin ignored files -/ZeppelinRemoteNotebooks/ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml deleted file mode 100644 index a2a47698..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/jpa-buddy.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/jpa-buddy.xml deleted file mode 100644 index 966d5f56..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/jpa-buddy.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml deleted file mode 100644 index 1b540b26..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/vcs.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/vcs.xml deleted file mode 100644 index c2365ab1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project index c745c078..37af4c91 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project @@ -35,7 +35,7 @@ - 1676466957656 + 1679562748565 30 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml index 62fdb9a9..b0264dbc 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -1,9 +1,9 @@ - + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar index 05db1343..98fd2a2a 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar index a137106a..fdad23ea 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar index d77a5cde..49347f2e 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar index bf73c66c..72d73b32 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar index dda6b94f..3553cf19 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar index daff1c32..a5242ab8 100644 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java index aae0c9c9..4456f4f3 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java @@ -317,6 +317,18 @@ public interface IntPraticaLocalService extends BaseLocalService, java.lang.String[] parameterTypes, java.lang.Object[] arguments) throws java.lang.Throwable; + public java.util.List filtraPraticheStato( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException; + + public java.util.List filtraPraticheIntegrazioni( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException; + + public java.util.List filtraPraticheAutorizzate( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException; + @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public java.util.Map getTipiProcedure(); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java index 52caf1c5..704fcdae 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java @@ -131,267 +131,285 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { _methodParameterTypes21 = new String[] { "java.lang.String" }; - _methodName23 = "getTipiProcedure"; + _methodName23 = "filtraPraticheStato"; - _methodParameterTypes23 = new String[] { }; + _methodParameterTypes23 = new String[] { + "java.util.Date", "java.util.Date" + }; - _methodName24 = "getVecchieProcedure"; + _methodName24 = "filtraPraticheIntegrazioni"; - _methodParameterTypes24 = new String[] { }; + _methodParameterTypes24 = new String[] { + "java.util.Date", "java.util.Date" + }; - _methodName25 = "addIntPratica"; + _methodName25 = "filtraPraticheAutorizzate"; _methodParameterTypes25 = new String[] { + "java.util.Date", "java.util.Date" + }; + + _methodName26 = "getTipiProcedure"; + + _methodParameterTypes26 = new String[] { }; + + _methodName27 = "getVecchieProcedure"; + + _methodParameterTypes27 = new String[] { }; + + _methodName28 = "addIntPratica"; + + _methodParameterTypes28 = new String[] { "long", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName26 = "addIntPratica"; + _methodName29 = "addIntPratica"; - _methodParameterTypes26 = new String[] { + _methodParameterTypes29 = new String[] { "long", "java.lang.String", "java.lang.String", "long", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "int", "java.util.Date", "com.liferay.portal.service.ServiceContext" }; - _methodName27 = "findByStatoPratica"; + _methodName30 = "findByStatoPratica"; - _methodParameterTypes27 = new String[] { "java.lang.String" }; + _methodParameterTypes30 = new String[] { "java.lang.String" }; - _methodName28 = "findByStatoPratica"; + _methodName31 = "findByStatoPratica"; - _methodParameterTypes28 = new String[] { "java.lang.String", "int", "int" }; + _methodParameterTypes31 = new String[] { "java.lang.String", "int", "int" }; - _methodName29 = "deleteIntPratica"; + _methodName32 = "deleteIntPratica"; - _methodParameterTypes29 = new String[] { + _methodParameterTypes32 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "boolean" }; - _methodName30 = "cloneIntPratica"; + _methodName33 = "cloneIntPratica"; - _methodParameterTypes30 = new String[] { + _methodParameterTypes33 = new String[] { "long", "com.liferay.portal.service.ServiceContext" }; - _methodName31 = "updateDelegati"; + _methodName34 = "updateDelegati"; - _methodParameterTypes31 = new String[] { + _methodParameterTypes34 = new String[] { "long", "java.lang.String", "java.lang.String", "boolean" }; - _methodName32 = "findFascicoliNotProgetto"; + _methodName35 = "findFascicoliNotProgetto"; - _methodParameterTypes32 = new String[] { "int", "int" }; + _methodParameterTypes35 = new String[] { "int", "int" }; - _methodName33 = "countFascicoliNotProgetto"; + _methodName36 = "countFascicoliNotProgetto"; - _methodParameterTypes33 = new String[] { }; + _methodParameterTypes36 = new String[] { }; - _methodName34 = "countByPosizione"; + _methodName37 = "countByPosizione"; - _methodParameterTypes34 = new String[] { "double", "double", "int" }; + _methodParameterTypes37 = new String[] { "double", "double", "int" }; - _methodName35 = "findByPosizione"; + _methodName38 = "findByPosizione"; - _methodParameterTypes35 = new String[] { "double", "double", "int" }; + _methodParameterTypes38 = new String[] { "double", "double", "int" }; - _methodName36 = "findByPosizione"; + _methodName39 = "findByPosizione"; - _methodParameterTypes36 = new String[] { + _methodParameterTypes39 = new String[] { "double", "double", "int", "int", "int" }; - _methodName37 = "addNumeroProgetto"; + _methodName40 = "addNumeroProgetto"; - _methodParameterTypes37 = new String[] { "long" }; + _methodParameterTypes40 = new String[] { "long" }; - _methodName38 = "sospendiPratica"; + _methodName41 = "sospendiPratica"; - _methodParameterTypes38 = new String[] { "long", "boolean" }; + _methodParameterTypes41 = new String[] { "long", "boolean" }; - _methodName39 = "cambiaTitolare"; + _methodName42 = "cambiaTitolare"; - _methodParameterTypes39 = new String[] { + _methodParameterTypes42 = new String[] { "long", "long", "com.liferay.portal.service.ServiceContext" }; - _methodName40 = "updateStatoPratica"; + _methodName43 = "updateStatoPratica"; - _methodParameterTypes40 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes43 = new String[] { "long", "java.lang.String" }; - _methodName41 = "findByC_UserId"; + _methodName44 = "findByC_UserId"; - _methodParameterTypes41 = new String[] { "long", "long", "int", "int" }; + _methodParameterTypes44 = new String[] { "long", "long", "int", "int" }; - _methodName42 = "countByC_UserId"; + _methodName45 = "countByC_UserId"; - _methodParameterTypes42 = new String[] { "long", "long" }; + _methodParameterTypes45 = new String[] { "long", "long" }; - _methodName43 = "updateStatus"; + _methodName46 = "updateStatus"; - _methodParameterTypes43 = new String[] { "long", "int" }; + _methodParameterTypes46 = new String[] { "long", "int" }; - _methodName44 = "findByCompanyIdSoggettoProgetti"; + _methodName47 = "findByCompanyIdSoggettoProgetti"; - _methodParameterTypes44 = new String[] { "long", "long" }; + _methodParameterTypes47 = new String[] { "long", "long" }; - _methodName45 = "countByCompanyIdSoggettoProgetti"; + _methodName48 = "countByCompanyIdSoggettoProgetti"; - _methodParameterTypes45 = new String[] { "long", "long" }; + _methodParameterTypes48 = new String[] { "long", "long" }; - _methodName46 = "findByCompanyIdSoggettoArchivio"; + _methodName49 = "findByCompanyIdSoggettoArchivio"; - _methodParameterTypes46 = new String[] { "long", "long" }; + _methodParameterTypes49 = new String[] { "long", "long" }; - _methodName47 = "countByCompanyIdSoggettoArchivio"; + _methodName50 = "countByCompanyIdSoggettoArchivio"; - _methodParameterTypes47 = new String[] { "long", "long" }; + _methodParameterTypes50 = new String[] { "long", "long" }; - _methodName48 = "findByCompanyIdSoggettoAltriProgetti"; + _methodName51 = "findByCompanyIdSoggettoAltriProgetti"; - _methodParameterTypes48 = new String[] { "long", "long", "int", "int" }; + _methodParameterTypes51 = new String[] { "long", "long", "int", "int" }; - _methodName49 = "countByCompanyIdSoggettoAltriProgetti"; + _methodName52 = "countByCompanyIdSoggettoAltriProgetti"; - _methodParameterTypes49 = new String[] { "long", "long" }; + _methodParameterTypes52 = new String[] { "long", "long" }; - _methodName50 = "findByCanAddFineLavori"; + _methodName53 = "findByCanAddFineLavori"; - _methodParameterTypes50 = new String[] { + _methodParameterTypes53 = new String[] { "long", "java.lang.String", "int", "int" }; - _methodName51 = "countByCanAddFineLavori"; + _methodName54 = "countByCanAddFineLavori"; - _methodParameterTypes51 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes54 = new String[] { "long", "java.lang.String" }; - _methodName52 = "findByCanAddCollaudo"; + _methodName55 = "findByCanAddCollaudo"; - _methodParameterTypes52 = new String[] { + _methodParameterTypes55 = new String[] { "long", "java.lang.String", "int", "int" }; - _methodName53 = "countByCanAddCollaudo"; + _methodName56 = "countByCanAddCollaudo"; - _methodParameterTypes53 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes56 = new String[] { "long", "java.lang.String" }; - _methodName54 = "search"; + _methodName57 = "search"; - _methodParameterTypes54 = new String[] { "java.util.List", "int", "int" }; + _methodParameterTypes57 = new String[] { "java.util.List", "int", "int" }; - _methodName55 = "countSearch"; + _methodName58 = "countSearch"; - _methodParameterTypes55 = new String[] { "java.util.List" }; + _methodParameterTypes58 = new String[] { "java.util.List" }; - _methodName56 = "searchWithIntPraticaId"; + _methodName59 = "searchWithIntPraticaId"; - _methodParameterTypes56 = new String[] { + _methodParameterTypes59 = new String[] { "java.util.List", "long", "int", "int" }; - _methodName57 = "allegaFileAnnullamento"; + _methodName60 = "allegaFileAnnullamento"; - _methodParameterTypes57 = new String[] { + _methodParameterTypes60 = new String[] { "long", "byte[][]", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName58 = "generateFileAnnullamento"; + _methodName61 = "generateFileAnnullamento"; - _methodParameterTypes58 = new String[] { + _methodParameterTypes61 = new String[] { "long", "com.liferay.portal.service.ServiceContext" }; - _methodName59 = "deleteFileAnnullamento"; + _methodName62 = "deleteFileAnnullamento"; - _methodParameterTypes59 = new String[] { "long" }; + _methodParameterTypes62 = new String[] { "long" }; - _methodName60 = "completeAnnullamento"; + _methodName63 = "completeAnnullamento"; - _methodParameterTypes60 = new String[] { "long" }; + _methodParameterTypes63 = new String[] { "long" }; - _methodName61 = "cambiaIstruttore"; + _methodName64 = "cambiaIstruttore"; - _methodParameterTypes61 = new String[] { "long", "long", "long" }; + _methodParameterTypes64 = new String[] { "long", "long", "long" }; - _methodName62 = "countCaricoLavoroCF"; + _methodName65 = "countCaricoLavoroCF"; - _methodParameterTypes62 = new String[] { + _methodParameterTypes65 = new String[] { "long", "java.lang.String", "java.lang.Long[][]" }; - _methodName63 = "countCaricoLavoroIstruttore"; + _methodName66 = "countCaricoLavoroIstruttore"; - _methodParameterTypes63 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes66 = new String[] { "long", "java.lang.String" }; - _methodName64 = "generateReportPratica"; + _methodName67 = "generateReportPratica"; - _methodParameterTypes64 = new String[] { + _methodParameterTypes67 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "long" }; - _methodName65 = "updateModifiedDate"; + _methodName68 = "updateModifiedDate"; - _methodParameterTypes65 = new String[] { "long", "java.util.Date" }; + _methodParameterTypes68 = new String[] { "long", "java.util.Date" }; - _methodName66 = "reIndexFascicolo"; + _methodName69 = "reIndexFascicolo"; - _methodParameterTypes66 = new String[] { + _methodParameterTypes69 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "long" }; - _methodName67 = "reIndexFasciolo"; + _methodName70 = "reIndexFasciolo"; - _methodParameterTypes67 = new String[] { "java.lang.String", "long" }; + _methodParameterTypes70 = new String[] { "java.lang.String", "long" }; - _methodName68 = "reIndexFasciolo"; + _methodName71 = "reIndexFasciolo"; - _methodParameterTypes68 = new String[] { "long", "long" }; + _methodParameterTypes71 = new String[] { "long", "long" }; - _methodName69 = "findByNumeroProgetto"; + _methodName72 = "findByNumeroProgetto"; - _methodParameterTypes69 = new String[] { "java.lang.String" }; + _methodParameterTypes72 = new String[] { "java.lang.String" }; - _methodName70 = "findByTerritorioId"; + _methodName73 = "findByTerritorioId"; - _methodParameterTypes70 = new String[] { "long" }; + _methodParameterTypes73 = new String[] { "long" }; - _methodName71 = "getOrganizationByIntPraticaId"; + _methodName74 = "getOrganizationByIntPraticaId"; - _methodParameterTypes71 = new String[] { "long" }; + _methodParameterTypes74 = new String[] { "long" }; - _methodName72 = "hasRichiestaIntegrazioneAttiva"; + _methodName75 = "hasRichiestaIntegrazioneAttiva"; - _methodParameterTypes72 = new String[] { "long" }; + _methodParameterTypes75 = new String[] { "long" }; - _methodName73 = "invioMailNotifica"; + _methodName76 = "invioMailNotifica"; - _methodParameterTypes73 = new String[] { + _methodParameterTypes76 = new String[] { "long", "long", "java.lang.String", "java.lang.String[][]", "java.lang.String[][]", "java.lang.String[][]", "java.lang.String", "com.liferay.portal.kernel.json.JSONObject", "java.util.List", "com.liferay.portal.service.ServiceContext" }; - _methodName74 = "searchAltriProgetti"; + _methodName77 = "searchAltriProgetti"; - _methodParameterTypes74 = new String[] { + _methodParameterTypes77 = new String[] { "javax.servlet.http.HttpServletRequest", "com.liferay.portal.model.User", "int", "int" }; - _methodName75 = "searchArchivioProgetti"; + _methodName78 = "searchArchivioProgetti"; - _methodParameterTypes75 = new String[] { + _methodParameterTypes78 = new String[] { "javax.servlet.http.HttpServletRequest", "com.liferay.portal.model.User", "int", "int" }; - _methodName76 = "searchMieiProgetti"; + _methodName79 = "searchMieiProgetti"; - _methodParameterTypes76 = new String[] { + _methodParameterTypes79 = new String[] { "javax.servlet.http.HttpServletRequest", "com.liferay.portal.model.User", "int", "int" }; @@ -1098,12 +1116,114 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { } @Override - public java.util.Map getTipiProcedure() { + public java.util.List filtraPraticheStato( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName23, - _methodParameterTypes23, new Object[] { }); + _methodParameterTypes23, + new Object[] { + ClpSerializer.translateInput(dataInizioLavori), + + ClpSerializer.translateInput(dataFineLavori) + }); + } + 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)ClpSerializer.translateOutput(returnObj); + } + + @Override + public java.util.List filtraPraticheIntegrazioni( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName24, + _methodParameterTypes24, + new Object[] { + ClpSerializer.translateInput(dataInizioLavori), + + ClpSerializer.translateInput(dataFineLavori) + }); + } + 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)ClpSerializer.translateOutput(returnObj); + } + + @Override + public java.util.List filtraPraticheAutorizzate( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName25, + _methodParameterTypes25, + new Object[] { + ClpSerializer.translateInput(dataInizioLavori), + + ClpSerializer.translateInput(dataFineLavori) + }); + } + 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)ClpSerializer.translateOutput(returnObj); + } + + @Override + public java.util.Map getTipiProcedure() { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName26, + _methodParameterTypes26, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1125,8 +1245,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName24, - _methodParameterTypes24, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName27, + _methodParameterTypes27, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1152,8 +1272,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName25, - _methodParameterTypes25, + returnObj = _invokableLocalService.invokeMethod(_methodName28, + _methodParameterTypes28, new Object[] { territorioId, @@ -1197,8 +1317,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName26, - _methodParameterTypes26, + returnObj = _invokableLocalService.invokeMethod(_methodName29, + _methodParameterTypes29, new Object[] { userId, @@ -1253,8 +1373,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName27, - _methodParameterTypes27, + returnObj = _invokableLocalService.invokeMethod(_methodName30, + _methodParameterTypes30, new Object[] { ClpSerializer.translateInput(statoPratica) }); } catch (Throwable t) { @@ -1283,8 +1403,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName28, - _methodParameterTypes28, + returnObj = _invokableLocalService.invokeMethod(_methodName31, + _methodParameterTypes31, new Object[] { ClpSerializer.translateInput(statoPratica), @@ -1320,8 +1440,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName29, - _methodParameterTypes29, + returnObj = _invokableLocalService.invokeMethod(_methodName32, + _methodParameterTypes32, new Object[] { ClpSerializer.translateInput(intPratica), @@ -1360,8 +1480,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName30, - _methodParameterTypes30, + returnObj = _invokableLocalService.invokeMethod(_methodName33, + _methodParameterTypes33, new Object[] { intPraticaId, @@ -1401,8 +1521,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName31, - _methodParameterTypes31, + returnObj = _invokableLocalService.invokeMethod(_methodName34, + _methodParameterTypes34, new Object[] { intPraticaId, @@ -1444,8 +1564,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName32, - _methodParameterTypes32, new Object[] { start, end }); + returnObj = _invokableLocalService.invokeMethod(_methodName35, + _methodParameterTypes35, new Object[] { start, end }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1472,8 +1592,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName33, - _methodParameterTypes33, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName36, + _methodParameterTypes36, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1500,8 +1620,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName34, - _methodParameterTypes34, new Object[] { lat, lng, raggio }); + returnObj = _invokableLocalService.invokeMethod(_methodName37, + _methodParameterTypes37, new Object[] { lat, lng, raggio }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1529,8 +1649,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName35, - _methodParameterTypes35, new Object[] { lat, lng, raggio }); + returnObj = _invokableLocalService.invokeMethod(_methodName38, + _methodParameterTypes38, new Object[] { lat, lng, raggio }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1558,8 +1678,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName36, - _methodParameterTypes36, + returnObj = _invokableLocalService.invokeMethod(_methodName39, + _methodParameterTypes39, new Object[] { lat, lng, raggio, start, end }); } catch (Throwable t) { @@ -1589,8 +1709,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName37, - _methodParameterTypes37, new Object[] { intPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName40, + _methodParameterTypes40, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1623,8 +1743,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName38, - _methodParameterTypes38, + returnObj = _invokableLocalService.invokeMethod(_methodName41, + _methodParameterTypes41, new Object[] { intPraticaId, sospesa }); } catch (Throwable t) { @@ -1659,8 +1779,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName39, - _methodParameterTypes39, + returnObj = _invokableLocalService.invokeMethod(_methodName42, + _methodParameterTypes42, new Object[] { intPraticaId, @@ -1700,8 +1820,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName40, - _methodParameterTypes40, + returnObj = _invokableLocalService.invokeMethod(_methodName43, + _methodParameterTypes43, new Object[] { intPraticaId, @@ -1738,8 +1858,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName41, - _methodParameterTypes41, + returnObj = _invokableLocalService.invokeMethod(_methodName44, + _methodParameterTypes44, new Object[] { companyId, userId, start, end }); } catch (Throwable t) { @@ -1767,8 +1887,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName42, - _methodParameterTypes42, new Object[] { companyId, userId }); + returnObj = _invokableLocalService.invokeMethod(_methodName45, + _methodParameterTypes45, new Object[] { companyId, userId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1794,8 +1914,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName43, - _methodParameterTypes43, new Object[] { intPraticaId, status }); + _invokableLocalService.invokeMethod(_methodName46, + _methodParameterTypes46, new Object[] { intPraticaId, status }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1826,8 +1946,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName44, - _methodParameterTypes44, + returnObj = _invokableLocalService.invokeMethod(_methodName47, + _methodParameterTypes47, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -1860,8 +1980,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName45, - _methodParameterTypes45, + returnObj = _invokableLocalService.invokeMethod(_methodName48, + _methodParameterTypes48, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -1895,8 +2015,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName46, - _methodParameterTypes46, + returnObj = _invokableLocalService.invokeMethod(_methodName49, + _methodParameterTypes49, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -1929,8 +2049,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName47, - _methodParameterTypes47, + returnObj = _invokableLocalService.invokeMethod(_methodName50, + _methodParameterTypes50, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -1964,8 +2084,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName48, - _methodParameterTypes48, + returnObj = _invokableLocalService.invokeMethod(_methodName51, + _methodParameterTypes51, new Object[] { companyId, soggettoId, start, end }); } catch (Throwable t) { @@ -1999,8 +2119,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName49, - _methodParameterTypes49, + returnObj = _invokableLocalService.invokeMethod(_methodName52, + _methodParameterTypes52, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -2034,8 +2154,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName50, - _methodParameterTypes50, + returnObj = _invokableLocalService.invokeMethod(_methodName53, + _methodParameterTypes53, new Object[] { companyId, @@ -2077,8 +2197,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName51, - _methodParameterTypes51, + returnObj = _invokableLocalService.invokeMethod(_methodName54, + _methodParameterTypes54, new Object[] { companyId, @@ -2116,8 +2236,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName52, - _methodParameterTypes52, + returnObj = _invokableLocalService.invokeMethod(_methodName55, + _methodParameterTypes55, new Object[] { companyId, @@ -2159,8 +2279,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName53, - _methodParameterTypes53, + returnObj = _invokableLocalService.invokeMethod(_methodName56, + _methodParameterTypes56, new Object[] { companyId, @@ -2197,8 +2317,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName54, - _methodParameterTypes54, + returnObj = _invokableLocalService.invokeMethod(_methodName57, + _methodParameterTypes57, new Object[] { ClpSerializer.translateInput(groupIds), @@ -2232,8 +2352,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName55, - _methodParameterTypes55, + returnObj = _invokableLocalService.invokeMethod(_methodName58, + _methodParameterTypes58, new Object[] { ClpSerializer.translateInput(groupIds) }); } catch (Throwable t) { @@ -2262,8 +2382,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName56, - _methodParameterTypes56, + returnObj = _invokableLocalService.invokeMethod(_methodName59, + _methodParameterTypes59, new Object[] { ClpSerializer.translateInput(groupIds), @@ -2304,8 +2424,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName57, - _methodParameterTypes57, + returnObj = _invokableLocalService.invokeMethod(_methodName60, + _methodParameterTypes60, new Object[] { intPraticaId, @@ -2355,8 +2475,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName58, - _methodParameterTypes58, + returnObj = _invokableLocalService.invokeMethod(_methodName61, + _methodParameterTypes61, new Object[] { intPraticaId, @@ -2395,8 +2515,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName59, - _methodParameterTypes59, + _invokableLocalService.invokeMethod(_methodName62, + _methodParameterTypes62, new Object[] { docPraticaAnnullamentoId }); } catch (Throwable t) { @@ -2425,8 +2545,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName60, - _methodParameterTypes60, new Object[] { intPraticaId }); + _invokableLocalService.invokeMethod(_methodName63, + _methodParameterTypes63, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2455,8 +2575,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName61, - _methodParameterTypes61, + _invokableLocalService.invokeMethod(_methodName64, + _methodParameterTypes64, new Object[] { intPraticaId, controlloPraticaId, istruttoreId }); } catch (Throwable t) { @@ -2488,8 +2608,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName62, - _methodParameterTypes62, + returnObj = _invokableLocalService.invokeMethod(_methodName65, + _methodParameterTypes65, new Object[] { ispettoreId, @@ -2528,8 +2648,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName63, - _methodParameterTypes63, + returnObj = _invokableLocalService.invokeMethod(_methodName66, + _methodParameterTypes66, new Object[] { ispettoreId, @@ -2563,8 +2683,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName64, - _methodParameterTypes64, + returnObj = _invokableLocalService.invokeMethod(_methodName67, + _methodParameterTypes67, new Object[] { ClpSerializer.translateInput(intPratica), @@ -2602,8 +2722,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName65, - _methodParameterTypes65, + returnObj = _invokableLocalService.invokeMethod(_methodName68, + _methodParameterTypes68, new Object[] { intPraticaId, @@ -2637,8 +2757,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { public void reIndexFascicolo( it.tref.liferay.portos.bo.model.IntPratica pratica, long companyId) { try { - _invokableLocalService.invokeMethod(_methodName66, - _methodParameterTypes66, + _invokableLocalService.invokeMethod(_methodName69, + _methodParameterTypes69, new Object[] { ClpSerializer.translateInput(pratica), companyId }); } catch (Throwable t) { @@ -2658,8 +2778,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId) throws com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName67, - _methodParameterTypes67, + _invokableLocalService.invokeMethod(_methodName70, + _methodParameterTypes70, new Object[] { ClpSerializer.translateInput(numeroProgetto), @@ -2688,8 +2808,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName68, - _methodParameterTypes68, + _invokableLocalService.invokeMethod(_methodName71, + _methodParameterTypes71, new Object[] { intPraticaId, companyId }); } catch (Throwable t) { @@ -2720,8 +2840,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName69, - _methodParameterTypes69, + returnObj = _invokableLocalService.invokeMethod(_methodName72, + _methodParameterTypes72, new Object[] { ClpSerializer.translateInput(numeroProgetto) }); } catch (Throwable t) { @@ -2750,8 +2870,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName70, - _methodParameterTypes70, new Object[] { territorioId }); + returnObj = _invokableLocalService.invokeMethod(_methodName73, + _methodParameterTypes73, new Object[] { territorioId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2780,8 +2900,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName71, - _methodParameterTypes71, new Object[] { intPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName74, + _methodParameterTypes74, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2811,8 +2931,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName72, - _methodParameterTypes72, new Object[] { intPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName75, + _methodParameterTypes75, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2840,8 +2960,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName73, - _methodParameterTypes73, + _invokableLocalService.invokeMethod(_methodName76, + _methodParameterTypes76, new Object[] { dettPraticaId, @@ -2892,8 +3012,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName74, - _methodParameterTypes74, + returnObj = _invokableLocalService.invokeMethod(_methodName77, + _methodParameterTypes77, new Object[] { ClpSerializer.translateInput(request), @@ -2926,8 +3046,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName75, - _methodParameterTypes75, + returnObj = _invokableLocalService.invokeMethod(_methodName78, + _methodParameterTypes78, new Object[] { ClpSerializer.translateInput(request), @@ -2960,8 +3080,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName76, - _methodParameterTypes76, + returnObj = _invokableLocalService.invokeMethod(_methodName79, + _methodParameterTypes79, new Object[] { ClpSerializer.translateInput(request), @@ -3140,4 +3260,10 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { private String[] _methodParameterTypes75; private String _methodName76; private String[] _methodParameterTypes76; + private String _methodName77; + private String[] _methodParameterTypes77; + private String _methodName78; + private String[] _methodParameterTypes78; + private String _methodName79; + private String[] _methodParameterTypes79; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java index 435b5474..2b4f28f8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java @@ -342,6 +342,26 @@ public class IntPraticaLocalServiceUtil { return getService().invokeMethod(name, parameterTypes, arguments); } + public static java.util.List filtraPraticheStato( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return getService().filtraPraticheStato(dataInizioLavori, dataFineLavori); + } + + public static java.util.List filtraPraticheIntegrazioni( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return getService() + .filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori); + } + + public static java.util.List filtraPraticheAutorizzate( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return getService() + .filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori); + } + public static java.util.Map getTipiProcedure() { return getService().getTipiProcedure(); } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java index 4b5f0a28..5b6c4ab8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java @@ -362,6 +362,30 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService, arguments); } + @Override + public java.util.List filtraPraticheStato( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return _intPraticaLocalService.filtraPraticheStato(dataInizioLavori, + dataFineLavori); + } + + @Override + public java.util.List filtraPraticheIntegrazioni( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return _intPraticaLocalService.filtraPraticheIntegrazioni(dataInizioLavori, + dataFineLavori); + } + + @Override + public java.util.List filtraPraticheAutorizzate( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return _intPraticaLocalService.filtraPraticheAutorizzate(dataInizioLavori, + dataFineLavori); + } + @Override public java.util.Map getTipiProcedure() { return _intPraticaLocalService.getTipiProcedure(); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java index 39f3c26d..49138396 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java @@ -25,4 +25,16 @@ public interface IntPraticaFinder { public int canAddCollaudoCount( java.lang.String codiceFiscaleDelegatoCollaudo) throws com.liferay.portal.kernel.exception.SystemException; + + public java.util.List filtraPraticheStato( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException; + + public java.util.List filtraPraticheIntegrazioni( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException; + + public java.util.List filtraPraticheAutorizzate( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java index ce64d4d1..f580f358 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java @@ -34,6 +34,26 @@ public class IntPraticaFinderUtil { return getFinder().canAddCollaudoCount(codiceFiscaleDelegatoCollaudo); } + public static java.util.List filtraPraticheStato( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return getFinder().filtraPraticheStato(dataInizioLavori, dataFineLavori); + } + + public static java.util.List filtraPraticheIntegrazioni( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return getFinder() + .filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori); + } + + public static java.util.List filtraPraticheAutorizzate( + java.util.Date dataInizioLavori, java.util.Date dataFineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + return getFinder() + .filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori); + } + public static IntPraticaFinder getFinder() { if (_finder == null) { _finder = (IntPraticaFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.bo.service.ClpSerializer.getServletContextName(), diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml index 2454f7cb..3fc7c130 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml @@ -16,4 +16,40 @@ and fine.completata = true order by int.createdate; ]]> + + ? + and pbi.dtpratica < ? + group by tipoprocedura, statopratica + order by tipoprocedura, statopratica; + ]]> + + + ? + and pbi.createdate < ? + and tipodocumento = 'IN' + group by tipoprocedura order by tipoprocedura; + ]]> + + + ? + and pbi.statusdate < ? + and statopratica in ('AU', 'AN') + group by tipoprocedura, statopratica + order by tipoprocedura, statopratica; + ]]> + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java index db12a39c..96b7605c 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java @@ -130,277 +130,295 @@ public class IntPraticaLocalServiceClpInvoker { _methodParameterTypes171 = new String[] { "java.lang.String" }; - _methodName176 = "getTipiProcedure"; + _methodName176 = "filtraPraticheStato"; - _methodParameterTypes176 = new String[] { }; + _methodParameterTypes176 = new String[] { + "java.util.Date", "java.util.Date" + }; - _methodName177 = "getVecchieProcedure"; + _methodName177 = "filtraPraticheIntegrazioni"; - _methodParameterTypes177 = new String[] { }; + _methodParameterTypes177 = new String[] { + "java.util.Date", "java.util.Date" + }; - _methodName178 = "addIntPratica"; + _methodName178 = "filtraPraticheAutorizzate"; _methodParameterTypes178 = new String[] { + "java.util.Date", "java.util.Date" + }; + + _methodName179 = "getTipiProcedure"; + + _methodParameterTypes179 = new String[] { }; + + _methodName180 = "getVecchieProcedure"; + + _methodParameterTypes180 = new String[] { }; + + _methodName181 = "addIntPratica"; + + _methodParameterTypes181 = new String[] { "long", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName179 = "addIntPratica"; + _methodName182 = "addIntPratica"; - _methodParameterTypes179 = new String[] { + _methodParameterTypes182 = new String[] { "long", "java.lang.String", "java.lang.String", "long", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "int", "java.util.Date", "com.liferay.portal.service.ServiceContext" }; - _methodName180 = "findByStatoPratica"; + _methodName183 = "findByStatoPratica"; - _methodParameterTypes180 = new String[] { "java.lang.String" }; + _methodParameterTypes183 = new String[] { "java.lang.String" }; - _methodName181 = "findByStatoPratica"; + _methodName184 = "findByStatoPratica"; - _methodParameterTypes181 = new String[] { "java.lang.String", "int", "int" }; + _methodParameterTypes184 = new String[] { "java.lang.String", "int", "int" }; - _methodName182 = "deleteIntPratica"; + _methodName185 = "deleteIntPratica"; - _methodParameterTypes182 = new String[] { + _methodParameterTypes185 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "boolean" }; - _methodName183 = "deleteIntPratica"; + _methodName186 = "deleteIntPratica"; - _methodParameterTypes183 = new String[] { + _methodParameterTypes186 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica" }; - _methodName184 = "cloneIntPratica"; + _methodName187 = "cloneIntPratica"; - _methodParameterTypes184 = new String[] { + _methodParameterTypes187 = new String[] { "long", "com.liferay.portal.service.ServiceContext" }; - _methodName186 = "updateDelegati"; + _methodName189 = "updateDelegati"; - _methodParameterTypes186 = new String[] { + _methodParameterTypes189 = new String[] { "long", "java.lang.String", "java.lang.String", "boolean" }; - _methodName187 = "fetchIntPratica"; + _methodName190 = "fetchIntPratica"; - _methodParameterTypes187 = new String[] { "long" }; + _methodParameterTypes190 = new String[] { "long" }; - _methodName188 = "findFascicoliNotProgetto"; + _methodName191 = "findFascicoliNotProgetto"; - _methodParameterTypes188 = new String[] { "int", "int" }; + _methodParameterTypes191 = new String[] { "int", "int" }; - _methodName189 = "countFascicoliNotProgetto"; + _methodName192 = "countFascicoliNotProgetto"; - _methodParameterTypes189 = new String[] { }; + _methodParameterTypes192 = new String[] { }; - _methodName191 = "countByPosizione"; + _methodName194 = "countByPosizione"; - _methodParameterTypes191 = new String[] { "double", "double", "int" }; + _methodParameterTypes194 = new String[] { "double", "double", "int" }; - _methodName192 = "findByPosizione"; + _methodName195 = "findByPosizione"; - _methodParameterTypes192 = new String[] { "double", "double", "int" }; + _methodParameterTypes195 = new String[] { "double", "double", "int" }; - _methodName193 = "findByPosizione"; + _methodName196 = "findByPosizione"; - _methodParameterTypes193 = new String[] { + _methodParameterTypes196 = new String[] { "double", "double", "int", "int", "int" }; - _methodName195 = "addNumeroProgetto"; + _methodName198 = "addNumeroProgetto"; - _methodParameterTypes195 = new String[] { "long" }; + _methodParameterTypes198 = new String[] { "long" }; - _methodName196 = "sospendiPratica"; + _methodName199 = "sospendiPratica"; - _methodParameterTypes196 = new String[] { "long", "boolean" }; + _methodParameterTypes199 = new String[] { "long", "boolean" }; - _methodName197 = "cambiaTitolare"; + _methodName200 = "cambiaTitolare"; - _methodParameterTypes197 = new String[] { + _methodParameterTypes200 = new String[] { "long", "long", "com.liferay.portal.service.ServiceContext" }; - _methodName198 = "updateStatoPratica"; + _methodName201 = "updateStatoPratica"; - _methodParameterTypes198 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes201 = new String[] { "long", "java.lang.String" }; - _methodName199 = "findByC_UserId"; + _methodName202 = "findByC_UserId"; - _methodParameterTypes199 = new String[] { "long", "long", "int", "int" }; + _methodParameterTypes202 = new String[] { "long", "long", "int", "int" }; - _methodName200 = "countByC_UserId"; + _methodName203 = "countByC_UserId"; - _methodParameterTypes200 = new String[] { "long", "long" }; + _methodParameterTypes203 = new String[] { "long", "long" }; - _methodName201 = "updateStatus"; + _methodName204 = "updateStatus"; - _methodParameterTypes201 = new String[] { "long", "int" }; + _methodParameterTypes204 = new String[] { "long", "int" }; - _methodName202 = "findByCompanyIdSoggettoProgetti"; + _methodName205 = "findByCompanyIdSoggettoProgetti"; - _methodParameterTypes202 = new String[] { "long", "long" }; + _methodParameterTypes205 = new String[] { "long", "long" }; - _methodName203 = "countByCompanyIdSoggettoProgetti"; + _methodName206 = "countByCompanyIdSoggettoProgetti"; - _methodParameterTypes203 = new String[] { "long", "long" }; + _methodParameterTypes206 = new String[] { "long", "long" }; - _methodName205 = "findByCompanyIdSoggettoArchivio"; + _methodName208 = "findByCompanyIdSoggettoArchivio"; - _methodParameterTypes205 = new String[] { "long", "long" }; + _methodParameterTypes208 = new String[] { "long", "long" }; - _methodName206 = "countByCompanyIdSoggettoArchivio"; + _methodName209 = "countByCompanyIdSoggettoArchivio"; - _methodParameterTypes206 = new String[] { "long", "long" }; + _methodParameterTypes209 = new String[] { "long", "long" }; - _methodName208 = "findByCompanyIdSoggettoAltriProgetti"; + _methodName211 = "findByCompanyIdSoggettoAltriProgetti"; - _methodParameterTypes208 = new String[] { "long", "long", "int", "int" }; + _methodParameterTypes211 = new String[] { "long", "long", "int", "int" }; - _methodName209 = "countByCompanyIdSoggettoAltriProgetti"; + _methodName212 = "countByCompanyIdSoggettoAltriProgetti"; - _methodParameterTypes209 = new String[] { "long", "long" }; + _methodParameterTypes212 = new String[] { "long", "long" }; - _methodName211 = "findByCanAddFineLavori"; + _methodName214 = "findByCanAddFineLavori"; - _methodParameterTypes211 = new String[] { + _methodParameterTypes214 = new String[] { "long", "java.lang.String", "int", "int" }; - _methodName212 = "countByCanAddFineLavori"; + _methodName215 = "countByCanAddFineLavori"; - _methodParameterTypes212 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes215 = new String[] { "long", "java.lang.String" }; - _methodName214 = "findByCanAddCollaudo"; + _methodName217 = "findByCanAddCollaudo"; - _methodParameterTypes214 = new String[] { + _methodParameterTypes217 = new String[] { "long", "java.lang.String", "int", "int" }; - _methodName215 = "countByCanAddCollaudo"; + _methodName218 = "countByCanAddCollaudo"; - _methodParameterTypes215 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes218 = new String[] { "long", "java.lang.String" }; - _methodName216 = "search"; + _methodName219 = "search"; - _methodParameterTypes216 = new String[] { "java.util.List", "int", "int" }; + _methodParameterTypes219 = new String[] { "java.util.List", "int", "int" }; - _methodName217 = "countSearch"; + _methodName220 = "countSearch"; - _methodParameterTypes217 = new String[] { "java.util.List" }; + _methodParameterTypes220 = new String[] { "java.util.List" }; - _methodName218 = "searchWithIntPraticaId"; + _methodName221 = "searchWithIntPraticaId"; - _methodParameterTypes218 = new String[] { + _methodParameterTypes221 = new String[] { "java.util.List", "long", "int", "int" }; - _methodName219 = "allegaFileAnnullamento"; + _methodName222 = "allegaFileAnnullamento"; - _methodParameterTypes219 = new String[] { + _methodParameterTypes222 = new String[] { "long", "byte[][]", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName220 = "generateFileAnnullamento"; + _methodName223 = "generateFileAnnullamento"; - _methodParameterTypes220 = new String[] { + _methodParameterTypes223 = new String[] { "long", "com.liferay.portal.service.ServiceContext" }; - _methodName221 = "deleteFileAnnullamento"; + _methodName224 = "deleteFileAnnullamento"; - _methodParameterTypes221 = new String[] { "long" }; + _methodParameterTypes224 = new String[] { "long" }; - _methodName222 = "completeAnnullamento"; + _methodName225 = "completeAnnullamento"; - _methodParameterTypes222 = new String[] { "long" }; + _methodParameterTypes225 = new String[] { "long" }; - _methodName223 = "cambiaIstruttore"; + _methodName226 = "cambiaIstruttore"; - _methodParameterTypes223 = new String[] { "long", "long", "long" }; + _methodParameterTypes226 = new String[] { "long", "long", "long" }; - _methodName224 = "countCaricoLavoroCF"; + _methodName227 = "countCaricoLavoroCF"; - _methodParameterTypes224 = new String[] { + _methodParameterTypes227 = new String[] { "long", "java.lang.String", "java.lang.Long[][]" }; - _methodName225 = "countCaricoLavoroIstruttore"; + _methodName228 = "countCaricoLavoroIstruttore"; - _methodParameterTypes225 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes228 = new String[] { "long", "java.lang.String" }; - _methodName226 = "generateReportPratica"; + _methodName229 = "generateReportPratica"; - _methodParameterTypes226 = new String[] { + _methodParameterTypes229 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "long" }; - _methodName227 = "updateModifiedDate"; + _methodName230 = "updateModifiedDate"; - _methodParameterTypes227 = new String[] { "long", "java.util.Date" }; + _methodParameterTypes230 = new String[] { "long", "java.util.Date" }; - _methodName228 = "reIndexFascicolo"; + _methodName231 = "reIndexFascicolo"; - _methodParameterTypes228 = new String[] { + _methodParameterTypes231 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "long" }; - _methodName229 = "reIndexFasciolo"; + _methodName232 = "reIndexFasciolo"; - _methodParameterTypes229 = new String[] { "java.lang.String", "long" }; + _methodParameterTypes232 = new String[] { "java.lang.String", "long" }; - _methodName230 = "reIndexFasciolo"; + _methodName233 = "reIndexFasciolo"; - _methodParameterTypes230 = new String[] { "long", "long" }; + _methodParameterTypes233 = new String[] { "long", "long" }; - _methodName231 = "findByNumeroProgetto"; + _methodName234 = "findByNumeroProgetto"; - _methodParameterTypes231 = new String[] { "java.lang.String" }; + _methodParameterTypes234 = new String[] { "java.lang.String" }; - _methodName232 = "findByTerritorioId"; + _methodName235 = "findByTerritorioId"; - _methodParameterTypes232 = new String[] { "long" }; + _methodParameterTypes235 = new String[] { "long" }; - _methodName233 = "getOrganizationByIntPraticaId"; + _methodName236 = "getOrganizationByIntPraticaId"; - _methodParameterTypes233 = new String[] { "long" }; + _methodParameterTypes236 = new String[] { "long" }; - _methodName234 = "hasRichiestaIntegrazioneAttiva"; + _methodName237 = "hasRichiestaIntegrazioneAttiva"; - _methodParameterTypes234 = new String[] { "long" }; + _methodParameterTypes237 = new String[] { "long" }; - _methodName235 = "invioMailNotifica"; + _methodName238 = "invioMailNotifica"; - _methodParameterTypes235 = new String[] { + _methodParameterTypes238 = new String[] { "long", "long", "java.lang.String", "java.lang.String[][]", "java.lang.String[][]", "java.lang.String[][]", "java.lang.String", "com.liferay.portal.kernel.json.JSONObject", "java.util.List", "com.liferay.portal.service.ServiceContext" }; - _methodName236 = "searchAltriProgetti"; + _methodName239 = "searchAltriProgetti"; - _methodParameterTypes236 = new String[] { + _methodParameterTypes239 = new String[] { "javax.servlet.http.HttpServletRequest", "com.liferay.portal.model.User", "int", "int" }; - _methodName237 = "searchArchivioProgetti"; + _methodName240 = "searchArchivioProgetti"; - _methodParameterTypes237 = new String[] { + _methodParameterTypes240 = new String[] { "javax.servlet.http.HttpServletRequest", "com.liferay.portal.model.User", "int", "int" }; - _methodName238 = "searchMieiProgetti"; + _methodName241 = "searchMieiProgetti"; - _methodParameterTypes238 = new String[] { + _methodParameterTypes241 = new String[] { "javax.servlet.http.HttpServletRequest", "com.liferay.portal.model.User", "int", "int" }; @@ -533,23 +551,41 @@ public class IntPraticaLocalServiceClpInvoker { if (_methodName176.equals(name) && Arrays.deepEquals(_methodParameterTypes176, parameterTypes)) { - return IntPraticaLocalServiceUtil.getTipiProcedure(); + return IntPraticaLocalServiceUtil.filtraPraticheStato((java.util.Date)arguments[0], + (java.util.Date)arguments[1]); } if (_methodName177.equals(name) && Arrays.deepEquals(_methodParameterTypes177, parameterTypes)) { - return IntPraticaLocalServiceUtil.getVecchieProcedure(); + return IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni((java.util.Date)arguments[0], + (java.util.Date)arguments[1]); } if (_methodName178.equals(name) && Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { + return IntPraticaLocalServiceUtil.filtraPraticheAutorizzate((java.util.Date)arguments[0], + (java.util.Date)arguments[1]); + } + + if (_methodName179.equals(name) && + Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { + return IntPraticaLocalServiceUtil.getTipiProcedure(); + } + + if (_methodName180.equals(name) && + Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) { + return IntPraticaLocalServiceUtil.getVecchieProcedure(); + } + + if (_methodName181.equals(name) && + Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) { return IntPraticaLocalServiceUtil.addIntPratica(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], (com.liferay.portal.service.ServiceContext)arguments[2]); } - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { + if (_methodName182.equals(name) && + Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { return IntPraticaLocalServiceUtil.addIntPratica(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], (java.lang.String)arguments[2], ((Long)arguments[3]).longValue(), @@ -561,74 +597,74 @@ public class IntPraticaLocalServiceClpInvoker { (com.liferay.portal.service.ServiceContext)arguments[10]); } - if (_methodName180.equals(name) && - Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) { + if (_methodName183.equals(name) && + Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { return IntPraticaLocalServiceUtil.findByStatoPratica((java.lang.String)arguments[0]); } - if (_methodName181.equals(name) && - Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) { + if (_methodName184.equals(name) && + Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { return IntPraticaLocalServiceUtil.findByStatoPratica((java.lang.String)arguments[0], ((Integer)arguments[1]).intValue(), ((Integer)arguments[2]).intValue()); } - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { + if (_methodName185.equals(name) && + Arrays.deepEquals(_methodParameterTypes185, parameterTypes)) { return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], ((Boolean)arguments[1]).booleanValue()); } - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { + if (_methodName186.equals(name) && + Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) { return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0]); } - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { + if (_methodName187.equals(name) && + Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) { return IntPraticaLocalServiceUtil.cloneIntPratica(((Long)arguments[0]).longValue(), (com.liferay.portal.service.ServiceContext)arguments[1]); } - if (_methodName186.equals(name) && - Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) { + if (_methodName189.equals(name) && + Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) { return IntPraticaLocalServiceUtil.updateDelegati(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], (java.lang.String)arguments[2], ((Boolean)arguments[3]).booleanValue()); } - if (_methodName187.equals(name) && - Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) { + if (_methodName190.equals(name) && + Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) { return IntPraticaLocalServiceUtil.fetchIntPratica(((Long)arguments[0]).longValue()); } - if (_methodName188.equals(name) && - Arrays.deepEquals(_methodParameterTypes188, parameterTypes)) { + if (_methodName191.equals(name) && + Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) { return IntPraticaLocalServiceUtil.findFascicoliNotProgetto(((Integer)arguments[0]).intValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName189.equals(name) && - Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) { + if (_methodName192.equals(name) && + Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) { return IntPraticaLocalServiceUtil.countFascicoliNotProgetto(); } - if (_methodName191.equals(name) && - Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) { + if (_methodName194.equals(name) && + Arrays.deepEquals(_methodParameterTypes194, parameterTypes)) { return IntPraticaLocalServiceUtil.countByPosizione(((Double)arguments[0]).doubleValue(), ((Double)arguments[1]).doubleValue(), ((Integer)arguments[2]).intValue()); } - if (_methodName192.equals(name) && - Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) { + if (_methodName195.equals(name) && + Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) { return IntPraticaLocalServiceUtil.findByPosizione(((Double)arguments[0]).doubleValue(), ((Double)arguments[1]).doubleValue(), ((Integer)arguments[2]).intValue()); } - if (_methodName193.equals(name) && - Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) { + if (_methodName196.equals(name) && + Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) { return IntPraticaLocalServiceUtil.findByPosizione(((Double)arguments[0]).doubleValue(), ((Double)arguments[1]).doubleValue(), ((Integer)arguments[2]).intValue(), @@ -636,168 +672,168 @@ public class IntPraticaLocalServiceClpInvoker { ((Integer)arguments[4]).intValue()); } - if (_methodName195.equals(name) && - Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) { + if (_methodName198.equals(name) && + Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) { return IntPraticaLocalServiceUtil.addNumeroProgetto(((Long)arguments[0]).longValue()); } - if (_methodName196.equals(name) && - Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) { + if (_methodName199.equals(name) && + Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) { return IntPraticaLocalServiceUtil.sospendiPratica(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue()); } - if (_methodName197.equals(name) && - Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) { + if (_methodName200.equals(name) && + Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) { return IntPraticaLocalServiceUtil.cambiaTitolare(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), (com.liferay.portal.service.ServiceContext)arguments[2]); } - if (_methodName198.equals(name) && - Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) { + if (_methodName201.equals(name) && + Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) { return IntPraticaLocalServiceUtil.updateStatoPratica(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); } - if (_methodName199.equals(name) && - Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) { + if (_methodName202.equals(name) && + Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) { return IntPraticaLocalServiceUtil.findByC_UserId(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName200.equals(name) && - Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) { + if (_methodName203.equals(name) && + Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) { return IntPraticaLocalServiceUtil.countByC_UserId(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName201.equals(name) && - Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) { + if (_methodName204.equals(name) && + Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) { IntPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue()); return null; } - if (_methodName202.equals(name) && - Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) { + if (_methodName205.equals(name) && + Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName203.equals(name) && - Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) { + if (_methodName206.equals(name) && + Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName205.equals(name) && - Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) { + if (_methodName208.equals(name) && + Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName206.equals(name) && - Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) { + if (_methodName209.equals(name) && + Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName208.equals(name) && - Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) { + if (_methodName211.equals(name) && + Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName209.equals(name) && - Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) { + if (_methodName212.equals(name) && + Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName211.equals(name) && - Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) { + if (_methodName214.equals(name) && + Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCanAddFineLavori(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName212.equals(name) && - Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) { + if (_methodName215.equals(name) && + Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCanAddFineLavori(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); } - if (_methodName214.equals(name) && - Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) { + if (_methodName217.equals(name) && + Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCanAddCollaudo(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName215.equals(name) && - Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) { + if (_methodName218.equals(name) && + Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCanAddCollaudo(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); } - if (_methodName216.equals(name) && - Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) { + if (_methodName219.equals(name) && + Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) { return IntPraticaLocalServiceUtil.search((java.util.List)arguments[0], ((Integer)arguments[1]).intValue(), ((Integer)arguments[2]).intValue()); } - if (_methodName217.equals(name) && - Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) { + if (_methodName220.equals(name) && + Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) { return IntPraticaLocalServiceUtil.countSearch((java.util.List)arguments[0]); } - if (_methodName218.equals(name) && - Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) { + if (_methodName221.equals(name) && + Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) { return IntPraticaLocalServiceUtil.searchWithIntPraticaId((java.util.List)arguments[0], ((Long)arguments[1]).longValue(), ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName219.equals(name) && - Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) { + if (_methodName222.equals(name) && + Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) { return IntPraticaLocalServiceUtil.allegaFileAnnullamento(((Long)arguments[0]).longValue(), (byte[])arguments[1], (java.lang.String)arguments[2], (java.lang.String)arguments[3], (com.liferay.portal.service.ServiceContext)arguments[4]); } - if (_methodName220.equals(name) && - Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) { + if (_methodName223.equals(name) && + Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) { return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(), (com.liferay.portal.service.ServiceContext)arguments[1]); } - if (_methodName221.equals(name) && - Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) { + if (_methodName224.equals(name) && + Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) { IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue()); return null; } - if (_methodName222.equals(name) && - Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) { + if (_methodName225.equals(name) && + Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) { IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue()); return null; } - if (_methodName223.equals(name) && - Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) { + if (_methodName226.equals(name) && + Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) { IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Long)arguments[2]).longValue()); @@ -805,76 +841,76 @@ public class IntPraticaLocalServiceClpInvoker { return null; } - if (_methodName224.equals(name) && - Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) { + if (_methodName227.equals(name) && + Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) { return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], (java.lang.Long[])arguments[2]); } - if (_methodName225.equals(name) && - Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) { + if (_methodName228.equals(name) && + Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) { return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); } - if (_methodName226.equals(name) && - Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) { + if (_methodName229.equals(name) && + Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) { return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], ((Long)arguments[1]).longValue()); } - if (_methodName227.equals(name) && - Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) { + if (_methodName230.equals(name) && + Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) { return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(), (java.util.Date)arguments[1]); } - if (_methodName228.equals(name) && - Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) { + if (_methodName231.equals(name) && + Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) { IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], ((Long)arguments[1]).longValue()); return null; } - if (_methodName229.equals(name) && - Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) { + if (_methodName232.equals(name) && + Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) { IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0], ((Long)arguments[1]).longValue()); return null; } - if (_methodName230.equals(name) && - Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) { + if (_methodName233.equals(name) && + Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) { IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); return null; } - if (_methodName231.equals(name) && - Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) { + if (_methodName234.equals(name) && + Arrays.deepEquals(_methodParameterTypes234, parameterTypes)) { return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]); } - if (_methodName232.equals(name) && - Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) { + if (_methodName235.equals(name) && + Arrays.deepEquals(_methodParameterTypes235, parameterTypes)) { return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue()); } - if (_methodName233.equals(name) && - Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) { + if (_methodName236.equals(name) && + Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) { return IntPraticaLocalServiceUtil.getOrganizationByIntPraticaId(((Long)arguments[0]).longValue()); } - if (_methodName234.equals(name) && - Arrays.deepEquals(_methodParameterTypes234, parameterTypes)) { + if (_methodName237.equals(name) && + Arrays.deepEquals(_methodParameterTypes237, parameterTypes)) { return IntPraticaLocalServiceUtil.hasRichiestaIntegrazioneAttiva(((Long)arguments[0]).longValue()); } - if (_methodName235.equals(name) && - Arrays.deepEquals(_methodParameterTypes235, parameterTypes)) { + if (_methodName238.equals(name) && + Arrays.deepEquals(_methodParameterTypes238, parameterTypes)) { IntPraticaLocalServiceUtil.invioMailNotifica(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2], @@ -889,24 +925,24 @@ public class IntPraticaLocalServiceClpInvoker { return null; } - if (_methodName236.equals(name) && - Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) { + if (_methodName239.equals(name) && + Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) { return IntPraticaLocalServiceUtil.searchAltriProgetti((javax.servlet.http.HttpServletRequest)arguments[0], (com.liferay.portal.model.User)arguments[1], ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName237.equals(name) && - Arrays.deepEquals(_methodParameterTypes237, parameterTypes)) { + if (_methodName240.equals(name) && + Arrays.deepEquals(_methodParameterTypes240, parameterTypes)) { return IntPraticaLocalServiceUtil.searchArchivioProgetti((javax.servlet.http.HttpServletRequest)arguments[0], (com.liferay.portal.model.User)arguments[1], ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName238.equals(name) && - Arrays.deepEquals(_methodParameterTypes238, parameterTypes)) { + if (_methodName241.equals(name) && + Arrays.deepEquals(_methodParameterTypes241, parameterTypes)) { return IntPraticaLocalServiceUtil.searchMieiProgetti((javax.servlet.http.HttpServletRequest)arguments[0], (com.liferay.portal.model.User)arguments[1], ((Integer)arguments[2]).intValue(), @@ -978,26 +1014,26 @@ public class IntPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes183; private String _methodName184; private String[] _methodParameterTypes184; + private String _methodName185; + private String[] _methodParameterTypes185; private String _methodName186; private String[] _methodParameterTypes186; private String _methodName187; private String[] _methodParameterTypes187; - private String _methodName188; - private String[] _methodParameterTypes188; private String _methodName189; private String[] _methodParameterTypes189; + private String _methodName190; + private String[] _methodParameterTypes190; private String _methodName191; private String[] _methodParameterTypes191; private String _methodName192; private String[] _methodParameterTypes192; - private String _methodName193; - private String[] _methodParameterTypes193; + private String _methodName194; + private String[] _methodParameterTypes194; private String _methodName195; private String[] _methodParameterTypes195; private String _methodName196; private String[] _methodParameterTypes196; - private String _methodName197; - private String[] _methodParameterTypes197; private String _methodName198; private String[] _methodParameterTypes198; private String _methodName199; @@ -1010,6 +1046,8 @@ public class IntPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes202; private String _methodName203; private String[] _methodParameterTypes203; + private String _methodName204; + private String[] _methodParameterTypes204; private String _methodName205; private String[] _methodParameterTypes205; private String _methodName206; @@ -1026,8 +1064,6 @@ public class IntPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes214; private String _methodName215; private String[] _methodParameterTypes215; - private String _methodName216; - private String[] _methodParameterTypes216; private String _methodName217; private String[] _methodParameterTypes217; private String _methodName218; @@ -1072,4 +1108,10 @@ public class IntPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes237; private String _methodName238; private String[] _methodParameterTypes238; + private String _methodName239; + private String[] _methodParameterTypes239; + private String _methodName240; + private String[] _methodParameterTypes240; + private String _methodName241; + private String[] _methodParameterTypes241; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java index 9588b2dc..8af375d8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java @@ -8,6 +8,45 @@ package it.tref.liferay.portos.bo.service.impl; +import com.liferay.portal.kernel.dao.orm.Disjunction; +import com.liferay.portal.kernel.dao.orm.DynamicQuery; +import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; +import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil; +import com.liferay.portal.kernel.dao.orm.Property; +import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; +import com.liferay.portal.kernel.dao.orm.QueryUtil; +import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; +import com.liferay.portal.kernel.exception.PortalException; +import com.liferay.portal.kernel.exception.SystemException; +import com.liferay.portal.kernel.json.JSONFactoryUtil; +import com.liferay.portal.kernel.json.JSONObject; +import com.liferay.portal.kernel.json.JSONSerializer; +import com.liferay.portal.kernel.language.LanguageUtil; +import com.liferay.portal.kernel.log.Log; +import com.liferay.portal.kernel.log.LogFactoryUtil; +import com.liferay.portal.kernel.repository.model.FileEntry; +import com.liferay.portal.kernel.repository.model.Folder; +import com.liferay.portal.kernel.search.Hits; +import com.liferay.portal.kernel.search.Indexable; +import com.liferay.portal.kernel.search.IndexableType; +import com.liferay.portal.kernel.search.Indexer; +import com.liferay.portal.kernel.search.IndexerRegistryUtil; +import com.liferay.portal.kernel.util.LocaleUtil; +import com.liferay.portal.kernel.util.MimeTypesUtil; +import com.liferay.portal.kernel.util.StringPool; +import com.liferay.portal.kernel.util.Validator; +import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil; +import com.liferay.portal.kernel.workflow.WorkflowTask; +import com.liferay.portal.model.Group; +import com.liferay.portal.model.Organization; +import com.liferay.portal.model.User; +import com.liferay.portal.security.permission.PermissionThreadLocal; +import com.liferay.portal.service.GroupLocalServiceUtil; +import com.liferay.portal.service.OrganizationLocalServiceUtil; +import com.liferay.portal.service.ServiceContext; +import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil; +import com.liferay.portlet.documentlibrary.NoSuchFolderException; + import it.mwg.sismica.bo.search.IntPraticaSearch; import it.mwg.sismica.bo.shared.util.AvvisoUtil; import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil; @@ -31,6 +70,7 @@ import it.tref.liferay.portos.bo.model.Soggetto; import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica; import it.tref.liferay.portos.bo.model.Territorio; import it.tref.liferay.portos.bo.service.base.IntPraticaLocalServiceBaseImpl; +import it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil; import it.tref.liferay.portos.bo.shared.bean.FirmeBean; import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants; import it.tref.liferay.portos.bo.shared.util.FirmeUtil; @@ -66,45 +106,6 @@ import javax.servlet.http.HttpServletRequest; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.lang.StringUtils; -import com.liferay.portal.kernel.dao.orm.Disjunction; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Property; -import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.json.JSONFactoryUtil; -import com.liferay.portal.kernel.json.JSONObject; -import com.liferay.portal.kernel.json.JSONSerializer; -import com.liferay.portal.kernel.language.LanguageUtil; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.repository.model.FileEntry; -import com.liferay.portal.kernel.repository.model.Folder; -import com.liferay.portal.kernel.search.Hits; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.search.Indexer; -import com.liferay.portal.kernel.search.IndexerRegistryUtil; -import com.liferay.portal.kernel.util.LocaleUtil; -import com.liferay.portal.kernel.util.MimeTypesUtil; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil; -import com.liferay.portal.kernel.workflow.WorkflowTask; -import com.liferay.portal.model.Group; -import com.liferay.portal.model.Organization; -import com.liferay.portal.model.User; -import com.liferay.portal.security.permission.PermissionThreadLocal; -import com.liferay.portal.service.GroupLocalServiceUtil; -import com.liferay.portal.service.OrganizationLocalServiceUtil; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil; -import com.liferay.portlet.documentlibrary.NoSuchFolderException; - /** * The implementation of the int pratica local service. *

@@ -131,7 +132,15 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl { private static Map vecchieProcedure = null; private static final Log _log = LogFactoryUtil.getLog(IntPraticaLocalServiceImpl.class); - + public List filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori) throws SystemException { + return IntPraticaFinderUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori); + } + public List filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori) throws SystemException { + return IntPraticaFinderUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori); + } + public List filtraPraticheAutorizzate(Date dataInizioLavori, Date dataFineLavori) throws SystemException { + return IntPraticaFinderUtil.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori); + } @Override public Map getTipiProcedure() { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaServiceImpl.java index e8b6fef6..5e28829f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaServiceImpl.java @@ -8,6 +8,11 @@ package it.tref.liferay.portos.bo.service.impl; +import com.liferay.portal.kernel.exception.PortalException; +import com.liferay.portal.kernel.exception.SystemException; +import com.liferay.portal.kernel.repository.model.FileEntry; +import com.liferay.portal.service.ServiceContext; + import it.mwg.sismica.bo.shared.util.AzioniPraticheUtil; import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.Territorio; @@ -18,11 +23,6 @@ import it.tref.liferay.portos.bo.shared.util.ActionKeys; import java.io.IOException; import java.util.List; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.repository.model.FileEntry; -import com.liferay.portal.service.ServiceContext; - /** * The implementation of the int pratica remote service. *

diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java index df6ad3dc..190363dd 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java @@ -1,10 +1,5 @@ package it.tref.liferay.portos.bo.service.persistence; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl; - -import java.util.List; - import com.liferay.portal.kernel.dao.orm.ORMException; import com.liferay.portal.kernel.dao.orm.QueryPos; import com.liferay.portal.kernel.dao.orm.SQLQuery; @@ -15,6 +10,12 @@ import com.liferay.portal.kernel.log.LogFactoryUtil; import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; import com.liferay.util.dao.orm.CustomSQLUtil; +import it.tref.liferay.portos.bo.model.IntPratica; +import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl; + +import java.util.Date; +import java.util.List; + public class IntPraticaFinderImpl extends BasePersistenceImpl implements IntPraticaFinder { private static final Log _log = LogFactoryUtil.getLog(IntPraticaFinderImpl.class); @@ -71,4 +72,80 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl implem } } } + private final String FILTRA_PRATICHE_STATO = "IntPratica.reportPraticaStato"; + private final String FILTRA_PRATICHE_INTEGRAZIONI = "IntPratica.reportPraticaIntegrazioni"; + private final String FILTRA_PRATICHE_AUTORIZZAZIONI = "IntPratica.reportPraticaAutorizzazioni"; + + + public List filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori) + throws SystemException { + Session session = null; + try { + session = openSession(); + String sql = CustomSQLUtil.get(FILTRA_PRATICHE_STATO); + SQLQuery query = session.createSQLQuery(sql); + query.setCacheable(false); + QueryPos qPos = QueryPos.getInstance(query); + qPos.add(dataInizioLavori); + qPos.add(dataFineLavori); + @SuppressWarnings("unchecked") + List l = query.list(); + return l; + } catch (ORMException e) { + _log.error("Errore", e); + throw new RuntimeException(e); + } finally { + if (session != null) { + closeSession(session); + } + } + } + + public List filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori) + throws SystemException { + Session session = null; + try { + session = openSession(); + String sql = CustomSQLUtil.get(FILTRA_PRATICHE_INTEGRAZIONI); + SQLQuery query = session.createSQLQuery(sql); + query.setCacheable(false); + QueryPos qPos = QueryPos.getInstance(query); + qPos.add(dataInizioLavori); + qPos.add(dataFineLavori); + @SuppressWarnings("unchecked") + List l = query.list(); + return l; + } catch (ORMException e) { + _log.error("Errore", e); + throw new RuntimeException(e); + } finally { + if (session != null) { + closeSession(session); + } + } + } + + public List filtraPraticheAutorizzate(Date dataInizioLavori, Date dataFineLavori) + throws SystemException { + Session session = null; + try { + session = openSession(); + String sql = CustomSQLUtil.get(FILTRA_PRATICHE_AUTORIZZAZIONI); + SQLQuery query = session.createSQLQuery(sql); + query.setCacheable(false); + QueryPos qPos = QueryPos.getInstance(query); + qPos.add(dataInizioLavori); + qPos.add(dataFineLavori); + @SuppressWarnings("unchecked") + List l = query.list(); + return l; + } catch (ORMException e) { + _log.error("Errore", e); + throw new RuntimeException(e); + } finally { + if (session != null) { + closeSession(session); + } + } + } } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties index 61d4903c..4196a399 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties @@ -13,8 +13,8 @@ ## build.namespace=portos_bo - build.number=3616 - build.date=1677835577253 + build.number=3649 + build.date=1680100687665 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/.tern-project b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/.tern-project new file mode 100644 index 00000000..a185ba0d --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/.tern-project @@ -0,0 +1 @@ +{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml index 65f9aa76..23d15575 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml @@ -3,4 +3,5 @@ + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/commons-csv.jar b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/commons-csv.jar new file mode 100644 index 00000000..e9eb0bd3 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/commons-csv.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar new file mode 100644 index 00000000..fdad23ea Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-reportistica-portlet-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-reportistica-portlet-service.jar new file mode 100644 index 00000000..5081b1c5 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-reportistica-portlet-service.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-display.xml b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-display.xml index aa14a378..5a1077ba 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-display.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-display.xml @@ -2,7 +2,9 @@ - - + + + + \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties index fc6ed97b..17ceae47 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties @@ -8,4 +8,11 @@ change-log= page-url=http://www.liferay.com author=Liferay, Inc. licenses=LGPL -liferay-versions=6.2.0+ \ No newline at end of file +liferay-versions=6.2.0+ +portal-dependency-jars=\ + jstl-api.jar,\ + jstl-impl.jar +portal-dependency-tlds=\ + c.tld +required-deployment-contexts=\ + portos-bo-portlet diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml index 277344df..0a3c29a3 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml @@ -3,8 +3,12 @@ - portos-reportistica + 1 /icon.png + + configuration + + 1.8 /css/main.css /js/main.js portos-reportistica-portlet diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml index 8c7ff9ac..061bfef8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml @@ -2,17 +2,19 @@ - portos-reportistica + 1 Portos Reportistica - com.liferay.util.bridges.mvc.MVCPortlet + reportistica.Reportistica view-template - /view.jsp + /html/view.jsp 0 text/html + view + content.Language Portos Reportistica Portos Reportistica diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/content/Language.properties b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/content/Language.properties new file mode 100644 index 00000000..07ea6179 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/content/Language.properties @@ -0,0 +1,107 @@ +regione_sicilia_paesaggistica=Portale Paesaggistica +portale_liferay_tooltip=liferay-portal-6.2-ce-ga6-6.2.5 +pagina_reportistica=Pagina di reportistica +filtra_pratiche_tooltip=Date per limitare la ricerca + +date_picker_inizio=Data iniziale: +date_picker_fine=Data finale: +pulsante_filtra_submit=Applica range +titolo_pagina_reportistica=Dashboard di Reportistica +titolo_campi_filtro=Range date di filtro: +titolo_tabella_risultati_stato=Filtro Pratiche per Stato e Tipo +titolo_tabella_risultati_integrazioni=Filtro Pratiche per Integrazioni +titolo_tabella_risultati_autorizzazioni=Filtro Pratiche Autorizzate e non Autorizzate +titolo_period=nel periodo +titolo_report_aggreg=Aggregazione Reportistica +pulsante_scarica_report_1=Scarica CSV Stati +pulsante_scarica_report_2=Scarica CSV Integrazioni +pulsante_scarica_report_3=Scarica CSV Autorizzazioni + +stringa_csv_vuoto_stato=Filtro stati senza risultati +stringa_csv_vuoto_integrazioni=Filtro integrazioni senza risultati +stringa_csv_vuoto_autorizzazioni=Filtro autorizzazioni senza risultati + +report_stato_vuoto=Report stati senza risultati +report_integra_vuoto=Report integrazioni senza risultati +report_autor_vuoto=Report autorizzazioni senza risultati + +tipo_procedura=Tipo procedura +traduzione_tipo_procedura=Traduzione Tipo procedura +stato_pratica=Stato pratica +traduzione_stato_pratica=Traduzione Stato pratica + +numero_pratiche=Numero pratiche + +label_procedura_P0 = 1 +tipo_procedura_P0 = Autorizzazione per interventi su Beni Culturali (D.Lgs. 42/2004 art. 21, 31, 48, 49, 50) +label_procedura_P1 = 1.1 +tipo_procedura_P1 = Interventi su Beni Culturali mobili +label_procedura_P2 = 1.2 +tipo_procedura_P2 = Interventi su Beni Culturali immobili +label_procedura_P3 = 2 +tipo_procedura_P3 = Verifica preventiva dell'interesse archeologico (D.Lgs. 25/2016, art. 25) +label_procedura_P4 = 3 +tipo_procedura_P4 = Autorizzazione per interventi di edilizia su Beni Culturali (D.Lgs. 42/2004 artt. 21, 22) +label_procedura_P5 = 4 +tipo_procedura_P5 = Autorizzazione paesaggistica per interventi e/o opere di grande impegno territoriale (D.Lgs. 42/2004 art. 146) +label_procedura_P6 = 5 +tipo_procedura_P6 = Autorizzazione paesaggistica per opere il cui impatto è valutato mediante documentazione semplificata (D.Lgs. 42/2004 art. 146) +label_procedura_P7 = 6 +tipo_procedura_P7 = Autorizzazione paesaggistica per interventi di lieve entità (L.R. 5/2019 artt. 3, 5) +label_procedura_P8 = 7 +tipo_procedura_P8 = Accertamento di compatibilità paesaggistica (D.Lgs. 42/2004 art. 146, 167) +label_procedura_P9 = 8 +tipo_procedura_P9 = Accertamento di compatibilità paesaggistica per Sanatorie Edilizie (L. 47/1985 e L.R. 37/1985 - L. 724/1994 - L. 326/2003 e L.R. 15/2004) +label_procedura_P10 = 9 +tipo_procedura_P10 = Certificazione di sussistenza vincoli + +label_procedura_Q1 = 1 +tipo_procedura_Q1 = Autorizzazione per interventi su Beni Culturali mobili, apparati decorativi, organi a canne +label_procedura_Q2 = 2 +tipo_procedura_Q2 = Autorizzazione per interventi su Beni Culturali immobili +label_procedura_Q3 = 3 +tipo_procedura_Q3 = Verifica preventiva dell'interesse archeologico +label_procedura_Q4 = 4 +tipo_procedura_Q4 = Autorizzazione prevista dagli strumenti urbanistici per interventi in aree e immobili non assoggettati a tutela ai sensi del D.Lgs. 42/2004 +label_procedura_Q5 = 5 +tipo_procedura_Q5 = Autorizzazione per "Settori Speciali" +label_procedura_Q6 = 6 +tipo_procedura_Q6 = Autorizzazione paesaggistica +label_procedura_Q7 = 7 +tipo_procedura_Q7 = Autorizzazione paesaggistica per interventi di lieve entità +label_procedura_Q8 = 8 +tipo_procedura_Q8 = Accertamento di compatibilità paesaggistica +label_procedura_Q9 = 9 +tipo_procedura_Q9 = Accertamento di compatibilità paesaggistica per istanze di Condono Edilizio +label_procedura_Q10 = 10 +tipo_procedura_Q10 = Certificazione di sussistenza vincoli + +stato-pratica-AL = Annullata +stato-pratica-AU = Autorizzata +stato-pratica-AV = Attestazione vincoli +stato-pratica-CL = Collaudo +stato-pratica-CP = Collaudo parziale +stato-pratica-CO = Conforme +stato-pratica-FL = Fine lavori +stato-pratica-FP = Fine lavori parziale +stato-pratica-IN = Richiesta integrazione +stato-pratica-SI = Integrazione accettata +stato-pratica-AN = Non autorizzata +stato-pratica-NC = Non conforme +stato-pratica-NP = Non si rilascia parere (conclusione procedimento) +stato-pratica-PC = Preavviso di parere contrario +stato-pratica-RI = Rifiutata +stato-pratica-SP = Sottoposta a parere +stato-pratica-VA = Variata +stato-pratica-VI = Vidimata + +stato-pratica-AI = Richiesto annullamento +stato-pratica-AU = Autorizzazione +stato-pratica-CI = Cambio istruttore +stato-pratica-AN = Autorizzazione negata +stato-pratica-VS = Variazione soggetti + +stato-pratica-V1 = Apertura VIArch +stato-pratica-V2 = Chiusura VIArch +stato-pratica-DS = Decreto sanzione +stato-pratica-PS = Perizia sanzione \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java deleted file mode 100644 index 8ca097f3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java +++ /dev/null @@ -1,5 +0,0 @@ -package it.nextmind.portos.reportistica; - -public class ReportisticaPortlet { - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/reportistica/Reportistica.java b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/reportistica/Reportistica.java new file mode 100644 index 00000000..cec75fea --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/reportistica/Reportistica.java @@ -0,0 +1,141 @@ +package reportistica; + +import com.liferay.portal.kernel.exception.SystemException; +import com.liferay.portal.kernel.language.LanguageUtil; +import com.liferay.portal.kernel.portlet.PortletResponseUtil; +import com.liferay.portal.kernel.util.ContentTypes; +import com.liferay.portal.kernel.util.DateFormatFactoryUtil; +import com.liferay.portal.kernel.util.ParamUtil; +import com.liferay.util.bridges.mvc.MVCPortlet; + +import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; + +import java.io.IOException; +import java.io.StringWriter; +import java.math.BigInteger; +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.List; +import java.util.Locale; + +import javax.portlet.PortletException; +import javax.portlet.ResourceRequest; +import javax.portlet.ResourceResponse; + +import org.apache.commons.csv.CSVFormat; +import org.apache.commons.csv.CSVPrinter; + +public class Reportistica extends MVCPortlet { + @Override + public void serveResource(ResourceRequest req, ResourceResponse rep) throws IOException, PortletException { + String idAzione = req.getResourceID(); + Date dataInizioLavori = ParamUtil.getDate(req, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); + Date dataFineLavori = ParamUtil.getDate(req, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); + String contentType = ContentTypes.APPLICATION_TEXT; + Locale loc = req.getLocale(); + String tipo_procedura = LanguageUtil.get(loc, "tipo_procedura"); + String stato_pratica = LanguageUtil.get(loc, "stato_pratica"); + String numero_pratiche = LanguageUtil.get(loc, "numero_pratiche"); + DateFormat formatter = new SimpleDateFormat("yyyyMMdd"); + String nel_periodo =formatter.format(dataInizioLavori) +"-"+formatter.format(dataFineLavori); + if ("azioneScarica1".equals(idAzione)) { + + String fileName = "report_stati"+nel_periodo+".csv"; + + try( + StringWriter sw = new StringWriter(); + CSVPrinter csvPrinter = new CSVPrinter(sw, CSVFormat.DEFAULT. + withHeader( + tipo_procedura, + stato_pratica, + numero_pratiche) + ); + ){ + List i = IntPraticaLocalServiceUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori); + + for(Object[] record : i){ + + String tipoprocedura = (String)record[0]; + tipoprocedura+= ":"+LanguageUtil.get(loc, "tipo_procedura_"+tipoprocedura); + String statopratica = (String)record[1]; + statopratica+= ":"+LanguageUtil.get(loc, "stato-pratica-"+statopratica); + BigInteger countStati = (BigInteger)record[2]; + csvPrinter.printRecord(tipoprocedura, statopratica, countStati); + } + csvPrinter.flush(); + PortletResponseUtil.sendFile(req, rep, + fileName, sw.toString().getBytes(), contentType); + return; + } catch (SystemException | IOException e) { + e.printStackTrace(); + return; + } + } + if ("azioneScarica2".equals(idAzione)) { + + String fileName = "report_integ"+nel_periodo+".csv"; + + try( + StringWriter sw = new StringWriter(); + CSVPrinter csvPrinter = new CSVPrinter(sw, CSVFormat.DEFAULT. + withHeader( + tipo_procedura, + numero_pratiche) + ); + ){ + + List j = IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori); + + for(Object[] record : j){ + String tipoprocedura = (String)record[0]; + tipoprocedura+= ":"+LanguageUtil.get(loc, "tipo_procedura_"+tipoprocedura); + BigInteger countIntegrazioni = (BigInteger)record[1]; + csvPrinter.printRecord(tipoprocedura, countIntegrazioni); + } + csvPrinter.flush(); + PortletResponseUtil.sendFile(req, rep, + fileName, sw.toString().getBytes(), contentType); + return; + } catch (SystemException | IOException e) { + e.printStackTrace(); + return; + } + } + if ("azioneScarica3".equals(idAzione)) { + + String fileName = "report_autor"+nel_periodo+".csv"; + + try( + StringWriter sw = new StringWriter(); + CSVPrinter csvPrinter = new CSVPrinter(sw, CSVFormat.DEFAULT. + withHeader( + tipo_procedura, + stato_pratica, + numero_pratiche) + ); + ){ + List k = IntPraticaLocalServiceUtil.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori); + + for(Object[] record : k){ + + String tipoprocedura = (String)record[0]; + tipoprocedura+= ":"+LanguageUtil.get(loc, "tipo_procedura_"+tipoprocedura); + String statopratica = (String)record[1]; + statopratica+= ":"+LanguageUtil.get(loc, "stato-pratica-"+statopratica); + BigInteger countStati = (BigInteger)record[2]; + csvPrinter.printRecord(tipoprocedura, statopratica, countStati); + } + csvPrinter.flush(); + PortletResponseUtil.sendFile(req, rep, + fileName, sw.toString().getBytes(), contentType); + return; + } catch (SystemException | IOException e) { + e.printStackTrace(); + return; + } + } + + super.serveResource(req, rep); + } +} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp new file mode 100644 index 00000000..1d5cb80e --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp @@ -0,0 +1,20 @@ +<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@page import="java.text.Format"%> +<%@page import="com.liferay.portal.kernel.util.FastDateFormatFactoryUtil"%> +<%@page import="com.liferay.portal.kernel.util.TimeZoneUtil"%> +<%@page import="com.liferay.portal.kernel.util.LocaleUtil"%> + +<%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> +<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + +<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %> +<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> +<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %> +<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> +<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> +<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %> + + + + + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp new file mode 100644 index 00000000..b792822d --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp @@ -0,0 +1,306 @@ +<%@page import="java.util.Map.Entry"%> +<%@page import="java.text.DateFormat"%> +<%@page import="reportistica.Reportistica"%> +<%@page import="com.liferay.portal.kernel.language.LanguageUtil"%> +<%@page import="java.util.TreeMap"%> +<%@page import="java.util.SortedMap"%> +<%@page import="java.util.Map"%> +<%@page import="java.math.BigInteger"%> +<%@page import="java.util.ArrayList"%> +<%@page import="com.liferay.portal.kernel.util.UnmodifiableList"%> +<%@page import="java.util.Iterator"%> +<%@page import="it.tref.liferay.portos.bo.model.DocPratica"%> +<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%> +<%@page import="it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil"%> +<%@page import="it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil"%> +<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%> +<%@page import="java.util.List"%> +<%@page import="java.util.Date"%> +<%@page import="javax.portlet.PortletURL"%> +<%@page import="com.liferay.portal.model.Group"%> +<%@page import="com.liferay.portal.kernel.util.Validator"%> +<%@page import="com.liferay.portal.kernel.util.ParamUtil"%> +<%@page import="com.liferay.portal.kernel.util.DateFormatFactoryUtil"%> +<%@page import="com.liferay.portlet.PortletURLFactoryUtil"%> +<%@page import="com.liferay.portal.kernel.util.ListUtil"%> +<%@ include file="/html/init.jsp"%> +<% + Date dataInizioLavori = ParamUtil.getDate(request, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); + Date dataFineLavori = ParamUtil.getDate(request, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); +%> + + +

<%= LanguageUtil.get(pageContext, "titolo_pagina_reportistica") %>

+ + + + +

+ <%= LanguageUtil.get(pageContext, "titolo_campi_filtro") %> +

+
+ + + + + + + + +
+ + + + + + + + + + + + + +
+
+
+ +
+ <% + Map stati = new TreeMap(); + Map integrazioni = new TreeMap(); + Map autorizzazioni = new TreeMap(); + + List i = IntPraticaLocalServiceUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori); + List j = IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori); + List k = IntPraticaLocalServiceUtil.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori); + DateFormat formatter = DateFormat.getDateInstance(DateFormat.SHORT); + String nel_periodo = LanguageUtil.get(pageContext, "titolo_period") + + " " + + formatter.format(dataInizioLavori) + + "-" + + formatter.format(dataFineLavori); + %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

<%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_stato") %> | <%= LanguageUtil.get(pageContext, "titolo_report_aggreg") %>

+ + <%for(Object[] record : i) + {String tipoprocedura = (String)record[0]; + BigInteger countStati = (BigInteger)record[2]; + BigInteger rigaCountMappa = stati.get(tipoprocedura); + if(null!=countStati&null!=tipoprocedura) + {if(null!=rigaCountMappa) + {stati.put(tipoprocedura, countStati.add(rigaCountMappa)); + } + else + {stati.put(tipoprocedura,countStati); + } + } + } + List> statiEntryList=new ArrayList>(stati.entrySet()); + %> + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

<%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_integrazioni") %> | <%= LanguageUtil.get(pageContext, "titolo_report_aggreg") %>

+ + <%for(Object[] record : j) + {String tipoprocedura = (String)record[0]; + BigInteger countInt = (BigInteger)record[1]; + BigInteger rigaCountMappa = integrazioni.get(tipoprocedura); + if(null!=countInt&null!=tipoprocedura) + {if(null!=rigaCountMappa) + {integrazioni.put(tipoprocedura, countInt.add(rigaCountMappa)); + } + else + {integrazioni.put(tipoprocedura,countInt); + } + } + } + List> intEntryList=new ArrayList>(integrazioni.entrySet()); + %> + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

<%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_autorizzazioni") %> | <%= LanguageUtil.get(pageContext, "titolo_report_aggreg") %>

+ + <%for(Object[] record : k) + {String tipoprocedura = (String)record[0]; + BigInteger countAuto = (BigInteger)record[2]; + BigInteger rigaCountMappa = autorizzazioni.get(tipoprocedura); + if(null!=countAuto&null!=tipoprocedura) + {if(null!=rigaCountMappa) + {autorizzazioni.put(tipoprocedura, countAuto.add(rigaCountMappa)); + } + else + {autorizzazioni.put(tipoprocedura,countAuto); + } + } + } + List> autoEntryList=new ArrayList>(autorizzazioni.entrySet()); + %> + + + + + + + + + + + + + + + +
+
+ + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/ivy.xml.MD5 b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/ivy.xml.MD5 new file mode 100644 index 00000000..edb01ff3 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/ivy.xml.MD5 @@ -0,0 +1 @@ +e801ce4e2cdef8a0bf759f7d48e9ed48