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 fe418ea6..13b13b28 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/service/it/tref/liferay/portos/bo/service/ComuneLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalService.java index 7b1dddd1..82c44c5c 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalService.java @@ -359,7 +359,8 @@ public interface ComuneLocalService extends BaseLocalService, public it.tref.liferay.portos.bo.model.Comune setPraticaOspedaliera( long comuneId, boolean isPraticaOspedaliera, - com.liferay.portal.service.ServiceContext serviceContext); + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.SystemException; public it.tref.liferay.portos.bo.model.Comune updateComune(long userId, long comuneId, java.lang.String codiceProvincia, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceClp.java index e276cad9..00c9b9a2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceClp.java @@ -1442,7 +1442,8 @@ public class ComuneLocalServiceClp implements ComuneLocalService { @Override public it.tref.liferay.portos.bo.model.Comune setPraticaOspedaliera( long comuneId, boolean isPraticaOspedaliera, - com.liferay.portal.service.ServiceContext serviceContext) { + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { @@ -1459,6 +1460,10 @@ public class ComuneLocalServiceClp implements ComuneLocalService { 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; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceUtil.java index 0e7f37c3..ed6c335f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceUtil.java @@ -427,7 +427,8 @@ public class ComuneLocalServiceUtil { public static it.tref.liferay.portos.bo.model.Comune setPraticaOspedaliera( long comuneId, boolean isPraticaOspedaliera, - com.liferay.portal.service.ServiceContext serviceContext) { + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.SystemException { return getService() .setPraticaOspedaliera(comuneId, isPraticaOspedaliera, serviceContext); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceWrapper.java index d88a8211..33c860ef 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ComuneLocalServiceWrapper.java @@ -449,7 +449,8 @@ public class ComuneLocalServiceWrapper implements ComuneLocalService, @Override public it.tref.liferay.portos.bo.model.Comune setPraticaOspedaliera( long comuneId, boolean isPraticaOspedaliera, - com.liferay.portal.service.ServiceContext serviceContext) { + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.SystemException { return _comuneLocalService.setPraticaOspedaliera(comuneId, isPraticaOspedaliera, serviceContext); } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/AmministrazionePortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/AmministrazionePortlet.java index 5592c604..10901031 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/AmministrazionePortlet.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/AmministrazionePortlet.java @@ -375,17 +375,17 @@ public class AmministrazionePortlet extends MVCPortlet { if (nazioneEstera) { ComuneLocalServiceUtil.addComune(themeDisplay.getUserId(), codiceProvincia, codiceComune, codiceIstat, codiceBelfiore, denominazione, false, true, - StringPool.BLANK, StringPool.BLANK, serviceContext); + StringPool.BLANK, StringPool.BLANK, false, serviceContext); } else { ComuneLocalServiceUtil.addComune(themeDisplay.getUserId(), codiceProvincia, codiceComune, codiceIstat, codiceBelfiore, denominazione, isProvincia, false, - StringPool.BLANK, StringPool.BLANK, serviceContext); + StringPool.BLANK, StringPool.BLANK, false, serviceContext); } } else { _log.debug("Il comune esiste e verra' aggiornato: " + csvRecord); ComuneLocalServiceUtil.updateComune(themeDisplay.getUserId(), comuneO.getPrimaryKey(), codiceProvincia, codiceComune, codiceIstat, denominazione, isProvincia, - nazioneEstera, StringPool.BLANK, StringPool.BLANK, serviceContext); + nazioneEstera, StringPool.BLANK, StringPool.BLANK, false, serviceContext); } } } catch (PortalException e) { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ComuneLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ComuneLocalServiceImpl.java index 788ad8c8..9ef23424 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ComuneLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ComuneLocalServiceImpl.java @@ -79,7 +79,7 @@ public class ComuneLocalServiceImpl extends ComuneLocalServiceBaseImpl { comune.setProvincia(provincia); comune.setMailSuap(mailSuap); comune.setMailSue(mailSue); - comune.setPraticaOspedaliera(praticaOspedaliera); + comune.setPraticaOspedali(praticaOspedaliera); comune = comunePersistence.update(comune); return comune; } @@ -107,7 +107,7 @@ public class ComuneLocalServiceImpl extends ComuneLocalServiceBaseImpl { comune.setProvincia(provincia); comune.setMailSuap(mailSuap); comune.setMailSue(mailSue); - comune.setPraticaOspedaliera(praticaOspedaliera); + comune.setPraticaOspedali(praticaOspedaliera); comune = comunePersistence.update(comune); return comune; } @@ -219,9 +219,9 @@ public class ComuneLocalServiceImpl extends ComuneLocalServiceBaseImpl { return comunePersistence.findByC_Stato(companyId, true); } - public Comune setPraticaOspedaliera(long comuneId, boolean isPraticaOspedaliera, ServiceContext serviceContext){ + public Comune setPraticaOspedaliera(long comuneId, boolean isPraticaOspedaliera, ServiceContext serviceContext) throws SystemException{ Comune comune = comunePersistence.fetchByPrimaryKey(comuneId); - comune.setPraticaOspedaliera(isPraticaOspedaliera); + comune.setPraticaOspedali(isPraticaOspedaliera); comune.setModifiedDate(serviceContext.getModifiedDate(new Date())); comune = comunePersistence.update(comune); return comune; @@ -250,7 +250,7 @@ public class ComuneLocalServiceImpl extends ComuneLocalServiceBaseImpl { comune.setMailSue(mailSue); comune.setDenominazione(denominazione); comune.setProvincia(provincia); - comune.setPraticaOspedaliera(praticaOspedaliera); + comune.setPraticaOspedali(praticaOspedaliera); comune = comunePersistence.update(comune); return comune; } @@ -277,7 +277,7 @@ public class ComuneLocalServiceImpl extends ComuneLocalServiceBaseImpl { comune.setMailSue(mailSue); comune.setDenominazione(denominazione); comune.setProvincia(provincia); - comune.setPraticaOspedaliera(praticaOspedaliera); + comune.setPraticaOspedali(praticaOspedaliera); comune = comunePersistence.update(comune); return comune; } 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 a535a8fe..c307e7c5 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=2904 - build.date=1683125552991 + build.number=2905 + build.date=1683195261012 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/amministrazione/tabs/comuni/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/amministrazione/tabs/comuni/view.jsp index 85b80223..71c7c3f4 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/amministrazione/tabs/comuni/view.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/amministrazione/tabs/comuni/view.jsp @@ -68,7 +68,7 @@ DisplayTerms displayTerms = new DisplayTerms(renderRequest); - +