diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/mwg/sismica/bo/util/HttpServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/mwg/sismica/bo/util/HttpServiceUtil.java index dfa30bcd..d63aa1b2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/mwg/sismica/bo/util/HttpServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/mwg/sismica/bo/util/HttpServiceUtil.java @@ -4,6 +4,8 @@ import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil; import it.tref.liferay.portos.bo.shared.protocollo.model.Protocollo; import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants; +import java.io.IOException; + import javax.servlet.http.HttpServletResponse; import org.apache.http.HttpResponse; @@ -46,11 +48,12 @@ public class HttpServiceUtil { request.setEntity(new StringEntity(json)); CloseableHttpClient client = HttpClientBuilder.create().build(); HttpResponse response = client.execute(request); - int statusCode = response.getStatusLine().getStatusCode(); String responseBody = EntityUtils.toString(response.getEntity(), StringPool.UTF8); + try { client.close(); - + } catch (IOException e) { + } if (statusCode == HttpServletResponse.SC_OK || statusCode == HttpServletResponse.SC_CREATED) { risposta = JSONFactoryUtil.createJSONObject(responseBody); _log.info(url + " || " + json + " || " + risposta); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/ControlloPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/ControlloPraticaLocalServiceClpInvoker.java index e7e23c55..fe73fd8f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/ControlloPraticaLocalServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/ControlloPraticaLocalServiceClpInvoker.java @@ -208,35 +208,35 @@ public class ControlloPraticaLocalServiceClpInvoker { _methodParameterTypes215 = new String[] { "long", "java.util.Map" }; - _methodName219 = "addPraticheAlControllo"; + _methodName223 = "addPraticheAlControllo"; - _methodParameterTypes219 = new String[] { "long", "long" }; + _methodParameterTypes223 = new String[] { "long", "long" }; - _methodName220 = "addPraticheAlControlloVarianti"; + _methodName224 = "addPraticheAlControlloVarianti"; - _methodParameterTypes220 = new String[] { + _methodParameterTypes224 = new String[] { "long", "long", "com.liferay.portal.service.ServiceContext" }; - _methodName221 = "getReturnValueScriptIniziale"; + _methodName225 = "getReturnValueScriptIniziale"; - _methodParameterTypes221 = new String[] { "long" }; + _methodParameterTypes225 = new String[] { "long" }; - _methodName222 = "getTipoEsito"; + _methodName226 = "getTipoEsito"; - _methodParameterTypes222 = new String[] { "long" }; + _methodParameterTypes226 = new String[] { "long" }; - _methodName223 = "findByIntPratica"; + _methodName227 = "findByIntPratica"; - _methodParameterTypes223 = new String[] { "long" }; + _methodParameterTypes227 = new String[] { "long" }; - _methodName224 = "calculateDateAvvioProcedimento"; + _methodName228 = "calculateDateAvvioProcedimento"; - _methodParameterTypes224 = new String[] { "long" }; + _methodParameterTypes228 = new String[] { "long" }; - _methodName225 = "gestioneWFVarianti"; + _methodName229 = "gestioneWFVarianti"; - _methodParameterTypes225 = new String[] { + _methodParameterTypes229 = new String[] { "it.tref.liferay.portos.bo.model.ControlloPratica" }; } @@ -474,41 +474,41 @@ public class ControlloPraticaLocalServiceClpInvoker { (java.util.Map)arguments[1]); } - if (_methodName219.equals(name) && - Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) { + if (_methodName223.equals(name) && + Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) { return ControlloPraticaLocalServiceUtil.addPraticheAlControllo(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName220.equals(name) && - Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) { + if (_methodName224.equals(name) && + Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) { return ControlloPraticaLocalServiceUtil.addPraticheAlControlloVarianti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), (com.liferay.portal.service.ServiceContext)arguments[2]); } - if (_methodName221.equals(name) && - Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) { + if (_methodName225.equals(name) && + Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) { return ControlloPraticaLocalServiceUtil.getReturnValueScriptIniziale(((Long)arguments[0]).longValue()); } - if (_methodName222.equals(name) && - Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) { + if (_methodName226.equals(name) && + Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) { return ControlloPraticaLocalServiceUtil.getTipoEsito(((Long)arguments[0]).longValue()); } - if (_methodName223.equals(name) && - Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) { + if (_methodName227.equals(name) && + Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) { return ControlloPraticaLocalServiceUtil.findByIntPratica(((Long)arguments[0]).longValue()); } - if (_methodName224.equals(name) && - Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) { + if (_methodName228.equals(name) && + Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) { return ControlloPraticaLocalServiceUtil.calculateDateAvvioProcedimento(((Long)arguments[0]).longValue()); } - if (_methodName225.equals(name) && - Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) { + if (_methodName229.equals(name) && + Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) { ControlloPraticaLocalServiceUtil.gestioneWFVarianti((it.tref.liferay.portos.bo.model.ControlloPratica)arguments[0]); return null; @@ -591,18 +591,18 @@ public class ControlloPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes214; private String _methodName215; private String[] _methodParameterTypes215; - private String _methodName219; - private String[] _methodParameterTypes219; - private String _methodName220; - private String[] _methodParameterTypes220; - private String _methodName221; - private String[] _methodParameterTypes221; - private String _methodName222; - private String[] _methodParameterTypes222; private String _methodName223; private String[] _methodParameterTypes223; private String _methodName224; private String[] _methodParameterTypes224; private String _methodName225; private String[] _methodParameterTypes225; + private String _methodName226; + private String[] _methodParameterTypes226; + private String _methodName227; + private String[] _methodParameterTypes227; + private String _methodName228; + private String[] _methodParameterTypes228; + private String _methodName229; + private String[] _methodParameterTypes229; } \ 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 1732b5df..80defdb0 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=3045 - build.date=1618493741615 + build.number=3046 + build.date=1618844951246 build.auto.upgrade=true ##