diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java index 162448f7..483177b2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java @@ -338,6 +338,14 @@ public interface FineLavoriLocalService extends BaseLocalService, throws com.liferay.portal.kernel.exception.SystemException, it.tref.liferay.portos.bo.NoSuchFineLavoriException; + @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) + public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( + it.tref.liferay.portos.bo.model.FineLavori fineLavori, + boolean parziale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException; + @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public it.tref.liferay.portos.bo.model.FineLavori getLastEditable( long intPraticaId) diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java index 90403ef8..21adcd23 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java @@ -152,158 +152,165 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { "java.lang.String", "boolean" }; - _methodName26 = "getLastEditable"; + _methodName26 = "updateFineLavori"; - _methodParameterTypes26 = new String[] { "long" }; + _methodParameterTypes26 = new String[] { + "it.tref.liferay.portos.bo.model.FineLavori", "boolean", + "com.liferay.portal.service.ServiceContext" + }; - _methodName27 = "getLastCompleted"; + _methodName27 = "getLastEditable"; _methodParameterTypes27 = new String[] { "long" }; - _methodName28 = "pagaInvia"; + _methodName28 = "getLastCompleted"; + + _methodParameterTypes28 = new String[] { "long" }; - _methodParameterTypes28 = new String[] { + _methodName29 = "pagaInvia"; + + _methodParameterTypes29 = new String[] { "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName29 = "updateEsitoPagamento"; + _methodName30 = "updateEsitoPagamento"; - _methodParameterTypes29 = new String[] { + _methodParameterTypes30 = new String[] { "long", "long", "java.lang.String" }; - _methodName30 = "updateEsitoPagamento"; + _methodName31 = "updateEsitoPagamento"; - _methodParameterTypes30 = new String[] { + _methodParameterTypes31 = new String[] { "long", "long", "long", "java.lang.String" }; - _methodName31 = "updateEsito"; + _methodName32 = "updateEsito"; - _methodParameterTypes31 = new String[] { "long", "int" }; + _methodParameterTypes32 = new String[] { "long", "int" }; - _methodName32 = "updateFineLavoriProtocollo"; + _methodName33 = "updateFineLavoriProtocollo"; - _methodParameterTypes32 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes33 = new String[] { "long", "java.lang.String" }; - _methodName33 = "findByProtocollo"; + _methodName34 = "findByProtocollo"; - _methodParameterTypes33 = new String[] { + _methodParameterTypes34 = new String[] { "long", "long", "java.lang.String" }; - _methodName34 = "fetchByProtocollo"; + _methodName35 = "fetchByProtocollo"; - _methodParameterTypes34 = new String[] { + _methodParameterTypes35 = new String[] { "long", "long", "java.lang.String" }; - _methodName35 = "fetchByProtocollo"; + _methodName36 = "fetchByProtocollo"; - _methodParameterTypes35 = new String[] { "java.lang.String" }; + _methodParameterTypes36 = new String[] { "java.lang.String" }; - _methodName36 = "findByIntPraticaId"; + _methodName37 = "findByIntPraticaId"; - _methodParameterTypes36 = new String[] { + _methodParameterTypes37 = new String[] { "long", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName37 = "countByIntPraticaId"; + _methodName38 = "countByIntPraticaId"; - _methodParameterTypes37 = new String[] { "long" }; + _methodParameterTypes38 = new String[] { "long" }; - _methodName38 = "findByIntPraticaId_Parziale"; + _methodName39 = "findByIntPraticaId_Parziale"; - _methodParameterTypes38 = new String[] { + _methodParameterTypes39 = new String[] { "long", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName39 = "countByIntPraticaId_Parziale"; + _methodName40 = "countByIntPraticaId_Parziale"; - _methodParameterTypes39 = new String[] { "long", "boolean" }; + _methodParameterTypes40 = new String[] { "long", "boolean" }; - _methodName40 = "findByIntPraticaId_Completata"; + _methodName41 = "findByIntPraticaId_Completata"; - _methodParameterTypes40 = new String[] { + _methodParameterTypes41 = new String[] { "long", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName41 = "countByIntPraticaId_Completata"; + _methodName42 = "countByIntPraticaId_Completata"; - _methodParameterTypes41 = new String[] { "long", "boolean" }; + _methodParameterTypes42 = new String[] { "long", "boolean" }; - _methodName42 = "findByIntPraticaId_CodiceFiscale"; + _methodName43 = "findByIntPraticaId_CodiceFiscale"; - _methodParameterTypes42 = new String[] { + _methodParameterTypes43 = new String[] { "long", "java.lang.String", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName43 = "countByIntPraticaId_CodiceFiscale"; + _methodName44 = "countByIntPraticaId_CodiceFiscale"; - _methodParameterTypes43 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes44 = new String[] { "long", "java.lang.String" }; - _methodName44 = "findByCodiceFiscale_Completata"; + _methodName45 = "findByCodiceFiscale_Completata"; - _methodParameterTypes44 = new String[] { + _methodParameterTypes45 = new String[] { "java.lang.String", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName45 = "countByCodiceFiscale_Completata"; + _methodName46 = "countByCodiceFiscale_Completata"; - _methodParameterTypes45 = new String[] { "java.lang.String", "boolean" }; + _methodParameterTypes46 = new String[] { "java.lang.String", "boolean" }; - _methodName46 = "findByIntPraticaId_Parziale_Completata"; + _methodName47 = "findByIntPraticaId_Parziale_Completata"; - _methodParameterTypes46 = new String[] { + _methodParameterTypes47 = new String[] { "long", "boolean", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName47 = "countByIntPraticaId_Parziale_Completata"; + _methodName48 = "countByIntPraticaId_Parziale_Completata"; - _methodParameterTypes47 = new String[] { "long", "boolean", "boolean" }; + _methodParameterTypes48 = new String[] { "long", "boolean", "boolean" }; - _methodName48 = "findByIntPraticaId_Parziale_leFineLavoriId"; + _methodName49 = "findByIntPraticaId_Parziale_leFineLavoriId"; - _methodParameterTypes48 = new String[] { + _methodParameterTypes49 = new String[] { "long", "long", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName49 = "countByIntPraticaId_Parziale_leFineLavoriId"; - - _methodParameterTypes49 = new String[] { "long", "long", "boolean" }; + _methodName50 = "countByIntPraticaId_Parziale_leFineLavoriId"; - _methodName50 = "findFineLavoriCompleteNotProtocollo"; + _methodParameterTypes50 = new String[] { "long", "long", "boolean" }; - _methodParameterTypes50 = new String[] { "int", "int" }; + _methodName51 = "findFineLavoriCompleteNotProtocollo"; - _methodName51 = "countFineLavoriCompleteNotProtocollo"; + _methodParameterTypes51 = new String[] { "int", "int" }; - _methodParameterTypes51 = new String[] { }; + _methodName52 = "countFineLavoriCompleteNotProtocollo"; - _methodName52 = "findFineLavoriCompleteNotGestite"; + _methodParameterTypes52 = new String[] { }; - _methodParameterTypes52 = new String[] { "int", "int" }; + _methodName53 = "findFineLavoriCompleteNotGestite"; - _methodName53 = "countFineLavoriCompleteNotGestite"; + _methodParameterTypes53 = new String[] { "int", "int" }; - _methodParameterTypes53 = new String[] { }; - - _methodName54 = "findIntPraticaByFineLavori"; + _methodName54 = "countFineLavoriCompleteNotGestite"; _methodParameterTypes54 = new String[] { }; _methodName55 = "findIntPraticaByFineLavori"; - _methodParameterTypes55 = new String[] { "java.lang.String" }; + _methodParameterTypes55 = new String[] { }; + + _methodName56 = "findIntPraticaByFineLavori"; + + _methodParameterTypes56 = new String[] { "java.lang.String" }; } @Override @@ -1140,6 +1147,49 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { return (it.tref.liferay.portos.bo.model.FineLavori)ClpSerializer.translateOutput(returnObj); } + @Override + public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( + it.tref.liferay.portos.bo.model.FineLavori fineLavori, + boolean parziale, + 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(_methodName26, + _methodParameterTypes26, + new Object[] { + ClpSerializer.translateInput(fineLavori), + + parziale, + + 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.FineLavori)ClpSerializer.translateOutput(returnObj); + } + @Override public it.tref.liferay.portos.bo.model.FineLavori getLastEditable( long intPraticaId) @@ -1147,8 +1197,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName26, - _methodParameterTypes26, new Object[] { intPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName27, + _methodParameterTypes27, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1176,8 +1226,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName27, - _methodParameterTypes27, new Object[] { intPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName28, + _methodParameterTypes28, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1209,8 +1259,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName28, - _methodParameterTypes28, + returnObj = _invokableLocalService.invokeMethod(_methodName29, + _methodParameterTypes29, new Object[] { fineLavoriId, @@ -1254,8 +1304,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName29, - _methodParameterTypes29, + _invokableLocalService.invokeMethod(_methodName30, + _methodParameterTypes30, new Object[] { pagamentoId, @@ -1291,8 +1341,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName30, - _methodParameterTypes30, + _invokableLocalService.invokeMethod(_methodName31, + _methodParameterTypes31, new Object[] { pagamentoId, @@ -1332,8 +1382,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName31, - _methodParameterTypes31, + returnObj = _invokableLocalService.invokeMethod(_methodName32, + _methodParameterTypes32, new Object[] { fineLavoriId, stato }); } catch (Throwable t) { @@ -1367,8 +1417,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName32, - _methodParameterTypes32, + returnObj = _invokableLocalService.invokeMethod(_methodName33, + _methodParameterTypes33, new Object[] { fineLavoriId, @@ -1406,8 +1456,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName33, - _methodParameterTypes33, + returnObj = _invokableLocalService.invokeMethod(_methodName34, + _methodParameterTypes34, new Object[] { companyId, @@ -1447,8 +1497,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName34, - _methodParameterTypes34, + returnObj = _invokableLocalService.invokeMethod(_methodName35, + _methodParameterTypes35, new Object[] { companyId, @@ -1488,8 +1538,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName35, - _methodParameterTypes35, + returnObj = _invokableLocalService.invokeMethod(_methodName36, + _methodParameterTypes36, new Object[] { ClpSerializer.translateInput(protocollo) }); } catch (Throwable t) { @@ -1523,8 +1573,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName36, - _methodParameterTypes36, + returnObj = _invokableLocalService.invokeMethod(_methodName37, + _methodParameterTypes37, new Object[] { intPraticaId, @@ -1560,8 +1610,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName37, - _methodParameterTypes37, new Object[] { intPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName38, + _methodParameterTypes38, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1590,8 +1640,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName38, - _methodParameterTypes38, + returnObj = _invokableLocalService.invokeMethod(_methodName39, + _methodParameterTypes39, new Object[] { intPraticaId, @@ -1629,8 +1679,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName39, - _methodParameterTypes39, + returnObj = _invokableLocalService.invokeMethod(_methodName40, + _methodParameterTypes40, new Object[] { intPraticaId, parziale }); } catch (Throwable t) { @@ -1660,8 +1710,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName40, - _methodParameterTypes40, + returnObj = _invokableLocalService.invokeMethod(_methodName41, + _methodParameterTypes41, new Object[] { intPraticaId, @@ -1700,8 +1750,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName41, - _methodParameterTypes41, + returnObj = _invokableLocalService.invokeMethod(_methodName42, + _methodParameterTypes42, new Object[] { intPraticaId, completata }); } catch (Throwable t) { @@ -1732,8 +1782,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName42, - _methodParameterTypes42, + returnObj = _invokableLocalService.invokeMethod(_methodName43, + _methodParameterTypes43, new Object[] { intPraticaId, @@ -1772,8 +1822,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName43, - _methodParameterTypes43, + returnObj = _invokableLocalService.invokeMethod(_methodName44, + _methodParameterTypes44, new Object[] { intPraticaId, @@ -1808,8 +1858,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName44, - _methodParameterTypes44, + returnObj = _invokableLocalService.invokeMethod(_methodName45, + _methodParameterTypes45, new Object[] { ClpSerializer.translateInput(codiceFiscaleDelegato), @@ -1848,8 +1898,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName45, - _methodParameterTypes45, + returnObj = _invokableLocalService.invokeMethod(_methodName46, + _methodParameterTypes46, new Object[] { ClpSerializer.translateInput(codiceFiscaleDelegato), @@ -1884,8 +1934,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName46, - _methodParameterTypes46, + returnObj = _invokableLocalService.invokeMethod(_methodName47, + _methodParameterTypes47, new Object[] { intPraticaId, @@ -1926,8 +1976,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName47, - _methodParameterTypes47, + returnObj = _invokableLocalService.invokeMethod(_methodName48, + _methodParameterTypes48, new Object[] { intPraticaId, parziale, completata }); } catch (Throwable t) { @@ -1958,8 +2008,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName48, - _methodParameterTypes48, + returnObj = _invokableLocalService.invokeMethod(_methodName49, + _methodParameterTypes49, new Object[] { fineLavoriId, @@ -2000,8 +2050,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName49, - _methodParameterTypes49, + returnObj = _invokableLocalService.invokeMethod(_methodName50, + _methodParameterTypes50, new Object[] { fineLavoriId, intPraticaId, parziale }); } catch (Throwable t) { @@ -2030,8 +2080,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName50, - _methodParameterTypes50, new Object[] { start, end }); + returnObj = _invokableLocalService.invokeMethod(_methodName51, + _methodParameterTypes51, new Object[] { start, end }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2058,8 +2108,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName51, - _methodParameterTypes51, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName52, + _methodParameterTypes52, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2087,8 +2137,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName52, - _methodParameterTypes52, new Object[] { start, end }); + returnObj = _invokableLocalService.invokeMethod(_methodName53, + _methodParameterTypes53, new Object[] { start, end }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2115,8 +2165,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName53, - _methodParameterTypes53, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName54, + _methodParameterTypes54, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2144,8 +2194,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName54, - _methodParameterTypes54, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName55, + _methodParameterTypes55, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2178,8 +2228,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName55, - _methodParameterTypes55, + returnObj = _invokableLocalService.invokeMethod(_methodName56, + _methodParameterTypes56, new Object[] { ClpSerializer.translateInput( codiceFiscaleDelegatoCollaudo) @@ -2319,4 +2369,6 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { private String[] _methodParameterTypes54; private String _methodName55; private String[] _methodParameterTypes55; + private String _methodName56; + private String[] _methodParameterTypes56; } \ 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/FineLavoriLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java index 8e40e2ee..08102965 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java @@ -372,6 +372,16 @@ public class FineLavoriLocalServiceUtil { comunicazioneDirettoreLavori, richiestaAttestazione); } + public static it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( + it.tref.liferay.portos.bo.model.FineLavori fineLavori, + boolean parziale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return getService() + .updateFineLavori(fineLavori, parziale, serviceContext); + } + public static it.tref.liferay.portos.bo.model.FineLavori getLastEditable( long intPraticaId) throws com.liferay.portal.kernel.exception.SystemException { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java index 84d04eb7..f1c94a16 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java @@ -395,6 +395,17 @@ public class FineLavoriLocalServiceWrapper implements FineLavoriLocalService, richiestaAttestazione); } + @Override + public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( + it.tref.liferay.portos.bo.model.FineLavori fineLavori, + boolean parziale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return _fineLavoriLocalService.updateFineLavori(fineLavori, parziale, + serviceContext); + } + @Override public it.tref.liferay.portos.bo.model.FineLavori getLastEditable( long intPraticaId) diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java index e69223ad..7295c624 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java @@ -94,6 +94,13 @@ public interface FineLavoriService extends BaseService, InvokableService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException; + public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( + it.tref.liferay.portos.bo.model.FineLavori fineLavori, + boolean parziale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException; + public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( it.tref.liferay.portos.bo.model.FineLavori fineLavori) throws com.liferay.portal.kernel.exception.SystemException; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java index 5abb1ab1..cb396c1b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java @@ -62,69 +62,76 @@ public class FineLavoriServiceClp implements FineLavoriService { _methodName8 = "updateFineLavori"; _methodParameterTypes8 = new String[] { - "it.tref.liferay.portos.bo.model.FineLavori" + "it.tref.liferay.portos.bo.model.FineLavori", "boolean", + "com.liferay.portal.service.ServiceContext" }; _methodName9 = "updateFineLavori"; _methodParameterTypes9 = new String[] { + "it.tref.liferay.portos.bo.model.FineLavori" + }; + + _methodName10 = "updateFineLavori"; + + _methodParameterTypes10 = new String[] { "long", "long", "long", "boolean", "boolean", "java.util.Date", "java.lang.String", "boolean", "boolean", "boolean", "java.lang.String", "boolean" }; - _methodName10 = "getLastEditable"; + _methodName11 = "getLastEditable"; - _methodParameterTypes10 = new String[] { "long" }; + _methodParameterTypes11 = new String[] { "long" }; - _methodName11 = "getLastCompleted"; + _methodName12 = "getLastCompleted"; - _methodParameterTypes11 = new String[] { "long" }; + _methodParameterTypes12 = new String[] { "long" }; - _methodName12 = "findByIntPraticaId_Parziale"; + _methodName13 = "findByIntPraticaId_Parziale"; - _methodParameterTypes12 = new String[] { + _methodParameterTypes13 = new String[] { "long", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName13 = "countByIntPraticaId_Parziale"; + _methodName14 = "countByIntPraticaId_Parziale"; - _methodParameterTypes13 = new String[] { "long", "boolean" }; + _methodParameterTypes14 = new String[] { "long", "boolean" }; - _methodName14 = "pagaInvia"; + _methodName15 = "pagaInvia"; - _methodParameterTypes14 = new String[] { + _methodParameterTypes15 = new String[] { "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName15 = "updateEsito"; + _methodName16 = "updateEsito"; - _methodParameterTypes15 = new String[] { "long", "int" }; + _methodParameterTypes16 = new String[] { "long", "int" }; - _methodName16 = "findByIntPraticaId_CodiceFiscale"; + _methodName17 = "findByIntPraticaId_CodiceFiscale"; - _methodParameterTypes16 = new String[] { + _methodParameterTypes17 = new String[] { "long", "java.lang.String", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName17 = "countByIntPraticaId_CodiceFiscale"; + _methodName18 = "countByIntPraticaId_CodiceFiscale"; - _methodParameterTypes17 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes18 = new String[] { "long", "java.lang.String" }; - _methodName18 = "findByCodiceFiscale_Completata"; + _methodName19 = "findByCodiceFiscale_Completata"; - _methodParameterTypes18 = new String[] { + _methodParameterTypes19 = new String[] { "java.lang.String", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName19 = "countByCodiceFiscale_Completata"; + _methodName20 = "countByCodiceFiscale_Completata"; - _methodParameterTypes19 = new String[] { "java.lang.String", "boolean" }; + _methodParameterTypes20 = new String[] { "java.lang.String", "boolean" }; } @Override @@ -367,13 +374,56 @@ public class FineLavoriServiceClp implements FineLavoriService { @Override public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( - it.tref.liferay.portos.bo.model.FineLavori fineLavori) - throws com.liferay.portal.kernel.exception.SystemException { + it.tref.liferay.portos.bo.model.FineLavori fineLavori, + boolean parziale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName8, _methodParameterTypes8, + new Object[] { + ClpSerializer.translateInput(fineLavori), + + parziale, + + 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.FineLavori)ClpSerializer.translateOutput(returnObj); + } + + @Override + public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( + it.tref.liferay.portos.bo.model.FineLavori fineLavori) + throws com.liferay.portal.kernel.exception.SystemException { + Object returnObj = null; + + try { + returnObj = _invokableService.invokeMethod(_methodName9, + _methodParameterTypes9, new Object[] { ClpSerializer.translateInput(fineLavori) }); } catch (Throwable t) { @@ -408,8 +458,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName9, - _methodParameterTypes9, + returnObj = _invokableService.invokeMethod(_methodName10, + _methodParameterTypes10, new Object[] { userId, @@ -466,8 +516,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { intPraticaId }); + returnObj = _invokableService.invokeMethod(_methodName11, + _methodParameterTypes11, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -495,8 +545,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { intPraticaId }); + returnObj = _invokableService.invokeMethod(_methodName12, + _methodParameterTypes12, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -525,8 +575,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName12, - _methodParameterTypes12, + returnObj = _invokableService.invokeMethod(_methodName13, + _methodParameterTypes13, new Object[] { intPraticaId, @@ -564,8 +614,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName13, - _methodParameterTypes13, + returnObj = _invokableService.invokeMethod(_methodName14, + _methodParameterTypes14, new Object[] { intPraticaId, parziale }); } catch (Throwable t) { @@ -598,8 +648,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName14, - _methodParameterTypes14, + returnObj = _invokableService.invokeMethod(_methodName15, + _methodParameterTypes15, new Object[] { fineLavoriId, @@ -645,8 +695,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName15, - _methodParameterTypes15, + returnObj = _invokableService.invokeMethod(_methodName16, + _methodParameterTypes16, new Object[] { fineLavoriId, stato }); } catch (Throwable t) { @@ -681,8 +731,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName16, - _methodParameterTypes16, + returnObj = _invokableService.invokeMethod(_methodName17, + _methodParameterTypes17, new Object[] { intPraticaId, @@ -721,8 +771,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName17, - _methodParameterTypes17, + returnObj = _invokableService.invokeMethod(_methodName18, + _methodParameterTypes18, new Object[] { intPraticaId, @@ -757,8 +807,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName18, - _methodParameterTypes18, + returnObj = _invokableService.invokeMethod(_methodName19, + _methodParameterTypes19, new Object[] { ClpSerializer.translateInput(codiceFiscaleDelegato), @@ -797,8 +847,8 @@ public class FineLavoriServiceClp implements FineLavoriService { Object returnObj = null; try { - returnObj = _invokableService.invokeMethod(_methodName19, - _methodParameterTypes19, + returnObj = _invokableService.invokeMethod(_methodName20, + _methodParameterTypes20, new Object[] { ClpSerializer.translateInput(codiceFiscaleDelegato), @@ -863,4 +913,6 @@ public class FineLavoriServiceClp implements FineLavoriService { private String[] _methodParameterTypes18; private String _methodName19; private String[] _methodParameterTypes19; + private String _methodName20; + private String[] _methodParameterTypes20; } \ 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/FineLavoriServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceUtil.java index dfe2392d..238f375f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceUtil.java @@ -103,6 +103,16 @@ public class FineLavoriServiceUtil { return getService().deleteFineLavori(fineLavoriId); } + public static it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( + it.tref.liferay.portos.bo.model.FineLavori fineLavori, + boolean parziale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return getService() + .updateFineLavori(fineLavori, parziale, serviceContext); + } + public static it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( it.tref.liferay.portos.bo.model.FineLavori fineLavori) throws com.liferay.portal.kernel.exception.SystemException { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java index 9dc1dd29..2ec78aee 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java @@ -100,6 +100,17 @@ public class FineLavoriServiceWrapper implements FineLavoriService, return _fineLavoriService.deleteFineLavori(fineLavoriId); } + @Override + public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( + it.tref.liferay.portos.bo.model.FineLavori fineLavori, + boolean parziale, + com.liferay.portal.service.ServiceContext serviceContext) + throws com.liferay.portal.kernel.exception.PortalException, + com.liferay.portal.kernel.exception.SystemException { + return _fineLavoriService.updateFineLavori(fineLavori, parziale, + serviceContext); + } + @Override public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( it.tref.liferay.portos.bo.model.FineLavori fineLavori) diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java index b0148119..d6b50ee8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java @@ -161,158 +161,165 @@ public class FineLavoriLocalServiceClpInvoker { "java.lang.String", "boolean" }; - _methodName195 = "getLastEditable"; + _methodName194 = "updateFineLavori"; - _methodParameterTypes195 = new String[] { "long" }; + _methodParameterTypes194 = new String[] { + "it.tref.liferay.portos.bo.model.FineLavori", "boolean", + "com.liferay.portal.service.ServiceContext" + }; - _methodName196 = "getLastCompleted"; + _methodName196 = "getLastEditable"; _methodParameterTypes196 = new String[] { "long" }; - _methodName197 = "pagaInvia"; + _methodName197 = "getLastCompleted"; + + _methodParameterTypes197 = new String[] { "long" }; + + _methodName198 = "pagaInvia"; - _methodParameterTypes197 = new String[] { + _methodParameterTypes198 = new String[] { "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName198 = "updateEsitoPagamento"; + _methodName199 = "updateEsitoPagamento"; - _methodParameterTypes198 = new String[] { + _methodParameterTypes199 = new String[] { "long", "long", "java.lang.String" }; - _methodName199 = "updateEsitoPagamento"; + _methodName200 = "updateEsitoPagamento"; - _methodParameterTypes199 = new String[] { + _methodParameterTypes200 = new String[] { "long", "long", "long", "java.lang.String" }; - _methodName200 = "updateEsito"; + _methodName201 = "updateEsito"; - _methodParameterTypes200 = new String[] { "long", "int" }; + _methodParameterTypes201 = new String[] { "long", "int" }; - _methodName203 = "updateFineLavoriProtocollo"; + _methodName204 = "updateFineLavoriProtocollo"; - _methodParameterTypes203 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes204 = new String[] { "long", "java.lang.String" }; - _methodName204 = "findByProtocollo"; + _methodName205 = "findByProtocollo"; - _methodParameterTypes204 = new String[] { + _methodParameterTypes205 = new String[] { "long", "long", "java.lang.String" }; - _methodName205 = "fetchByProtocollo"; + _methodName206 = "fetchByProtocollo"; - _methodParameterTypes205 = new String[] { + _methodParameterTypes206 = new String[] { "long", "long", "java.lang.String" }; - _methodName206 = "fetchByProtocollo"; + _methodName207 = "fetchByProtocollo"; - _methodParameterTypes206 = new String[] { "java.lang.String" }; + _methodParameterTypes207 = new String[] { "java.lang.String" }; - _methodName207 = "findByIntPraticaId"; + _methodName208 = "findByIntPraticaId"; - _methodParameterTypes207 = new String[] { + _methodParameterTypes208 = new String[] { "long", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName208 = "countByIntPraticaId"; + _methodName209 = "countByIntPraticaId"; - _methodParameterTypes208 = new String[] { "long" }; + _methodParameterTypes209 = new String[] { "long" }; - _methodName209 = "findByIntPraticaId_Parziale"; + _methodName210 = "findByIntPraticaId_Parziale"; - _methodParameterTypes209 = new String[] { + _methodParameterTypes210 = new String[] { "long", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName210 = "countByIntPraticaId_Parziale"; + _methodName211 = "countByIntPraticaId_Parziale"; - _methodParameterTypes210 = new String[] { "long", "boolean" }; + _methodParameterTypes211 = new String[] { "long", "boolean" }; - _methodName211 = "findByIntPraticaId_Completata"; + _methodName212 = "findByIntPraticaId_Completata"; - _methodParameterTypes211 = new String[] { + _methodParameterTypes212 = new String[] { "long", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName212 = "countByIntPraticaId_Completata"; + _methodName213 = "countByIntPraticaId_Completata"; - _methodParameterTypes212 = new String[] { "long", "boolean" }; + _methodParameterTypes213 = new String[] { "long", "boolean" }; - _methodName213 = "findByIntPraticaId_CodiceFiscale"; + _methodName214 = "findByIntPraticaId_CodiceFiscale"; - _methodParameterTypes213 = new String[] { + _methodParameterTypes214 = new String[] { "long", "java.lang.String", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName214 = "countByIntPraticaId_CodiceFiscale"; + _methodName215 = "countByIntPraticaId_CodiceFiscale"; - _methodParameterTypes214 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes215 = new String[] { "long", "java.lang.String" }; - _methodName215 = "findByCodiceFiscale_Completata"; + _methodName216 = "findByCodiceFiscale_Completata"; - _methodParameterTypes215 = new String[] { + _methodParameterTypes216 = new String[] { "java.lang.String", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName216 = "countByCodiceFiscale_Completata"; + _methodName217 = "countByCodiceFiscale_Completata"; - _methodParameterTypes216 = new String[] { "java.lang.String", "boolean" }; + _methodParameterTypes217 = new String[] { "java.lang.String", "boolean" }; - _methodName217 = "findByIntPraticaId_Parziale_Completata"; + _methodName218 = "findByIntPraticaId_Parziale_Completata"; - _methodParameterTypes217 = new String[] { + _methodParameterTypes218 = new String[] { "long", "boolean", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName218 = "countByIntPraticaId_Parziale_Completata"; + _methodName219 = "countByIntPraticaId_Parziale_Completata"; - _methodParameterTypes218 = new String[] { "long", "boolean", "boolean" }; + _methodParameterTypes219 = new String[] { "long", "boolean", "boolean" }; - _methodName219 = "findByIntPraticaId_Parziale_leFineLavoriId"; + _methodName220 = "findByIntPraticaId_Parziale_leFineLavoriId"; - _methodParameterTypes219 = new String[] { + _methodParameterTypes220 = new String[] { "long", "long", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName220 = "countByIntPraticaId_Parziale_leFineLavoriId"; + _methodName221 = "countByIntPraticaId_Parziale_leFineLavoriId"; - _methodParameterTypes220 = new String[] { "long", "long", "boolean" }; + _methodParameterTypes221 = new String[] { "long", "long", "boolean" }; - _methodName221 = "findFineLavoriCompleteNotProtocollo"; + _methodName222 = "findFineLavoriCompleteNotProtocollo"; - _methodParameterTypes221 = new String[] { "int", "int" }; + _methodParameterTypes222 = new String[] { "int", "int" }; - _methodName222 = "countFineLavoriCompleteNotProtocollo"; + _methodName223 = "countFineLavoriCompleteNotProtocollo"; - _methodParameterTypes222 = new String[] { }; + _methodParameterTypes223 = new String[] { }; - _methodName224 = "findFineLavoriCompleteNotGestite"; + _methodName225 = "findFineLavoriCompleteNotGestite"; - _methodParameterTypes224 = new String[] { "int", "int" }; + _methodParameterTypes225 = new String[] { "int", "int" }; - _methodName225 = "countFineLavoriCompleteNotGestite"; + _methodName226 = "countFineLavoriCompleteNotGestite"; - _methodParameterTypes225 = new String[] { }; + _methodParameterTypes226 = new String[] { }; - _methodName227 = "findIntPraticaByFineLavori"; + _methodName228 = "findIntPraticaByFineLavori"; - _methodParameterTypes227 = new String[] { }; + _methodParameterTypes228 = new String[] { }; - _methodName228 = "findIntPraticaByFineLavori"; + _methodName229 = "findIntPraticaByFineLavori"; - _methodParameterTypes228 = new String[] { "java.lang.String" }; + _methodParameterTypes229 = new String[] { "java.lang.String" }; } public Object invokeMethod(String name, String[] parameterTypes, @@ -479,34 +486,41 @@ public class FineLavoriLocalServiceClpInvoker { ((Boolean)arguments[11]).booleanValue()); } - if (_methodName195.equals(name) && - Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) { - return FineLavoriLocalServiceUtil.getLastEditable(((Long)arguments[0]).longValue()); + if (_methodName194.equals(name) && + Arrays.deepEquals(_methodParameterTypes194, parameterTypes)) { + return FineLavoriLocalServiceUtil.updateFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0], + ((Boolean)arguments[1]).booleanValue(), + (com.liferay.portal.service.ServiceContext)arguments[2]); } if (_methodName196.equals(name) && Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) { - return FineLavoriLocalServiceUtil.getLastCompleted(((Long)arguments[0]).longValue()); + return FineLavoriLocalServiceUtil.getLastEditable(((Long)arguments[0]).longValue()); } if (_methodName197.equals(name) && Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) { + return FineLavoriLocalServiceUtil.getLastCompleted(((Long)arguments[0]).longValue()); + } + + if (_methodName198.equals(name) && + Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) { return FineLavoriLocalServiceUtil.pagaInvia(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], (java.lang.String)arguments[2], (java.lang.String)arguments[3], (java.lang.String)arguments[4], (com.liferay.portal.service.ServiceContext)arguments[5]); } - if (_methodName198.equals(name) && - Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) { + if (_methodName199.equals(name) && + Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) { FineLavoriLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); return null; } - if (_methodName199.equals(name) && - Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) { + if (_methodName200.equals(name) && + Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) { FineLavoriLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Long)arguments[2]).longValue(), (java.lang.String)arguments[3]); @@ -514,50 +528,50 @@ public class FineLavoriLocalServiceClpInvoker { return null; } - if (_methodName200.equals(name) && - Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) { + if (_methodName201.equals(name) && + Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) { return FineLavoriLocalServiceUtil.updateEsito(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName203.equals(name) && - Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) { - return FineLavoriLocalServiceUtil.updateFineLavoriProtocollo(((Long)arguments[0]).longValue(), - (java.lang.String)arguments[1]); - } - if (_methodName204.equals(name) && Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) { - return FineLavoriLocalServiceUtil.findByProtocollo(((Long)arguments[0]).longValue(), - ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); + return FineLavoriLocalServiceUtil.updateFineLavoriProtocollo(((Long)arguments[0]).longValue(), + (java.lang.String)arguments[1]); } if (_methodName205.equals(name) && Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) { - return FineLavoriLocalServiceUtil.fetchByProtocollo(((Long)arguments[0]).longValue(), + return FineLavoriLocalServiceUtil.findByProtocollo(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); } if (_methodName206.equals(name) && Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) { - return FineLavoriLocalServiceUtil.fetchByProtocollo((java.lang.String)arguments[0]); + return FineLavoriLocalServiceUtil.fetchByProtocollo(((Long)arguments[0]).longValue(), + ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); } if (_methodName207.equals(name) && Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) { + return FineLavoriLocalServiceUtil.fetchByProtocollo((java.lang.String)arguments[0]); + } + + if (_methodName208.equals(name) && + Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) { return FineLavoriLocalServiceUtil.findByIntPraticaId(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue(), ((Integer)arguments[2]).intValue(), (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); } - if (_methodName208.equals(name) && - Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) { + if (_methodName209.equals(name) && + Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) { return FineLavoriLocalServiceUtil.countByIntPraticaId(((Long)arguments[0]).longValue()); } - if (_methodName209.equals(name) && - Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) { + if (_methodName210.equals(name) && + Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) { return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue(), ((Integer)arguments[2]).intValue(), @@ -565,14 +579,14 @@ public class FineLavoriLocalServiceClpInvoker { (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); } - if (_methodName210.equals(name) && - Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) { + if (_methodName211.equals(name) && + Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) { return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue()); } - if (_methodName211.equals(name) && - Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) { + if (_methodName212.equals(name) && + Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) { return FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue(), ((Integer)arguments[2]).intValue(), @@ -580,14 +594,14 @@ public class FineLavoriLocalServiceClpInvoker { (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); } - if (_methodName212.equals(name) && - Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) { + if (_methodName213.equals(name) && + Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) { return FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue()); } - if (_methodName213.equals(name) && - Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) { + if (_methodName214.equals(name) && + Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) { return FineLavoriLocalServiceUtil.findByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], ((Integer)arguments[2]).intValue(), @@ -595,14 +609,14 @@ public class FineLavoriLocalServiceClpInvoker { (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); } - if (_methodName214.equals(name) && - Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) { + if (_methodName215.equals(name) && + Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) { return FineLavoriLocalServiceUtil.countByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); } - if (_methodName215.equals(name) && - Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) { + if (_methodName216.equals(name) && + Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) { return FineLavoriLocalServiceUtil.findByCodiceFiscale_Completata((java.lang.String)arguments[0], ((Boolean)arguments[1]).booleanValue(), ((Integer)arguments[2]).intValue(), @@ -610,14 +624,14 @@ public class FineLavoriLocalServiceClpInvoker { (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); } - if (_methodName216.equals(name) && - Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) { + if (_methodName217.equals(name) && + Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) { return FineLavoriLocalServiceUtil.countByCodiceFiscale_Completata((java.lang.String)arguments[0], ((Boolean)arguments[1]).booleanValue()); } - if (_methodName217.equals(name) && - Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) { + if (_methodName218.equals(name) && + Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) { return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale_Completata(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[2]).booleanValue(), @@ -626,15 +640,15 @@ public class FineLavoriLocalServiceClpInvoker { (com.liferay.portal.kernel.util.OrderByComparator)arguments[5]); } - if (_methodName218.equals(name) && - Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) { + if (_methodName219.equals(name) && + Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) { return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_Completata(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[2]).booleanValue()); } - if (_methodName219.equals(name) && - Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) { + if (_methodName220.equals(name) && + Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) { return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale_leFineLavoriId(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Boolean)arguments[2]).booleanValue(), @@ -643,42 +657,42 @@ public class FineLavoriLocalServiceClpInvoker { (com.liferay.portal.kernel.util.OrderByComparator)arguments[5]); } - if (_methodName220.equals(name) && - Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) { + if (_methodName221.equals(name) && + Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) { return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_leFineLavoriId(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Boolean)arguments[2]).booleanValue()); } - if (_methodName221.equals(name) && - Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) { + if (_methodName222.equals(name) && + Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) { return FineLavoriLocalServiceUtil.findFineLavoriCompleteNotProtocollo(((Integer)arguments[0]).intValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName222.equals(name) && - Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) { + if (_methodName223.equals(name) && + Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) { return FineLavoriLocalServiceUtil.countFineLavoriCompleteNotProtocollo(); } - if (_methodName224.equals(name) && - Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) { + if (_methodName225.equals(name) && + Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) { return FineLavoriLocalServiceUtil.findFineLavoriCompleteNotGestite(((Integer)arguments[0]).intValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName225.equals(name) && - Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) { + if (_methodName226.equals(name) && + Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) { return FineLavoriLocalServiceUtil.countFineLavoriCompleteNotGestite(); } - if (_methodName227.equals(name) && - Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) { + if (_methodName228.equals(name) && + Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) { return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori(); } - if (_methodName228.equals(name) && - Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) { + if (_methodName229.equals(name) && + Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) { return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori((java.lang.String)arguments[0]); } @@ -739,8 +753,8 @@ public class FineLavoriLocalServiceClpInvoker { private String[] _methodParameterTypes192; private String _methodName193; private String[] _methodParameterTypes193; - private String _methodName195; - private String[] _methodParameterTypes195; + private String _methodName194; + private String[] _methodParameterTypes194; private String _methodName196; private String[] _methodParameterTypes196; private String _methodName197; @@ -751,8 +765,8 @@ public class FineLavoriLocalServiceClpInvoker { private String[] _methodParameterTypes199; private String _methodName200; private String[] _methodParameterTypes200; - private String _methodName203; - private String[] _methodParameterTypes203; + private String _methodName201; + private String[] _methodParameterTypes201; private String _methodName204; private String[] _methodParameterTypes204; private String _methodName205; @@ -791,12 +805,14 @@ public class FineLavoriLocalServiceClpInvoker { private String[] _methodParameterTypes221; private String _methodName222; private String[] _methodParameterTypes222; - private String _methodName224; - private String[] _methodParameterTypes224; + private String _methodName223; + private String[] _methodParameterTypes223; private String _methodName225; private String[] _methodParameterTypes225; - private String _methodName227; - private String[] _methodParameterTypes227; + private String _methodName226; + private String[] _methodParameterTypes226; 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/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java index 5c530695..a924fe87 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java @@ -62,69 +62,76 @@ public class FineLavoriServiceClpInvoker { _methodName173 = "updateFineLavori"; _methodParameterTypes173 = new String[] { - "it.tref.liferay.portos.bo.model.FineLavori" + "it.tref.liferay.portos.bo.model.FineLavori", "boolean", + "com.liferay.portal.service.ServiceContext" }; _methodName174 = "updateFineLavori"; _methodParameterTypes174 = new String[] { + "it.tref.liferay.portos.bo.model.FineLavori" + }; + + _methodName175 = "updateFineLavori"; + + _methodParameterTypes175 = new String[] { "long", "long", "long", "boolean", "boolean", "java.util.Date", "java.lang.String", "boolean", "boolean", "boolean", "java.lang.String", "boolean" }; - _methodName175 = "getLastEditable"; + _methodName176 = "getLastEditable"; - _methodParameterTypes175 = new String[] { "long" }; + _methodParameterTypes176 = new String[] { "long" }; - _methodName176 = "getLastCompleted"; + _methodName177 = "getLastCompleted"; - _methodParameterTypes176 = new String[] { "long" }; + _methodParameterTypes177 = new String[] { "long" }; - _methodName177 = "findByIntPraticaId_Parziale"; + _methodName178 = "findByIntPraticaId_Parziale"; - _methodParameterTypes177 = new String[] { + _methodParameterTypes178 = new String[] { "long", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName178 = "countByIntPraticaId_Parziale"; + _methodName179 = "countByIntPraticaId_Parziale"; - _methodParameterTypes178 = new String[] { "long", "boolean" }; + _methodParameterTypes179 = new String[] { "long", "boolean" }; - _methodName179 = "pagaInvia"; + _methodName180 = "pagaInvia"; - _methodParameterTypes179 = new String[] { + _methodParameterTypes180 = new String[] { "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName180 = "updateEsito"; + _methodName181 = "updateEsito"; - _methodParameterTypes180 = new String[] { "long", "int" }; + _methodParameterTypes181 = new String[] { "long", "int" }; - _methodName181 = "findByIntPraticaId_CodiceFiscale"; + _methodName182 = "findByIntPraticaId_CodiceFiscale"; - _methodParameterTypes181 = new String[] { + _methodParameterTypes182 = new String[] { "long", "java.lang.String", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName182 = "countByIntPraticaId_CodiceFiscale"; + _methodName183 = "countByIntPraticaId_CodiceFiscale"; - _methodParameterTypes182 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes183 = new String[] { "long", "java.lang.String" }; - _methodName183 = "findByCodiceFiscale_Completata"; + _methodName184 = "findByCodiceFiscale_Completata"; - _methodParameterTypes183 = new String[] { + _methodParameterTypes184 = new String[] { "java.lang.String", "boolean", "int", "int", "com.liferay.portal.kernel.util.OrderByComparator" }; - _methodName184 = "countByCodiceFiscale_Completata"; + _methodName185 = "countByCodiceFiscale_Completata"; - _methodParameterTypes184 = new String[] { "java.lang.String", "boolean" }; + _methodParameterTypes185 = new String[] { "java.lang.String", "boolean" }; } public Object invokeMethod(String name, String[] parameterTypes, @@ -172,11 +179,18 @@ public class FineLavoriServiceClpInvoker { if (_methodName173.equals(name) && Arrays.deepEquals(_methodParameterTypes173, parameterTypes)) { - return FineLavoriServiceUtil.updateFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0]); + return FineLavoriServiceUtil.updateFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0], + ((Boolean)arguments[1]).booleanValue(), + (com.liferay.portal.service.ServiceContext)arguments[2]); } if (_methodName174.equals(name) && Arrays.deepEquals(_methodParameterTypes174, parameterTypes)) { + return FineLavoriServiceUtil.updateFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0]); + } + + if (_methodName175.equals(name) && + Arrays.deepEquals(_methodParameterTypes175, parameterTypes)) { return FineLavoriServiceUtil.updateFineLavori(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Long)arguments[2]).longValue(), @@ -190,18 +204,18 @@ public class FineLavoriServiceClpInvoker { ((Boolean)arguments[11]).booleanValue()); } - if (_methodName175.equals(name) && - Arrays.deepEquals(_methodParameterTypes175, parameterTypes)) { - return FineLavoriServiceUtil.getLastEditable(((Long)arguments[0]).longValue()); - } - if (_methodName176.equals(name) && Arrays.deepEquals(_methodParameterTypes176, parameterTypes)) { - return FineLavoriServiceUtil.getLastCompleted(((Long)arguments[0]).longValue()); + return FineLavoriServiceUtil.getLastEditable(((Long)arguments[0]).longValue()); } if (_methodName177.equals(name) && Arrays.deepEquals(_methodParameterTypes177, parameterTypes)) { + return FineLavoriServiceUtil.getLastCompleted(((Long)arguments[0]).longValue()); + } + + if (_methodName178.equals(name) && + Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { return FineLavoriServiceUtil.findByIntPraticaId_Parziale(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue(), ((Integer)arguments[2]).intValue(), @@ -209,28 +223,28 @@ public class FineLavoriServiceClpInvoker { (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); } - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { + if (_methodName179.equals(name) && + Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { return FineLavoriServiceUtil.countByIntPraticaId_Parziale(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue()); } - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { + if (_methodName180.equals(name) && + Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) { return FineLavoriServiceUtil.pagaInvia(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], (java.lang.String)arguments[2], (java.lang.String)arguments[3], (java.lang.String)arguments[4], (com.liferay.portal.service.ServiceContext)arguments[5]); } - if (_methodName180.equals(name) && - Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) { + if (_methodName181.equals(name) && + Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) { return FineLavoriServiceUtil.updateEsito(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName181.equals(name) && - Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) { + if (_methodName182.equals(name) && + Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { return FineLavoriServiceUtil.findByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], ((Integer)arguments[2]).intValue(), @@ -238,14 +252,14 @@ public class FineLavoriServiceClpInvoker { (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); } - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { + if (_methodName183.equals(name) && + Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { return FineLavoriServiceUtil.countByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); } - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { + if (_methodName184.equals(name) && + Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { return FineLavoriServiceUtil.findByCodiceFiscale_Completata((java.lang.String)arguments[0], ((Boolean)arguments[1]).booleanValue(), ((Integer)arguments[2]).intValue(), @@ -253,8 +267,8 @@ public class FineLavoriServiceClpInvoker { (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); } - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { + if (_methodName185.equals(name) && + Arrays.deepEquals(_methodParameterTypes185, parameterTypes)) { return FineLavoriServiceUtil.countByCodiceFiscale_Completata((java.lang.String)arguments[0], ((Boolean)arguments[1]).booleanValue()); } @@ -300,4 +314,6 @@ public class FineLavoriServiceClpInvoker { private String[] _methodParameterTypes183; private String _methodName184; private String[] _methodParameterTypes184; + private String _methodName185; + private String[] _methodParameterTypes185; } \ 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/http/FineLavoriServiceSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/FineLavoriServiceSoap.java index f10ecb9e..fe9e63f4 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/FineLavoriServiceSoap.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/FineLavoriServiceSoap.java @@ -141,6 +141,24 @@ public class FineLavoriServiceSoap { } } + public static it.tref.liferay.portos.bo.model.FineLavoriSoap updateFineLavori( + it.tref.liferay.portos.bo.model.FineLavoriSoap fineLavori, + boolean parziale, + com.liferay.portal.service.ServiceContext serviceContext) + throws RemoteException { + try { + it.tref.liferay.portos.bo.model.FineLavori returnValue = FineLavoriServiceUtil.updateFineLavori(it.tref.liferay.portos.bo.model.impl.FineLavoriModelImpl.toModel( + fineLavori), parziale, serviceContext); + + return it.tref.liferay.portos.bo.model.FineLavoriSoap.toSoapModel(returnValue); + } + catch (Exception e) { + _log.error(e, e); + + throw new RemoteException(e.getMessage()); + } + } + public static it.tref.liferay.portos.bo.model.FineLavoriSoap updateFineLavori( it.tref.liferay.portos.bo.model.FineLavoriSoap fineLavori) throws RemoteException { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java index e2f9e679..e227d78b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java @@ -128,8 +128,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl { fineLavori.setNormEsenteCollaudo(normEsenteCollaudo); fineLavori.setRichiestaAttestazione(richiestaAttestazione); - _creaAvviso(intPraticaId, fineLavori.getFineLavoriId(), FineLavori.class.getName(), - AvvisoUtil.FINE_LAVORI_AVVISO_FINE_LAVORI, serviceContext); +// _creaAvviso(intPraticaId, fineLavori.getFineLavoriId(), FineLavori.class.getName(), +// AvvisoUtil.FINE_LAVORI_AVVISO_FINE_LAVORI, serviceContext); return fineLavoriPersistence.update(fineLavori); } @@ -179,6 +179,17 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl { return fineLavori; } + @Override + @Indexable(type = IndexableType.REINDEX) + public FineLavori updateFineLavori(FineLavori fineLavori, boolean parziale, ServiceContext serviceContext) + throws SystemException, PortalException{ + if(!parziale){ + _creaAvviso(fineLavori.getIntPraticaId(), fineLavori.getFineLavoriId(), FineLavori.class.getName(), + AvvisoUtil.FINE_LAVORI_AVVISO_FINE_LAVORI, serviceContext); + } + return updateFineLavori(fineLavori); + } + private void _creaAvviso(long intPraticaId, long classPk, String className, String tipoDocumento,ServiceContext serviceContext) throws SystemException, PortalException { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java index 9729fe9b..152fa130 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java @@ -73,6 +73,12 @@ public class FineLavoriServiceImpl extends FineLavoriServiceBaseImpl { return fineLavoriLocalService.deleteFineLavori(fineLavoriId); } + + @Override + public FineLavori updateFineLavori(FineLavori fineLavori, boolean parziale, ServiceContext serviceContext) + throws SystemException, PortalException{ + return fineLavoriLocalService.updateFineLavori(fineLavori, parziale, serviceContext); + } @Override public FineLavori updateFineLavori(FineLavori fineLavori) throws SystemException { 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 35c2f2f7..24b40de7 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=2928 - build.date=1699870015268 + build.number=2932 + build.date=1705504502052 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java index b6397b9a..974077b6 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java @@ -723,6 +723,7 @@ public class FascicoloFePortlet extends MVCPortlet { } public void salvaFirstStepFineLavori(ActionRequest request, ActionResponse response) throws Exception { + ServiceContext serviceContext = ServiceContextFactory.getInstance(request); long fineLavoriId = ParamUtil.getLong(request, "fineLavoriId"); boolean parziale = ParamUtil.getBoolean(request, "tipoFineLavori"); Date dataFineLavori = ParamUtil.getDate(request, "dataFineLavori", @@ -732,9 +733,11 @@ public class FascicoloFePortlet extends MVCPortlet { try { FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId); if (!fineLavori.isCompletata() && Validator.isNotNull(dataFineLavori)) { - fineLavori.setParziale(parziale); +// fineLavori.setParziale(parziale); +// fineLavori.setDataFineLavori(dataFineLavori); +// FineLavoriServiceUtil.updateFineLavori(fineLavori); fineLavori.setDataFineLavori(dataFineLavori); - FineLavoriServiceUtil.updateFineLavori(fineLavori); + FineLavoriServiceUtil.updateFineLavori(fineLavori, parziale, serviceContext); } String redirect = ParamUtil.getString(request, "redirect"); if (Validator.isNull(redirect)) {