diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-display.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-display.xml index 9ec14628..98802502 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-display.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-display.xml @@ -2,7 +2,6 @@ - @@ -15,7 +14,7 @@ - + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-hook.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-hook.xml index 8234053b..5dc0d86c 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-hook.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-hook.xml @@ -1,4 +1,4 @@ - + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-portlet.xml index 2039d4cb..42fcf9de 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-portlet.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-portlet.xml @@ -1,12 +1,13 @@ + 1 /icon.png it.tref.liferay.portos.bo.indexer.IntPraticaIndexer it.tref.liferay.portos.bo.indexer.ControlloPraticaIndexer - + Estrazione Firme it.tref.liferay.portos.bo.scheduler.SchedulerEstrazioneFirme @@ -36,7 +37,7 @@ - + Sorteggio Pratiche it.mwg.sismica.bo.scheduler.SchedulerSorteggio @@ -75,7 +76,7 @@ - it.tref.liferay.portos.bo.asset.ControlloPraticaAssetRendererFactory + it.tref.liferay.portos.bo.asset.ControlloPraticaAssetRendererFactory it.tref.liferay.portos.bo.workflow.ControlloPraticaWorkflowHandler /css/main.css?v=4 /js/main.js?v=4 @@ -84,9 +85,7 @@ 2 /icon.png - - configuration - + configuration 1.5 /css/main.css?v=4 /js/main.js?v=4 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/portlet.xml index e43cbf95..fcacc2e5 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/portlet.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/portlet.xml @@ -1,13 +1,10 @@ - 1 Fascicolo - - it.tref.liferay.portos.bo.portlet.FascicoloPortlet - + it.tref.liferay.portos.bo.portlet.FascicoloPortlet view-template /html/fascicolo/view.jsp @@ -47,14 +44,14 @@ 0 text/html - view + view - content.Language + content.Language Tabelle di Sistema Tabelle di Sistema - + administrator @@ -79,14 +76,14 @@ 0 text/html - view + view - content.Language + content.Language Sorteggio Sorteggio - + administrator @@ -111,14 +108,14 @@ 0 text/html - view + view - content.Language + content.Language Gestione Firme Gestione Firme - + administrator @@ -135,9 +132,7 @@ 5 Fascicolo - - it.tref.liferay.portos.bo.portlet.DocAggiuntivaPortlet - + it.tref.liferay.portos.bo.portlet.DocAggiuntivaPortlet view-template /html/doc_aggiuntiva/view.jsp @@ -169,9 +164,7 @@ 6 Gestione Attività - - it.tref.liferay.portos.bo.portlet.GestioneAttivitaPortlet - + it.tref.liferay.portos.bo.portlet.GestioneAttivitaPortlet view-template /html/gestioneattivita/view.jsp @@ -203,9 +196,7 @@ 7 Allegati Manuali - - it.tref.liferay.portos.bo.portlet.AllegatiManualiPortlet - + it.tref.liferay.portos.bo.portlet.AllegatiManualiPortlet view-template /html/allegati_manuali/view.jsp @@ -237,9 +228,7 @@ 8 Gestione Attivita Istruttore - - it.tref.liferay.portos.bo.portlet.GestioneAttivitaIstruttorePortlet - + it.tref.liferay.portos.bo.portlet.GestioneAttivitaIstruttorePortlet view-template /html/gestioneattivitaistruttore/view.jsp @@ -271,9 +260,7 @@ 9 Carichi di lavoro - - it.tref.liferay.portos.bo.portlet.CarichiLavoroPortlet - + it.tref.liferay.portos.bo.portlet.CarichiLavoroPortlet view-template /html/carichilavoro/view.jsp @@ -305,9 +292,7 @@ 10 Tempistiche - - it.tref.liferay.portos.bo.portlet.TempistichePortlet - + it.tref.liferay.portos.bo.portlet.TempistichePortlet view-template /html/tempistiche/view.jsp @@ -339,9 +324,7 @@ 11 Generate Protocollo Csv - - it.tref.liferay.portos.bo.portlet.GenerateProtocolloCSVPortlet - + it.tref.liferay.portos.bo.portlet.GenerateProtocolloCSVPortlet view-template /html/generateprotocollocsv/view.jsp @@ -351,7 +334,7 @@ text/html view - content.Language + content.Language Generate Protocollo Csv 11 @@ -381,14 +364,14 @@ 0 text/html - view + view - content.Language + content.Language Pagamenti in Pending Pagamenti in Pending - + administrator @@ -405,9 +388,7 @@ portos-administration Amministrazione Sismica - - it.tref.liferay.portos.bo.portlet.SismicaAdministrationPortlet - + it.tref.liferay.portos.bo.portlet.SismicaAdministrationPortlet view-template /html/sismica_administration/view.jsp @@ -502,9 +483,7 @@ 22 Ricerca Protocollo - - it.tref.liferay.portos.bo.portlet.RicercaProtocolloPortlet - + it.tref.liferay.portos.bo.portlet.RicercaProtocolloPortlet view-template /html/ricercaprotocollo/view.jsp @@ -535,9 +514,7 @@ 13 Home Bo - - it.tref.liferay.portos.bo.portlet.HomeBOPortlet - + it.tref.liferay.portos.bo.portlet.HomeBOPortlet view-template /html/homebo/view.jsp diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml index 45c73310..785468f3 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml @@ -1,1675 +1,1508 @@ - + + Davide Barbagallo, 3F Consulting + Manifattura Web Group s.r.l. portos_bo - - + - - - - - + + + + + - - - - + + + + - + - + - - + + - - + + - - + - + - - - - - + + + + + - - - - - - - - - - + + + + + + + + + + - + - + - - + + - + - - + + - - + + - - + + - - + + - - + - + - - - - - - + + + + + + - - - - + + + + - - - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + - - + + - + - + - - + + - - + + - + - - - - + + + + - - - + + + - - + - + - - - - - - + + + + + + - - - - - - - - + + + + + + + + - + - - - + + - - + + - + - - + + - - + - - + - + - - - - - - + + + + + + - - - - - + + + + + - - + - + - - - - - - + + + + + + - - - - - - - - + + + + + + + + - - + - - + + - - + - - - - - + + + + - - - + - + - - - - - - + + + + + + - - - - - + + + + + - - - - - + + + + + - - - + + + - - - - - - - + + + + + + - + - + - + - + - - + + - - - + + + - - + - - + + - - + + - - + + - - - + + - + - - + - + - - - - - - + + + + + + - - - - + + + + - + - + - - + + - + - - + - + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + - - - - - - - - + + + - - - - + + + + - - - - - - - + + + + + + + + + + - - + - + - - - - - - + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + - - + - - - + + + - - + + - - + + - - + + - - + + - - - + + + - - + - + - - - - - - + + + + + + - + - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + - - + - - - - + + + - - + + - - + + - - + + - - + + - - + - + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - + + - + - - + - - + + - - + + - + - - + + - - + + - + - - + + - + - - + + - + - - - + + + - + - - + - - + - + - - - - - - + + + + + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - + + - - + + - - + - - + - + - - - - - - + + + + + + - - + + - - - - + + + + - - - + + + - - - - - - - + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - + + + + + - - - + + + - - - + + + - - - - - - - - - - - + + + + + + + + + + - + - + - - + + - - + + - + - - - + + + - - - - - + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - - - - + + + + - - + + - - - + + + - - - + + + - + - - + + - - - + + + - - + - - + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + - + - + - - - - - - + + + + + + - - + + - + - + - + - - - + - - - + - - - - - - - + + + + + + - - + + - - - - - - + + + + + - + - + - - + + - - - - + + + + - - - + - - - + - - - - - - - + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - + + - - - + + - - - - + + + - - - - - + + + + - - - + - - + - + - - - + - - + - - - - - - - - - + - - - + + + - - - - + - - + - - - - - - + + + + + + - - - - + + + + - - - + + - - - - + - - + - - - + - - + - - - - - - + + + + + + - - - - - + + + + + - - + - - - + - - - + - - + - - - - - - + + + + + + - - + + - - - - - - + + + + + - + - + - - - + + - + - - + + - - + + - - + + - - - + + + - - - + + + - - - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - - + + + + + - - - + - - - + - - - + - - - - - - - + + + + + + - - - - + + + + - - - - - - - - + + + + + + - - + - + - - - + + - - + + - - + + - - + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - - - - - - - - + + + + + + + + + + + - - - + + - - - - - - - + + + + + + - - - - - + + + + - + - - - + + - - - DuplicateProvincia CodiceProvincia @@ -1678,12 +1511,10 @@ NoSuchProvincia CSVFileNotFound CSVFileFormat - CodiceBelfiore CodiceComune CodiceIstat Denominazione DuplicateComune - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SorteggioPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SorteggioPraticaUtil.java index c3fceb8c..ed1edb44 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SorteggioPraticaUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SorteggioPraticaUtil.java @@ -131,6 +131,9 @@ public class SorteggioPraticaUtil { IntPratica pratica = m.getValue(); long intPraticaId = pratica.getIntPraticaId(); DettPratica dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPraticaId); + if (Validator.isNull(dettPratica)) { + dettPratica =DettPraticaLocalServiceUtil.getLastEditableByIntPratica(intPraticaId); + } _log.info("Pratica " + pratica.getNumeroProgetto() + " id " + pratica.getIntPraticaId() + " dettPratica " + (dettPratica == null ? 0 : dettPratica.getDettPraticaId())); ServiceContext serviceContext = new ServiceContext();