diff --git a/jasper/reports-2023/FL2_avviso_fine_lavori.jrxml b/jasper/reports-2023/FL2_avviso_fine_lavori.jrxml index ee08d757..7c543aba 100644 --- a/jasper/reports-2023/FL2_avviso_fine_lavori.jrxml +++ b/jasper/reports-2023/FL2_avviso_fine_lavori.jrxml @@ -2,7 +2,7 @@ - + diff --git a/jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml b/jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml index d9a9b015..80b9bdfa 100644 --- a/jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml +++ b/jasper/reports-2023/FL3-4_vidimazione-attestazione.jrxml @@ -2,7 +2,7 @@ - + @@ -81,13 +81,14 @@ - + + - + @@ -107,6 +108,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -390,7 +411,7 @@ - + @@ -474,6 +495,16 @@ + + + + + + + + + + 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 03977cb2..9a2a2304 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 17257125..1b5a26a1 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 ad36d245..77c877a1 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 448b4978..20883a9c 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 81fca4c7..df50eac9 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-accesso-atti-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/src/service.properties index dfea1c7c..092bb581 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/src/service.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/src/service.properties @@ -13,8 +13,8 @@ ## build.namespace=portos_atti - build.number=27 - build.date=1636989706590 + build.number=28 + build.date=1680796833324 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/lib/portos-bo-shared-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/lib/portos-bo-shared-service.jar new file mode 100644 index 00000000..1e39d223 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/lib/portos-bo-shared-service.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/portlet/TemplateTesterPortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/portlet/TemplateTesterPortlet.java index 0af1d08b..1f7d71ce 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/portlet/TemplateTesterPortlet.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/portlet/TemplateTesterPortlet.java @@ -1,156 +1,156 @@ -package it.nextmind.liferay.portos.advanced.operation.portlet; - -import com.liferay.portal.kernel.json.JSONFactoryUtil; -import com.liferay.portal.kernel.json.JSONObject; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.servlet.ServletResponseUtil; -import com.liferay.portal.kernel.upload.UploadPortletRequest; -import com.liferay.portal.kernel.util.ContentTypes; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ParamUtil; -import com.liferay.portal.kernel.util.StreamUtil; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.util.WebKeys; -import com.liferay.portal.theme.ThemeDisplay; -import com.liferay.portal.util.PortalUtil; -import com.liferay.util.bridges.mvc.MVCPortlet; - -import it.tref.liferay.portos.bo.report.builder.bean.ReportAvvisoBean; -import it.tref.liferay.portos.bo.report.builder.builder.ReportAvvisoBeanBuilder; -import it.tref.liferay.portos.report.html.core.HtmlToPdfEngine; -import it.tref.liferay.portos.report.jasper.core.provider.JasperPdfProvider; -import it.tref.liferay.portos.report.jasper.core.report.BeanReport; -import it.tref.liferay.portos.report.jasper.core.report.ReportInterface; -import it.tref.liferay.portos.report.odt.core.OdtToPdfEngine; -import it.tref.liferay.portos.report.shared.constants.ReportConstants; -import it.tref.liferay.portos.report.shared.constants.ReportConstants.ReportType; -import it.tref.liferay.portos.report.shared.dto.ReportDto; -import it.tref.liferay.portos.report.shared.dto.ReportResultDto; -import it.tref.liferay.portos.report.shared.util.ReportUtil; -import it.tref.liferay.portos.report.shared.util.VelocityUtil; - -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.util.HashMap; - -import javassist.ClassPool; - -import javax.portlet.PortletException; -import javax.portlet.ResourceRequest; -import javax.portlet.ResourceResponse; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -public class TemplateTesterPortlet extends MVCPortlet { - - @Override - public void serveResource(ResourceRequest resourceRequest, - ResourceResponse resourceResponse) throws IOException, - PortletException { - - String resourceID = GetterUtil.getString(resourceRequest - .getResourceID()); - - if (resourceID.equals("templateTester")) { - _processTemplate(resourceRequest, resourceResponse); - } else { - super.serveResource(resourceRequest, resourceResponse); - } - } - - private void _processTemplate(ResourceRequest resourceRequest, - ResourceResponse resourceResponse){ - - HttpServletRequest request = PortalUtil - .getHttpServletRequest(resourceRequest); - HttpServletResponse response = PortalUtil - .getHttpServletResponse(resourceResponse); - - try { - - ThemeDisplay themeDisplay = (ThemeDisplay) resourceRequest - .getAttribute(WebKeys.THEME_DISPLAY); - - byte[] bytes = new byte[0]; - - UploadPortletRequest uploadPortletRequest = PortalUtil - .getUploadPortletRequest(resourceRequest); - - ReportAvvisoBean bean = ReportAvvisoBeanBuilder.build(avviso, parameters); - String resourcePath = getClass().getName().replaceAll("\\w+\\.", "../") - .replace(getClass().getSimpleName(), ReportConstants.PATH_LOGO_REGIONE); - parameters.put(ReportConstants.LOGO_REGIONE, getClass().getResource(resourcePath).getPath()); - ReportDto reportDto = new ReportDto(); - reportDto.setFileEntryIds(new long[] { fileEntryIdTemplate }); - reportDto.setFolderId(folderId); - reportDto.setFileName(fileName); - reportDto.setParameters(parameters); - reportDto.setShowNumberOfPage(true); - reportDto.setType(ReportConstants.ReportType.JRXML_TO_PDF.toString()); - ReportResultDto result = ReportUtil.generateReport(companyId, userId, reportDto, bean); - - String parametersJSON = ParamUtil.getString( - uploadPortletRequest, "parametersJSON"); - - HashMap params = new HashMap(); - if (Validator.isNotNull(parametersJSON)) { - params = (HashMap) JSONFactoryUtil - .looseDeserialize(parametersJSON); - } - - String objectJSON = ParamUtil.getString(uploadPortletRequest, - "objectJSON"); - - String fileNameTemplate = uploadPortletRequest - .getFileName("fileTemplate"); - - ReportInterface reportInterface = null; - - if (Validator.isNotNull(objectJSON)) { - - JSONObject jsonObject = JSONFactoryUtil - .createJSONObject(objectJSON); - - ClassPool pool = ClassPool.getDefault(); - - Class clazz = makeClass(pool, jsonObject); - Object dataSource = clazz.newInstance(); - - reportInterface = new BeanReport(dataSource); - } - - if (Validator.isNotNull(fileNameTemplate)) { - - InputStream inputStream = null; - try { - inputStream = uploadPortletRequest - .getFileAsStream("fileTemplate"); - - JasperPdfProvider pdfProvider = new JasperPdfProvider(); - pdfProvider.doReport(inputStream, params, - reportInterface); - - bytes = pdfProvider.getBytes(); - } finally { - StreamUtil.cleanUp(inputStream); - } - } - - ServletResponseUtil.sendFile(request, response, "test.pdf", bytes, - ContentTypes.APPLICATION_PDF); - - } catch (Exception e) { - _log.error(e, e); - - ServletResponseUtil.sendFile(request, response, "test.html", e - .toString().getBytes(StringPool.UTF8), - ContentTypes.TEXT_HTML_UTF8); - } - - } - - private final static Log _log = LogFactoryUtil.getLog(TestPdf.class); -} +//package it.nextmind.liferay.portos.advanced.operation.portlet; +// +//import com.liferay.portal.kernel.json.JSONFactoryUtil; +//import com.liferay.portal.kernel.json.JSONObject; +//import com.liferay.portal.kernel.log.Log; +//import com.liferay.portal.kernel.log.LogFactoryUtil; +//import com.liferay.portal.kernel.servlet.ServletResponseUtil; +//import com.liferay.portal.kernel.upload.UploadPortletRequest; +//import com.liferay.portal.kernel.util.ContentTypes; +//import com.liferay.portal.kernel.util.GetterUtil; +//import com.liferay.portal.kernel.util.ParamUtil; +//import com.liferay.portal.kernel.util.StreamUtil; +//import com.liferay.portal.kernel.util.StringPool; +//import com.liferay.portal.kernel.util.Validator; +//import com.liferay.portal.kernel.util.WebKeys; +//import com.liferay.portal.theme.ThemeDisplay; +//import com.liferay.portal.util.PortalUtil; +//import com.liferay.util.bridges.mvc.MVCPortlet; +// +//import it.tref.liferay.portos.bo.report.builder.bean.ReportAvvisoBean; +//import it.tref.liferay.portos.bo.report.builder.builder.ReportAvvisoBeanBuilder; +//import it.tref.liferay.portos.report.html.core.HtmlToPdfEngine; +//import it.tref.liferay.portos.report.jasper.core.provider.JasperPdfProvider; +//import it.tref.liferay.portos.report.jasper.core.report.BeanReport; +//import it.tref.liferay.portos.report.jasper.core.report.ReportInterface; +//import it.tref.liferay.portos.report.odt.core.OdtToPdfEngine; +//import it.tref.liferay.portos.report.shared.constants.ReportConstants; +//import it.tref.liferay.portos.report.shared.constants.ReportConstants.ReportType; +//import it.tref.liferay.portos.report.shared.dto.ReportDto; +//import it.tref.liferay.portos.report.shared.dto.ReportResultDto; +//import it.tref.liferay.portos.report.shared.util.ReportUtil; +//import it.tref.liferay.portos.report.shared.util.VelocityUtil; +// +//import java.io.ByteArrayOutputStream; +//import java.io.IOException; +//import java.io.InputStream; +//import java.util.HashMap; +// +//import javassist.ClassPool; +// +//import javax.portlet.PortletException; +//import javax.portlet.ResourceRequest; +//import javax.portlet.ResourceResponse; +//import javax.servlet.http.HttpServletRequest; +//import javax.servlet.http.HttpServletResponse; +// +//public class TemplateTesterPortlet extends MVCPortlet { +// +// @Override +// public void serveResource(ResourceRequest resourceRequest, +// ResourceResponse resourceResponse) throws IOException, +// PortletException { +// +// String resourceID = GetterUtil.getString(resourceRequest +// .getResourceID()); +// +// if (resourceID.equals("templateTester")) { +// _processTemplate(resourceRequest, resourceResponse); +// } else { +// super.serveResource(resourceRequest, resourceResponse); +// } +// } +// +// private void _processTemplate(ResourceRequest resourceRequest, +// ResourceResponse resourceResponse){ +// +// HttpServletRequest request = PortalUtil +// .getHttpServletRequest(resourceRequest); +// HttpServletResponse response = PortalUtil +// .getHttpServletResponse(resourceResponse); +// +// try { +// +// ThemeDisplay themeDisplay = (ThemeDisplay) resourceRequest +// .getAttribute(WebKeys.THEME_DISPLAY); +// +// byte[] bytes = new byte[0]; +// +// UploadPortletRequest uploadPortletRequest = PortalUtil +// .getUploadPortletRequest(resourceRequest); +// +// ReportAvvisoBean bean = ReportAvvisoBeanBuilder.build(avviso, parameters); +// String resourcePath = getClass().getName().replaceAll("\\w+\\.", "../") +// .replace(getClass().getSimpleName(), ReportConstants.PATH_LOGO_REGIONE); +// parameters.put(ReportConstants.LOGO_REGIONE, getClass().getResource(resourcePath).getPath()); +// ReportDto reportDto = new ReportDto(); +// reportDto.setFileEntryIds(new long[] { fileEntryIdTemplate }); +// reportDto.setFolderId(folderId); +// reportDto.setFileName(fileName); +// reportDto.setParameters(parameters); +// reportDto.setShowNumberOfPage(true); +// reportDto.setType(ReportConstants.ReportType.JRXML_TO_PDF.toString()); +// ReportResultDto result = ReportUtil.generateReport(companyId, userId, reportDto, bean); +// +// String parametersJSON = ParamUtil.getString( +// uploadPortletRequest, "parametersJSON"); +// +// HashMap params = new HashMap(); +// if (Validator.isNotNull(parametersJSON)) { +// params = (HashMap) JSONFactoryUtil +// .looseDeserialize(parametersJSON); +// } +// +// String objectJSON = ParamUtil.getString(uploadPortletRequest, +// "objectJSON"); +// +// String fileNameTemplate = uploadPortletRequest +// .getFileName("fileTemplate"); +// +// ReportInterface reportInterface = null; +// +// if (Validator.isNotNull(objectJSON)) { +// +// JSONObject jsonObject = JSONFactoryUtil +// .createJSONObject(objectJSON); +// +// ClassPool pool = ClassPool.getDefault(); +// +// Class clazz = makeClass(pool, jsonObject); +// Object dataSource = clazz.newInstance(); +// +// reportInterface = new BeanReport(dataSource); +// } +// +// if (Validator.isNotNull(fileNameTemplate)) { +// +// InputStream inputStream = null; +// try { +// inputStream = uploadPortletRequest +// .getFileAsStream("fileTemplate"); +// +// JasperPdfProvider pdfProvider = new JasperPdfProvider(); +// pdfProvider.doReport(inputStream, params, +// reportInterface); +// +// bytes = pdfProvider.getBytes(); +// } finally { +// StreamUtil.cleanUp(inputStream); +// } +// } +// +// ServletResponseUtil.sendFile(request, response, "test.pdf", bytes, +// ContentTypes.APPLICATION_PDF); +// +// } catch (Exception e) { +// _log.error(e, e); +// +// ServletResponseUtil.sendFile(request, response, "test.html", e +// .toString().getBytes(StringPool.UTF8), +// ContentTypes.TEXT_HTML_UTF8); +// } +// +// } +// +// private final static Log _log = LogFactoryUtil.getLog(TestPdf.class); +//} 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 1104d04f..7619aa3a 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/PraticaAttenzionataLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalService.java index eda4977a..379572e2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalService.java @@ -253,4 +253,12 @@ public interface PraticaAttenzionataLocalService extends BaseLocalService, public java.lang.Object invokeMethod(java.lang.String name, java.lang.String[] parameterTypes, java.lang.Object[] arguments) throws java.lang.Throwable; + + public it.tref.liferay.portos.bo.model.PraticaAttenzionata addPraticaAttenzionata( + long intPraticaId, long dettPraticaId, long fineLavoriId, + java.lang.String numeroProgetto, java.util.Date dataInizioLavori, + java.util.Date dataFineLavoriTotale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + 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/PraticaAttenzionataLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceClp.java index de1f1a14..39a157a2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceClp.java @@ -115,6 +115,13 @@ public class PraticaAttenzionataLocalServiceClp _methodName17 = "setBeanIdentifier"; _methodParameterTypes17 = new String[] { "java.lang.String" }; + + _methodName19 = "addPraticaAttenzionata"; + + _methodParameterTypes19 = new String[] { + "long", "long", "long", "java.lang.String", "java.util.Date", + "java.util.Date", "com.liferay.portal.service.ServiceContext" + }; } @Override @@ -677,6 +684,58 @@ public class PraticaAttenzionataLocalServiceClp throw new UnsupportedOperationException(); } + @Override + public it.tref.liferay.portos.bo.model.PraticaAttenzionata addPraticaAttenzionata( + long intPraticaId, long dettPraticaId, long fineLavoriId, + java.lang.String numeroProgetto, java.util.Date dataInizioLavori, + java.util.Date dataFineLavoriTotale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableLocalService.invokeMethod(_methodName19, + _methodParameterTypes19, + new Object[] { + intPraticaId, + + dettPraticaId, + + fineLavoriId, + + ClpSerializer.translateInput(numeroProgetto), + + ClpSerializer.translateInput(dataInizioLavori), + + ClpSerializer.translateInput(dataFineLavoriTotale), + + ClpSerializer.translateInput(serviceContext) + }); + } + catch (Throwable t) { + t = ClpSerializer.translateThrowable(t); + + if (t instanceof com.liferay.portal.kernel.exception.PortalException) { + throw (com.liferay.portal.kernel.exception.PortalException)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 (it.tref.liferay.portos.bo.model.PraticaAttenzionata)ClpSerializer.translateOutput(returnObj); + } + private InvokableLocalService _invokableLocalService; private String _methodName0; private String[] _methodParameterTypes0; @@ -714,4 +773,6 @@ public class PraticaAttenzionataLocalServiceClp private String[] _methodParameterTypes16; private String _methodName17; private String[] _methodParameterTypes17; + private String _methodName19; + private String[] _methodParameterTypes19; } \ 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/PraticaAttenzionataLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceUtil.java index 2c0b5aa2..8c281c3e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceUtil.java @@ -275,6 +275,19 @@ public class PraticaAttenzionataLocalServiceUtil { return getService().invokeMethod(name, parameterTypes, arguments); } + public static it.tref.liferay.portos.bo.model.PraticaAttenzionata addPraticaAttenzionata( + long intPraticaId, long dettPraticaId, long fineLavoriId, + java.lang.String numeroProgetto, java.util.Date dataInizioLavori, + java.util.Date dataFineLavoriTotale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return getService() + .addPraticaAttenzionata(intPraticaId, dettPraticaId, + fineLavoriId, numeroProgetto, dataInizioLavori, + dataFineLavoriTotale, serviceContext); + } + public static void clearService() { _service = null; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceWrapper.java index cec34fa7..715c4a14 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PraticaAttenzionataLocalServiceWrapper.java @@ -290,6 +290,19 @@ public class PraticaAttenzionataLocalServiceWrapper parameterTypes, arguments); } + @Override + public it.tref.liferay.portos.bo.model.PraticaAttenzionata addPraticaAttenzionata( + long intPraticaId, long dettPraticaId, long fineLavoriId, + java.lang.String numeroProgetto, java.util.Date dataInizioLavori, + java.util.Date dataFineLavoriTotale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return _praticaAttenzionataLocalService.addPraticaAttenzionata(intPraticaId, + dettPraticaId, fineLavoriId, numeroProgetto, dataInizioLavori, + dataFineLavoriTotale, serviceContext); + } + /** * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} */ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java index 998493fb..2ce104a1 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java @@ -1099,7 +1099,7 @@ public class ValidazionePraticaUtil { } } } - if (!isDirettoreLavori && !dettPratica.isLavoriPubblici()) { + if (!isDirettoreLavori && dettPratica.isLavoriPubblici()) { isDirettoreLavori = true; } return isDirettoreLavori && (isProgettista || isGeologo); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PraticaAttenzionataLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PraticaAttenzionataLocalServiceClpInvoker.java index 02976204..f83df22b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PraticaAttenzionataLocalServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PraticaAttenzionataLocalServiceClpInvoker.java @@ -113,6 +113,13 @@ public class PraticaAttenzionataLocalServiceClpInvoker { _methodName179 = "setBeanIdentifier"; _methodParameterTypes179 = new String[] { "java.lang.String" }; + + _methodName184 = "addPraticaAttenzionata"; + + _methodParameterTypes184 = new String[] { + "long", "long", "long", "java.lang.String", "java.util.Date", + "java.util.Date", "com.liferay.portal.service.ServiceContext" + }; } public Object invokeMethod(String name, String[] parameterTypes, @@ -216,6 +223,16 @@ public class PraticaAttenzionataLocalServiceClpInvoker { return null; } + if (_methodName184.equals(name) && + Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { + return PraticaAttenzionataLocalServiceUtil.addPraticaAttenzionata(((Long)arguments[0]).longValue(), + ((Long)arguments[1]).longValue(), + ((Long)arguments[2]).longValue(), + (java.lang.String)arguments[3], (java.util.Date)arguments[4], + (java.util.Date)arguments[5], + (com.liferay.portal.service.ServiceContext)arguments[6]); + } + throw new UnsupportedOperationException(); } @@ -255,4 +272,6 @@ public class PraticaAttenzionataLocalServiceClpInvoker { private String[] _methodParameterTypes178; private String _methodName179; private String[] _methodParameterTypes179; + private String _methodName184; + private String[] _methodParameterTypes184; } \ No newline at end of file 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 4fb77517..2938d787 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=2875 - build.date=1680274725242 + build.number=2883 + build.date=1680797787060 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/itext-xtra-5.5.9.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/itext-xtra-5.5.9.jar new file mode 100644 index 00000000..82ceee0c Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/itext-xtra-5.5.9.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/itextpdf-5.5.9.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/itextpdf-5.5.9.jar new file mode 100644 index 00000000..e622bdf9 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/itextpdf-5.5.9.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-audit-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-audit-shared.jar new file mode 100644 index 00000000..9a2a2304 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-audit-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-bo-shared-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-bo-shared-service.jar new file mode 100644 index 00000000..1e39d223 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-bo-shared-service.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-bo-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-bo-shared.jar new file mode 100644 index 00000000..1b5a26a1 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-bo-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-kaleo-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-kaleo-shared.jar new file mode 100644 index 00000000..77c877a1 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-kaleo-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-mail-manager-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-mail-manager-shared.jar new file mode 100644 index 00000000..20883a9c Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-mail-manager-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-report-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-report-shared.jar new file mode 100644 index 00000000..df50eac9 Binary files /dev/null and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/lib/portos-report-shared.jar differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml index 5dd5d0db..f256af25 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -4,8 +4,8 @@ - +