Sfoglia il codice sorgente

Merge branch 'master' of 149.202.172.180:/home/mattia/sicilia/sources

Mattia Gosetto 4 anni fa
parent
commit
4f253f7fc0
  1. 6
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/build.xml
  2. 3
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/META-INF/MANIFEST.MF
  3. 9
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-display.xml
  4. 13
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-plugin-package.properties
  5. 31
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-portlet.xml
  6. 38
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/portlet.xml
  7. 99
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/plugin/TestPortosPortlet.java
  8. 2568
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/aui.tld
  9. 538
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld
  10. 158
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet.tld
  11. 106
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-security.tld
  12. 65
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-theme.tld
  13. 4691
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-ui.tld
  14. 141
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-util.tld
  15. 3
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/web.xml
  16. 0
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/css/main.css
  17. 11
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/init.jsp
  18. 61
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/rigenera_pagamento.jsp
  19. 114
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/view.jsp
  20. BIN
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/icon.png
  21. 0
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/js/main.js
  22. 18
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/ivy.xml
  23. 15
      liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/test/integration/arquillian.xml
  24. 21
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  25. 43
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoClp.java
  26. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoModel.java
  27. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoSoap.java
  28. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoWrapper.java
  29. 43
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java
  30. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java
  31. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java
  32. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java
  33. 43
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriClp.java
  34. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriModel.java
  35. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriSoap.java
  36. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriWrapper.java
  37. 42
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaClp.java
  38. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaModel.java
  39. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java
  40. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java
  41. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalService.java
  42. 35
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceClp.java
  43. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceUtil.java
  44. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceWrapper.java
  45. 23
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java
  46. 492
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java
  47. 34
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java
  48. 62
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java
  49. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaService.java
  50. 57
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceClp.java
  51. 47
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceUtil.java
  52. 21
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceWrapper.java
  53. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java
  54. 35
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java
  55. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java
  56. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java
  57. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  58. 403
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  59. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  60. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  61. 58
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistence.java
  62. 69
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoUtil.java
  63. 116
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistence.java
  64. 138
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaUtil.java
  65. 58
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistence.java
  66. 69
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriUtil.java
  67. 58
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistence.java
  68. 69
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaUtil.java
  69. 96
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PraticaUtil.java
  70. 108
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java
  71. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties
  72. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql
  73. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql
  74. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
  75. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
  76. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
  77. 145
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/startup/DatabaseUpdateAction.java
  78. 378
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/PuliziaDatabase.java
  79. 93
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java
  80. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoCacheModel.java
  81. 65
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoModelImpl.java
  82. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java
  83. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java
  84. 63
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java
  85. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriCacheModel.java
  86. 65
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriModelImpl.java
  87. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaCacheModel.java
  88. 65
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaModelImpl.java
  89. 93
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/FascicoloPortlet.java
  90. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/CollaudoLocalServiceClpInvoker.java
  91. 528
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java
  92. 130
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaServiceClpInvoker.java
  93. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java
  94. 390
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  95. 22
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/DettPraticaServiceSoap.java
  96. 121
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/CollaudoLocalServiceImpl.java
  97. 87
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java
  98. 135
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaServiceImpl.java
  99. 208
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java
  100. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  101. Some files were not shown because too many files have changed in this diff Show More

6
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/build.xml

@ -1,6 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE project>
<project name="PortoTestPlugin-portlet" basedir="." default="deploy">
<import file="../build-common-portlet.xml" />
</project>

3
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/META-INF/MANIFEST.MF

@ -1,3 +0,0 @@
Manifest-Version: 1.0
Class-Path:

9
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-display.xml

@ -1,9 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd">
<display>
<category name="category.sample">
<portlet id="test-portos"></portlet>
</category>
</display>

13
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-plugin-package.properties

@ -1,13 +0,0 @@
name=PortoTestPlugin
module-group-id=liferay
module-incremental-version=1
tags=
short-description=
long-description=
change-log=
page-url=http://www.liferay.com
author=Liferay, Inc.
licenses=LGPL
liferay-versions=6.2.0+
required-deployment-contexts=\
portos-bo-portlet

31
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-portlet.xml

@ -1,31 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.2.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd">
<liferay-portlet-app>
<portlet>
<portlet-name>test-portos</portlet-name>
<icon>/icon.png</icon>
<header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>
/js/main.js
</footer-portlet-javascript>
<css-class-wrapper>test-portos-portlet</css-class-wrapper>
</portlet>
<role-mapper>
<role-name>administrator</role-name>
<role-link>Administrator</role-link>
</role-mapper>
<role-mapper>
<role-name>guest</role-name>
<role-link>Guest</role-link>
</role-mapper>
<role-mapper>
<role-name>power-user</role-name>
<role-link>Power User</role-link>
</role-mapper>
<role-mapper>
<role-name>user</role-name>
<role-link>User</role-link>
</role-mapper>
</liferay-portlet-app>

38
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/portlet.xml

@ -1,38 +0,0 @@
<?xml version="1.0"?>
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0">
<portlet>
<portlet-name>test-portos</portlet-name>
<display-name>Test Portos</display-name>
<portlet-class>
it.tref.liferay.portos.plugin.TestPortosPortlet
</portlet-class>
<init-param>
<name>view-template</name>
<value>/html/testportos/view.jsp</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<portlet-info>
<title>Test Portos</title>
<short-title>Test Portos</short-title>
<keywords></keywords>
</portlet-info>
<security-role-ref>
<role-name>administrator</role-name>
</security-role-ref>
<security-role-ref>
<role-name>guest</role-name>
</security-role-ref>
<security-role-ref>
<role-name>power-user</role-name>
</security-role-ref>
<security-role-ref>
<role-name>user</role-name>
</security-role-ref>
</portlet>
</portlet-app>

99
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/plugin/TestPortosPortlet.java

@ -1,99 +0,0 @@
package it.tref.liferay.portos.plugin;
import it.tref.liferay.portos.bo.model.ControlloPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.service.ClpSerializer;
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import java.util.List;
import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.search.Indexer;
import com.liferay.portal.kernel.search.IndexerRegistryUtil;
import com.liferay.portal.kernel.util.ParamUtil;
import com.liferay.portal.kernel.util.WebKeys;
import com.liferay.portal.theme.ThemeDisplay;
import com.liferay.util.bridges.mvc.MVCPortlet;
/**
* Portlet implementation class TestPortosPortlet
*/
public class TestPortosPortlet extends MVCPortlet {
private static final Log _log = LogFactoryUtil.getLog(TestPortosPortlet.class);
public void reIndexFasciolo(ActionRequest actionRequest, ActionResponse actionResponse) {
try {
ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY);
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId");
Indexer intIndexer = IndexerRegistryUtil.getIndexer(IntPratica.class);
Indexer controlloIndexer = IndexerRegistryUtil.getIndexer(ControlloPratica.class);
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
if (intPratica != null) {
intIndexer.delete(themeDisplay.getCompanyId(), intPratica.getUuid());
intIndexer.reindex(IntPratica.class.getName(), intPratica.getIntPraticaId());
ClassLoader classLoader =
(ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader");
DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader);
queryCP.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId()));
List<ControlloPratica> appList =
ControlloPraticaLocalServiceUtil.dynamicQuery(queryCP, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
if (appList != null && !appList.isEmpty()) {
for (ControlloPratica controlloPratica : appList) {
controlloIndexer.delete(themeDisplay.getCompanyId(),controlloPratica.getUuid());
controlloIndexer.reindex(ControlloPratica.class.getName(),controlloPratica.getControlloPraticaId());
}
}
}
} catch (PortalException | SystemException e) {
_log.error(e,e);
}
}
public void updateCollaudoStatico(ActionRequest actionRequest, ActionResponse actionResponse) throws SystemException {
// ClassLoader classLoader =
// (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader");
//
// DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(DettPratica.class, classLoader);
// queryCP.add(RestrictionsFactoryUtil.ne("oldDettPraticaId", 0L));
//
// List<DettPratica> lista = DettPraticaLocalServiceUtil.dynamicQuery(queryCP, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
// for (DettPratica dettPratica : lista) {
//
// dettPratica.setCollaudoStatico(!dettPratica.getCollaudoStatico());
// DettPraticaLocalServiceUtil.updateDettPratica(dettPratica);
//
// }
}
public void testActionUrl(ActionRequest actionRequest, ActionResponse actionResponse) {
System.out.println(ParamUtil.getString(actionRequest, "pagamentoId"));
}
}

2568
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/aui.tld

File diff soppresso perché troppo grande Load Diff

538
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld

@ -1,538 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>liferay-portlet</short-name>
<uri>http://liferay.com/tld/portlet</uri>
<!--
liferay-portlet:actionURL is similar to portlet:actionURL except it has the
additional attributes plid, portletName, anchor, and encrypt.
Set varImpl to set the PortletURL object. This gives you an object reference
to the underlying URL implementation.
Set plid to the plid of another layout. This allows you to post the URL to
another layout.
Set portletName to the name of a portlet other than the current portlet.
This allows you to post the URL to another portlet.
Set anchor to false if you do not want the page to refresh and anchor to the
current portlet.
Set encrypt to true if you want to encrypt all the parameter values.
Set doAsUserId to process this URL as if it is accessed by the specified
user.
Set portletConfiguration to true if you want to pass the parameters needed
when you are accessing a portlet that is wrapped by the Portlet
Configuration portlet.
-->
<tag>
<name>actionURL</name>
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>allowEmptyParam</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encrypt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>plid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletConfiguration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererPlid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>varImpl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>icon-back</name>
<tag-class>com.liferay.taglib.portletext.IconBackTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-close</name>
<tag-class>com.liferay.taglib.portletext.IconCloseTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-configuration</name>
<tag-class>com.liferay.taglib.portletext.IconConfigurationTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-edit</name>
<tag-class>com.liferay.taglib.portletext.IconEditTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-edit-defaults</name>
<tag-class>com.liferay.taglib.portletext.IconEditDefaultsTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-edit-guest</name>
<tag-class>com.liferay.taglib.portletext.IconEditGuestTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-export-import</name>
<tag-class>com.liferay.taglib.portletext.IconExportImportTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-help</name>
<tag-class>com.liferay.taglib.portletext.IconHelpTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-maximize</name>
<tag-class>com.liferay.taglib.portletext.IconMaximizeTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-minimize</name>
<tag-class>com.liferay.taglib.portletext.IconMinimizeTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-options</name>
<tag-class>com.liferay.taglib.portletext.IconOptionsTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-portlet</name>
<tag-class>com.liferay.taglib.portletext.IconPortletTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>ariaRole</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>label</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portlet</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>icon-portlet-css</name>
<tag-class>com.liferay.taglib.portletext.IconPortletCssTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-print</name>
<tag-class>com.liferay.taglib.portletext.IconPrintTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-refresh</name>
<tag-class>com.liferay.taglib.portletext.IconRefreshTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>preview</name>
<tag-class>com.liferay.taglib.portletext.PreviewTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>portletName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>queryString</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>showBorders</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>width</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<!--
liferay-portlet:renderURL is similar to portlet:renderURL except it has the
additional attributes plid, portletName, anchor, and encrypt.
Set varImpl to set the PortletURL object. This gives you an object reference
to the underlying URL implementation.
Set plid to the plid of another layout. This allows you to post the URL to
another layout.
Set portletName to the name of a portlet other than the current portlet.
This allows you to post the URL to another portlet.
Set anchor to false if you do not want the page to refresh and anchor to the
current portlet.
Set encrypt to true if you want to encrypt all the parameter values.
Set doAsUserId to process this URL as if it is accessed by the specified
user.
Set portletConfiguration to true if you want to pass the parameters needed
when you are accessing a portlet that is wrapped by the Portlet
Configuration portlet.
-->
<tag>
<name>renderURL</name>
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>allowEmptyParam</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encrypt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>plid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletConfiguration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererPlid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>varImpl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>renderURLParams</name>
<tag-class>com.liferay.taglib.portlet.RenderURLParamsTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>varImpl</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<!--
liferay-portlet:resourceURL is similar to portlet:resourceURL except it has
the additional attributes plid, portletName, anchor, and encrypt.
Set varImpl to set the PortletURL object. This gives you an object reference
to the underlying URL implementation.
Set plid to the plid of another layout. This allows you to post the URL to
another layout.
Set portletName to the name of a portlet other than the current portlet.
This allows you to post the URL to another portlet.
Set anchor to false if you do not want the page to refresh and anchor to the
current portlet.
Set encrypt to true if you want to encrypt all the parameter values.
Set doAsUserId to process this URL as if it is accessed by the specified
user.
Set portletConfiguration to true if you want to pass the parameters needed
when you are accessing a portlet that is wrapped by the Portlet
Configuration portlet.
-->
<tag>
<name>resourceURL</name>
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encrypt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>plid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletConfiguration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererPlid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>varImpl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>runtime</name>
<tag-class>com.liferay.taglib.portletext.RuntimeTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>defaultPreferences</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>queryString</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

158
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet.tld

@ -1,158 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>portlet</short-name>
<uri>http://java.sun.com/portlet</uri>
<tag>
<name>actionURL</name>
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>defineObjects</name>
<tag-class>com.liferay.taglib.portlet.DefineObjectsTag</tag-class>
<tei-class>com.liferay.taglib.portlet.DefineObjectsTei</tei-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>namespace</name>
<tag-class>com.liferay.taglib.portlet.NamespaceTag</tag-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>property</name>
<tag-class>com.liferay.taglib.util.PropertyTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>renderURL</name>
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>resourceURL</name>
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>cacheability</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

106
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-security.tld

@ -1,106 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>liferay-security</short-name>
<uri>http://liferay.com/tld/security</uri>
<tag>
<name>doAsURL</name>
<tag-class>com.liferay.taglib.security.DoAsURLTag</tag-class>
<tei-class>com.liferay.taglib.security.DoAsURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>encrypt</name>
<tag-class>com.liferay.taglib.security.EncryptTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>className</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>protocol</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>target</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>unencryptedParams</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>permissionsURL</name>
<tag-class>com.liferay.taglib.security.PermissionsURLTag</tag-class>
<tei-class>com.liferay.taglib.security.PermissionsURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>modelResource</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>modelResourceDescription</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>redirect</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>resourceGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>resourcePrimKey</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>roleTypes</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

65
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-theme.tld

@ -1,65 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>theme</short-name>
<uri>http://liferay.com/tld/theme</uri>
<tag>
<name>defineObjects</name>
<tag-class>com.liferay.taglib.theme.DefineObjectsTag</tag-class>
<tei-class>com.liferay.taglib.theme.DefineObjectsTei</tei-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>include</name>
<tag-class>com.liferay.taglib.theme.IncludeTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>page</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>layout-icon</name>
<tag-class>com.liferay.taglib.theme.LayoutIconTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>layout</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>meta-tags</name>
<tag-class>com.liferay.taglib.theme.MetaTagsTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>wrap-portlet</name>
<tag-class>com.liferay.taglib.theme.WrapPortletTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>page</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

4691
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-ui.tld

File diff soppresso perché troppo grande Load Diff

141
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-util.tld

@ -1,141 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.2</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>liferay-util</short-name>
<uri>http://liferay.com/tld/util</uri>
<tag>
<name>body-bottom</name>
<tag-class>com.liferay.taglib.util.BodyBottomTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>body-top</name>
<tag-class>com.liferay.taglib.util.BodyTopTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>buffer</name>
<tag-class>com.liferay.taglib.util.BufferTag</tag-class>
<tei-class>com.liferay.taglib.util.BufferTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>get-url</name>
<tag-class>com.liferay.taglib.util.GetUrlTag</tag-class>
<tei-class>com.liferay.taglib.util.GetUrlTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>expires</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>html-bottom</name>
<tag-class>com.liferay.taglib.util.HtmlBottomTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>position</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>html-top</name>
<tag-class>com.liferay.taglib.util.HtmlTopTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>position</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>include</name>
<tag-class>com.liferay.taglib.util.IncludeTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>page</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>servletContext</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>strict</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>useCustomPage</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>whitespace-remover</name>
<tag-class>com.liferay.taglib.util.WhitespaceRemoverTag</tag-class>
<body-content>JSP</body-content>
</tag>
</taglib>

3
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/web.xml

@ -1,3 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
</web-app>

0
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/css/main.css

11
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/init.jsp

@ -1,11 +0,0 @@
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %>
<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
<liferay-theme:defineObjects />
<portlet:defineObjects />

61
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/rigenera_pagamento.jsp

@ -1,61 +0,0 @@
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%>
<%@include file="init.jsp"%>
<%
long pagamentoId = ParamUtil.getLong(request, "pagamentoId", 0L);
String dialogId = "testPopupIdUnique";
String portletNameApp = "#p_p_id_"+ themeDisplay.getPortletDisplay().getId() +"_";
%>
<liferay-portlet:actionURL name="testActionUrl" var="testActionUrlURL">
<portlet:param name="pagamentoId" value='<%=pagamentoId + "" %>'/>
</liferay-portlet:actionURL>
<aui:form action="<%=testActionUrlURL %>" method="POST">
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 col-md-12">
<span style="font-weight: bold;font-size:18px;">Si è sicuri di voler rigenerare il pagamento? Questa azione sarà irreversibile!</span>
</div>
</div>
<div class="row" style="margin-top:20px;">
<div class="col-sm-6 col-md-6" style="width:50%;float: left;">
<aui:button
name="submitFormRigeneraPagamento"
type="submit" cssClass="btn btn-info" value="Chiudi"
style=" font-size:12px;"
onClick='<%=renderResponse.getNamespace()+"closePopup()"%>'
/>
</div>
<div class="col-sm-6 col-md-6" style="width:50%;float: left;">
<aui:button name="submitFormRigeneraPagamento"
type="submit" cssClass="btn btn-danger" value="Rigenera Pagamento"
style=" font-size:12px;"
onClick='<%=renderResponse.getNamespace()+"closePopup()"%>'
/>
</div>
</div>
</div>
</aui:form>
<aui:script use="aui-base">
Liferay.provide(
window,
'<portlet:namespace/>closePopup',
function() {
Liferay.Util.getOpener().refreshPortlet();
Liferay.Util.getOpener().closePopup('<%= dialogId %>');
},
['aui-base','liferay-util-window']
);
</aui:script>

114
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/view.jsp

@ -1,114 +0,0 @@
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@include file="init.jsp"%>
<hr style="margin:20px;" />
<liferay-portlet:actionURL name="reIndexFasciolo" var="reIndexFascioloURL" />
<div class="row-fluid" style="margin-top:20px;">
<div class="span12">
<div style="font-weight: bold; font-size:18px; margin-bottom: 10px;">Form per reindicizzare un fascicolo</div>
<aui:form action="<%=reIndexFascioloURL %>" method="post" name="fm1">
<div>
<aui:input name="intPraticaId" label="IntPraticaId" >
<aui:validator name="number"/>
</aui:input>
<aui:button type="submit" value="Reindicizza Fascicolo" />
</div>
</aui:form>
</div>
</div>
<hr style="margin:20px;" />
<liferay-portlet:actionURL name="updateCollaudoStatico" var="updateCollaudoStaticoURL" />
<div class="row-fluid" style="margin-top:20px;">
<div class="span12">
<div style="font-weight: bold; font-size:18px; margin-bottom: 10px;">Corregge le DettPratica: Va premuto solo una volta!!!!</div>
<aui:form action="<%=updateCollaudoStaticoURL %>" method="post" name="fm1">
<div>
<aui:button type="submit" value="RIPARA DettPratica" />
</div>
</aui:form>
</div>
</div>
<portlet:actionURL name="testActionUrl" var="testActionUrlURL">
<portlet:param name="testParam" value="testParamValue" />
</portlet:actionURL>
<portlet:renderURL var="popupURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>" >
<portlet:param name="mvcPath" value="/html/testportos/rigenera_pagamento.jsp"/>
<portlet:param name="pagamentoId" value="12200" />
</portlet:renderURL>
<aui:button useDialog="true" id='rigeneraPagamento_a' icon="fa fa-plus" href="<%=popupURL%>" cssClass="btn btn-primary btn-action"/>
<a href="#" id="<portlet:namespace/>showPopup">
<span class="edit-mode-addportlet">&nbsp;</span>
<liferay-ui:message key='add-content-element' />
</a>
<script type="text/javascript">
AUI().ready('aui-node', function(A) {
A.one('#<portlet:namespace/>showPopup').on('click', function(e) {
Liferay.Util.openWindow(
{
dialog: {
modal: true,
cache: false,
centered: true,
resizable: false,
destroyOnClose: true,
width: 500,
height: 250
},
id: 'testPopupIdUnique',
title: 'Rigenera Pagamento',
uri: '<%=popupURL%>'
}
);
});
Liferay.provide(window,'closePopup',
function(popupIdToClose) {
var dialog = Liferay.Util.getWindow(popupIdToClose);
dialog.destroy(); // You can try toggle/hide whatever You want
},
['aui-base','aui-dialog','aui-dialog-iframe']
);
});
</script>
<aui:script>
Liferay.provide(window, 'refreshPortlet', function() {
var curPortlet = '#p_p_id<portlet:namespace/>';
Liferay.Portlet.refresh(curPortlet);
},
['aui-dialog','aui-dialog-iframe']
);
</aui:script>
<aui:script>
Liferay.provide(window, 'closePopup', function(dialogId) {
var A = AUI();
var dialog = Liferay.Util.Window.getById(dialogId);
dialog.destroy();
},
['liferay-util-window']
);
</aui:script>
<div title="Rigenera Pagamento" class="tooltip-info">
<liferay-ui:icon id='<%="rigeneraPagamento_"%>' linkCssClass="btn btn-danger" iconCssClass="fa fa-trash" message="Rigenera Pagamento" url="javascript:void(0)"/>
</div>
<liferay-ui:icon-delete message="return" url="<%= testActionUrlURL %>"/>

BIN
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/icon.png

File binario non mostrato.

Prima

Larghezza:  |  Altezza:  |  Dimensione: 467 B

0
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/js/main.js

18
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/ivy.xml

@ -1,18 +0,0 @@
<?xml version="1.0"?>
<ivy-module
version="2.0"
xmlns:m2="http://ant.apache.org/ivy/maven"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"
>
<info module="PortoTestPlugin-portlet" organisation="com.liferay">
<extends extendType="configurations,description,info" location="../../ivy.xml" module="com.liferay.sdk" organisation="com.liferay" revision="latest.integration" />
</info>
<dependencies defaultconf="default">
<dependency conf="test->default" name="arquillian-junit-container" org="org.jboss.arquillian.junit" rev="1.1.6.Final" />
<dependency conf="test->default" name="arquillian-tomcat-remote-7" org="org.jboss.arquillian.container" rev="1.0.0.CR6" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0-SNAPSHOT" />
</dependencies>
</ivy-module>

15
liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/test/integration/arquillian.xml

@ -1,15 +0,0 @@
<?xml version="1.0"?>
<arquillian
xmlns="http://jboss.org/schema/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd"
>
<container default="true" qualifier="tomcat">
<configuration>
<property name="jmxPort">8099</property>
<property name="pass">tomcat</property>
<property name="user">tomcat</property>
</configuration>
</container>
</arquillian>

21
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml

@ -425,8 +425,6 @@
<column name="workflowForzato" type="boolean" />
<column name="soggettoSostituitoId" type="long" />
<column name="dtInvioSignal" type="Date" />
<!-- Campi aggiuntivi per importazione -->
<column name="oldDettPraticaId" type="long" />
<!-- Campi aggiuntivi provenienti da intPratica -->
<column name="destinazione" type="String" />
<column name="ag" type="String" />
@ -651,9 +649,6 @@
<finder-column name="groupId" />
<finder-column name="protocollo" />
</finder>
<finder return-type="DettPratica" name="OldDettPratica" db-index="true">
<finder-column name="oldDettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaId_TipoIntegrazione_Completa" db-index="true">
<finder-column name="intPraticaId" />
<finder-column name="tipoIntegrazione" />
@ -665,10 +660,6 @@
<finder-column name="tipoIntegrazione" />
</finder>
<finder name="OldDettPraticaId" return-type="DettPratica">
<finder-column name="oldDettPraticaId" />
</finder>
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry" />
<reference package-path="com.liferay.portlet.asset" entity="AssetCategory" />
<reference package-path="com.liferay.portlet.asset" entity="AssetVocabulary" />
@ -711,7 +702,6 @@
<column name="causalePagamento" type="String" />
<column name="mezzoPagamento" type="String" />
<column name="importoBolli" type="String" />
<column name="oldDettPraticaId" type="long" />
<!-- Finder -->
<finder return-type="FineLavori" name="Protocollo">
@ -747,9 +737,6 @@
<finder-column name="parziale" />
<finder-column name="completata" />
</finder>
<finder return-type="FineLavori" name="OldDettPraticaId">
<finder-column name="oldDettPraticaId" />
</finder>
</entity>
<entity name="Collaudo" local-service="true" remote-service="true"
@ -785,7 +772,6 @@
<column name="mezzoPagamento" type="String" />
<column name="normEsenteBollo" type="boolean" />
<column name="importoBolli" type="String" />
<column name="oldDettPraticaId" type="long" />
<!-- Finder -->
<finder return-type="Collection" name="IntPraticaId">
@ -817,9 +803,6 @@
<finder-column name="intPraticaId" />
<finder-column name="parziale" />
</finder>
<finder return-type="Collaudo" name="OldDettPraticaId">
<finder-column name="oldDettPraticaId" />
</finder>
</entity>
<entity name="Avviso" local-service="true" remote-service="true" uuid="true">
@ -955,7 +938,6 @@
<column name="statusDate" type="Date" />
<column name="esitoControllo" type="int" />
<column name="dtPratica" type="Date" />
<column name="oldIntPraticaId" type="long" />
<column name="sospesa" type="boolean" />
<column name="dtSospensione" type="Date" />
@ -988,9 +970,6 @@
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder name="OldIntPraticaId" return-type="IntPratica">
<finder-column name="oldIntPraticaId" />
</finder>
<finder name="P" return-type="Collection">
<finder-column name="status"/>
<finder-column name="dtPratica"/>

43
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoClp.java

@ -100,7 +100,6 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
attributes.put("mezzoPagamento", getMezzoPagamento());
attributes.put("normEsenteBollo", getNormEsenteBollo());
attributes.put("importoBolli", getImportoBolli());
attributes.put("oldDettPraticaId", getOldDettPraticaId());
return attributes;
}
@ -257,12 +256,6 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
if (importoBolli != null) {
setImportoBolli(importoBolli);
}
Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId");
if (oldDettPraticaId != null) {
setOldDettPraticaId(oldDettPraticaId);
}
}
@Override
@ -876,30 +869,6 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
}
}
@Override
public long getOldDettPraticaId() {
return _oldDettPraticaId;
}
@Override
public void setOldDettPraticaId(long oldDettPraticaId) {
_oldDettPraticaId = oldDettPraticaId;
if (_collaudoRemoteModel != null) {
try {
Class<?> clazz = _collaudoRemoteModel.getClass();
Method method = clazz.getMethod("setOldDettPraticaId",
long.class);
method.invoke(_collaudoRemoteModel, oldDettPraticaId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public java.lang.String getTitle(java.util.Locale locale) {
try {
@ -1057,7 +1026,6 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
clone.setMezzoPagamento(getMezzoPagamento());
clone.setNormEsenteBollo(getNormEsenteBollo());
clone.setImportoBolli(getImportoBolli());
clone.setOldDettPraticaId(getOldDettPraticaId());
return clone;
}
@ -1110,7 +1078,7 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
@Override
public String toString() {
StringBundler sb = new StringBundler(53);
StringBundler sb = new StringBundler(51);
sb.append("{uuid=");
sb.append(getUuid());
@ -1162,8 +1130,6 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
sb.append(getNormEsenteBollo());
sb.append(", importoBolli=");
sb.append(getImportoBolli());
sb.append(", oldDettPraticaId=");
sb.append(getOldDettPraticaId());
sb.append("}");
return sb.toString();
@ -1171,7 +1137,7 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(82);
StringBundler sb = new StringBundler(79);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.Collaudo");
@ -1277,10 +1243,6 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
"<column><column-name>importoBolli</column-name><column-value><![CDATA[");
sb.append(getImportoBolli());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>oldDettPraticaId</column-name><column-value><![CDATA[");
sb.append(getOldDettPraticaId());
sb.append("]]></column-value></column>");
sb.append("</model>");
@ -1313,7 +1275,6 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
private String _mezzoPagamento;
private boolean _normEsenteBollo;
private String _importoBolli;
private long _oldDettPraticaId;
private BaseModel<?> _collaudoRemoteModel;
private Class<?> _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class;
}

14
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoModel.java

@ -479,20 +479,6 @@ public interface CollaudoModel extends BaseModel<Collaudo>, StagedGroupedModel {
*/
public void setImportoBolli(String importoBolli);
/**
* Returns the old dett pratica ID of this collaudo.
*
* @return the old dett pratica ID of this collaudo
*/
public long getOldDettPraticaId();
/**
* Sets the old dett pratica ID of this collaudo.
*
* @param oldDettPraticaId the old dett pratica ID of this collaudo
*/
public void setOldDettPraticaId(long oldDettPraticaId);
@Override
public boolean isNew();

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoSoap.java

@ -56,7 +56,6 @@ public class CollaudoSoap implements Serializable {
soapModel.setMezzoPagamento(model.getMezzoPagamento());
soapModel.setNormEsenteBollo(model.getNormEsenteBollo());
soapModel.setImportoBolli(model.getImportoBolli());
soapModel.setOldDettPraticaId(model.getOldDettPraticaId());
return soapModel;
}
@ -325,14 +324,6 @@ public class CollaudoSoap implements Serializable {
_importoBolli = importoBolli;
}
public long getOldDettPraticaId() {
return _oldDettPraticaId;
}
public void setOldDettPraticaId(long oldDettPraticaId) {
_oldDettPraticaId = oldDettPraticaId;
}
private String _uuid;
private long _collaudoId;
private long _companyId;
@ -358,5 +349,4 @@ public class CollaudoSoap implements Serializable {
private String _mezzoPagamento;
private boolean _normEsenteBollo;
private String _importoBolli;
private long _oldDettPraticaId;
}

27
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoWrapper.java

@ -75,7 +75,6 @@ public class CollaudoWrapper implements Collaudo, ModelWrapper<Collaudo> {
attributes.put("mezzoPagamento", getMezzoPagamento());
attributes.put("normEsenteBollo", getNormEsenteBollo());
attributes.put("importoBolli", getImportoBolli());
attributes.put("oldDettPraticaId", getOldDettPraticaId());
return attributes;
}
@ -232,12 +231,6 @@ public class CollaudoWrapper implements Collaudo, ModelWrapper<Collaudo> {
if (importoBolli != null) {
setImportoBolli(importoBolli);
}
Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId");
if (oldDettPraticaId != null) {
setOldDettPraticaId(oldDettPraticaId);
}
}
/**
@ -822,26 +815,6 @@ public class CollaudoWrapper implements Collaudo, ModelWrapper<Collaudo> {
_collaudo.setImportoBolli(importoBolli);
}
/**
* Returns the old dett pratica ID of this collaudo.
*
* @return the old dett pratica ID of this collaudo
*/
@Override
public long getOldDettPraticaId() {
return _collaudo.getOldDettPraticaId();
}
/**
* Sets the old dett pratica ID of this collaudo.
*
* @param oldDettPraticaId the old dett pratica ID of this collaudo
*/
@Override
public void setOldDettPraticaId(long oldDettPraticaId) {
_collaudo.setOldDettPraticaId(oldDettPraticaId);
}
@Override
public boolean isNew() {
return _collaudo.isNew();

43
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java

@ -111,7 +111,6 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
attributes.put("workflowForzato", getWorkflowForzato());
attributes.put("soggettoSostituitoId", getSoggettoSostituitoId());
attributes.put("dtInvioSignal", getDtInvioSignal());
attributes.put("oldDettPraticaId", getOldDettPraticaId());
attributes.put("destinazione", getDestinazione());
attributes.put("ag", getAg());
attributes.put("descLongIntervento", getDescLongIntervento());
@ -585,12 +584,6 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
setDtInvioSignal(dtInvioSignal);
}
Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId");
if (oldDettPraticaId != null) {
setOldDettPraticaId(oldDettPraticaId);
}
String destinazione = (String)attributes.get("destinazione");
if (destinazione != null) {
@ -2746,30 +2739,6 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
}
}
@Override
public long getOldDettPraticaId() {
return _oldDettPraticaId;
}
@Override
public void setOldDettPraticaId(long oldDettPraticaId) {
_oldDettPraticaId = oldDettPraticaId;
if (_dettPraticaRemoteModel != null) {
try {
Class<?> clazz = _dettPraticaRemoteModel.getClass();
Method method = clazz.getMethod("setOldDettPraticaId",
long.class);
method.invoke(_dettPraticaRemoteModel, oldDettPraticaId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getDestinazione() {
return _destinazione;
@ -8471,7 +8440,6 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
clone.setWorkflowForzato(getWorkflowForzato());
clone.setSoggettoSostituitoId(getSoggettoSostituitoId());
clone.setDtInvioSignal(getDtInvioSignal());
clone.setOldDettPraticaId(getOldDettPraticaId());
clone.setDestinazione(getDestinazione());
clone.setAg(getAg());
clone.setDescLongIntervento(getDescLongIntervento());
@ -8725,7 +8693,7 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
@Override
public String toString() {
StringBundler sb = new StringBundler(473);
StringBundler sb = new StringBundler(471);
sb.append("{uuid=");
sb.append(getUuid());
@ -8795,8 +8763,6 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
sb.append(getSoggettoSostituitoId());
sb.append(", dtInvioSignal=");
sb.append(getDtInvioSignal());
sb.append(", oldDettPraticaId=");
sb.append(getOldDettPraticaId());
sb.append(", destinazione=");
sb.append(getDestinazione());
sb.append(", ag=");
@ -9206,7 +9172,7 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(712);
StringBundler sb = new StringBundler(709);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.DettPratica");
@ -9348,10 +9314,6 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
"<column><column-name>dtInvioSignal</column-name><column-value><![CDATA[");
sb.append(getDtInvioSignal());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>oldDettPraticaId</column-name><column-value><![CDATA[");
sb.append(getOldDettPraticaId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>destinazione</column-name><column-value><![CDATA[");
sb.append(getDestinazione());
@ -10198,7 +10160,6 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
private boolean _workflowForzato;
private long _soggettoSostituitoId;
private Date _dtInvioSignal;
private long _oldDettPraticaId;
private String _destinazione;
private String _ag;
private String _descLongIntervento;

14
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java

@ -636,20 +636,6 @@ public interface DettPraticaModel extends BaseModel<DettPratica>,
*/
public void setDtInvioSignal(Date dtInvioSignal);
/**
* Returns the old dett pratica ID of this dett pratica.
*
* @return the old dett pratica ID of this dett pratica
*/
public long getOldDettPraticaId();
/**
* Sets the old dett pratica ID of this dett pratica.
*
* @param oldDettPraticaId the old dett pratica ID of this dett pratica
*/
public void setOldDettPraticaId(long oldDettPraticaId);
/**
* Returns the destinazione of this dett pratica.
*

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java

@ -65,7 +65,6 @@ public class DettPraticaSoap implements Serializable {
soapModel.setWorkflowForzato(model.getWorkflowForzato());
soapModel.setSoggettoSostituitoId(model.getSoggettoSostituitoId());
soapModel.setDtInvioSignal(model.getDtInvioSignal());
soapModel.setOldDettPraticaId(model.getOldDettPraticaId());
soapModel.setDestinazione(model.getDestinazione());
soapModel.setAg(model.getAg());
soapModel.setDescLongIntervento(model.getDescLongIntervento());
@ -607,14 +606,6 @@ public class DettPraticaSoap implements Serializable {
_dtInvioSignal = dtInvioSignal;
}
public long getOldDettPraticaId() {
return _oldDettPraticaId;
}
public void setOldDettPraticaId(long oldDettPraticaId) {
_oldDettPraticaId = oldDettPraticaId;
}
public String getDestinazione() {
return _destinazione;
}
@ -2727,7 +2718,6 @@ public class DettPraticaSoap implements Serializable {
private boolean _workflowForzato;
private long _soggettoSostituitoId;
private Date _dtInvioSignal;
private long _oldDettPraticaId;
private String _destinazione;
private String _ag;
private String _descLongIntervento;

27
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java

@ -85,7 +85,6 @@ public class DettPraticaWrapper implements DettPratica,
attributes.put("workflowForzato", getWorkflowForzato());
attributes.put("soggettoSostituitoId", getSoggettoSostituitoId());
attributes.put("dtInvioSignal", getDtInvioSignal());
attributes.put("oldDettPraticaId", getOldDettPraticaId());
attributes.put("destinazione", getDestinazione());
attributes.put("ag", getAg());
attributes.put("descLongIntervento", getDescLongIntervento());
@ -559,12 +558,6 @@ public class DettPraticaWrapper implements DettPratica,
setDtInvioSignal(dtInvioSignal);
}
Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId");
if (oldDettPraticaId != null) {
setOldDettPraticaId(oldDettPraticaId);
}
String destinazione = (String)attributes.get("destinazione");
if (destinazione != null) {
@ -2670,26 +2663,6 @@ public class DettPraticaWrapper implements DettPratica,
_dettPratica.setDtInvioSignal(dtInvioSignal);
}
/**
* Returns the old dett pratica ID of this dett pratica.
*
* @return the old dett pratica ID of this dett pratica
*/
@Override
public long getOldDettPraticaId() {
return _dettPratica.getOldDettPraticaId();
}
/**
* Sets the old dett pratica ID of this dett pratica.
*
* @param oldDettPraticaId the old dett pratica ID of this dett pratica
*/
@Override
public void setOldDettPraticaId(long oldDettPraticaId) {
_dettPratica.setOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the destinazione of this dett pratica.
*

43
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriClp.java

@ -103,7 +103,6 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
attributes.put("causalePagamento", getCausalePagamento());
attributes.put("mezzoPagamento", getMezzoPagamento());
attributes.put("importoBolli", getImportoBolli());
attributes.put("oldDettPraticaId", getOldDettPraticaId());
return attributes;
}
@ -268,12 +267,6 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
if (importoBolli != null) {
setImportoBolli(importoBolli);
}
Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId");
if (oldDettPraticaId != null) {
setOldDettPraticaId(oldDettPraticaId);
}
}
@Override
@ -919,30 +912,6 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public long getOldDettPraticaId() {
return _oldDettPraticaId;
}
@Override
public void setOldDettPraticaId(long oldDettPraticaId) {
_oldDettPraticaId = oldDettPraticaId;
if (_fineLavoriRemoteModel != null) {
try {
Class<?> clazz = _fineLavoriRemoteModel.getClass();
Method method = clazz.getMethod("setOldDettPraticaId",
long.class);
method.invoke(_fineLavoriRemoteModel, oldDettPraticaId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public java.lang.String getTitle(java.util.Locale locale) {
try {
@ -1101,7 +1070,6 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
clone.setCausalePagamento(getCausalePagamento());
clone.setMezzoPagamento(getMezzoPagamento());
clone.setImportoBolli(getImportoBolli());
clone.setOldDettPraticaId(getOldDettPraticaId());
return clone;
}
@ -1154,7 +1122,7 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
@Override
public String toString() {
StringBundler sb = new StringBundler(55);
StringBundler sb = new StringBundler(53);
sb.append("{uuid=");
sb.append(getUuid());
@ -1208,8 +1176,6 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
sb.append(getMezzoPagamento());
sb.append(", importoBolli=");
sb.append(getImportoBolli());
sb.append(", oldDettPraticaId=");
sb.append(getOldDettPraticaId());
sb.append("}");
return sb.toString();
@ -1217,7 +1183,7 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(85);
StringBundler sb = new StringBundler(82);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.FineLavori");
@ -1327,10 +1293,6 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
"<column><column-name>importoBolli</column-name><column-value><![CDATA[");
sb.append(getImportoBolli());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>oldDettPraticaId</column-name><column-value><![CDATA[");
sb.append(getOldDettPraticaId());
sb.append("]]></column-value></column>");
sb.append("</model>");
@ -1364,7 +1326,6 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
private String _causalePagamento;
private String _mezzoPagamento;
private String _importoBolli;
private long _oldDettPraticaId;
private BaseModel<?> _fineLavoriRemoteModel;
private Class<?> _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class;
}

14
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriModel.java

@ -502,20 +502,6 @@ public interface FineLavoriModel extends BaseModel<FineLavori>,
*/
public void setImportoBolli(String importoBolli);
/**
* Returns the old dett pratica ID of this fine lavori.
*
* @return the old dett pratica ID of this fine lavori
*/
public long getOldDettPraticaId();
/**
* Sets the old dett pratica ID of this fine lavori.
*
* @param oldDettPraticaId the old dett pratica ID of this fine lavori
*/
public void setOldDettPraticaId(long oldDettPraticaId);
@Override
public boolean isNew();

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriSoap.java

@ -57,7 +57,6 @@ public class FineLavoriSoap implements Serializable {
soapModel.setCausalePagamento(model.getCausalePagamento());
soapModel.setMezzoPagamento(model.getMezzoPagamento());
soapModel.setImportoBolli(model.getImportoBolli());
soapModel.setOldDettPraticaId(model.getOldDettPraticaId());
return soapModel;
}
@ -339,14 +338,6 @@ public class FineLavoriSoap implements Serializable {
_importoBolli = importoBolli;
}
public long getOldDettPraticaId() {
return _oldDettPraticaId;
}
public void setOldDettPraticaId(long oldDettPraticaId) {
_oldDettPraticaId = oldDettPraticaId;
}
private String _uuid;
private long _fineLavoriId;
private long _companyId;
@ -373,5 +364,4 @@ public class FineLavoriSoap implements Serializable {
private String _causalePagamento;
private String _mezzoPagamento;
private String _importoBolli;
private long _oldDettPraticaId;
}

27
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriWrapper.java

@ -77,7 +77,6 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
attributes.put("causalePagamento", getCausalePagamento());
attributes.put("mezzoPagamento", getMezzoPagamento());
attributes.put("importoBolli", getImportoBolli());
attributes.put("oldDettPraticaId", getOldDettPraticaId());
return attributes;
}
@ -242,12 +241,6 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
if (importoBolli != null) {
setImportoBolli(importoBolli);
}
Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId");
if (oldDettPraticaId != null) {
setOldDettPraticaId(oldDettPraticaId);
}
}
/**
@ -863,26 +856,6 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
_fineLavori.setImportoBolli(importoBolli);
}
/**
* Returns the old dett pratica ID of this fine lavori.
*
* @return the old dett pratica ID of this fine lavori
*/
@Override
public long getOldDettPraticaId() {
return _fineLavori.getOldDettPraticaId();
}
/**
* Sets the old dett pratica ID of this fine lavori.
*
* @param oldDettPraticaId the old dett pratica ID of this fine lavori
*/
@Override
public void setOldDettPraticaId(long oldDettPraticaId) {
_fineLavori.setOldDettPraticaId(oldDettPraticaId);
}
@Override
public boolean isNew() {
return _fineLavori.isNew();

42
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaClp.java

@ -98,7 +98,6 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
attributes.put("statusDate", getStatusDate());
attributes.put("esitoControllo", getEsitoControllo());
attributes.put("dtPratica", getDtPratica());
attributes.put("oldIntPraticaId", getOldIntPraticaId());
attributes.put("sospesa", getSospesa());
attributes.put("dtSospensione", getDtSospensione());
attributes.put("codiceFiscaleDelegatoFineLavori",
@ -249,12 +248,6 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
setDtPratica(dtPratica);
}
Long oldIntPraticaId = (Long)attributes.get("oldIntPraticaId");
if (oldIntPraticaId != null) {
setOldIntPraticaId(oldIntPraticaId);
}
Boolean sospesa = (Boolean)attributes.get("sospesa");
if (sospesa != null) {
@ -848,29 +841,6 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
}
@Override
public long getOldIntPraticaId() {
return _oldIntPraticaId;
}
@Override
public void setOldIntPraticaId(long oldIntPraticaId) {
_oldIntPraticaId = oldIntPraticaId;
if (_intPraticaRemoteModel != null) {
try {
Class<?> clazz = _intPraticaRemoteModel.getClass();
Method method = clazz.getMethod("setOldIntPraticaId", long.class);
method.invoke(_intPraticaRemoteModel, oldIntPraticaId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public boolean getSospesa() {
return _sospesa;
@ -1294,7 +1264,6 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
clone.setStatusDate(getStatusDate());
clone.setEsitoControllo(getEsitoControllo());
clone.setDtPratica(getDtPratica());
clone.setOldIntPraticaId(getOldIntPraticaId());
clone.setSospesa(getSospesa());
clone.setDtSospensione(getDtSospensione());
clone.setCodiceFiscaleDelegatoFineLavori(getCodiceFiscaleDelegatoFineLavori());
@ -1356,7 +1325,7 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
@Override
public String toString() {
StringBundler sb = new StringBundler(65);
StringBundler sb = new StringBundler(63);
sb.append("{uuid=");
sb.append(getUuid());
@ -1402,8 +1371,6 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
sb.append(getEsitoControllo());
sb.append(", dtPratica=");
sb.append(getDtPratica());
sb.append(", oldIntPraticaId=");
sb.append(getOldIntPraticaId());
sb.append(", sospesa=");
sb.append(getSospesa());
sb.append(", dtSospensione=");
@ -1429,7 +1396,7 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(100);
StringBundler sb = new StringBundler(97);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.IntPratica");
@ -1523,10 +1490,6 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
"<column><column-name>dtPratica</column-name><column-value><![CDATA[");
sb.append(getDtPratica());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>oldIntPraticaId</column-name><column-value><![CDATA[");
sb.append(getOldIntPraticaId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>sospesa</column-name><column-value><![CDATA[");
sb.append(getSospesa());
@ -1593,7 +1556,6 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
private Date _statusDate;
private int _esitoControllo;
private Date _dtPratica;
private long _oldIntPraticaId;
private boolean _sospesa;
private Date _dtSospensione;
private String _codiceFiscaleDelegatoFineLavori;

14
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaModel.java

@ -429,20 +429,6 @@ public interface IntPraticaModel extends BaseModel<IntPratica>,
*/
public void setDtPratica(Date dtPratica);
/**
* Returns the old int pratica ID of this int pratica.
*
* @return the old int pratica ID of this int pratica
*/
public long getOldIntPraticaId();
/**
* Sets the old int pratica ID of this int pratica.
*
* @param oldIntPraticaId the old int pratica ID of this int pratica
*/
public void setOldIntPraticaId(long oldIntPraticaId);
/**
* Returns the sospesa of this int pratica.
*

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java

@ -53,7 +53,6 @@ public class IntPraticaSoap implements Serializable {
soapModel.setStatusDate(model.getStatusDate());
soapModel.setEsitoControllo(model.getEsitoControllo());
soapModel.setDtPratica(model.getDtPratica());
soapModel.setOldIntPraticaId(model.getOldIntPraticaId());
soapModel.setSospesa(model.getSospesa());
soapModel.setDtSospensione(model.getDtSospensione());
soapModel.setCodiceFiscaleDelegatoFineLavori(model.getCodiceFiscaleDelegatoFineLavori());
@ -295,14 +294,6 @@ public class IntPraticaSoap implements Serializable {
_dtPratica = dtPratica;
}
public long getOldIntPraticaId() {
return _oldIntPraticaId;
}
public void setOldIntPraticaId(long oldIntPraticaId) {
_oldIntPraticaId = oldIntPraticaId;
}
public boolean getSospesa() {
return _sospesa;
}
@ -423,7 +414,6 @@ public class IntPraticaSoap implements Serializable {
private Date _statusDate;
private int _esitoControllo;
private Date _dtPratica;
private long _oldIntPraticaId;
private boolean _sospesa;
private Date _dtSospensione;
private String _codiceFiscaleDelegatoFineLavori;

27
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java

@ -72,7 +72,6 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper<IntPratica> {
attributes.put("statusDate", getStatusDate());
attributes.put("esitoControllo", getEsitoControllo());
attributes.put("dtPratica", getDtPratica());
attributes.put("oldIntPraticaId", getOldIntPraticaId());
attributes.put("sospesa", getSospesa());
attributes.put("dtSospensione", getDtSospensione());
attributes.put("codiceFiscaleDelegatoFineLavori",
@ -223,12 +222,6 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper<IntPratica> {
setDtPratica(dtPratica);
}
Long oldIntPraticaId = (Long)attributes.get("oldIntPraticaId");
if (oldIntPraticaId != null) {
setOldIntPraticaId(oldIntPraticaId);
}
Boolean sospesa = (Boolean)attributes.get("sospesa");
if (sospesa != null) {
@ -802,26 +795,6 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper<IntPratica> {
_intPratica.setDtPratica(dtPratica);
}
/**
* Returns the old int pratica ID of this int pratica.
*
* @return the old int pratica ID of this int pratica
*/
@Override
public long getOldIntPraticaId() {
return _intPratica.getOldIntPraticaId();
}
/**
* Sets the old int pratica ID of this int pratica.
*
* @param oldIntPraticaId the old int pratica ID of this int pratica
*/
@Override
public void setOldIntPraticaId(long oldIntPraticaId) {
_intPratica.setOldIntPraticaId(oldIntPraticaId);
}
/**
* Returns the sospesa of this int pratica.
*

5
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalService.java

@ -432,9 +432,4 @@ public interface CollaudoLocalService extends BaseLocalService,
public int countCollaudiCompletiNotGestiti()
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
}

35
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceClp.java

@ -258,10 +258,6 @@ public class CollaudoLocalServiceClp implements CollaudoLocalService {
_methodName47 = "countCollaudiCompletiNotGestiti";
_methodParameterTypes47 = new String[] { };
_methodName48 = "fetchByOldDettPraticaId";
_methodParameterTypes48 = new String[] { "long" };
}
@Override
@ -1843,35 +1839,6 @@ public class CollaudoLocalServiceClp implements CollaudoLocalService {
return ((Integer)returnObj).intValue();
}
@Override
public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48, new Object[] { oldDettPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.bo.model.Collaudo)ClpSerializer.translateOutput(returnObj);
}
private InvokableLocalService _invokableLocalService;
private String _methodName0;
private String[] _methodParameterTypes0;
@ -1967,6 +1934,4 @@ public class CollaudoLocalServiceClp implements CollaudoLocalService {
private String[] _methodParameterTypes46;
private String _methodName47;
private String[] _methodParameterTypes47;
private String _methodName48;
private String[] _methodParameterTypes48;
}

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceUtil.java

@ -527,12 +527,6 @@ public class CollaudoLocalServiceUtil {
return getService().countCollaudiCompletiNotGestiti();
}
public static it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchByOldDettPraticaId(oldDettPraticaId);
}
public static void clearService() {
_service = null;
}

7
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceWrapper.java

@ -562,13 +562,6 @@ public class CollaudoLocalServiceWrapper implements CollaudoLocalService,
return _collaudoLocalService.countCollaudiCompletiNotGestiti();
}
@Override
public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _collaudoLocalService.fetchByOldDettPraticaId(oldDettPraticaId);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/

23
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java

@ -387,12 +387,6 @@ public interface DettPraticaLocalService extends BaseLocalService,
long intPraticaId, long dettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.DettPratica getByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<it.tref.liferay.portos.bo.model.DettPratica> search(
com.liferay.portal.kernel.search.SearchContext searchContext)
@ -425,12 +419,12 @@ public interface DettPraticaLocalService extends BaseLocalService,
java.lang.String importoSpeseIstruttoria,
java.util.Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId,
long oldDettPraticaId, java.lang.String destinazione,
java.lang.String ag, java.lang.String descLongIntervento,
java.lang.String via, java.lang.String localita,
java.lang.String estremiCatastali, java.lang.String estremiPratCom,
long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico,
java.lang.String destinazione, java.lang.String ag,
java.lang.String descLongIntervento, java.lang.String via,
java.lang.String localita, java.lang.String estremiCatastali,
java.lang.String estremiPratCom, long variataDa, long varianteNumero,
boolean varianteSostanziale, boolean operaConforme,
boolean collaudoStatico,
java.lang.String codiceFiscaleDelegatoCommittente,
java.lang.String codiceFiscaleDelegatoFineLavori,
java.lang.String codiceFiscaleDelegatoCollaudo,
@ -869,11 +863,6 @@ public interface DettPraticaLocalService extends BaseLocalService,
com.liferay.portal.kernel.exception.SystemException,
java.io.IOException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countVariateByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;

492
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java

@ -197,60 +197,56 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
_methodParameterTypes36 = new String[] { "long", "long" };
_methodName37 = "getByOldDettPraticaId";
_methodName37 = "search";
_methodParameterTypes37 = new String[] { "long" };
_methodName38 = "search";
_methodParameterTypes38 = new String[] {
_methodParameterTypes37 = new String[] {
"com.liferay.portal.kernel.search.SearchContext"
};
_methodName39 = "searchCount";
_methodName38 = "searchCount";
_methodParameterTypes39 = new String[] {
_methodParameterTypes38 = new String[] {
"com.liferay.portal.kernel.search.SearchContext"
};
_methodName40 = "updateDettPraticaSoggetti";
_methodName39 = "updateDettPraticaSoggetti";
_methodParameterTypes40 = new String[] {
_methodParameterTypes39 = new String[] {
"long", "long", "long", "java.lang.String", "java.lang.String",
"java.lang.String", "com.liferay.portal.service.ServiceContext"
};
_methodName41 = "updateDettPratica";
_methodName40 = "updateDettPratica";
_methodParameterTypes41 = new String[] {
_methodParameterTypes40 = new String[] {
"long", "long", "long", "long", "java.lang.String",
"java.lang.String", "boolean", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.util.Date", "int", "boolean", "long",
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "long", "long",
"boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "boolean", "java.util.Date", "java.util.Date",
"java.util.Date", "java.lang.String", "boolean", "long", "int",
"java.lang.String", "long", "long", "boolean", "boolean",
"boolean", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"java.util.Date", "java.util.Date", "java.util.Date",
"java.lang.String", "boolean", "long", "int", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "java.lang.String", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
@ -258,27 +254,26 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.util.Date",
"boolean", "int", "int", "boolean", "int", "boolean", "int",
"boolean", "java.lang.String", "java.lang.String",
"java.util.Date", "boolean", "int", "int", "boolean", "int",
"boolean", "int", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "java.lang.String", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"boolean", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "boolean", "java.lang.String",
"com.liferay.portal.service.ServiceContext", "boolean"
};
_methodName42 = "updateDettPraticaDatiDomanda";
_methodName41 = "updateDettPraticaDatiDomanda";
_methodParameterTypes42 = new String[] {
_methodParameterTypes41 = new String[] {
"long", "long", "long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
@ -313,9 +308,9 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
"com.liferay.portal.service.ServiceContext", "boolean"
};
_methodName43 = "updateDettPraticaGeologo";
_methodName42 = "updateDettPraticaGeologo";
_methodParameterTypes43 = new String[] {
_methodParameterTypes42 = new String[] {
"long", "long", "long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
@ -327,9 +322,9 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
"com.liferay.portal.service.ServiceContext", "boolean"
};
_methodName44 = "updateDettPraticaPagamento";
_methodName43 = "updateDettPraticaPagamento";
_methodParameterTypes44 = new String[] {
_methodParameterTypes43 = new String[] {
"long", "int", "int", "int", "int", "boolean", "boolean",
"boolean", "java.lang.String", "java.lang.String", "boolean",
"java.lang.String", "java.lang.String", "java.lang.String",
@ -338,39 +333,39 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
"com.liferay.portal.service.ServiceContext"
};
_methodName45 = "updateCheckPagamenti";
_methodName44 = "updateCheckPagamenti";
_methodParameterTypes45 = new String[] { "long", "boolean", "boolean" };
_methodParameterTypes44 = new String[] { "long", "boolean", "boolean" };
_methodName46 = "updateEsitoPagamento";
_methodName45 = "updateEsitoPagamento";
_methodParameterTypes46 = new String[] {
_methodParameterTypes45 = new String[] {
"long", "long", "java.lang.String"
};
_methodName47 = "updateEsitoPagamento";
_methodName46 = "updateEsitoPagamento";
_methodParameterTypes47 = new String[] {
_methodParameterTypes46 = new String[] {
"long", "long", "long", "java.lang.String"
};
_methodName48 = "isControlloObbligatorio";
_methodName47 = "isControlloObbligatorio";
_methodParameterTypes48 = new String[] {
_methodParameterTypes47 = new String[] {
"it.tref.liferay.portos.bo.model.DettPratica"
};
_methodName49 = "updateEsito";
_methodName48 = "updateEsito";
_methodParameterTypes49 = new String[] { "long", "int" };
_methodParameterTypes48 = new String[] { "long", "int" };
_methodName50 = "updateEsitoIntegrazione";
_methodName49 = "updateEsitoIntegrazione";
_methodParameterTypes50 = new String[] { "long", "int" };
_methodParameterTypes49 = new String[] { "long", "int" };
_methodName51 = "pagaInvia";
_methodName50 = "pagaInvia";
_methodParameterTypes51 = new String[] {
_methodParameterTypes50 = new String[] {
"long", "int", "int", "int", "int", "boolean", "boolean",
"boolean", "java.lang.String", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
@ -379,149 +374,145 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
"java.lang.String", "com.liferay.portal.service.ServiceContext"
};
_methodName52 = "updateStatus";
_methodName51 = "updateStatus";
_methodParameterTypes52 = new String[] {
_methodParameterTypes51 = new String[] {
"long", "long", "int",
"com.liferay.portal.service.ServiceContext"
};
_methodName53 = "updateDettPraticaProtocollo";
_methodName52 = "updateDettPraticaProtocollo";
_methodParameterTypes53 = new String[] { "long", "java.lang.String" };
_methodParameterTypes52 = new String[] { "long", "java.lang.String" };
_methodName54 = "findByProtocollo";
_methodName53 = "findByProtocollo";
_methodParameterTypes54 = new String[] {
_methodParameterTypes53 = new String[] {
"long", "long", "java.lang.String"
};
_methodName55 = "fetchByProtocollo";
_methodName54 = "fetchByProtocollo";
_methodParameterTypes55 = new String[] {
_methodParameterTypes54 = new String[] {
"long", "long", "java.lang.String"
};
_methodName56 = "fetchByProtocollo";
_methodName55 = "fetchByProtocollo";
_methodParameterTypes56 = new String[] { "java.lang.String" };
_methodParameterTypes55 = new String[] { "java.lang.String" };
_methodName57 = "findByIntPraticaId";
_methodName56 = "findByIntPraticaId";
_methodParameterTypes57 = new String[] { "long" };
_methodParameterTypes56 = new String[] { "long" };
_methodName58 = "findByIntPraticaIdInviate";
_methodName57 = "findByIntPraticaIdInviate";
_methodParameterTypes58 = new String[] { "long", "int", "int" };
_methodParameterTypes57 = new String[] { "long", "int", "int" };
_methodName59 = "findPraticheCompleteNotProtocollo";
_methodName58 = "findPraticheCompleteNotProtocollo";
_methodParameterTypes59 = new String[] { "int", "int" };
_methodParameterTypes58 = new String[] { "int", "int" };
_methodName60 = "countPraticheCompleteNotProtocollo";
_methodName59 = "countPraticheCompleteNotProtocollo";
_methodParameterTypes60 = new String[] { };
_methodParameterTypes59 = new String[] { };
_methodName61 = "findPraticheCompleteNotGestite";
_methodName60 = "findPraticheCompleteNotGestite";
_methodParameterTypes61 = new String[] { "int", "int" };
_methodParameterTypes60 = new String[] { "int", "int" };
_methodName62 = "countPraticheCompleteNotGestite";
_methodName61 = "countPraticheCompleteNotGestite";
_methodParameterTypes62 = new String[] { };
_methodParameterTypes61 = new String[] { };
_methodName63 = "findByIntPraticaId_TipoIntegrazione_Completa";
_methodName62 = "findByIntPraticaId_TipoIntegrazione_Completa";
_methodParameterTypes63 = new String[] {
_methodParameterTypes62 = new String[] {
"long", "java.lang.String", "boolean"
};
_methodName64 = "countByIntPraticaId_TipoIntegrazione_Completa";
_methodName63 = "countByIntPraticaId_TipoIntegrazione_Completa";
_methodParameterTypes64 = new String[] {
_methodParameterTypes63 = new String[] {
"long", "java.lang.String", "boolean"
};
_methodName65 = "findPraticheCompletateNonVersionate";
_methodName64 = "findPraticheCompletateNonVersionate";
_methodParameterTypes65 = new String[] { "int", "int" };
_methodParameterTypes64 = new String[] { "int", "int" };
_methodName66 = "countPraticheCompletateNonversionate";
_methodName65 = "countPraticheCompletateNonversionate";
_methodParameterTypes66 = new String[] { };
_methodParameterTypes65 = new String[] { };
_methodName67 = "updateDettPraticaGestita";
_methodName66 = "updateDettPraticaGestita";
_methodParameterTypes67 = new String[] { "long", "boolean" };
_methodParameterTypes66 = new String[] { "long", "boolean" };
_methodName68 = "updateAsset";
_methodName67 = "updateAsset";
_methodParameterTypes68 = new String[] {
_methodParameterTypes67 = new String[] {
"it.tref.liferay.portos.bo.model.DettPratica", "long[][]",
"boolean"
};
_methodName69 = "updateStatus";
_methodName68 = "updateStatus";
_methodParameterTypes69 = new String[] { "long", "int" };
_methodParameterTypes68 = new String[] { "long", "int" };
_methodName70 = "updateSignal";
_methodName69 = "updateSignal";
_methodParameterTypes70 = new String[] { "long", "java.util.Date" };
_methodParameterTypes69 = new String[] { "long", "java.util.Date" };
_methodName71 = "countInvioSignal";
_methodName70 = "countInvioSignal";
_methodParameterTypes71 = new String[] { };
_methodParameterTypes70 = new String[] { };
_methodName72 = "getInvioSignal";
_methodName71 = "getInvioSignal";
_methodParameterTypes72 = new String[] { "long" };
_methodParameterTypes71 = new String[] { "long" };
_methodName73 = "getInviiSignal";
_methodName72 = "getInviiSignal";
_methodParameterTypes73 = new String[] { "int", "int" };
_methodParameterTypes72 = new String[] { "int", "int" };
_methodName74 = "dynamicQueryInvioSignal";
_methodName73 = "dynamicQueryInvioSignal";
_methodParameterTypes74 = new String[] { "java.lang.Long" };
_methodParameterTypes73 = new String[] { "java.lang.Long" };
_methodName75 = "findByPagamentoId";
_methodName74 = "findByPagamentoId";
_methodParameterTypes75 = new String[] { "long" };
_methodParameterTypes74 = new String[] { "long" };
_methodName76 = "updatePrincipale";
_methodName75 = "updatePrincipale";
_methodParameterTypes76 = new String[] {
_methodParameterTypes75 = new String[] {
"long", "java.lang.String", "java.lang.String"
};
_methodName77 = "sendToVersioning";
_methodName76 = "sendToVersioning";
_methodParameterTypes77 = new String[] { "long", "java.lang.String" };
_methodParameterTypes76 = new String[] { "long", "java.lang.String" };
_methodName78 = "getNumeroDiVersioni";
_methodName77 = "getNumeroDiVersioni";
_methodParameterTypes78 = new String[] { "java.lang.String" };
_methodParameterTypes77 = new String[] { "java.lang.String" };
_methodName79 = "getVersionNumber";
_methodName78 = "getVersionNumber";
_methodParameterTypes79 = new String[] { "java.lang.String", "int" };
_methodParameterTypes78 = new String[] { "java.lang.String", "int" };
_methodName80 = "callForChanges";
_methodName79 = "callForChanges";
_methodParameterTypes80 = new String[] { "java.lang.String" };
_methodParameterTypes79 = new String[] { "java.lang.String" };
_methodName81 = "fetchByOldDettPraticaId";
_methodParameterTypes81 = new String[] { "long" };
_methodName80 = "countVariateByIntPratica";
_methodName82 = "countVariateByIntPratica";
_methodParameterTypes80 = new String[] { "long" };
_methodParameterTypes82 = new String[] { "long" };
_methodName81 = "getFirstCompletedByIntPratica";
_methodName83 = "getFirstCompletedByIntPratica";
_methodParameterTypes83 = new String[] { "long" };
_methodParameterTypes81 = new String[] { "long" };
}
@Override
@ -1689,40 +1680,6 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
return (java.util.List<it.tref.liferay.portos.bo.model.DettPratica>)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.bo.model.DettPratica getByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37, new Object[] { oldDettPraticaId });
}
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.DettPratica)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.DettPratica> search(
com.liferay.portal.kernel.search.SearchContext searchContext)
@ -1731,8 +1688,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38,
returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37,
new Object[] { ClpSerializer.translateInput(searchContext) });
}
catch (Throwable t) {
@ -1765,8 +1722,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39,
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38,
new Object[] { ClpSerializer.translateInput(searchContext) });
}
catch (Throwable t) {
@ -1800,8 +1757,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes40,
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39,
new Object[] {
userId,
@ -1854,12 +1811,12 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
java.lang.String importoSpeseIstruttoria,
java.util.Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId,
long oldDettPraticaId, java.lang.String destinazione,
java.lang.String ag, java.lang.String descLongIntervento,
java.lang.String via, java.lang.String localita,
java.lang.String estremiCatastali, java.lang.String estremiPratCom,
long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico,
java.lang.String destinazione, java.lang.String ag,
java.lang.String descLongIntervento, java.lang.String via,
java.lang.String localita, java.lang.String estremiCatastali,
java.lang.String estremiPratCom, long variataDa, long varianteNumero,
boolean varianteSostanziale, boolean operaConforme,
boolean collaudoStatico,
java.lang.String codiceFiscaleDelegatoCommittente,
java.lang.String codiceFiscaleDelegatoFineLavori,
java.lang.String codiceFiscaleDelegatoCollaudo,
@ -1981,8 +1938,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41,
returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes40,
new Object[] {
userId,
@ -2018,8 +1975,6 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
soggettoSostituitoId,
oldDettPraticaId,
ClpSerializer.translateInput(destinazione),
ClpSerializer.translateInput(ag),
@ -2523,8 +2478,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41,
new Object[] {
userId,
@ -2872,8 +2827,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
new Object[] {
userId,
@ -2977,8 +2932,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
new Object[] {
dettPraticaId,
@ -3060,8 +3015,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
new Object[] { dettPraticaId, normEsenteSpese, normEsenteBollo });
}
catch (Throwable t) {
@ -3094,8 +3049,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
com.liferay.portal.kernel.exception.SystemException,
java.io.IOException {
try {
_invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46,
_invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
new Object[] {
pagamentoId,
@ -3136,8 +3091,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
com.liferay.portal.kernel.exception.SystemException,
java.io.IOException {
try {
_invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47,
_invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46,
new Object[] {
pagamentoId,
@ -3179,8 +3134,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48,
returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47,
new Object[] { ClpSerializer.translateInput(dettPratica) });
}
catch (Throwable t) {
@ -3207,8 +3162,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48,
new Object[] { dettPraticaId, stato });
}
catch (Throwable t) {
@ -3247,8 +3202,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50,
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
new Object[] { dettPraticaId, stato });
}
catch (Throwable t) {
@ -3301,8 +3256,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50,
new Object[] {
dettPraticaId,
@ -3387,8 +3342,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
new Object[] {
userId,
@ -3430,8 +3385,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
new Object[] {
dettPraticaId,
@ -3469,8 +3424,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
new Object[] {
companyId,
@ -3510,8 +3465,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55,
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
new Object[] {
companyId,
@ -3551,8 +3506,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56,
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55,
new Object[] { ClpSerializer.translateInput(protocollo) });
}
catch (Throwable t) {
@ -3585,8 +3540,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes57, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3614,8 +3569,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes58,
returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes57,
new Object[] { intPraticaId, start, end });
}
catch (Throwable t) {
@ -3644,8 +3599,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes59, new Object[] { start, end });
returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes58, new Object[] { start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3672,8 +3627,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes60, new Object[] { });
returnObj = _invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes59, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3701,8 +3656,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes61, new Object[] { start, end });
returnObj = _invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes60, new Object[] { start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3729,8 +3684,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes62, new Object[] { });
returnObj = _invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes61, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3758,8 +3713,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63,
returnObj = _invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes62,
new Object[] {
intPraticaId,
@ -3794,8 +3749,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64,
returnObj = _invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63,
new Object[] {
intPraticaId,
@ -3830,8 +3785,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65, new Object[] { start, end });
returnObj = _invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64, new Object[] { start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3858,8 +3813,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66, new Object[] { });
returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3887,8 +3842,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67,
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66,
new Object[] { dettPraticaId, gestita });
}
catch (Throwable t) {
@ -3917,8 +3872,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68,
_invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67,
new Object[] {
ClpSerializer.translateInput(dettPratica),
@ -3953,8 +3908,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes69, new Object[] { dettPraticaId, status });
_invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68, new Object[] { dettPraticaId, status });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3984,8 +3939,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70,
returnObj = _invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes69,
new Object[] {
dettPraticaId,
@ -4017,8 +3972,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes71, new Object[] { });
returnObj = _invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -4046,8 +4001,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes72, new Object[] { dettPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes71, new Object[] { dettPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -4075,8 +4030,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName73,
_methodParameterTypes73, new Object[] { start, end });
returnObj = _invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes72, new Object[] { start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -4104,8 +4059,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName74,
_methodParameterTypes74,
returnObj = _invokableLocalService.invokeMethod(_methodName73,
_methodParameterTypes73,
new Object[] { ClpSerializer.translateInput(dettPraticaId) });
}
catch (Throwable t) {
@ -4134,8 +4089,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName75,
_methodParameterTypes75, new Object[] { pagamentoId });
returnObj = _invokableLocalService.invokeMethod(_methodName74,
_methodParameterTypes74, new Object[] { pagamentoId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -4165,8 +4120,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName76,
_methodParameterTypes76,
returnObj = _invokableLocalService.invokeMethod(_methodName75,
_methodParameterTypes75,
new Object[] {
dettPraticaId,
@ -4202,8 +4157,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
public void sendToVersioning(long dettPraticaId, java.lang.String url)
throws java.lang.Exception {
try {
_invokableLocalService.invokeMethod(_methodName77,
_methodParameterTypes77,
_invokableLocalService.invokeMethod(_methodName76,
_methodParameterTypes76,
new Object[] { dettPraticaId, ClpSerializer.translateInput(url) });
}
catch (Throwable t) {
@ -4231,8 +4186,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName78,
_methodParameterTypes78,
returnObj = _invokableLocalService.invokeMethod(_methodName77,
_methodParameterTypes77,
new Object[] { ClpSerializer.translateInput(url) });
}
catch (Throwable t) {
@ -4270,8 +4225,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName79,
_methodParameterTypes79,
returnObj = _invokableLocalService.invokeMethod(_methodName78,
_methodParameterTypes78,
new Object[] { ClpSerializer.translateInput(url), version });
}
catch (Throwable t) {
@ -4310,8 +4265,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName80,
_methodParameterTypes80,
returnObj = _invokableLocalService.invokeMethod(_methodName79,
_methodParameterTypes79,
new Object[] { ClpSerializer.translateInput(url) });
}
catch (Throwable t) {
@ -4341,43 +4296,14 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
return (com.liferay.portal.kernel.json.JSONArray)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName81,
_methodParameterTypes81, new Object[] { oldDettPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.bo.model.DettPratica)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countVariateByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName82,
_methodParameterTypes82, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName80,
_methodParameterTypes80, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -4405,8 +4331,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName83,
_methodParameterTypes83, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName81,
_methodParameterTypes81, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -4590,8 +4516,4 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
private String[] _methodParameterTypes80;
private String _methodName81;
private String[] _methodParameterTypes81;
private String _methodName82;
private String[] _methodParameterTypes82;
private String _methodName83;
private String[] _methodParameterTypes83;
}

34
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java

@ -448,13 +448,6 @@ public class DettPraticaLocalServiceUtil {
dettPraticaId);
}
public static it.tref.liferay.portos.bo.model.DettPratica getByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().getByOldDettPraticaId(oldDettPraticaId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.DettPratica> search(
com.liferay.portal.kernel.search.SearchContext searchContext)
throws com.liferay.portal.kernel.exception.PortalException,
@ -493,12 +486,12 @@ public class DettPraticaLocalServiceUtil {
java.lang.String importoSpeseIstruttoria,
java.util.Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId,
long oldDettPraticaId, java.lang.String destinazione,
java.lang.String ag, java.lang.String descLongIntervento,
java.lang.String via, java.lang.String localita,
java.lang.String estremiCatastali, java.lang.String estremiPratCom,
long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico,
java.lang.String destinazione, java.lang.String ag,
java.lang.String descLongIntervento, java.lang.String via,
java.lang.String localita, java.lang.String estremiCatastali,
java.lang.String estremiPratCom, long variataDa, long varianteNumero,
boolean varianteSostanziale, boolean operaConforme,
boolean collaudoStatico,
java.lang.String codiceFiscaleDelegatoCommittente,
java.lang.String codiceFiscaleDelegatoFineLavori,
java.lang.String codiceFiscaleDelegatoCollaudo,
@ -622,11 +615,10 @@ public class DettPraticaLocalServiceUtil {
integrazione, protocollo, tipoIntegrazione, completa, gestita,
codicePagamentoOneri, causalePagamentoOneri, mezzoPagamentoOneri,
importoBolli, importoSpeseIstruttoria, dataEffettuazione,
statusTask, workflowForzato, soggettoSostituitoId,
oldDettPraticaId, destinazione, ag, descLongIntervento, via,
localita, estremiCatastali, estremiPratCom, variataDa,
varianteNumero, varianteSostanziale, operaConforme,
collaudoStatico, codiceFiscaleDelegatoCommittente,
statusTask, workflowForzato, soggettoSostituitoId, destinazione,
ag, descLongIntervento, via, localita, estremiCatastali,
estremiPratCom, variataDa, varianteNumero, varianteSostanziale,
operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente,
codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo,
codiceRuoloDelegato, lavoriInEconomiaCommittente,
inizioLavoriContestualeOpera, dataInizioLavoriOpera,
@ -1176,12 +1168,6 @@ public class DettPraticaLocalServiceUtil {
return getService().callForChanges(url);
}
public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchByOldDettPraticaId(oldDettPraticaId);
}
public static int countVariateByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countVariateByIntPratica(intPraticaId);

62
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java

@ -474,14 +474,6 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService,
dettPraticaId);
}
@Override
public it.tref.liferay.portos.bo.model.DettPratica getByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPraticaLocalService.getByOldDettPraticaId(oldDettPraticaId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.DettPratica> search(
com.liferay.portal.kernel.search.SearchContext searchContext)
@ -523,12 +515,12 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService,
java.lang.String importoSpeseIstruttoria,
java.util.Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId,
long oldDettPraticaId, java.lang.String destinazione,
java.lang.String ag, java.lang.String descLongIntervento,
java.lang.String via, java.lang.String localita,
java.lang.String estremiCatastali, java.lang.String estremiPratCom,
long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico,
java.lang.String destinazione, java.lang.String ag,
java.lang.String descLongIntervento, java.lang.String via,
java.lang.String localita, java.lang.String estremiCatastali,
java.lang.String estremiPratCom, long variataDa, long varianteNumero,
boolean varianteSostanziale, boolean operaConforme,
boolean collaudoStatico,
java.lang.String codiceFiscaleDelegatoCommittente,
java.lang.String codiceFiscaleDelegatoFineLavori,
java.lang.String codiceFiscaleDelegatoCollaudo,
@ -652,24 +644,23 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService,
tipoIntegrazione, completa, gestita, codicePagamentoOneri,
causalePagamentoOneri, mezzoPagamentoOneri, importoBolli,
importoSpeseIstruttoria, dataEffettuazione, statusTask,
workflowForzato, soggettoSostituitoId, oldDettPraticaId,
destinazione, ag, descLongIntervento, via, localita,
estremiCatastali, estremiPratCom, variataDa, varianteNumero,
varianteSostanziale, operaConforme, collaudoStatico,
codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori,
codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato,
lavoriInEconomiaCommittente, inizioLavoriContestualeOpera,
dataInizioLavoriOpera, dataInizioEsecuzioneOpera,
dataFineEsecuzioneOpera, metratura, lavoriPubblici,
pagamentoIdOneri, lavoriPubbliciPercentuale, numeroCivico,
dcParticelle, dcFoglio, dcAllegato, dePiani, deAltezza,
deInterrati, deSuperficie, deCostruzione, deRistrutturazione,
deUso, dePubblica, dePrivata, deUtilizzazione, dePosizioneEdificio,
deInfStradalePonte, deInfStradaleStrada, deInfStradaleAltro,
deInfIdraulicaLong, deInfIdraulicaTrasv, deInfIdraulicaAltro,
deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro,
deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc,
dccFondazioni, dccStruttureEleMuraturePietrame,
workflowForzato, soggettoSostituitoId, destinazione, ag,
descLongIntervento, via, localita, estremiCatastali,
estremiPratCom, variataDa, varianteNumero, varianteSostanziale,
operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente,
codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo,
codiceRuoloDelegato, lavoriInEconomiaCommittente,
inizioLavoriContestualeOpera, dataInizioLavoriOpera,
dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura,
lavoriPubblici, pagamentoIdOneri, lavoriPubbliciPercentuale,
numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani,
deAltezza, deInterrati, deSuperficie, deCostruzione,
deRistrutturazione, deUso, dePubblica, dePrivata, deUtilizzazione,
dePosizioneEdificio, deInfStradalePonte, deInfStradaleStrada,
deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv,
deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica,
deInfOperaAccAltro, deInfAltraInfrastruttura, deInfAltro,
deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame,
dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto,
dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio,
dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA,
@ -1247,13 +1238,6 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService,
return _dettPraticaLocalService.callForChanges(url);
}
@Override
public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _dettPraticaLocalService.fetchByOldDettPraticaId(oldDettPraticaId);
}
@Override
public int countVariateByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {

12
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaService.java

@ -124,12 +124,12 @@ public interface DettPraticaService extends BaseService, InvokableService {
java.lang.String importoSpeseIstruttoria,
java.util.Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId,
long oldDettPraticaId, java.lang.String destinazione,
java.lang.String ag, java.lang.String descLongIntervento,
java.lang.String via, java.lang.String localita,
java.lang.String estremiCatastali, java.lang.String estremiPratCom,
long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico,
java.lang.String destinazione, java.lang.String ag,
java.lang.String descLongIntervento, java.lang.String via,
java.lang.String localita, java.lang.String estremiCatastali,
java.lang.String estremiPratCom, long variataDa, long varianteNumero,
boolean varianteSostanziale, boolean operaConforme,
boolean collaudoStatico,
java.lang.String codiceFiscaleDelegatoCommittente,
java.lang.String codiceFiscaleDelegatoFineLavori,
java.lang.String codiceFiscaleDelegatoCollaudo,

57
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceClp.java

@ -84,30 +84,30 @@ public class DettPraticaServiceClp implements DettPraticaService {
"java.lang.String", "boolean", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.util.Date", "int", "boolean", "long",
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "long", "long",
"boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "boolean", "java.util.Date", "java.util.Date",
"java.util.Date", "java.lang.String", "boolean", "long", "int",
"java.lang.String", "long", "long", "boolean", "boolean",
"boolean", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"java.util.Date", "java.util.Date", "java.util.Date",
"java.lang.String", "boolean", "long", "int", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "java.lang.String", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
@ -115,21 +115,20 @@ public class DettPraticaServiceClp implements DettPraticaService {
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.util.Date",
"boolean", "int", "int", "boolean", "int", "boolean", "int",
"boolean", "java.lang.String", "java.lang.String",
"java.util.Date", "boolean", "int", "int", "boolean", "int",
"boolean", "int", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "java.lang.String", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"boolean", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "boolean", "java.lang.String",
"com.liferay.portal.service.ServiceContext", "boolean",
"boolean", "boolean"
};
@ -583,12 +582,12 @@ public class DettPraticaServiceClp implements DettPraticaService {
java.lang.String importoSpeseIstruttoria,
java.util.Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId,
long oldDettPraticaId, java.lang.String destinazione,
java.lang.String ag, java.lang.String descLongIntervento,
java.lang.String via, java.lang.String localita,
java.lang.String estremiCatastali, java.lang.String estremiPratCom,
long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico,
java.lang.String destinazione, java.lang.String ag,
java.lang.String descLongIntervento, java.lang.String via,
java.lang.String localita, java.lang.String estremiCatastali,
java.lang.String estremiPratCom, long variataDa, long varianteNumero,
boolean varianteSostanziale, boolean operaConforme,
boolean collaudoStatico,
java.lang.String codiceFiscaleDelegatoCommittente,
java.lang.String codiceFiscaleDelegatoFineLavori,
java.lang.String codiceFiscaleDelegatoCollaudo,
@ -748,8 +747,6 @@ public class DettPraticaServiceClp implements DettPraticaService {
soggettoSostituitoId,
oldDettPraticaId,
ClpSerializer.translateInput(destinazione),
ClpSerializer.translateInput(ag),

47
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceUtil.java

@ -144,12 +144,12 @@ public class DettPraticaServiceUtil {
java.lang.String importoSpeseIstruttoria,
java.util.Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId,
long oldDettPraticaId, java.lang.String destinazione,
java.lang.String ag, java.lang.String descLongIntervento,
java.lang.String via, java.lang.String localita,
java.lang.String estremiCatastali, java.lang.String estremiPratCom,
long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico,
java.lang.String destinazione, java.lang.String ag,
java.lang.String descLongIntervento, java.lang.String via,
java.lang.String localita, java.lang.String estremiCatastali,
java.lang.String estremiPratCom, long variataDa, long varianteNumero,
boolean varianteSostanziale, boolean operaConforme,
boolean collaudoStatico,
java.lang.String codiceFiscaleDelegatoCommittente,
java.lang.String codiceFiscaleDelegatoFineLavori,
java.lang.String codiceFiscaleDelegatoCollaudo,
@ -274,24 +274,23 @@ public class DettPraticaServiceUtil {
integrazione, protocollo, tipoIntegrazione, completa, gestita,
codicePagamento, causalePagamento, mezzoPagamento, importoBolli,
importoSpeseIstruttoria, dataEffettuazione, statusTask,
workflowForzato, soggettoSostituitoId, oldDettPraticaId,
destinazione, ag, descLongIntervento, via, localita,
estremiCatastali, estremiPratCom, variataDa, varianteNumero,
varianteSostanziale, operaConforme, collaudoStatico,
codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori,
codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato,
lavoriInEconomiaCommittente, inizioLavoriContestualeOpera,
dataInizioLavoriOpera, dataInizioEsecuzioneOpera,
dataFineEsecuzioneOpera, metratura, lavoriPubblici, pagamentoId,
lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio,
dcAllegato, dePiani, deAltezza, deInterrati, deSuperficie,
deCostruzione, deRistrutturazione, deUso, dePubblica, dePrivata,
deUtilizzazione, dePosizioneEdificio, deInfStradalePonte,
deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong,
deInfIdraulicaTrasv, deInfIdraulicaAltro, deInfOperaAccStradale,
deInfOperaAccIdraulica, deInfOperaAccAltro,
deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc,
dccFondazioni, dccStruttureEleMuraturePietrame,
workflowForzato, soggettoSostituitoId, destinazione, ag,
descLongIntervento, via, localita, estremiCatastali,
estremiPratCom, variataDa, varianteNumero, varianteSostanziale,
operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente,
codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo,
codiceRuoloDelegato, lavoriInEconomiaCommittente,
inizioLavoriContestualeOpera, dataInizioLavoriOpera,
dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura,
lavoriPubblici, pagamentoId, lavoriPubbliciPercentuale,
numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani,
deAltezza, deInterrati, deSuperficie, deCostruzione,
deRistrutturazione, deUso, dePubblica, dePrivata, deUtilizzazione,
dePosizioneEdificio, deInfStradalePonte, deInfStradaleStrada,
deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv,
deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica,
deInfOperaAccAltro, deInfAltraInfrastruttura, deInfAltro,
deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame,
dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto,
dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio,
dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA,

21
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceWrapper.java

@ -144,12 +144,12 @@ public class DettPraticaServiceWrapper implements DettPraticaService,
java.lang.String importoSpeseIstruttoria,
java.util.Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId,
long oldDettPraticaId, java.lang.String destinazione,
java.lang.String ag, java.lang.String descLongIntervento,
java.lang.String via, java.lang.String localita,
java.lang.String estremiCatastali, java.lang.String estremiPratCom,
long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico,
java.lang.String destinazione, java.lang.String ag,
java.lang.String descLongIntervento, java.lang.String via,
java.lang.String localita, java.lang.String estremiCatastali,
java.lang.String estremiPratCom, long variataDa, long varianteNumero,
boolean varianteSostanziale, boolean operaConforme,
boolean collaudoStatico,
java.lang.String codiceFiscaleDelegatoCommittente,
java.lang.String codiceFiscaleDelegatoFineLavori,
java.lang.String codiceFiscaleDelegatoCollaudo,
@ -273,11 +273,10 @@ public class DettPraticaServiceWrapper implements DettPraticaService,
intPraticaId, integrazione, protocollo, tipoIntegrazione, completa,
gestita, codicePagamento, causalePagamento, mezzoPagamento,
importoBolli, importoSpeseIstruttoria, dataEffettuazione,
statusTask, workflowForzato, soggettoSostituitoId,
oldDettPraticaId, destinazione, ag, descLongIntervento, via,
localita, estremiCatastali, estremiPratCom, variataDa,
varianteNumero, varianteSostanziale, operaConforme,
collaudoStatico, codiceFiscaleDelegatoCommittente,
statusTask, workflowForzato, soggettoSostituitoId, destinazione,
ag, descLongIntervento, via, localita, estremiCatastali,
estremiPratCom, variataDa, varianteNumero, varianteSostanziale,
operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente,
codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo,
codiceRuoloDelegato, lavoriInEconomiaCommittente,
inizioLavoriContestualeOpera, dataInizioLavoriOpera,

5
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java

@ -470,9 +470,4 @@ public interface FineLavoriLocalService extends BaseLocalService,
java.lang.String codiceFiscaleDelegatoCollaudo)
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 fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
}

35
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java

@ -295,10 +295,6 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
_methodName54 = "findIntPraticaByFineLavori";
_methodParameterTypes54 = new String[] { "java.lang.String" };
_methodName55 = "fetchByOldDettPraticaId";
_methodParameterTypes55 = new String[] { "long" };
}
@Override
@ -2148,35 +2144,6 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
return (java.util.List<java.lang.Long>)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55, new Object[] { oldDettPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.bo.model.FineLavori)ClpSerializer.translateOutput(returnObj);
}
private InvokableLocalService _invokableLocalService;
private String _methodName0;
private String[] _methodParameterTypes0;
@ -2286,6 +2253,4 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
private String[] _methodParameterTypes53;
private String _methodName54;
private String[] _methodParameterTypes54;
private String _methodName55;
private String[] _methodParameterTypes55;
}

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java

@ -585,12 +585,6 @@ public class FineLavoriLocalServiceUtil {
.findIntPraticaByFineLavori(codiceFiscaleDelegatoCollaudo);
}
public static it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchByOldDettPraticaId(oldDettPraticaId);
}
public static void clearService() {
_service = null;
}

7
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java

@ -631,13 +631,6 @@ public class FineLavoriLocalServiceWrapper implements FineLavoriLocalService,
return _fineLavoriLocalService.findIntPraticaByFineLavori(codiceFiscaleDelegatoCollaudo);
}
@Override
public it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _fineLavoriLocalService.fetchByOldDettPraticaId(oldDettPraticaId);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/

7
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java

@ -350,7 +350,7 @@ public interface IntPraticaLocalService extends BaseLocalService,
long territorioId, java.lang.String tipoProcedura,
java.util.Date dtSorteggio, java.lang.String statoPratica,
java.lang.String numeroProgetto, boolean validata, int esitoControllo,
java.util.Date dtPratica, long oldIntPraticaId,
java.util.Date dtPratica,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
@ -419,11 +419,6 @@ public interface IntPraticaLocalService extends BaseLocalService,
public int countByC_UserId(long companyId, long userId)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
public void updateStatus(long intPraticaId, int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;

403
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java

@ -151,7 +151,7 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
_methodParameterTypes26 = new String[] {
"long", "java.lang.String", "java.lang.String", "long",
"java.lang.String", "java.util.Date", "java.lang.String",
"java.lang.String", "boolean", "int", "java.util.Date", "long",
"java.lang.String", "boolean", "int", "java.util.Date",
"com.liferay.portal.service.ServiceContext"
};
@ -223,239 +223,235 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
_methodParameterTypes40 = new String[] { "long", "long" };
_methodName41 = "fetchByOldIntPraticaId";
_methodName41 = "updateStatus";
_methodParameterTypes41 = new String[] { "long" };
_methodParameterTypes41 = new String[] { "long", "int" };
_methodName42 = "updateStatus";
_methodName42 = "findByCompanyIdSoggettoProgetti";
_methodParameterTypes42 = new String[] { "long", "int" };
_methodParameterTypes42 = new String[] { "long", "long" };
_methodName43 = "findByCompanyIdSoggettoProgetti";
_methodName43 = "countByCompanyIdSoggettoProgetti";
_methodParameterTypes43 = new String[] { "long", "long" };
_methodName44 = "countByCompanyIdSoggettoProgetti";
_methodName44 = "findByCompanyIdSoggettoArchivio";
_methodParameterTypes44 = new String[] { "long", "long" };
_methodName45 = "findByCompanyIdSoggettoArchivio";
_methodName45 = "countByCompanyIdSoggettoArchivio";
_methodParameterTypes45 = new String[] { "long", "long" };
_methodName46 = "countByCompanyIdSoggettoArchivio";
_methodName46 = "findByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes46 = new String[] { "long", "long" };
_methodParameterTypes46 = new String[] { "long", "long", "int", "int" };
_methodName47 = "findByCompanyIdSoggettoAltriProgetti";
_methodName47 = "countByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes47 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes47 = new String[] { "long", "long" };
_methodName48 = "countByCompanyIdSoggettoAltriProgetti";
_methodName48 = "findByCanAddFineLavori";
_methodParameterTypes48 = new String[] { "long", "long" };
_methodName49 = "findByCanAddFineLavori";
_methodParameterTypes49 = new String[] {
_methodParameterTypes48 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName50 = "countByCanAddFineLavori";
_methodName49 = "countByCanAddFineLavori";
_methodParameterTypes50 = new String[] { "long", "java.lang.String" };
_methodParameterTypes49 = new String[] { "long", "java.lang.String" };
_methodName51 = "findByCanAddCollaudo";
_methodName50 = "findByCanAddCollaudo";
_methodParameterTypes51 = new String[] {
_methodParameterTypes50 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName52 = "countByCanAddCollaudo";
_methodName51 = "countByCanAddCollaudo";
_methodParameterTypes52 = new String[] { "long", "java.lang.String" };
_methodParameterTypes51 = new String[] { "long", "java.lang.String" };
_methodName53 = "search";
_methodName52 = "search";
_methodParameterTypes53 = new String[] { "java.util.List", "int", "int" };
_methodParameterTypes52 = new String[] { "java.util.List", "int", "int" };
_methodName54 = "countSearch";
_methodName53 = "countSearch";
_methodParameterTypes54 = new String[] { "java.util.List" };
_methodParameterTypes53 = new String[] { "java.util.List" };
_methodName55 = "searchWithIntPraticaId";
_methodName54 = "searchWithIntPraticaId";
_methodParameterTypes55 = new String[] {
_methodParameterTypes54 = new String[] {
"java.util.List", "long", "int", "int"
};
_methodName56 = "countSearchWithIntPraticaId";
_methodName55 = "countSearchWithIntPraticaId";
_methodParameterTypes56 = new String[] { "java.util.List", "long" };
_methodParameterTypes55 = new String[] { "java.util.List", "long" };
_methodName57 = "allegaFileAnnullamento";
_methodName56 = "allegaFileAnnullamento";
_methodParameterTypes57 = new String[] {
_methodParameterTypes56 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName58 = "generateFileAnnullamento";
_methodName57 = "generateFileAnnullamento";
_methodParameterTypes58 = new String[] {
_methodParameterTypes57 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName59 = "deleteFileAnnullamento";
_methodName58 = "deleteFileAnnullamento";
_methodParameterTypes59 = new String[] { "long" };
_methodParameterTypes58 = new String[] { "long" };
_methodName60 = "completeAnnullamento";
_methodName59 = "completeAnnullamento";
_methodParameterTypes60 = new String[] { "long" };
_methodParameterTypes59 = new String[] { "long" };
_methodName61 = "cambiaIstruttore";
_methodName60 = "cambiaIstruttore";
_methodParameterTypes61 = new String[] { "long", "long", "long" };
_methodParameterTypes60 = new String[] { "long", "long", "long" };
_methodName62 = "countCaricoLavoroCF";
_methodName61 = "countCaricoLavoroCF";
_methodParameterTypes62 = new String[] {
_methodParameterTypes61 = new String[] {
"long", "java.lang.String", "java.lang.Boolean",
"java.lang.Long[][]"
};
_methodName63 = "countCaricoLavoroIstruttore";
_methodName62 = "countCaricoLavoroIstruttore";
_methodParameterTypes63 = new String[] {
_methodParameterTypes62 = new String[] {
"long", "java.lang.String", "java.lang.Boolean"
};
_methodName64 = "generateReportPratica";
_methodName63 = "generateReportPratica";
_methodParameterTypes64 = new String[] {
_methodParameterTypes63 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName65 = "updateModifiedDate";
_methodName64 = "updateModifiedDate";
_methodParameterTypes65 = new String[] { "long", "java.util.Date" };
_methodParameterTypes64 = new String[] { "long", "java.util.Date" };
_methodName66 = "countAutorizzazione";
_methodName65 = "countAutorizzazione";
_methodParameterTypes66 = new String[] {
_methodParameterTypes65 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName67 = "countSanatorie";
_methodName66 = "countSanatorie";
_methodParameterTypes67 = new String[] {
_methodParameterTypes66 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName68 = "countOpereMinoreImportanza";
_methodName67 = "countOpereMinoreImportanza";
_methodParameterTypes68 = new String[] {
_methodParameterTypes67 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName69 = "countDeposito";
_methodName68 = "countDeposito";
_methodParameterTypes69 = new String[] {
_methodParameterTypes68 = new String[] {
"java.util.Date", "java.util.Date", "long", "boolean"
};
_methodName70 = "countVidimate";
_methodName69 = "countVidimate";
_methodParameterTypes70 = new String[] {
_methodParameterTypes69 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName71 = "countControllo";
_methodName70 = "countControllo";
_methodParameterTypes71 = new String[] {
_methodParameterTypes70 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName72 = "importaVecchiFilesFascicolo";
_methodName71 = "importaVecchiFilesFascicolo";
_methodParameterTypes72 = new String[] { "long", "int", "int" };
_methodParameterTypes71 = new String[] { "long", "int", "int" };
_methodName73 = "findIntPraticaNotExist";
_methodName72 = "findIntPraticaNotExist";
_methodParameterTypes73 = new String[] { };
_methodParameterTypes72 = new String[] { };
_methodName74 = "riparaWorkflow";
_methodName73 = "riparaWorkflow";
_methodParameterTypes74 = new String[] { };
_methodParameterTypes73 = new String[] { };
_methodName75 = "reIndexFascicolo";
_methodName74 = "reIndexFascicolo";
_methodParameterTypes75 = new String[] {
_methodParameterTypes74 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName76 = "reIndexFasciolo";
_methodName75 = "reIndexFasciolo";
_methodParameterTypes76 = new String[] { "java.lang.String", "long" };
_methodParameterTypes75 = new String[] { "java.lang.String", "long" };
_methodName77 = "reIndexFasciolo";
_methodName76 = "reIndexFasciolo";
_methodParameterTypes77 = new String[] { "long", "long" };
_methodParameterTypes76 = new String[] { "long", "long" };
_methodName78 = "trovaDoppioni";
_methodName77 = "trovaDoppioni";
_methodParameterTypes78 = new String[] { };
_methodParameterTypes77 = new String[] { };
_methodName79 = "findByNumeroProgetto";
_methodName78 = "findByNumeroProgetto";
_methodParameterTypes79 = new String[] { "java.lang.String" };
_methodParameterTypes78 = new String[] { "java.lang.String" };
_methodName80 = "findByTerritorioId";
_methodName79 = "findByTerritorioId";
_methodParameterTypes80 = new String[] { "long" };
_methodParameterTypes79 = new String[] { "long" };
_methodName81 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodName80 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodParameterTypes81 = new String[] {
_methodParameterTypes80 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodName82 = "reportTempisticheIstruttorieCalcolaDataSorteggio";
_methodName81 = "reportTempisticheIstruttorieCalcolaDataSorteggio";
_methodParameterTypes82 = new String[] {
_methodParameterTypes81 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName83 = "reportPraticheVidimate";
_methodName82 = "reportPraticheVidimate";
_methodParameterTypes83 = new String[] {
_methodParameterTypes82 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodName84 = "reportPraticheVidimateCalcolaDataSorteggio";
_methodName83 = "reportPraticheVidimateCalcolaDataSorteggio";
_methodParameterTypes84 = new String[] {
_methodParameterTypes83 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName85 = "countIngressiAutorizzazioni";
_methodName84 = "countIngressiAutorizzazioni";
_methodParameterTypes85 = new String[] {
_methodParameterTypes84 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName86 = "countIngressiDepositi";
_methodName85 = "countIngressiDepositi";
_methodParameterTypes86 = new String[] {
_methodParameterTypes85 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName87 = "countIngressiCO";
_methodName86 = "countIngressiCO";
_methodParameterTypes87 = new String[] {
_methodParameterTypes86 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
}
@ -1286,7 +1282,7 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
long territorioId, java.lang.String tipoProcedura,
java.util.Date dtSorteggio, java.lang.String statoPratica,
java.lang.String numeroProgetto, boolean validata, int esitoControllo,
java.util.Date dtPratica, long oldIntPraticaId,
java.util.Date dtPratica,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
@ -1318,8 +1314,6 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
ClpSerializer.translateInput(dtPratica),
oldIntPraticaId,
ClpSerializer.translateInput(serviceContext)
});
}
@ -1832,42 +1826,13 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
return ((Integer)returnObj).intValue();
}
@Override
public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41, new Object[] { oldIntPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.bo.model.IntPratica)ClpSerializer.translateOutput(returnObj);
}
@Override
public void updateStatus(long intPraticaId, int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42, new Object[] { intPraticaId, status });
_invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41, new Object[] { intPraticaId, status });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1898,8 +1863,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -1932,8 +1897,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -1967,8 +1932,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -2001,8 +1966,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46,
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -2036,8 +2001,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47,
returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46,
new Object[] { companyId, soggettoId, start, end });
}
catch (Throwable t) {
@ -2071,8 +2036,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48,
returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -2106,8 +2071,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48,
new Object[] {
companyId,
@ -2149,8 +2114,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50,
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
new Object[] {
companyId,
@ -2188,8 +2153,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50,
new Object[] {
companyId,
@ -2231,8 +2196,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
new Object[] {
companyId,
@ -2269,8 +2234,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
new Object[] {
ClpSerializer.translateInput(groupIds),
@ -2304,8 +2269,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
new Object[] { ClpSerializer.translateInput(groupIds) });
}
catch (Throwable t) {
@ -2334,8 +2299,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55,
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
new Object[] {
ClpSerializer.translateInput(groupIds),
@ -2372,8 +2337,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56,
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55,
new Object[] {
ClpSerializer.translateInput(groupIds),
@ -2410,8 +2375,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes57,
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56,
new Object[] {
intPraticaId,
@ -2461,8 +2426,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes58,
returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes57,
new Object[] {
intPraticaId,
@ -2501,8 +2466,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes59,
_invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes58,
new Object[] { docPraticaAnnullamentoId });
}
catch (Throwable t) {
@ -2531,8 +2496,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes60, new Object[] { intPraticaId });
_invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes59, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2561,8 +2526,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes61,
_invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes60,
new Object[] { intPraticaId, controlloPraticaId, istruttoreId });
}
catch (Throwable t) {
@ -2595,8 +2560,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes62,
returnObj = _invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes61,
new Object[] {
ispettoreId,
@ -2637,8 +2602,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63,
returnObj = _invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes62,
new Object[] {
ispettoreId,
@ -2674,8 +2639,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64,
returnObj = _invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63,
new Object[] {
ClpSerializer.translateInput(intPratica),
@ -2713,8 +2678,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65,
returnObj = _invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64,
new Object[] {
intPraticaId,
@ -2751,8 +2716,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66,
returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2787,8 +2752,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67,
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2823,8 +2788,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68,
returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2859,8 +2824,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes69,
returnObj = _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2897,8 +2862,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70,
returnObj = _invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes69,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2938,8 +2903,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes71,
returnObj = _invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2978,8 +2943,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes72,
returnObj = _invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes71,
new Object[] { companyId, start, end });
}
catch (Throwable t) {
@ -3007,8 +2972,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName73,
_methodParameterTypes73, new Object[] { });
returnObj = _invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes72, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3035,8 +3000,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName74,
_methodParameterTypes74, new Object[] { });
returnObj = _invokableLocalService.invokeMethod(_methodName73,
_methodParameterTypes73, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3061,8 +3026,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFascicolo(
it.tref.liferay.portos.bo.model.IntPratica intPratica, long companyId) {
try {
_invokableLocalService.invokeMethod(_methodName75,
_methodParameterTypes75,
_invokableLocalService.invokeMethod(_methodName74,
_methodParameterTypes74,
new Object[] { ClpSerializer.translateInput(intPratica), companyId });
}
catch (Throwable t) {
@ -3082,8 +3047,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId)
throws com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName76,
_methodParameterTypes76,
_invokableLocalService.invokeMethod(_methodName75,
_methodParameterTypes75,
new Object[] {
ClpSerializer.translateInput(numeroProgetto),
@ -3112,8 +3077,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName77,
_methodParameterTypes77,
_invokableLocalService.invokeMethod(_methodName76,
_methodParameterTypes76,
new Object[] { intPraticaId, companyId });
}
catch (Throwable t) {
@ -3143,8 +3108,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName78,
_methodParameterTypes78, new Object[] { });
returnObj = _invokableLocalService.invokeMethod(_methodName77,
_methodParameterTypes77, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3172,8 +3137,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName79,
_methodParameterTypes79,
returnObj = _invokableLocalService.invokeMethod(_methodName78,
_methodParameterTypes78,
new Object[] { ClpSerializer.translateInput(numeroProgetto) });
}
catch (Throwable t) {
@ -3202,8 +3167,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName80,
_methodParameterTypes80, new Object[] { territorioId });
returnObj = _invokableLocalService.invokeMethod(_methodName79,
_methodParameterTypes79, new Object[] { territorioId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -3232,8 +3197,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName81,
_methodParameterTypes81,
returnObj = _invokableLocalService.invokeMethod(_methodName80,
_methodParameterTypes80,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -3270,8 +3235,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName82,
_methodParameterTypes82,
returnObj = _invokableLocalService.invokeMethod(_methodName81,
_methodParameterTypes81,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -3307,8 +3272,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName83,
_methodParameterTypes83,
returnObj = _invokableLocalService.invokeMethod(_methodName82,
_methodParameterTypes82,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -3345,8 +3310,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName84,
_methodParameterTypes84,
returnObj = _invokableLocalService.invokeMethod(_methodName83,
_methodParameterTypes83,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -3381,8 +3346,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName85,
_methodParameterTypes85,
returnObj = _invokableLocalService.invokeMethod(_methodName84,
_methodParameterTypes84,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -3417,8 +3382,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName86,
_methodParameterTypes86,
returnObj = _invokableLocalService.invokeMethod(_methodName85,
_methodParameterTypes85,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -3453,8 +3418,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName87,
_methodParameterTypes87,
returnObj = _invokableLocalService.invokeMethod(_methodName86,
_methodParameterTypes86,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -3655,6 +3620,4 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
private String[] _methodParameterTypes85;
private String _methodName86;
private String[] _methodParameterTypes86;
private String _methodName87;
private String[] _methodParameterTypes87;
}

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java

@ -382,14 +382,14 @@ public class IntPraticaLocalServiceUtil {
long territorioId, java.lang.String tipoProcedura,
java.util.Date dtSorteggio, java.lang.String statoPratica,
java.lang.String numeroProgetto, boolean validata, int esitoControllo,
java.util.Date dtPratica, long oldIntPraticaId,
java.util.Date dtPratica,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService()
.addIntPratica(userId, userName, tipoPratica, territorioId,
tipoProcedura, dtSorteggio, statoPratica, numeroProgetto, validata,
esitoControllo, dtPratica, oldIntPraticaId, serviceContext);
esitoControllo, dtPratica, serviceContext);
}
public static void clearDb() throws java.lang.Exception {
@ -491,12 +491,6 @@ public class IntPraticaLocalServiceUtil {
return getService().countByC_UserId(companyId, userId);
}
public static it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchByOldIntPraticaId(oldIntPraticaId);
}
public static void updateStatus(long intPraticaId, int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {

11
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java

@ -407,14 +407,14 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
long territorioId, java.lang.String tipoProcedura,
java.util.Date dtSorteggio, java.lang.String statoPratica,
java.lang.String numeroProgetto, boolean validata, int esitoControllo,
java.util.Date dtPratica, long oldIntPraticaId,
java.util.Date dtPratica,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.addIntPratica(userId, userName,
tipoPratica, territorioId, tipoProcedura, dtSorteggio,
statoPratica, numeroProgetto, validata, esitoControllo, dtPratica,
oldIntPraticaId, serviceContext);
serviceContext);
}
@Override
@ -531,13 +531,6 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
return _intPraticaLocalService.countByC_UserId(companyId, userId);
}
@Override
public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.fetchByOldIntPraticaId(oldIntPraticaId);
}
@Override
public void updateStatus(long intPraticaId, int status)
throws com.liferay.portal.kernel.exception.PortalException,

58
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistence.java

@ -1255,64 +1255,6 @@ public interface CollaudoPersistence extends BasePersistence<Collaudo> {
public int countByIntPraticaId_Parziale(long intPraticaId, boolean parziale)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the collaudo where oldDettPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchCollaudoException} if it could not be found.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching collaudo
* @throws it.tref.liferay.portos.bo.NoSuchCollaudoException if a matching collaudo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Collaudo findByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchCollaudoException;
/**
* Returns the collaudo where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching collaudo, or <code>null</code> if a matching collaudo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the collaudo where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching collaudo, or <code>null</code> if a matching collaudo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId(
long oldDettPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the collaudo where oldDettPraticaId = &#63; from the database.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the collaudo that was removed
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.Collaudo removeByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchCollaudoException;
/**
* Returns the number of collaudos where oldDettPraticaId = &#63;.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the number of matching collaudos
* @throws SystemException if a system exception occurred
*/
public int countByOldDettPraticaId(long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Caches the collaudo in the entity cache if it is enabled.
*

69
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoUtil.java

@ -1592,75 +1592,6 @@ public class CollaudoUtil {
.countByIntPraticaId_Parziale(intPraticaId, parziale);
}
/**
* Returns the collaudo where oldDettPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchCollaudoException} if it could not be found.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching collaudo
* @throws it.tref.liferay.portos.bo.NoSuchCollaudoException if a matching collaudo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Collaudo findByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchCollaudoException {
return getPersistence().findByOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the collaudo where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching collaudo, or <code>null</code> if a matching collaudo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the collaudo where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching collaudo, or <code>null</code> if a matching collaudo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId(
long oldDettPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByOldDettPraticaId(oldDettPraticaId, retrieveFromCache);
}
/**
* Removes the collaudo where oldDettPraticaId = &#63; from the database.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the collaudo that was removed
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.Collaudo removeByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchCollaudoException {
return getPersistence().removeByOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the number of collaudos where oldDettPraticaId = &#63;.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the number of matching collaudos
* @throws SystemException if a system exception occurred
*/
public static int countByOldDettPraticaId(long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByOldDettPraticaId(oldDettPraticaId);
}
/**
* Caches the collaudo in the entity cache if it is enabled.
*

116
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistence.java

@ -652,64 +652,6 @@ public interface DettPraticaPersistence extends BasePersistence<DettPratica> {
java.lang.String protocollo)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching dett pratica
* @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.DettPratica findByOldDettPratica(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchDettPraticaException;
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching dett pratica, or <code>null</code> if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPratica(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching dett pratica, or <code>null</code> if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPratica(
long oldDettPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the dett pratica where oldDettPraticaId = &#63; from the database.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the dett pratica that was removed
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.DettPratica removeByOldDettPratica(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchDettPraticaException;
/**
* Returns the number of dett praticas where oldDettPraticaId = &#63;.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the number of matching dett praticas
* @throws SystemException if a system exception occurred
*/
public int countByOldDettPratica(long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the dett praticas where intPraticaId = &#63; and tipoIntegrazione = &#63; and completa = &#63;.
*
@ -1025,64 +967,6 @@ public interface DettPraticaPersistence extends BasePersistence<DettPratica> {
java.lang.String tipoIntegrazione)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching dett pratica
* @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.DettPratica findByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchDettPraticaException;
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching dett pratica, or <code>null</code> if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching dett pratica, or <code>null</code> if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId(
long oldDettPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the dett pratica where oldDettPraticaId = &#63; from the database.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the dett pratica that was removed
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.DettPratica removeByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchDettPraticaException;
/**
* Returns the number of dett praticas where oldDettPraticaId = &#63;.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the number of matching dett praticas
* @throws SystemException if a system exception occurred
*/
public int countByOldDettPraticaId(long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Caches the dett pratica in the entity cache if it is enabled.
*

138
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaUtil.java

@ -838,75 +838,6 @@ public class DettPraticaUtil {
.countByC_G_Protocollo(companyId, groupId, protocollo);
}
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching dett pratica
* @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.DettPratica findByOldDettPratica(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchDettPraticaException {
return getPersistence().findByOldDettPratica(oldDettPraticaId);
}
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching dett pratica, or <code>null</code> if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPratica(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByOldDettPratica(oldDettPraticaId);
}
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching dett pratica, or <code>null</code> if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPratica(
long oldDettPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByOldDettPratica(oldDettPraticaId, retrieveFromCache);
}
/**
* Removes the dett pratica where oldDettPraticaId = &#63; from the database.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the dett pratica that was removed
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.DettPratica removeByOldDettPratica(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchDettPraticaException {
return getPersistence().removeByOldDettPratica(oldDettPraticaId);
}
/**
* Returns the number of dett praticas where oldDettPraticaId = &#63;.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the number of matching dett praticas
* @throws SystemException if a system exception occurred
*/
public static int countByOldDettPratica(long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByOldDettPratica(oldDettPraticaId);
}
/**
* Returns all the dett praticas where intPraticaId = &#63; and tipoIntegrazione = &#63; and completa = &#63;.
*
@ -1302,75 +1233,6 @@ public class DettPraticaUtil {
tipoIntegrazione);
}
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching dett pratica
* @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.DettPratica findByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchDettPraticaException {
return getPersistence().findByOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching dett pratica, or <code>null</code> if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the dett pratica where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching dett pratica, or <code>null</code> if a matching dett pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId(
long oldDettPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByOldDettPraticaId(oldDettPraticaId, retrieveFromCache);
}
/**
* Removes the dett pratica where oldDettPraticaId = &#63; from the database.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the dett pratica that was removed
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.DettPratica removeByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchDettPraticaException {
return getPersistence().removeByOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the number of dett praticas where oldDettPraticaId = &#63;.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the number of matching dett praticas
* @throws SystemException if a system exception occurred
*/
public static int countByOldDettPraticaId(long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByOldDettPraticaId(oldDettPraticaId);
}
/**
* Caches the dett pratica in the entity cache if it is enabled.
*

58
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistence.java

@ -1417,64 +1417,6 @@ public interface FineLavoriPersistence extends BasePersistence<FineLavori> {
boolean parziale, boolean completata)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the fine lavori where oldDettPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchFineLavoriException} if it could not be found.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching fine lavori
* @throws it.tref.liferay.portos.bo.NoSuchFineLavoriException if a matching fine lavori could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.FineLavori findByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchFineLavoriException;
/**
* Returns the fine lavori where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching fine lavori, or <code>null</code> if a matching fine lavori could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the fine lavori where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching fine lavori, or <code>null</code> if a matching fine lavori could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId(
long oldDettPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the fine lavori where oldDettPraticaId = &#63; from the database.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the fine lavori that was removed
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.FineLavori removeByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchFineLavoriException;
/**
* Returns the number of fine lavoris where oldDettPraticaId = &#63;.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the number of matching fine lavoris
* @throws SystemException if a system exception occurred
*/
public int countByOldDettPraticaId(long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Caches the fine lavori in the entity cache if it is enabled.
*

69
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriUtil.java

@ -1795,75 +1795,6 @@ public class FineLavoriUtil {
parziale, completata);
}
/**
* Returns the fine lavori where oldDettPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchFineLavoriException} if it could not be found.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching fine lavori
* @throws it.tref.liferay.portos.bo.NoSuchFineLavoriException if a matching fine lavori could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.FineLavori findByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchFineLavoriException {
return getPersistence().findByOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the fine lavori where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the matching fine lavori, or <code>null</code> if a matching fine lavori could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the fine lavori where oldDettPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldDettPraticaId the old dett pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching fine lavori, or <code>null</code> if a matching fine lavori could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId(
long oldDettPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByOldDettPraticaId(oldDettPraticaId, retrieveFromCache);
}
/**
* Removes the fine lavori where oldDettPraticaId = &#63; from the database.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the fine lavori that was removed
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.FineLavori removeByOldDettPraticaId(
long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchFineLavoriException {
return getPersistence().removeByOldDettPraticaId(oldDettPraticaId);
}
/**
* Returns the number of fine lavoris where oldDettPraticaId = &#63;.
*
* @param oldDettPraticaId the old dett pratica ID
* @return the number of matching fine lavoris
* @throws SystemException if a system exception occurred
*/
public static int countByOldDettPraticaId(long oldDettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByOldDettPraticaId(oldDettPraticaId);
}
/**
* Caches the fine lavori in the entity cache if it is enabled.
*

58
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistence.java

@ -898,64 +898,6 @@ public interface IntPraticaPersistence extends BasePersistence<IntPratica> {
public int filterCountByC_Group(long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the int pratica where oldIntPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchIntPraticaException} if it could not be found.
*
* @param oldIntPraticaId the old int pratica ID
* @return the matching int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.IntPratica findByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException;
/**
* Returns the int pratica where oldIntPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldIntPraticaId the old int pratica ID
* @return the matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the int pratica where oldIntPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldIntPraticaId the old int pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId(
long oldIntPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the int pratica where oldIntPraticaId = &#63; from the database.
*
* @param oldIntPraticaId the old int pratica ID
* @return the int pratica that was removed
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.IntPratica removeByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException;
/**
* Returns the number of int praticas where oldIntPraticaId = &#63;.
*
* @param oldIntPraticaId the old int pratica ID
* @return the number of matching int praticas
* @throws SystemException if a system exception occurred
*/
public int countByOldIntPraticaId(long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the int praticas where status = &#63; and dtPratica = &#63;.
*

69
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaUtil.java

@ -1128,75 +1128,6 @@ public class IntPraticaUtil {
return getPersistence().filterCountByC_Group(companyId, groupId);
}
/**
* Returns the int pratica where oldIntPraticaId = &#63; or throws a {@link it.tref.liferay.portos.bo.NoSuchIntPraticaException} if it could not be found.
*
* @param oldIntPraticaId the old int pratica ID
* @return the matching int pratica
* @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.IntPratica findByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException {
return getPersistence().findByOldIntPraticaId(oldIntPraticaId);
}
/**
* Returns the int pratica where oldIntPraticaId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param oldIntPraticaId the old int pratica ID
* @return the matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByOldIntPraticaId(oldIntPraticaId);
}
/**
* Returns the int pratica where oldIntPraticaId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param oldIntPraticaId the old int pratica ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching int pratica, or <code>null</code> if a matching int pratica could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId(
long oldIntPraticaId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByOldIntPraticaId(oldIntPraticaId, retrieveFromCache);
}
/**
* Removes the int pratica where oldIntPraticaId = &#63; from the database.
*
* @param oldIntPraticaId the old int pratica ID
* @return the int pratica that was removed
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.IntPratica removeByOldIntPraticaId(
long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchIntPraticaException {
return getPersistence().removeByOldIntPraticaId(oldIntPraticaId);
}
/**
* Returns the number of int praticas where oldIntPraticaId = &#63;.
*
* @param oldIntPraticaId the old int pratica ID
* @return the number of matching int praticas
* @throws SystemException if a system exception occurred
*/
public static int countByOldIntPraticaId(long oldIntPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByOldIntPraticaId(oldIntPraticaId);
}
/**
* Returns all the int praticas where status = &#63; and dtPratica = &#63;.
*

96
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PraticaUtil.java

@ -20,83 +20,6 @@ import com.liferay.portal.kernel.util.Validator;
public class PraticaUtil {
// TODO forse non serve più
// public static String generateTitle(long dettPraticaId) throws PortalException, SystemException
// {
// return generateTitle(dettPraticaId, Locale.ITALIAN);
// }
//
// public static String generateTitle(long dettPraticaId, Locale locale, String tipoPratica)
// throws PortalException,
// SystemException {
//
// DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId);
// IntPratica intPratica =
// IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
//
// StringBuffer titolo = new StringBuffer(StringPool.BLANK);
// if (dettPratica.getIntegrazione() != 0L) {
// String tipoIntegrazione = dettPratica.getTipoIntegrazione();
// if (tipoIntegrazione.equals(TipoIntegrazioneConstants.RICHIESTA_INTEGRAZIONE)) {
// titolo.append("Richiesta Integrazione numero " + dettPratica.getIntegrazione());
// titolo.append(" relativa al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di "
// + tipoPratica);
// } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.ANNULLA)) {
// titolo.append("Annullamento");
// titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di "
// + tipoPratica);
// } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.VARIAZIONE_SOGGETTO)) {
// titolo.append("Variazione Soggetto");
// titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di "
// + tipoPratica);
// } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.FINE_LAVORO)) {
// titolo.append("Fine Lavoro");
// titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di "
// + tipoPratica);
// } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.FINE_LAVORO_PARZIALE)) {
// titolo.append("Fine Lavoro Parziale");
// titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di "
// + tipoPratica);
// } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.COLLAUDO)) {
// titolo.append("Collaudo");
// titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di "
// + tipoPratica);
// } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.COLLAUDO_PARZIALE)) {
// titolo.append("Collaudo Parziale");
// titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di "
// + tipoPratica);
// } else {
// titolo.append("Richiesta Integrazione numero " + dettPratica.getIntegrazione());
// titolo.append(" relativa al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di "
// + tipoPratica);
// }
// } else {
// if (intPratica.isVariante()) {
// titolo.append("Variante numero " + intPratica.getVarianteNumero() +
// " relativa al protocollo n. "
// + dettPratica.getProtocollo() + " alla pratica di " + tipoPratica);
// } else {
// titolo.append("Pratica di " + tipoPratica + " relativa al protocollo n. " +
// dettPratica.getProtocollo());
// }
// }
//
// if (Validator.isNotNull(intPratica.getNumeroProgetto())) {
// titolo.append(" al progetto numero " + intPratica.getNumeroProgetto());
// }
//
// return titolo.toString();
// }
//
// public static String generateContent(long dettPraticaId) throws PortalException,
// SystemException {
// DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId);
// IntPratica intPratica =
// IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
// return intPratica.getDescLongIntervento();
// }
public static String getFolderName(long dettPraticaId) {
return StringUtils.leftPad(String.valueOf(dettPraticaId), 10, '0') + StringPool.UNDERLINE + dettPraticaId;
@ -122,23 +45,11 @@ public class PraticaUtil {
* allMethod.put(StatoPraticaConstants.AUTORIZZAZIONE_NEGATA, new String[]
* {StatoPraticaConstants.AUTORIZZAZIONE , StatoPraticaConstants . INTEGRAZIONE });
*/
allMethod.put(StatoPraticaConstants.CONFORME, new String[] {StatoPraticaConstants.NON_CONFORME/*
* ,
* StatoPraticaConstants
* .
* INTEGRAZIONE
*/});
allMethod.put(StatoPraticaConstants.NON_CONFORME, new String[] {StatoPraticaConstants.CONFORME/*
* ,
* StatoPraticaConstants
* .
* INTEGRAZIONE
*/});
allMethod.put(StatoPraticaConstants.CONFORME, new String[] {StatoPraticaConstants.NON_CONFORME});
allMethod.put(StatoPraticaConstants.NON_CONFORME, new String[] {StatoPraticaConstants.CONFORME});
allMethod.put(StatoPraticaConstants.VIDIMATA, new String[] {StatoPraticaConstants.CONFORME,
StatoPraticaConstants.NON_CONFORME/*
* , StatoPraticaConstants.INTEGRAZIONE
*/});
StatoPraticaConstants.NON_CONFORME});
allMethod.put(StatoPraticaConstants.INTEGRAZIONE, new String[] {StatoPraticaConstants.CONFORME,
StatoPraticaConstants.NON_CONFORME});
@ -175,7 +86,6 @@ public class PraticaUtil {
hiddens.add("workflowForzato");
hiddens.add("soggettoSostituitoId");
hiddens.add("dtInvioSignal");
hiddens.add("oldDettPraticaId");
hiddens.add("tipoIntegrazione");
hiddens.add("varianteSostanziale");
hiddens.add("varianteNumero");

108
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java

@ -441,12 +441,6 @@ public class ValidazionePraticaUtil {
public static boolean isSectionCompleted(String section, long dettPraticaId) throws PortalException,
SystemException {
// DettPratica dettPratica =
// DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId);
// if(dettPratica == null)
// return true; // Se non ce ne sono editabili vuole dire che è
// completa
switch (section) {
case SezioniUtil.SEZIONE_DETTAGLI_PRINCIPALI:
return isDettagliPrincipaliCompleta(dettPraticaId);
@ -467,12 +461,6 @@ public class ValidazionePraticaUtil {
public static List<String> notCompletedSection(String section, long dettPraticaId)
throws PortalException, SystemException {
// DettPratica dettPratica =
// DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId);
// if(dettPratica == null)
// return new ArrayList<String>(); // Se non ce ne sono editabili vuole
// dire che è completa
switch (section) {
case SezioniUtil.SEZIONE_DETTAGLI_PRINCIPALI:
return notCompletedDettagliPrincipali(dettPraticaId);
@ -545,27 +533,9 @@ public class ValidazionePraticaUtil {
|| dettPratica.getTcAdeguamentoSismico() || dettPratica
.getTcRiparazioneInterventoLocale()
)
// && Validator.isNotNull(dettPratica.getDestinazione())
// && Validator.isNotNull(dettPratica.getLocalita())
&& Validator.isNotNull(dettPratica.getVia())
// && (
//
// Validator.isNotNull(dettPratica.getLocalizzazioneGeografica()) &&
// !("|||".equalsIgnoreCase(dettPratica
// .getLocalizzazioneGeografica()))
//
// )
// && Validator.isNotNull(dettPratica.getDcFoglio())
// && Validator.isNotNull(dettPratica.getDcAllegato())
// && (Validator.isNotNull(dettPratica.getDcParticelle()) &&
// !"|||".equalsIgnoreCase(dettPratica.getDcParticelle()))
;
// Se è importata da Portos 1 nessun controllo su localizzazione
// geografica
boolean coordinateGeografiche = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true
: Validator.isNotNull(dettPratica.getLocalizzazioneGeografica())
) && Validator.isNotNull(dettPratica.getVia());
boolean coordinateGeografiche = Validator.isNotNull(dettPratica.getLocalizzazioneGeografica())
&& !("|||".equalsIgnoreCase(dettPratica.getLocalizzazioneGeografica()));
return controllo && coordinateGeografiche;
@ -639,12 +609,6 @@ public class ValidazionePraticaUtil {
// notCompleted.add("dp-particelle");
// }
// Se è importata da Portos 1 nessun controllo su localizzazione
// geografica
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
return notCompleted;
}
if (Validator.isNull(dettPratica.getLocalizzazioneGeografica())
|| dettPratica.getLocalizzazioneGeografica().startsWith("||")) {
notCompleted.add("Localizzazione geografica mancante");
@ -1021,7 +985,6 @@ public class ValidazionePraticaUtil {
SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
List<String> notCompleted = new ArrayList<>();
@ -1164,7 +1127,6 @@ public class ValidazionePraticaUtil {
SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
IntPratica intPratica = IntPraticaServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
// Se check NormArt3com3 sez. geologica non obbligatoria
if (dettPratica.getNormArt3com3()) {
@ -1172,10 +1134,6 @@ public class ValidazionePraticaUtil {
}
boolean formGeologo = false;
// Se da Portos 1 non valido i dati
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
formGeologo = true;
} else {
formGeologo = Validator.isNotNull(dettPratica.getGeoDtRelazione())
&& Validator.isNotNull(dettPratica.getGeoClasseIndagine())
&& Validator.isNotNull(dettPratica.getGeoOperaRilevante())
@ -1197,7 +1155,6 @@ public class ValidazionePraticaUtil {
&& Validator.isNotNull(dettPratica.getGeoPresenzaPrescrizioni())
&& Validator.isNotNull(dettPratica.getGeoEvidenzeGeologiche())
&& Validator.isNotNull(dettPratica.getGeoEvidenzeGeomorfiche());
}
List<Delega> delegheGeologo = DelegaLocalServiceUtil.findByDettPratica_Tipologia_InEsito(
dettPraticaId, DelegheUtil.TIPO_GEOLOGO, new String[] { DelegheUtil.STATO_ESEGUITA },
@ -1210,8 +1167,7 @@ public class ValidazionePraticaUtil {
List<DocPratica> a14Docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia(
dettPratica.getIntPraticaId(), DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A14,
QueryUtil.ALL_POS, QueryUtil.ALL_POS);
boolean a14 = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true
: (!a14Docs.isEmpty() || !delegheGeologo.isEmpty());
boolean a14 = !a14Docs.isEmpty() || !delegheGeologo.isEmpty();
if (!a14) {
for (DocPratica doc : a14Docs) {
@ -1288,7 +1244,7 @@ public class ValidazionePraticaUtil {
List<DocPratica> a06Docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia(
dettPratica.getIntPraticaId(), DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A06,
QueryUtil.ALL_POS, QueryUtil.ALL_POS);
boolean a06 = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true : !a06Docs.isEmpty();
boolean a06 = !a06Docs.isEmpty();
if (!a06Docs.isEmpty()) {
for (DocPratica doc : a06Docs) {
@ -1347,7 +1303,7 @@ public class ValidazionePraticaUtil {
List<DocPratica> a16Docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologie(
intPraticaId, tipologiaAllegati.toArray(new String[0]), QueryUtil.ALL_POS,
QueryUtil.ALL_POS);
boolean a16 = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true : !a16Docs.isEmpty();
boolean a16 = !a16Docs.isEmpty();
if (!a16Docs.isEmpty()) {
for (DocPratica doc : a16Docs) {
@ -1384,7 +1340,6 @@ public class ValidazionePraticaUtil {
SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
IntPratica intPratica = IntPraticaServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
List<String> notCompleted = new ArrayList<>();
// Se check NormArt3com3 sez. geologica non obbligatoria
@ -1392,9 +1347,7 @@ public class ValidazionePraticaUtil {
return Collections.emptyList();
}
if (Validator.isNull(intPratica.getOldIntPraticaId())) {
notCompleted.addAll(notCompletedDatiSezionGeologica(dettPraticaId));
}
if (!dettPratica.getNormArt3com3()) {
long intPraticaId = dettPratica.getIntPraticaId();
@ -1418,8 +1371,7 @@ public class ValidazionePraticaUtil {
dettPraticaId, DelegheUtil.TIPO_GEOLOGO, new String[] { DelegheUtil.STATO_ESEGUITA },
QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
if (a14.isEmpty() && delegheGeologo.isEmpty()
&& Validator.isNull(intPratica.getOldIntPraticaId())) {
if (a14.isEmpty() && delegheGeologo.isEmpty()) {
notCompleted.add("A14 non presente");
} else {
for (DocPratica doc : a14) {
@ -1442,7 +1394,7 @@ public class ValidazionePraticaUtil {
}
}
if (a05.isEmpty() && Validator.isNull(intPratica.getOldIntPraticaId())) {
if (a05.isEmpty()) {
// if(!dettPratica.isLavoriPubblici()){
notCompleted.add("A05 non presente");
// }
@ -1486,7 +1438,7 @@ public class ValidazionePraticaUtil {
}
}
if (a06.isEmpty() && Validator.isNull(intPratica.getOldIntPraticaId())) {
if (a06.isEmpty()) {
notCompleted.add("A06 non presente");
} else {
for (DocPratica doc : a06) {
@ -1505,7 +1457,7 @@ public class ValidazionePraticaUtil {
}
}
if (a15.isEmpty() && Validator.isNull(intPratica.getOldIntPraticaId())) {
if (a15.isEmpty()) {
// SECONDO EMAIL DELLA PASOTTI DEL 26 Maggio questo documento
// non è obbligatorio
// notCompleted.add("A15 non presente");
@ -1526,7 +1478,7 @@ public class ValidazionePraticaUtil {
}
}
if (a16.isEmpty() && Validator.isNull(intPratica.getOldIntPraticaId())) {
if (a16.isEmpty()) {
notCompleted.add("Indagini geologiche non presenti");
} else {
@ -1711,9 +1663,6 @@ public class ValidazionePraticaUtil {
List<String> tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatoriDomanda(intPratica
.getTipoProcedura());
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1());
}
// ASD
List<String> appTipologiaSoggetti = TipoSoggettoUtil.getAllSubjects();
@ -1743,10 +1692,6 @@ public class ValidazionePraticaUtil {
boolean contieneDocumenti = false;
for (String codiceDoc : tipologiaAllegati) {
if (DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1().contains(codiceDoc)) {
continue;
}
if (isDocPraticaRequired(dettPratica, codiceDoc)) {
List<DocPratica> docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia(
intPraticaId, codiceDoc, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
@ -1826,11 +1771,6 @@ public class ValidazionePraticaUtil {
}
// Se da Portos 1 non faccio i controlli successivi
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
return true;
}
// Ogni progettista e direttore dei lavori deve avere apposto almeno una
// firma sulla totalità degli allegati
if (contieneDocumenti) {
@ -1864,15 +1804,11 @@ public class ValidazionePraticaUtil {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
long intPraticaId = dettPratica.getIntPraticaId();
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
String tipoProcedura = intPratica.getTipoProcedura();
List<String> notCompleted = new ArrayList<>();
List<String> tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatoriDomanda(intPratica
.getTipoProcedura());
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1());
}
List<String> tipologiaSoggettiApp = TipoSoggettoUtil.getAllSubjects();
List<String> tipologiaSoggetti = new ArrayList<String>();
@ -1889,9 +1825,6 @@ public class ValidazionePraticaUtil {
List<String> firmeTotali = new ArrayList<>();
for (String codiceDoc : tipologiaAllegati) {
if (DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1().contains(codiceDoc)) {
continue;
}
if (isDocPraticaRequired(dettPratica, codiceDoc)) {
List<DocPratica> docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia(
intPraticaId, codiceDoc, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
@ -1989,11 +1922,6 @@ public class ValidazionePraticaUtil {
}
}
// Se da Portos 1 non faccio i controlli successivi
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
return notCompleted;
}
// Ogni progettista e direttore dei lavori deve avere apposto almeno una
// firma sulla totalità
// degli allegati
@ -2047,10 +1975,6 @@ public class ValidazionePraticaUtil {
switch (codiceDoc) {
case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A00:
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
return false;
}
// ADT BUG ID = 5
if (isRiparazioneLocale(dettPratica)) {
return false;
@ -2059,15 +1983,10 @@ public class ValidazionePraticaUtil {
case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A05:
case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A06:
case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A07:
// case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A14:
// case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A15:
// case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A16: //non so che
// doc è
return !dettPratica.getNormArt3com3();
case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A15:
// nell'ultima version A15 non è più obbligtorio, ma se c'è deve
// essere firmato da GEOLOGO E
// DIRETTORE dei LAVORI
// nell'ultima version A15 non è più obbligtorio, ma se c'è deve
// essere firmato da GEOLOGO E DIRETTORE dei LAVORI
return false;
case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A09:
return !dettPratica.getNormArt3com4();
@ -2195,7 +2114,6 @@ public class ValidazionePraticaUtil {
private static boolean isA17Required(DettPratica dettPratica) throws SystemException {
long praticaId = dettPratica.getDettPraticaId();
List<Soggetto> ditte = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto(
dettPratica.getDettPraticaId(), TipoSoggettoUtil.DITTA);
List<Soggetto> committenti = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto(

9
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties

@ -28,7 +28,6 @@ IX_35025CCD=portos_bo_Avviso.ControlloPraticaId_tipoDocumento
IX_35025CCD=portos_bo_Avviso.ControlloPraticaIds_tipoDocumento
IX_13C9EEB4=portos_bo_Avviso.IntPratica
IX_13C9EEB4=portos_bo_Avviso.IntPraticaId
IX_B1C0C700=portos_bo_Avviso.IntPraticaId_Inviato
IX_ABE20D5C=portos_bo_Avviso.IntPraticaId_tipoDocumento
IX_ABE20D5C=portos_bo_Avviso.IntPraticaIds_tipoDocumento
IX_B1C0C700=portos_bo_Avviso.IntPratica_Inviato
@ -44,7 +43,6 @@ IX_F1DE015B=portos_bo_Collaudo.IntPraticaId
IX_DBB744B8=portos_bo_Collaudo.IntPraticaId_CodiceFiscale
IX_C5A53931=portos_bo_Collaudo.IntPraticaId_Completata
IX_28168019=portos_bo_Collaudo.IntPraticaId_Parziale
IX_729BECA2=portos_bo_Collaudo.OldDettPraticaId
IX_9BEECB8=portos_bo_Collaudo.Protocollo
IX_785A57DF=portos_bo_Collaudo.UUID_G
IX_D4A5BD2B=portos_bo_Collaudo.Uuid
@ -100,8 +98,6 @@ IX_49B6CCD0=portos_bo_DettPratica.C_G_Protocollo
IX_20C9FEF1=portos_bo_DettPratica.IntPraticaId
IX_1965DA50=portos_bo_DettPratica.IntPraticaId_TipoIntegrazione
IX_E9890939=portos_bo_DettPratica.IntPraticaId_TipoIntegrazione_Completa
IX_29832F38=portos_bo_DettPratica.OldDettPratica
IX_29832F38=portos_bo_DettPratica.OldDettPraticaId
IX_C59957CE=portos_bo_DettPratica.Protocollo
IX_9C3D47F5=portos_bo_DettPratica.UUID_G
IX_4EE3C55=portos_bo_DettPratica.Uuid
@ -137,7 +133,6 @@ IX_EB5AE4E4=portos_bo_FineLavori.IntPraticaId_CodiceFiscale
IX_F683FC85=portos_bo_FineLavori.IntPraticaId_Completata
IX_82B6086D=portos_bo_FineLavori.IntPraticaId_Parziale
IX_2CE13543=portos_bo_FineLavori.IntPraticaId_Parziale_Completata
IX_FC4D43F6=portos_bo_FineLavori.OldDettPraticaId
IX_ABC9530C=portos_bo_FineLavori.Protocollo
IX_A7617433=portos_bo_FineLavori.UUID_G
IX_1DE1B257=portos_bo_FineLavori.Uuid
@ -153,7 +148,6 @@ IX_A0E465CE=portos_bo_IUV.UUID_G
IX_1D6A765C=portos_bo_IUV.Uuid
IX_BFE13C4C=portos_bo_IUV.Uuid_C
IX_8ACE890F=portos_bo_InfoFascicolo.DettPratica
IX_41FDB69F=portos_bo_InfoFascicolo.IntPratica
IX_3F61CC23=portos_bo_InfoFascicolo.UUID_G
IX_3FD1AC67=portos_bo_InfoFascicolo.Uuid
@ -161,7 +155,6 @@ IX_B49E6161=portos_bo_InfoFascicolo.Uuid_C
IX_9929E083=portos_bo_IntPratica.C_Group
IX_E75F8D41=portos_bo_IntPratica.C_UserId
IX_5690AE94=portos_bo_IntPratica.OldIntPraticaId
IX_779B836B=portos_bo_IntPratica.P
IX_4736A755=portos_bo_IntPratica.TerritorioId
IX_DB56E0F7=portos_bo_IntPratica.UUID_G
@ -214,11 +207,9 @@ IX_B54B3A90=portos_bo_Soggetto.Uuid
IX_EB38F98=portos_bo_Soggetto.Uuid_C
IX_9ED63274=portos_bo_Soggetto.oldSoggettoId
IX_9B8A8E5B=portos_bo_Sorteggio.Anno_Mese
IX_E29C9013=portos_bo_Sorteggio.Anno_Mese_Settimana
IX_C446DA4F=portos_bo_Sorteggio.C_DettPratica
IX_237B57DD=portos_bo_Sorteggio.C_GroupId
IX_9A169FAF=portos_bo_Sorteggio.GroupId_Anno_Mese
IX_E6D6223F=portos_bo_Sorteggio.GroupId_Anno_Mese_Settimana
IX_1946734D=portos_bo_Sorteggio.IntPraticaId
IX_B4103770=portos_bo_Sorteggio.OldSorteggioId

8
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql

@ -40,7 +40,6 @@ create index IX_F1DE015B on portos_bo_Collaudo (intPraticaId);
create index IX_DBB744B8 on portos_bo_Collaudo (intPraticaId, codiceFiscaleDelegato);
create index IX_C5A53931 on portos_bo_Collaudo (intPraticaId, completata);
create index IX_28168019 on portos_bo_Collaudo (intPraticaId, parziale);
create index IX_729BECA2 on portos_bo_Collaudo (oldDettPraticaId);
create index IX_9BEECB8 on portos_bo_Collaudo (protocollo);
create index IX_D4A5BD2B on portos_bo_Collaudo (uuid_);
create index IX_91A2EE1D on portos_bo_Collaudo (uuid_, companyId);
@ -95,7 +94,6 @@ create index IX_49B6CCD0 on portos_bo_DettPratica (companyId, groupId, protocoll
create index IX_20C9FEF1 on portos_bo_DettPratica (intPraticaId);
create index IX_1965DA50 on portos_bo_DettPratica (intPraticaId, tipoIntegrazione);
create index IX_E9890939 on portos_bo_DettPratica (intPraticaId, tipoIntegrazione, completa);
create index IX_29832F38 on portos_bo_DettPratica (oldDettPraticaId);
create index IX_C59957CE on portos_bo_DettPratica (protocollo);
create index IX_4EE3C55 on portos_bo_DettPratica (uuid_);
create index IX_488A30B3 on portos_bo_DettPratica (uuid_, companyId);
@ -131,7 +129,6 @@ create index IX_EB5AE4E4 on portos_bo_FineLavori (intPraticaId, codiceFiscaleDel
create index IX_F683FC85 on portos_bo_FineLavori (intPraticaId, completata);
create index IX_82B6086D on portos_bo_FineLavori (intPraticaId, parziale);
create index IX_2CE13543 on portos_bo_FineLavori (intPraticaId, parziale, completata);
create index IX_FC4D43F6 on portos_bo_FineLavori (oldDettPraticaId);
create index IX_ABC9530C on portos_bo_FineLavori (protocollo);
create index IX_1DE1B257 on portos_bo_FineLavori (uuid_);
create index IX_1B544571 on portos_bo_FineLavori (uuid_, companyId);
@ -147,7 +144,6 @@ create index IX_1D6A765C on portos_bo_IUV (uuid_);
create index IX_BFE13C4C on portos_bo_IUV (uuid_, companyId);
create unique index IX_A0E465CE on portos_bo_IUV (uuid_, groupId);
create index IX_8ACE890F on portos_bo_InfoFascicolo (dettPraticaId);
create index IX_41FDB69F on portos_bo_InfoFascicolo (intPraticaId);
create index IX_3FD1AC67 on portos_bo_InfoFascicolo (uuid_);
create index IX_B49E6161 on portos_bo_InfoFascicolo (uuid_, companyId);
@ -155,7 +151,6 @@ create unique index IX_3F61CC23 on portos_bo_InfoFascicolo (uuid_, groupId);
create index IX_9929E083 on portos_bo_IntPratica (companyId, groupId);
create index IX_E75F8D41 on portos_bo_IntPratica (companyId, userId);
create index IX_5690AE94 on portos_bo_IntPratica (oldIntPraticaId);
create index IX_779B836B on portos_bo_IntPratica (status, dtPratica);
create index IX_4736A755 on portos_bo_IntPratica (territorioId);
create index IX_B06E1913 on portos_bo_IntPratica (uuid_);
@ -169,7 +164,6 @@ create index IX_3BCF688E on portos_bo_Pagamento (mezzo, utilizzata);
create index IX_434F524C on portos_bo_Pagamento (mezzo, utilizzata, createDate);
create index IX_BE4330DB on portos_bo_Pagamento (mezzo, utilizzata, emailPending, createDate);
create index IX_B598AAE2 on portos_bo_Pagamento (oldPagamentoId);
create index IX_74B9236F on portos_bo_Pagamento (utilizzata);
create index IX_8815F580 on portos_bo_Pagamento (uuid_);
create index IX_C25B9EA8 on portos_bo_Pagamento (uuid_, companyId);
create unique index IX_D00BAF2A on portos_bo_Pagamento (uuid_, groupId);
@ -209,11 +203,9 @@ create index IX_B54B3A90 on portos_bo_Soggetto (uuid_);
create index IX_EB38F98 on portos_bo_Soggetto (uuid_, companyId);
create unique index IX_BE8B1C1A on portos_bo_Soggetto (uuid_, groupId);
create index IX_9B8A8E5B on portos_bo_Sorteggio (anno, mese);
create index IX_E29C9013 on portos_bo_Sorteggio (anno, mese, settimana);
create index IX_C446DA4F on portos_bo_Sorteggio (companyId, dettPraticaId);
create index IX_237B57DD on portos_bo_Sorteggio (companyId, groupId);
create index IX_9A169FAF on portos_bo_Sorteggio (groupId, anno, mese);
create index IX_E6D6223F on portos_bo_Sorteggio (groupId, anno, mese, settimana);
create index IX_1946734D on portos_bo_Sorteggio (intPraticaId);
create index IX_B4103770 on portos_bo_Sorteggio (oldSorteggioId);

8
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql

@ -107,8 +107,7 @@ create table portos_bo_Collaudo (
causalePagamento VARCHAR(75) null,
mezzoPagamento VARCHAR(75) null,
normEsenteBollo BOOLEAN,
importoBolli VARCHAR(75) null,
oldDettPraticaId LONG
importoBolli VARCHAR(75) null
);
create table portos_bo_Comune (
@ -230,7 +229,6 @@ create table portos_bo_DettPratica (
workflowForzato BOOLEAN,
soggettoSostituitoId LONG,
dtInvioSignal DATE null,
oldDettPraticaId LONG,
destinazione VARCHAR(10) null,
ag VARCHAR(10) null,
descLongIntervento STRING null,
@ -507,8 +505,7 @@ create table portos_bo_FineLavori (
codicePagamento VARCHAR(75) null,
causalePagamento VARCHAR(75) null,
mezzoPagamento VARCHAR(75) null,
importoBolli VARCHAR(75) null,
oldDettPraticaId LONG
importoBolli VARCHAR(75) null
);
create table portos_bo_HistoryWorkflowAction (
@ -576,7 +573,6 @@ create table portos_bo_IntPratica (
statusDate DATE null,
esitoControllo INTEGER,
dtPratica DATE null,
oldIntPraticaId LONG,
sospesa BOOLEAN,
dtSospensione DATE null,
codiceFiscaleDelegatoFineLavori VARCHAR(75) null,

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml

@ -147,7 +147,6 @@
<property name="mezzoPagamento" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="normEsenteBollo" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="importoBolli" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="oldDettPraticaId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
</class>
<class name="it.tref.liferay.portos.bo.model.impl.ComuneImpl" table="portos_bo_Comune">
<cache usage="read-write" />
@ -280,7 +279,6 @@
<property name="workflowForzato" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="soggettoSostituitoId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="dtInvioSignal" type="org.hibernate.type.TimestampType" />
<property name="oldDettPraticaId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="destinazione" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="ag" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="descLongIntervento" type="com.liferay.portal.dao.orm.hibernate.StringType" />
@ -564,7 +562,6 @@
<property name="causalePagamento" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="mezzoPagamento" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="importoBolli" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="oldDettPraticaId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
</class>
<class name="it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionImpl" table="portos_bo_HistoryWorkflowAction">
<cache usage="read-write" />
@ -624,7 +621,6 @@
<property name="statusDate" type="org.hibernate.type.TimestampType" />
<property name="esitoControllo" type="com.liferay.portal.dao.orm.hibernate.IntegerType" />
<property name="dtPratica" type="org.hibernate.type.TimestampType" />
<property name="oldIntPraticaId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="sospesa" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="dtSospensione" type="org.hibernate.type.TimestampType" />
<property name="codiceFiscaleDelegatoFineLavori" type="com.liferay.portal.dao.orm.hibernate.StringType" />

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml

@ -124,7 +124,6 @@
<field name="mezzoPagamento" type="String" />
<field name="normEsenteBollo" type="boolean" />
<field name="importoBolli" type="String" />
<field name="oldDettPraticaId" type="long" />
</model>
<model name="it.tref.liferay.portos.bo.model.Comune">
<field name="uuid" type="String" />
@ -256,7 +255,6 @@
<field name="workflowForzato" type="boolean" />
<field name="soggettoSostituitoId" type="long" />
<field name="dtInvioSignal" type="Date" />
<field name="oldDettPraticaId" type="long" />
<field name="destinazione" type="String">
<hint name="max-length">10</hint>
</field>
@ -609,7 +607,6 @@
<field name="causalePagamento" type="String" />
<field name="mezzoPagamento" type="String" />
<field name="importoBolli" type="String" />
<field name="oldDettPraticaId" type="long" />
</model>
<model name="it.tref.liferay.portos.bo.model.HistoryWorkflowAction">
<field name="historyWorkflowActionId" type="long" />
@ -664,7 +661,6 @@
<field name="statusDate" type="Date" />
<field name="esitoControllo" type="int" />
<field name="dtPratica" type="Date" />
<field name="oldIntPraticaId" type="long" />
<field name="sospesa" type="boolean" />
<field name="dtSospensione" type="Date" />
<field name="codiceFiscaleDelegatoFineLavori" type="String" />

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml

@ -179,7 +179,6 @@
<basic name="mezzoPagamento" />
<basic name="normEsenteBollo" />
<basic name="importoBolli" />
<basic name="oldDettPraticaId" />
<transient name="modelAttributes" />
<transient name="primaryKey" />
<transient name="primaryKeyObj" />
@ -382,7 +381,6 @@
<basic name="dtInvioSignal">
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="oldDettPraticaId" />
<basic name="destinazione" />
<basic name="ag" />
<basic name="descLongIntervento" />
@ -710,7 +708,6 @@
<basic name="causalePagamento" />
<basic name="mezzoPagamento" />
<basic name="importoBolli" />
<basic name="oldDettPraticaId" />
<transient name="modelAttributes" />
<transient name="primaryKey" />
<transient name="primaryKeyObj" />
@ -803,7 +800,6 @@
<basic name="dtPratica">
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="oldIntPraticaId" />
<basic name="sospesa" />
<basic name="dtSospensione">
<temporal>TIMESTAMP</temporal>

145
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/startup/DatabaseUpdateAction.java

@ -1,5 +1,14 @@
package it.mwg.sismica.bo.startup;
import it.tref.liferay.portos.bo.model.impl.AsseverazioneImpl;
import it.tref.liferay.portos.bo.model.impl.CollaudoImpl;
import it.tref.liferay.portos.bo.model.impl.DelegaImpl;
import it.tref.liferay.portos.bo.model.impl.DettPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.FineLavoriImpl;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.SorteggioImpl;
import it.tref.liferay.portos.bo.model.impl.TerritorioImpl;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
@ -10,91 +19,125 @@ import com.liferay.portal.kernel.events.ActionException;
import com.liferay.portal.kernel.events.SimpleAction;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.util.Validator;
public class DatabaseUpdateAction extends SimpleAction {
private static final Log _log = LogFactoryUtil.getLog(DatabaseUpdateAction.class.getName());
private Connection connection;
private static Connection connection = null;
private static Statement s = null;
@Override
public void run(String[] ids) throws ActionException {
try {
connection = DataAccess.getUpgradeOptimizedConnection();
Statement s = connection.createStatement();
s = connection.createStatement();
if (!hasColumn("portos_bo_intpratica", "tipoprocedura")) {
_log.info("Aggiornamento a v2 di portos_bo_intpratica");
s.executeUpdate("ALTER TABLE portos_bo_intpratica ADD COLUMN tipoprocedura VARCHAR(75) NULL");
if (!hasColumn(IntPraticaImpl.TABLE_NAME, "tipoProcedura")) {
_log.info("Aggiornamento a v2 di " + IntPraticaImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + IntPraticaImpl.TABLE_NAME
+ " ADD COLUMN tipoProcedura VARCHAR(75) NULL");
}
if (hasColumn(IntPraticaImpl.TABLE_NAME, "oldIntPraticaId")) {
_log.info("Aggiornamento a v3 di " + IntPraticaImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + IntPraticaImpl.TABLE_NAME + " DROP COLUMN oldIntPraticaId");
}
if (!hasColumn("portos_bo_dettpratica", "georischiogeomorfologicopai")) {
String[] columns = new String[] { "geoclasseindagine", "geopericolositageologica",
"geopericolositageomorfica", "geopericolositasismica", "geofattibilitasismica",
"geopericolositaidraulica", "geofattibilitaidraulica", "geofattibilitageologica" };
if (!hasColumn(DettPraticaImpl.TABLE_NAME, "geoRischioGeomorfologicoPai")) {
String[] columns = new String[] { "geoClasseIndagine", "geoPericolositaGeologica",
"geoPericolositaGeomorfica", "geoPericolositaSismica", "geoFattibilitaSismica",
"geoPericolositaIdraulica", "geoFattibilitaIdraulica", "geoFattibilitaGeologica" };
for (String column : columns) {
int righe = s.executeUpdate("UPDATE portos_bo_dettpratica SET " + column + "='NA' "
+ "WHERE " + column + "='0'");
int righe = s.executeUpdate("UPDATE " + DettPraticaImpl.TABLE_NAME + " SET " + column
+ "='NA' " + "WHERE " + column + "='0'");
if (righe > 0) {
_log.info("Aggiornate " + righe + " righe in portos_bo_dettpratica, colonna "
+ column);
_log.info("Aggiornate " + righe + " righe in " + DettPraticaImpl.TABLE_NAME
+ ", colonna " + column);
}
}
_log.info("Aggiornamento a v2 di portos_bo_dettpratica");
s.executeUpdate("ALTER TABLE portos_bo_dettpratica "
+ "ADD COLUMN georischiogeomorfologicopai VARCHAR(75) NULL,"
_log.info("Aggiornamento a v2 di " + DettPraticaImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + DettPraticaImpl.TABLE_NAME + " "
+ "ADD COLUMN geoRischioGeomorfologicoPai VARCHAR(75) NULL,"
+ "ADD COLUMN geopericolositaidraulicapai VARCHAR(75) NULL,"
+ "ADD COLUMN georischioidraulicopai VARCHAR(75) NULL");
}
if (!hasColumn("portos_bo_dettpratica", "pagmiglioramentosismicosicilia")) {
_log.info("Aggiornamento a v3 di portos_bo_dettpratica");
s.executeUpdate("ALTER TABLE portos_bo_dettpratica "
+ "ADD COLUMN pagmiglioramentosismicosicilia BOOL,"
+ "ADD COLUMN pagoperanonquantificabile BOOL,"
+ "ADD COLUMN pagcalcolatoadeguamentosismico VARCHAR(75) NULL,"
+ "ADD COLUMN pagcalcolatomiglioramentosismico VARCHAR(75) NULL,"
+ "ADD COLUMN pagcalcolatoriparazioneinterventolocale VARCHAR(75) NULL,"
+ "ADD COLUMN pagcalcolatooperanonquantificabile VARCHAR(75) NULL,"
+ "ADD COLUMN pageffettivoadeguamentosismico VARCHAR(75) NULL,"
+ "ADD COLUMN pageffettivomiglioramentosismico VARCHAR(75) NULL,"
+ "ADD COLUMN pageffettivoriparazioneinterventolocale VARCHAR(75) NULL,"
+ "ADD COLUMN pageffettivooperanonquantificabile VARCHAR(75) NULL,"
+ "ADD COLUMN pagnoteutente TEXT NULL");
}
if (!hasColumn("portos_bo_dettpratica", "tcnuovacostruzionecomplessa")) {
_log.info("Aggiornamento a v4 di portos_bo_dettpratica");
int righe = s
.executeUpdate("UPDATE portos_bo_dettpratica SET destinazione='2' WHERE destinazione='1'");
if (!hasColumn(DettPraticaImpl.TABLE_NAME, "pagMiglioramentoSismicoSicilia")) {
_log.info("Aggiornamento a v3 di " + DettPraticaImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + DettPraticaImpl.TABLE_NAME + " "
+ "ADD COLUMN pagMiglioramentoSismicoSicilia BOOL,"
+ "ADD COLUMN pagOperaNonQuantificabile BOOL,"
+ "ADD COLUMN pagCalcolatoAdeguamentoSismico VARCHAR(75) NULL,"
+ "ADD COLUMN pagCalcolatoMiglioramentoSismico VARCHAR(75) NULL,"
+ "ADD COLUMN pagCalcolatoRiparazioneInterventoLocale VARCHAR(75) NULL,"
+ "ADD COLUMN pagCalcolatoOperaNonQuantificabile VARCHAR(75) NULL,"
+ "ADD COLUMN pagEffettivoAdeguamentoSismico VARCHAR(75) NULL,"
+ "ADD COLUMN pagEffettivoMiglioramentoSismico VARCHAR(75) NULL,"
+ "ADD COLUMN pagEffettivoRiparazioneInterventoLocale VARCHAR(75) NULL,"
+ "ADD COLUMN pagEffettivoOperaNonQuantificabile VARCHAR(75) NULL,"
+ "ADD COLUMN pagNoteUtente TEXT NULL");
}
if (!hasColumn(DettPraticaImpl.TABLE_NAME, "tcNuovaCostruzioneComplessa")) {
_log.info("Aggiornamento a v4 di " + DettPraticaImpl.TABLE_NAME);
int righe = s.executeUpdate("UPDATE " + DettPraticaImpl.TABLE_NAME
+ " SET destinazione='2' WHERE destinazione='1'");
if (righe > 0) {
_log.info("Aggiornate " + righe + " righe in portos_bo_dettpratica, colonna destinazione");
_log.info("Aggiornate " + righe + " righe in " + DettPraticaImpl.TABLE_NAME
+ ", colonna destinazione");
}
s.executeUpdate("ALTER TABLE " + DettPraticaImpl.TABLE_NAME
+ " ADD COLUMN tcNuovaCostruzioneComplessa BOOL NULL");
}
if (hasColumn(DettPraticaImpl.TABLE_NAME, "oldDettPraticaId")) {
_log.info("Aggiornamento a v5 di " + DettPraticaImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + DettPraticaImpl.TABLE_NAME + " DROP COLUMN oldDettPraticaId");
}
if (hasColumn(FineLavoriImpl.TABLE_NAME, "oldDettPraticaId")) {
_log.info("Aggiornamento a v2 di " + FineLavoriImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + FineLavoriImpl.TABLE_NAME + " DROP COLUMN oldDettPraticaId");
}
s.executeUpdate("ALTER TABLE portos_bo_dettpratica ADD COLUMN tcnuovacostruzionecomplessa BOOL NULL");
if (hasColumn(CollaudoImpl.TABLE_NAME, "oldDettPraticaId")) {
_log.info("Aggiornamento a v2 di " + CollaudoImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + CollaudoImpl.TABLE_NAME + " DROP COLUMN oldDettPraticaId");
}
if (!hasColumn("portos_bo_territorio", "articolo61")) {
_log.info("Aggiornamento a v2 di portos_bo_territorio");
s.executeUpdate("ALTER TABLE portos_bo_territorio ADD COLUMN articolo61 BOOL");
if (!hasColumn(TerritorioImpl.TABLE_NAME, "articolo61")) {
_log.info("Aggiornamento a v2 di " + TerritorioImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + TerritorioImpl.TABLE_NAME + " ADD COLUMN articolo61 BOOL");
}
if (!hasColumn("portos_bo_sorteggio", "settimana")) {
_log.info("Aggiornamento a v2 di portos_bo_sorteggio");
s.executeUpdate("ALTER TABLE portos_bo_sorteggio ADD COLUMN settimana INTEGER");
if (!hasColumn(SorteggioImpl.TABLE_NAME, "settimana")) {
_log.info("Aggiornamento a v2 di " + TerritorioImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + TerritorioImpl.TABLE_NAME + " ADD COLUMN settimana INTEGER");
}
if (!hasColumn("portos_bo_asseverazione", "dichiarazioni")) {
_log.info("Aggiornamento a v2 di portos_bo_asseverazione");
s.executeUpdate("ALTER TABLE portos_bo_asseverazione ADD COLUMN dichiarazioni TEXT NULL");
if (!hasColumn(AsseverazioneImpl.TABLE_NAME, "dichiarazioni")) {
_log.info("Aggiornamento a v2 di " + AsseverazioneImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + AsseverazioneImpl.TABLE_NAME
+ " ADD COLUMN dichiarazioni TEXT NULL");
}
if (!hasColumn("portos_bo_delega", "dichiarazioni")) {
_log.info("Aggiornamento a v2 di portos_bo_delega");
s.executeUpdate("ALTER TABLE portos_bo_delega ADD COLUMN dichiarazioni TEXT NULL");
if (!hasColumn(DelegaImpl.TABLE_NAME, "dichiarazioni")) {
_log.info("Aggiornamento a v2 di " + DelegaImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + DelegaImpl.TABLE_NAME
+ " ADD COLUMN dichiarazioni TEXT NULL");
}
} catch (SQLException e) {
_log.error("Errore di accesso al database: ", e);
throw new ActionException(e);
} finally {
if (Validator.isNotNull(connection)) {
if (Validator.isNull(s)) {
DataAccess.cleanUp(connection);
} else {
DataAccess.cleanUp(connection, s);
}
}
}
}
@ -102,9 +145,9 @@ public class DatabaseUpdateAction extends SimpleAction {
boolean result = true;
ResultSet rs = null;
try {
Statement s = connection.createStatement();
rs = s.executeQuery("SELECT " + column + " FROM " + table + " WHERE false");
rs.getMetaData().getColumnName(1);
DataAccess.cleanUp(rs);
} catch (SQLException e) {
result = false;
}

378
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/PuliziaDatabase.java

@ -99,10 +99,6 @@ public class PuliziaDatabase {
public static List<String> pulisci2(ServiceContext serviceContext) {
List<String> esito = new ArrayList<>();
esito.addAll(puliziaPreliminare());
esito.addAll(puliziaDocumentLibrary());
esito.addAll(svuotaDatabase(serviceContext));
try {
SingleVMPoolUtil.clear();
MultiVMPoolUtil.clear();
@ -115,380 +111,6 @@ public class PuliziaDatabase {
return esito;
}
private static List<String> puliziaPreliminare() {
List<String> esito = new ArrayList<>();
try {
Connection connection = DataAccess.getUpgradeOptimizedConnection();
Statement s = connection.createStatement();
int rows = s.executeUpdate("DELETE FROM portos_bo_intpratica WHERE intpraticaid IN ("
+ "SELECT intpraticaid FROM portos_bo_intpratica i "
+ "LEFT JOIN group_ g ON i.groupid=g.groupid WHERE g.groupid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_intpratica");
rows = s.executeUpdate("DELETE FROM portos_bo_dettpratica WHERE dettpraticaid IN ("
+ "SELECT dettpraticaid FROM portos_bo_dettpratica d "
+ "LEFT JOIN portos_bo_intpratica i ON d.intpraticaid=i.intpraticaid "
+ "WHERE i.intpraticaid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_dettpratica");
rows = s.executeUpdate("DELETE FROM portos_bo_controllopratica WHERE controllopraticaid IN ("
+ "SELECT controllopraticaid FROM portos_bo_controllopratica c "
+ "LEFT JOIN portos_bo_intpratica i ON c.intpraticaid=i.intpraticaid "
+ "WHERE i.intpraticaid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_controllopratica");
rows = s.executeUpdate("DELETE FROM portos_bo_collaudo WHERE collaudoid IN ("
+ "SELECT collaudoid FROM portos_bo_collaudo c "
+ "LEFT JOIN portos_bo_intpratica i ON c.intpraticaid=i.intpraticaid "
+ "WHERE i.intpraticaid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_collaudo");
rows = s.executeUpdate("DELETE FROM portos_bo_delega WHERE delegaid IN ("
+ "SELECT delegaid FROM portos_bo_delega d "
+ "LEFT JOIN portos_bo_dettpratica dp ON d.dettpraticaid=dp.dettpraticaid "
+ "WHERE dp.dettpraticaid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_delega");
rows = s.executeUpdate("DELETE FROM portos_bo_finelavori WHERE finelavoriid IN ("
+ "SELECT finelavoriid FROM portos_bo_finelavori f "
+ "LEFT JOIN portos_bo_intpratica i ON f.intpraticaid=i.intpraticaid "
+ "WHERE i.intpraticaid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_finelavori");
rows = s.executeUpdate("DELETE FROM portos_bo_soggetto WHERE soggettoid IN ("
+ "SELECT soggettoid FROM portos_bo_soggetto s "
+ "LEFT JOIN portos_bo_dettpratica d ON s.dettpraticaid=d.dettpraticaid "
+ "WHERE d.dettpraticaid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_soggetto");
int cancellati = 0;
int start = 0;
int totali = 0;
List<DocAggiuntiva> docs = null;
do {
docs = DocAggiuntivaLocalServiceUtil.getDocAggiuntivas(start, start + SLICE);
int rimossi = 0;
for (DocAggiuntiva doc : docs) {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(doc.getIntPraticaId());
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(doc
.getDettPraticaId());
if (Validator.isNull(intPratica) || Validator.isNull(dettPratica)) {
DocAggiuntivaLocalServiceUtil.deleteDocAggiuntiva(doc);
cancellati++;
rimossi++;
}
}
totali += docs.size();
start += SLICE - rimossi;
} while (docs.size() > 0);
esitoLog(esito, "Analizzati " + totali + " DocAggiuntiva, cancellati " + cancellati);
cancellati = 0;
start = 0;
totali = 0;
List<DocPratica> docs2 = null;
do {
docs2 = DocPraticaLocalServiceUtil.getDocPraticas(start, start + SLICE);
int rimossi = 0;
for (DocPratica doc : docs2) {
boolean rimuovi = false;
if (Collaudo.class.getName().equals(doc.getClassName())) {
Collaudo collaudo = null;
try {
collaudo = CollaudoLocalServiceUtil.getCollaudo(doc.getClassPk());
} catch (PortalException e) {
}
rimuovi = Validator.isNull(collaudo);
} else if (Delega.class.getName().equals(doc.getClassName())) {
Delega delega = null;
try {
delega = DelegaLocalServiceUtil.getDelega(doc.getClassPk());
} catch (PortalException e) {
}
rimuovi = Validator.isNull(delega);
} else if (DettPratica.class.getName().equals(doc.getClassName())) {
DettPratica dettPratica = null;
try {
dettPratica = DettPraticaLocalServiceUtil.getDettPratica(doc.getClassPk());
} catch (PortalException e) {
}
rimuovi = Validator.isNull(dettPratica);
} else if (FineLavori.class.getName().equals(doc.getClassName())) {
FineLavori fineLavori = null;
try {
fineLavori = FineLavoriLocalServiceUtil.getFineLavori(doc.getClassPk());
} catch (PortalException e) {
}
rimuovi = Validator.isNull(fineLavori);
} else if (IntPratica.class.getName().equals(doc.getClassName())) {
IntPratica intPratica = null;
try {
intPratica = IntPraticaLocalServiceUtil.getIntPratica(doc.getClassPk());
} catch (PortalException e) {
}
rimuovi = Validator.isNull(intPratica);
} else if (Soggetto.class.getName().equals(doc.getClassName())) {
Soggetto soggetto = null;
try {
soggetto = SoggettoLocalServiceUtil.getSoggetto(doc.getClassPk());
} catch (PortalException e) {
}
rimuovi = Validator.isNull(soggetto);
}
if (rimuovi) {
DocPraticaLocalServiceUtil.deleteDocPratica(doc);
cancellati++;
rimossi++;
}
}
totali += docs2.size();
start += SLICE - rimossi;
} while (docs2.size() > 0);
esitoLog(esito, "Analizzati " + totali + " DocPratica, cancellati " + cancellati);
} catch (PortalException | SQLException | SystemException e) {
esitoLog(esito, "Interrotto per errore: " + e.getMessage());
}
return esito;
}
private static List<String> svuotaDatabase(ServiceContext serviceContext) {
List<String> esito = new ArrayList<>();
int rows = 0;
try {
Connection connection = DataAccess.getUpgradeOptimizedConnection();
Statement s = connection.createStatement();
long controlloPraticaClassNameId = ClassNameLocalServiceUtil.getClassName(
ControlloPratica.class.getName()).getClassNameId();
long dettPraticaClassNameId = ClassNameLocalServiceUtil.getClassName(DettPratica.class.getName())
.getClassNameId();
long ddmContentClassNameId = ClassNameLocalServiceUtil.getClassName(DDMContent.class.getName())
.getClassNameId();
long dlFileEntryClassNameId = ClassNameLocalServiceUtil.getClassName(DLFileEntry.class.getName())
.getClassNameId();
long dlFileEntryMetadataClassNameId = ClassNameLocalServiceUtil.getClassName(
DLFileEntryMetadata.class.getName()).getClassNameId();
long dlFolderClassNameId = ClassNameLocalServiceUtil.getClassName(DLFolder.class.getName())
.getClassNameId();
long groupClassNameId = ClassNameLocalServiceUtil.getClassName(Group.class.getName())
.getClassNameId();
long mbDiscussionClassNameId = ClassNameLocalServiceUtil.getClassName(
MBDiscussion.class.getName()).getClassNameId();
long organizationClassNameId = ClassNameLocalServiceUtil.getClassName(
Organization.class.getName()).getClassNameId();
long userClassNameId = ClassNameLocalServiceUtil.getClassName(User.class.getName())
.getClassNameId();
rows = s.executeUpdate("DELETE FROM portos_bo_avviso WHERE avvisoid IN ("
+ "SELECT avvisoid FROM portos_bo_avviso a LEFT JOIN portos_bo_dettpratica d "
+ "ON a.classpk=d.dettpraticaid WHERE classname='" + DettPratica.class.getName()
+ "' AND d.dettpraticaid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_avviso");
rows = s.executeUpdate("DELETE FROM group_ WHERE groupid IN (SELECT groupid FROM group_ "
+ "LEFT JOIN user_ ON group_.classpk=user_.userid WHERE classnameid=" + userClassNameId
+ " AND user_.userid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da group_");
rows = s.executeUpdate("DELETE FROM contact_ WHERE contactid IN ("
+ "SELECT c.contactid FROM contact_ c LEFT JOIN user_ u "
+ "ON c.contactid=u.contactid WHERE u.userid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da contact_");
rows = s.executeUpdate("DELETE FROM usergroup WHERE usergroupid IN ("
+ "SELECT usergroupid FROM usergroup g LEFT JOIN user_ u ON g.userid=u.userid "
+ "WHERE u.userid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da usergroup");
rows = s.executeUpdate("DELETE FROM usergrouprole WHERE userid IN ("
+ "SELECT DISTINCT x.userid FROM usergrouprole x "
+ "LEFT JOIN user_ u ON x.userid=u.userid " + "WHERE u.userid IS NULL) OR groupid IN ("
+ "SELECT DISTINCT x.groupid FROM usergrouprole x "
+ "LEFT JOIN group_ g ON x.groupid=g.groupid "
+ "WHERE g.groupid IS NULL) OR roleid IN ("
+ "SELECT DISTINCT x.roleid FROM usergrouprole x "
+ "LEFT JOIN role_ r ON x.roleid=r.roleid " + "WHERE r.roleid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da usergrouprole");
rows = s.executeUpdate("DELETE FROM ddmcontent WHERE contentid IN ("
+ "SELECT contentid FROM ddmcontent LEFT JOIN dlfileentrymetadata "
+ "ON ddmcontent.contentid=dlfileentrymetadata.ddmstorageid WHERE name='"
+ DDMStorageLink.class.getName()
+ "' AND dlfileentrymetadata.fileentrymetadataid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da ddmcontent");
rows = s.executeUpdate("DELETE FROM assetentry WHERE entryid IN ("
+ "SELECT entryid FROM assetentry a LEFT JOIN dlfileentry b "
+ "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId
+ " AND b.fileentryid IS NULL)");
rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN ("
+ "SELECT entryid FROM assetentry a LEFT JOIN dlfolder b ON a.classpk=b.folderid "
+ "WHERE a.classnameid=" + dlFolderClassNameId + " AND b.folderid IS NULL)");
rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN ("
+ "SELECT entryid FROM assetentry a LEFT JOIN group_ b ON a.classpk=b.groupid "
+ "WHERE a.classnameid=" + groupClassNameId + " AND b.groupid IS NULL)");
rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN ("
+ "SELECT entryid FROM assetentry a LEFT JOIN mbdiscussion b "
+ "ON a.classpk=b.discussionid WHERE a.classnameid=" + mbDiscussionClassNameId
+ " AND b.discussionid IS NULL)");
rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN ("
+ "SELECT entryid FROM assetentry a LEFT JOIN organization_ b "
+ "ON a.classpk=b.organizationid WHERE a.classnameid=" + organizationClassNameId
+ " AND b.organizationid IS NULL)");
rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN ("
+ "SELECT entryid FROM assetentry a LEFT JOIN portos_bo_controllopratica b "
+ "ON a.classpk=b.controllopraticaid WHERE a.classnameid=" + controlloPraticaClassNameId
+ " AND b.controllopraticaid IS NULL)");
rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN ("
+ "SELECT entryid FROM assetentry a LEFT JOIN portos_bo_dettpratica b "
+ "ON a.classpk=b.dettpraticaid WHERE a.classnameid=" + dettPraticaClassNameId
+ " AND b.dettpraticaid IS NULL)");
rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN ("
+ "SELECT entryid FROM assetentry a LEFT JOIN user_ b ON a.classpk=b.userid "
+ "WHERE a.classnameid=" + userClassNameId + " AND b.userid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da assetentry");
rows = s.executeUpdate("DELETE FROM resourcepermission WHERE resourcepermissionid IN ("
+ "SELECT resourcepermissionid FROM resourcepermission a LEFT JOIN dlfileentry b "
+ "ON a.primkey=b.fileentryid::TEXT WHERE a.name='" + DLFileEntry.class.getName()
+ "' AND b.fileentryid IS NULL)");
rows += s.executeUpdate("DELETE FROM resourcepermission WHERE resourcepermissionid IN ("
+ "SELECT resourcepermissionid FROM resourcepermission a LEFT JOIN dlfolder b "
+ "ON a.primkey=b.folderid::TEXT WHERE a.name='" + DLFolder.class.getName()
+ "' AND b.folderid IS NULL)");
rows += s.executeUpdate("DELETE FROM resourcepermission WHERE resourcepermissionid IN ("
+ "SELECT resourcepermissionid FROM resourcepermission a "
+ "LEFT JOIN portos_bo_controllopratica b "
+ "ON a.primkey=b.controllopraticaid::TEXT WHERE a.name='"
+ ControlloPratica.class.getName() + "' AND b.controllopraticaid IS NULL)");
rows += s.executeUpdate("DELETE FROM resourcepermission WHERE resourcepermissionid IN ("
+ "SELECT resourcepermissionid FROM resourcepermission a LEFT JOIN user_ b "
+ "ON a.primkey=b.userid::TEXT WHERE a.name='" + User.class.getName()
+ "' AND b.userid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da resourcepermission");
rows = s.executeUpdate("DELETE FROM syncdlobject WHERE syncdlobjectid IN ("
+ "SELECT syncdlobjectid FROM syncdlobject LEFT JOIN dlfileentry "
+ "ON syncdlobject.typepk=dlfileentry.fileentryid WHERE type_='"
+ DLSyncConstants.TYPE_FILE + "' AND dlfileentry.fileentryid IS NULL)");
rows += s.executeUpdate("DELETE FROM syncdlobject WHERE syncdlobjectid IN ("
+ "SELECT syncdlobjectid FROM syncdlobject LEFT JOIN dlfolder "
+ "ON syncdlobject.typepk=dlfolder.folderid WHERE type_='" + DLSyncConstants.TYPE_FOLDER
+ "' AND dlfolder.folderid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da syncdlobject");
rows = s.executeUpdate("DELETE FROM ratingsstats WHERE statsid IN ("
+ "SELECT statsid FROM ratingsstats a LEFT JOIN dlfileentry b "
+ "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId
+ " AND b.fileentryid IS NULL)");
rows += s.executeUpdate("DELETE FROM ratingsstats WHERE statsid IN ("
+ "SELECT statsid FROM ratingsstats a LEFT JOIN dlfolder b "
+ "ON a.classpk=b.folderid WHERE a.classnameid=" + dlFolderClassNameId
+ " AND b.folderid IS NULL)");
rows += s.executeUpdate("DELETE FROM ratingsstats WHERE statsid IN ("
+ "SELECT statsid FROM ratingsstats a LEFT JOIN portos_bo_controllopratica b "
+ "ON a.classpk=b.controllopraticaid WHERE a.classnameid=" + controlloPraticaClassNameId
+ " AND b.controllopraticaid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da ratingsstats");
rows = s.executeUpdate("DELETE FROM mbmessage WHERE messageid IN ("
+ "SELECT messageid FROM mbmessage a LEFT JOIN dlfileentry b "
+ "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId
+ " AND b.fileentryid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da mbmessage");
rows = s.executeUpdate("DELETE FROM mbdiscussion WHERE discussionid IN ("
+ "SELECT discussionid FROM mbdiscussion a LEFT JOIN dlfileentry b "
+ "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId
+ " AND b.fileentryid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da mbdiscussion");
rows = s.executeUpdate("DELETE FROM mbthread WHERE threadid IN ("
+ "SELECT DISTINCT mbthread.threadid FROM mbthread LEFT JOIN mbmessage "
+ "ON mbthread.threadid=mbmessage.threadid WHERE mbmessage.messageid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da mbthread");
rows = s.executeUpdate("DELETE FROM dlfileentrymetadata WHERE fileentrymetadataid IN ("
+ "SELECT fileentrymetadataid FROM dlfileentrymetadata a LEFT JOIN dlfileentry b "
+ "ON a.fileentryid=b.fileentryid WHERE b.fileentryid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da dlfileentrymetadata");
rows = s.executeUpdate("DELETE FROM ddmstructurelink WHERE structurelinkid IN ("
+ "SELECT structurelinkid FROM ddmstructurelink a LEFT JOIN dlfileentrymetadata b "
+ "ON a.classpk=b.fileentrymetadataid WHERE a.classnameid="
+ dlFileEntryMetadataClassNameId + " AND b.fileentrymetadataid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da ddmstructurelink");
rows = s.executeUpdate("DELETE FROM ddmstoragelink WHERE storagelinkid IN ("
+ "SELECT storagelinkid FROM ddmstoragelink a LEFT JOIN ddmcontent b "
+ "ON a.classpk=b.contentid WHERE a.classnameid=" + ddmContentClassNameId
+ " AND b.contentid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da ddmstoragelink");
rows = s.executeUpdate("DELETE FROM socialactivity WHERE activityid IN ("
+ "SELECT activityid FROM socialactivity a LEFT JOIN dlfileentry b "
+ "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId
+ " AND b.fileentryid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da socialactivity");
rows = s.executeUpdate("DELETE FROM systemevent WHERE systemeventid IN ("
+ "SELECT systemeventid FROM systemevent a LEFT JOIN dlfileentry b "
+ "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId
+ " AND b.fileentryid IS NULL)");
rows += s.executeUpdate("DELETE FROM systemevent WHERE systemeventid IN ("
+ "SELECT systemeventid FROM systemevent a LEFT JOIN dlfolder b "
+ "ON a.classpk=b.folderid WHERE a.classnameid=" + dlFolderClassNameId
+ " AND b.folderid IS NULL)");
rows += s.executeUpdate("DELETE FROM systemevent WHERE systemeventid IN ("
+ "SELECT systemeventid FROM systemevent a LEFT JOIN portos_bo_controllopratica b "
+ "ON a.classpk=b.controllopraticaid WHERE a.classnameid=" + controlloPraticaClassNameId
+ " AND b.controllopraticaid IS NULL)");
rows += s.executeUpdate("DELETE FROM systemevent WHERE systemeventid IN ("
+ "SELECT systemeventid FROM systemevent a LEFT JOIN portos_bo_dettpratica b "
+ "ON a.classpk=b.dettpraticaid WHERE a.classnameid=" + dettPraticaClassNameId
+ " AND b.dettpraticaid IS NULL)");
esitoLog(esito, "Cancellate " + rows + " righe da systemevent");
} catch (SQLException | SystemException e) {
esitoLog(esito, "Interrotto per errore: " + e.getMessage());
}
return esito;
}
private static List<String> puliziaDocumentLibrary() {
List<String> esito = new ArrayList<>();
try {
int cancellati = 0;
int start = 0;
int totali = 0;
List<DLFolder> folders;
do {
folders = DLFolderLocalServiceUtil.getDLFolders(start, start + SLICE);
int rimossi = 0;
totali += folders.size();
for (DLFolder folder : folders) {
DLFolder parent = folder.getParentFolder();
if (Validator.isNotNull(parent)) {
switch (parent.getName()) {
case "Allegati":
long[] ids = StringUtil.split(folder.getName(), "_", 0L);
if ((ids.length == 2) && (ids[0] == ids[1])) {
try {
DettPraticaLocalServiceUtil.getDettPratica(ids[0]);
} catch (PortalException e) {
_log.info("Cancello la cartella " + folder.getName());
cancellati++;
rimossi++;
DLAppLocalServiceUtil.deleteFolder(folder.getFolderId());
}
}
break;
}
}
}
start += folders.size() - rimossi;
} while (folders.size() > 0);
esitoLog(esito, "Analizzate " + totali + " cartelle, cancellate " + cancellati);
} catch (PortalException | SystemException e) {
esitoLog(esito, "Errore durante l'elaborazione. " + e.getMessage());
}
return esito;
}
private static void esitoLog(List<String> esito, String msg) {
_log.info(msg);
esito.add(msg);

93
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java

@ -16,7 +16,6 @@ import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.model.ParereGeologo;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.model.impl.AvvisoImpl;
import it.tref.liferay.portos.bo.service.AllegatoManualeLocalServiceUtil;
import it.tref.liferay.portos.bo.service.AsseverazioneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil;
@ -35,16 +34,11 @@ import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.Constants;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import java.io.IOException;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
@ -53,13 +47,8 @@ import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;
import org.apache.commons.io.IOUtils;
import com.itextpdf.text.pdf.codec.Base64.InputStream;
import com.liferay.counter.service.CounterLocalServiceUtil;
import com.liferay.portal.NoSuchRepositoryEntryException;
import com.liferay.portal.NoSuchResourcePermissionException;
import com.liferay.portal.kernel.dao.jdbc.DataAccess;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
@ -79,44 +68,31 @@ import com.liferay.portal.kernel.workflow.WorkflowInstance;
import com.liferay.portal.kernel.workflow.WorkflowInstanceManagerUtil;
import com.liferay.portal.kernel.workflow.WorkflowTask;
import com.liferay.portal.kernel.workflow.WorkflowTaskManagerUtil;
import com.liferay.portal.model.Group;
import com.liferay.portal.model.Organization;
import com.liferay.portal.model.ResourceAction;
import com.liferay.portal.model.ResourceConstants;
import com.liferay.portal.model.ResourcePermission;
import com.liferay.portal.model.Role;
import com.liferay.portal.model.RoleConstants;
import com.liferay.portal.model.User;
import com.liferay.portal.security.auth.PrincipalException;
import com.liferay.portal.security.auth.PrincipalThreadLocal;
import com.liferay.portal.security.permission.ActionKeys;
import com.liferay.portal.security.permission.PermissionChecker;
import com.liferay.portal.security.permission.PermissionCheckerFactoryUtil;
import com.liferay.portal.security.permission.PermissionThreadLocal;
import com.liferay.portal.service.GroupLocalServiceUtil;
import com.liferay.portal.service.OrganizationLocalServiceUtil;
import com.liferay.portal.service.ResourceActionLocalServiceUtil;
import com.liferay.portal.service.ResourcePermissionLocalServiceUtil;
import com.liferay.portal.service.RoleLocalServiceUtil;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portal.service.UserLocalServiceUtil;
import com.liferay.portal.workflow.kaleo.model.KaleoInstance;
import com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken;
import com.liferay.portal.workflow.kaleo.model.KaleoTaskAssignmentInstance;
import com.liferay.portal.workflow.kaleo.model.KaleoTaskInstanceToken;
import com.liferay.portal.workflow.kaleo.service.KaleoInstanceLocalServiceUtil;
import com.liferay.portal.workflow.kaleo.service.KaleoInstanceTokenLocalService;
import com.liferay.portal.workflow.kaleo.service.KaleoInstanceTokenLocalServiceUtil;
import com.liferay.portal.workflow.kaleo.service.KaleoTaskAssignmentInstanceLocalServiceUtil;
import com.liferay.portal.workflow.kaleo.service.KaleoTaskInstanceTokenLocalServiceUtil;
import com.liferay.portal.workflow.kaleo.service.persistence.KaleoInstanceTokenUtil;
import com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
import com.liferay.portlet.documentlibrary.model.DLFileEntry;
import com.liferay.portlet.documentlibrary.model.DLFolder;
import com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil;
import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil;
import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil;
import com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil;
public class SismicaUtil {
private final static Log _log = LogFactoryUtil.getLog(SismicaUtil.class);
@ -435,61 +411,70 @@ public class SismicaUtil {
esito.add("Errore caricamento intPratiche: " + e.getMessage());
}
start += SLICE;
List<Avviso> avvisi = null;
for (IntPratica pratica : pratiche) {
List<Avviso> avvisi = null;
List<Avviso> totali = null;
String stato = pratica.getStatoPratica();
if (Validator.isNotNull(stato) && Validator.isNotNull(pratica.getTipoProcedura())
&& pratica.getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_DEPOSITO)) {
// Avvisi conformi
try {
avvisi = AvvisoLocalServiceUtil.findByIntPraticaId_tipoDocumento(
pratica.getIntPraticaId(), StatoPraticaConstants.CONFORME);
} catch (SystemException e) {
esito.add("Errore caricamento avvisi: " + e.getMessage());
avvisi = new ArrayList<>();
}
List<Avviso> totali = null;
// Tutti gli avvisi
try {
totali = AvvisoLocalServiceUtil.findByIntPratica(pratica.getIntPraticaId(),
QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} catch (SystemException e) {
totali = new ArrayList<>();
}
if ((avvisi.size() == 0) && stato.equalsIgnoreCase(StatoPraticaConstants.VIDIMATA)) {
List<ControlloPratica> controlli = null;
if (Validator.isNotNull(stato) && Validator.isNotNull(pratica.getTipoProcedura())
&& pratica.getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_DEPOSITO)) {
// Dettaglio pratica
DettPratica dettPratica = null;
try {
controlli = ControlloPraticaLocalServiceUtil.findByIntPratica(pratica
dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(pratica
.getIntPraticaId());
} catch (SystemException e) {
controlli = new ArrayList<>();
}
if (pratica.getStatoPratica().equals(StatoPraticaConstants.VIDIMATA)
&& (controlli.size() == 0)) {
esito.add("Progetto: " + pratica.getNumeroProgetto() + " ("
+ pratica.getIntPraticaId() + "), procedura="
+ pratica.getTipoProcedura() + ", avvisi=" + totali.size() + ", stato="
+ pratica.getStatoPratica() + ", controlli=" + controlli.size());
DettPratica dettPratica;
if (Validator.isNotNull(dettPratica)) {
// Controllo pratica
List<ControlloPratica> controlli = null;
try {
dettPratica = DettPraticaLocalServiceUtil
.getLastCompletedByIntPratica(pratica.getIntPraticaId());
controlli = ControlloPraticaLocalServiceUtil.findByIntPratica(pratica
.getIntPraticaId());
} catch (SystemException e) {
dettPratica = null;
controlli = new ArrayList<>();
}
ControlloPratica controllo = null;
if (controlli.size() > 0) {
controllo = controlli.get(controlli.size() - 1);
}
if (Validator.isNotNull(dettPratica)) {
boolean totaliOk = (totali.size() == 0)
|| ((totali.size() == 1) && totali.get(0).getTipoDocumento()
.equalsIgnoreCase(StatoPraticaConstants.VIDIMATA));
if ((avvisi.size() == 0 && stato.equalsIgnoreCase(StatoPraticaConstants.VIDIMATA))
|| (totaliOk && stato.equalsIgnoreCase(StatoPraticaConstants.CONFORME))) {
ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(dettPratica.getCompanyId());
serviceContext.setScopeGroupId(dettPratica.getGroupId());
serviceContext.setUserId(dettPratica.getUserId());
ControlloPratica controllo;
if (Validator.isNull(controllo)) {
try {
controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(
dettPratica.getGroupId(), dettPratica.getUserId(),
pratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false,
serviceContext);
} catch (PortalException | SystemException e) {
controllo = null;
}
}
if (Validator.isNotNull(controllo)) {
controllo.setStatus(WorkflowConstants.STATUS_APPROVED);
@ -500,13 +485,22 @@ public class SismicaUtil {
long fileEntryIdTemplate;
try {
fileEntryIdTemplate = ConfigurazioneLocalServiceUtil
.findByC_ChiaveLong(companyId,
"conf.geniocivile.avviso.template.id.deposito.B2");
fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(
companyId, "conf.geniocivile.avviso.template.id.deposito.B2");
} catch (SystemException e) {
fileEntryIdTemplate = 0;
}
_log.info("Pratica "
+ pratica.getNumeroProgetto()
+ ", totali.size() = "
+ totali.size()
+ (totali.size() > 0 ? ", totali(0) = "
+ totali.get(0).getTipoDocumento() : "")
+ ", avvisi.size() = " + avvisi.size() + ", stato = " + stato
+ ", controllo = " + controllo.getPrimaryKey()
+ ", fileEntryIdTemplate = " + fileEntryIdTemplate);
if (Validator.isNotNull(fileEntryIdTemplate)) {
try {
if (!pratica.getTipoProcedura().equalsIgnoreCase(
@ -526,7 +520,6 @@ public class SismicaUtil {
}
}
}
}
} else if ((totali.size() == 2) && (avvisi.size() > 0)
&& stato.equalsIgnoreCase(StatoPraticaConstants.SOTTOPOSTA_A_PARERE)) {
esito.add("Rendo conforme: " + pratica.getNumeroProgetto());

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoCacheModel.java

@ -37,7 +37,7 @@ import java.util.Date;
public class CollaudoCacheModel implements CacheModel<Collaudo>, Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(53);
StringBundler sb = new StringBundler(51);
sb.append("{uuid=");
sb.append(uuid);
@ -89,8 +89,6 @@ public class CollaudoCacheModel implements CacheModel<Collaudo>, Externalizable
sb.append(normEsenteBollo);
sb.append(", importoBolli=");
sb.append(importoBolli);
sb.append(", oldDettPraticaId=");
sb.append(oldDettPraticaId);
sb.append("}");
return sb.toString();
@ -214,8 +212,6 @@ public class CollaudoCacheModel implements CacheModel<Collaudo>, Externalizable
collaudoImpl.setImportoBolli(importoBolli);
}
collaudoImpl.setOldDettPraticaId(oldDettPraticaId);
collaudoImpl.resetOriginalValues();
return collaudoImpl;
@ -248,7 +244,6 @@ public class CollaudoCacheModel implements CacheModel<Collaudo>, Externalizable
mezzoPagamento = objectInput.readUTF();
normEsenteBollo = objectInput.readBoolean();
importoBolli = objectInput.readUTF();
oldDettPraticaId = objectInput.readLong();
}
@Override
@ -338,8 +333,6 @@ public class CollaudoCacheModel implements CacheModel<Collaudo>, Externalizable
else {
objectOutput.writeUTF(importoBolli);
}
objectOutput.writeLong(oldDettPraticaId);
}
public String uuid;
@ -367,5 +360,4 @@ public class CollaudoCacheModel implements CacheModel<Collaudo>, Externalizable
public String mezzoPagamento;
public boolean normEsenteBollo;
public String importoBolli;
public long oldDettPraticaId;
}

65
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoModelImpl.java

@ -91,10 +91,9 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
{ "causalePagamento", Types.VARCHAR },
{ "mezzoPagamento", Types.VARCHAR },
{ "normEsenteBollo", Types.BOOLEAN },
{ "importoBolli", Types.VARCHAR },
{ "oldDettPraticaId", Types.BIGINT }
{ "importoBolli", Types.VARCHAR }
};
public static final String TABLE_SQL_CREATE = "create table portos_bo_Collaudo (uuid_ VARCHAR(75) null,collaudoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataCollaudo DATE null,noteCollaudo STRING null,pagamentoId LONG,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,normEsenteBollo BOOLEAN,importoBolli VARCHAR(75) null,oldDettPraticaId LONG)";
public static final String TABLE_SQL_CREATE = "create table portos_bo_Collaudo (uuid_ VARCHAR(75) null,collaudoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataCollaudo DATE null,noteCollaudo STRING null,pagamentoId LONG,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,normEsenteBollo BOOLEAN,importoBolli VARCHAR(75) null)";
public static final String TABLE_SQL_DROP = "drop table portos_bo_Collaudo";
public static final String ORDER_BY_JPQL = " ORDER BY collaudo.collaudoId ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_Collaudo.collaudoId ASC";
@ -115,11 +114,10 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
public static long COMPLETATA_COLUMN_BITMASK = 4L;
public static long GROUPID_COLUMN_BITMASK = 8L;
public static long INTPRATICAID_COLUMN_BITMASK = 16L;
public static long OLDDETTPRATICAID_COLUMN_BITMASK = 32L;
public static long PARZIALE_COLUMN_BITMASK = 64L;
public static long PROTOCOLLO_COLUMN_BITMASK = 128L;
public static long UUID_COLUMN_BITMASK = 256L;
public static long COLLAUDOID_COLUMN_BITMASK = 512L;
public static long PARZIALE_COLUMN_BITMASK = 32L;
public static long PROTOCOLLO_COLUMN_BITMASK = 64L;
public static long UUID_COLUMN_BITMASK = 128L;
public static long COLLAUDOID_COLUMN_BITMASK = 256L;
/**
* Converts the soap model instance into a normal model instance.
@ -159,7 +157,6 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
model.setMezzoPagamento(soapModel.getMezzoPagamento());
model.setNormEsenteBollo(soapModel.getNormEsenteBollo());
model.setImportoBolli(soapModel.getImportoBolli());
model.setOldDettPraticaId(soapModel.getOldDettPraticaId());
return model;
}
@ -249,7 +246,6 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
attributes.put("mezzoPagamento", getMezzoPagamento());
attributes.put("normEsenteBollo", getNormEsenteBollo());
attributes.put("importoBolli", getImportoBolli());
attributes.put("oldDettPraticaId", getOldDettPraticaId());
return attributes;
}
@ -406,12 +402,6 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
if (importoBolli != null) {
setImportoBolli(importoBolli);
}
Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId");
if (oldDettPraticaId != null) {
setOldDettPraticaId(oldDettPraticaId);
}
}
@JSON
@ -852,29 +842,6 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
_importoBolli = importoBolli;
}
@JSON
@Override
public long getOldDettPraticaId() {
return _oldDettPraticaId;
}
@Override
public void setOldDettPraticaId(long oldDettPraticaId) {
_columnBitmask |= OLDDETTPRATICAID_COLUMN_BITMASK;
if (!_setOriginalOldDettPraticaId) {
_setOriginalOldDettPraticaId = true;
_originalOldDettPraticaId = _oldDettPraticaId;
}
_oldDettPraticaId = oldDettPraticaId;
}
public long getOriginalOldDettPraticaId() {
return _originalOldDettPraticaId;
}
@Override
public StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(
@ -937,7 +904,6 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
collaudoImpl.setMezzoPagamento(getMezzoPagamento());
collaudoImpl.setNormEsenteBollo(getNormEsenteBollo());
collaudoImpl.setImportoBolli(getImportoBolli());
collaudoImpl.setOldDettPraticaId(getOldDettPraticaId());
collaudoImpl.resetOriginalValues();
@ -1016,10 +982,6 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
collaudoModelImpl._originalCodiceFiscaleDelegato = collaudoModelImpl._codiceFiscaleDelegato;
collaudoModelImpl._originalOldDettPraticaId = collaudoModelImpl._oldDettPraticaId;
collaudoModelImpl._setOriginalOldDettPraticaId = false;
collaudoModelImpl._columnBitmask = 0;
}
@ -1167,14 +1129,12 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
collaudoCacheModel.importoBolli = null;
}
collaudoCacheModel.oldDettPraticaId = getOldDettPraticaId();
return collaudoCacheModel;
}
@Override
public String toString() {
StringBundler sb = new StringBundler(53);
StringBundler sb = new StringBundler(51);
sb.append("{uuid=");
sb.append(getUuid());
@ -1226,8 +1186,6 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
sb.append(getNormEsenteBollo());
sb.append(", importoBolli=");
sb.append(getImportoBolli());
sb.append(", oldDettPraticaId=");
sb.append(getOldDettPraticaId());
sb.append("}");
return sb.toString();
@ -1235,7 +1193,7 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(82);
StringBundler sb = new StringBundler(79);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.Collaudo");
@ -1341,10 +1299,6 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
"<column><column-name>importoBolli</column-name><column-value><![CDATA[");
sb.append(getImportoBolli());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>oldDettPraticaId</column-name><column-value><![CDATA[");
sb.append(getOldDettPraticaId());
sb.append("]]></column-value></column>");
sb.append("</model>");
@ -1394,9 +1348,6 @@ public class CollaudoModelImpl extends BaseModelImpl<Collaudo>
private String _mezzoPagamento;
private boolean _normEsenteBollo;
private String _importoBolli;
private long _oldDettPraticaId;
private long _originalOldDettPraticaId;
private boolean _setOriginalOldDettPraticaId;
private long _columnBitmask;
private Collaudo _escapedModel;
}

9
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java

@ -38,7 +38,7 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(473);
StringBundler sb = new StringBundler(471);
sb.append("{uuid=");
sb.append(uuid);
@ -108,8 +108,6 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
sb.append(soggettoSostituitoId);
sb.append(", dtInvioSignal=");
sb.append(dtInvioSignal);
sb.append(", oldDettPraticaId=");
sb.append(oldDettPraticaId);
sb.append(", destinazione=");
sb.append(destinazione);
sb.append(", ag=");
@ -674,8 +672,6 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
dettPraticaImpl.setDtInvioSignal(new Date(dtInvioSignal));
}
dettPraticaImpl.setOldDettPraticaId(oldDettPraticaId);
if (destinazione == null) {
dettPraticaImpl.setDestinazione(StringPool.BLANK);
}
@ -1458,7 +1454,6 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
workflowForzato = objectInput.readBoolean();
soggettoSostituitoId = objectInput.readLong();
dtInvioSignal = objectInput.readLong();
oldDettPraticaId = objectInput.readLong();
destinazione = objectInput.readUTF();
ag = objectInput.readUTF();
descLongIntervento = objectInput.readUTF();
@ -1782,7 +1777,6 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
objectOutput.writeBoolean(workflowForzato);
objectOutput.writeLong(soggettoSostituitoId);
objectOutput.writeLong(dtInvioSignal);
objectOutput.writeLong(oldDettPraticaId);
if (destinazione == null) {
objectOutput.writeUTF(StringPool.BLANK);
@ -2533,7 +2527,6 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
public boolean workflowForzato;
public long soggettoSostituitoId;
public long dtInvioSignal;
public long oldDettPraticaId;
public String destinazione;
public String ag;
public String descLongIntervento;

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java

@ -342,7 +342,6 @@ public class DettPraticaImpl extends DettPraticaBaseImpl {
attributes.put("dtInvioSignal",
Validator.isNotNull(getDtInvioSignal()) ? dateFormatDateTime.format(getDtInvioSignal())
: StringPool.BLANK);
attributes.put("oldDettPraticaId", getOldDettPraticaId());
attributes.put(
"destinazione",
Validator.isNotNull(getDestinazione()) ? LanguageUtil.get(LocaleUtil.getSiteDefault(),

63
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java

File diff suppressed because one or more lines are too long

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriCacheModel.java

@ -38,7 +38,7 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(55);
StringBundler sb = new StringBundler(53);
sb.append("{uuid=");
sb.append(uuid);
@ -92,8 +92,6 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
sb.append(mezzoPagamento);
sb.append(", importoBolli=");
sb.append(importoBolli);
sb.append(", oldDettPraticaId=");
sb.append(oldDettPraticaId);
sb.append("}");
return sb.toString();
@ -218,8 +216,6 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
fineLavoriImpl.setImportoBolli(importoBolli);
}
fineLavoriImpl.setOldDettPraticaId(oldDettPraticaId);
fineLavoriImpl.resetOriginalValues();
return fineLavoriImpl;
@ -253,7 +249,6 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
causalePagamento = objectInput.readUTF();
mezzoPagamento = objectInput.readUTF();
importoBolli = objectInput.readUTF();
oldDettPraticaId = objectInput.readLong();
}
@Override
@ -343,8 +338,6 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
else {
objectOutput.writeUTF(importoBolli);
}
objectOutput.writeLong(oldDettPraticaId);
}
public String uuid;
@ -373,5 +366,4 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
public String causalePagamento;
public String mezzoPagamento;
public String importoBolli;
public long oldDettPraticaId;
}

65
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriModelImpl.java

@ -92,10 +92,9 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
{ "codicePagamento", Types.VARCHAR },
{ "causalePagamento", Types.VARCHAR },
{ "mezzoPagamento", Types.VARCHAR },
{ "importoBolli", Types.VARCHAR },
{ "oldDettPraticaId", Types.BIGINT }
{ "importoBolli", Types.VARCHAR }
};
public static final String TABLE_SQL_CREATE = "create table portos_bo_FineLavori (uuid_ VARCHAR(75) null,fineLavoriId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataFineLavori DATE null,normEsenteBollo BOOLEAN,normEsenteCollaudo BOOLEAN,comunicazioneDirettoreLavori STRING null,pagamentoId LONG,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,importoBolli VARCHAR(75) null,oldDettPraticaId LONG)";
public static final String TABLE_SQL_CREATE = "create table portos_bo_FineLavori (uuid_ VARCHAR(75) null,fineLavoriId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataFineLavori DATE null,normEsenteBollo BOOLEAN,normEsenteCollaudo BOOLEAN,comunicazioneDirettoreLavori STRING null,pagamentoId LONG,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,importoBolli VARCHAR(75) null)";
public static final String TABLE_SQL_DROP = "drop table portos_bo_FineLavori";
public static final String ORDER_BY_JPQL = " ORDER BY fineLavori.fineLavoriId ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_FineLavori.fineLavoriId ASC";
@ -116,11 +115,10 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
public static long COMPLETATA_COLUMN_BITMASK = 4L;
public static long GROUPID_COLUMN_BITMASK = 8L;
public static long INTPRATICAID_COLUMN_BITMASK = 16L;
public static long OLDDETTPRATICAID_COLUMN_BITMASK = 32L;
public static long PARZIALE_COLUMN_BITMASK = 64L;
public static long PROTOCOLLO_COLUMN_BITMASK = 128L;
public static long UUID_COLUMN_BITMASK = 256L;
public static long FINELAVORIID_COLUMN_BITMASK = 512L;
public static long PARZIALE_COLUMN_BITMASK = 32L;
public static long PROTOCOLLO_COLUMN_BITMASK = 64L;
public static long UUID_COLUMN_BITMASK = 128L;
public static long FINELAVORIID_COLUMN_BITMASK = 256L;
/**
* Converts the soap model instance into a normal model instance.
@ -161,7 +159,6 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
model.setCausalePagamento(soapModel.getCausalePagamento());
model.setMezzoPagamento(soapModel.getMezzoPagamento());
model.setImportoBolli(soapModel.getImportoBolli());
model.setOldDettPraticaId(soapModel.getOldDettPraticaId());
return model;
}
@ -253,7 +250,6 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
attributes.put("causalePagamento", getCausalePagamento());
attributes.put("mezzoPagamento", getMezzoPagamento());
attributes.put("importoBolli", getImportoBolli());
attributes.put("oldDettPraticaId", getOldDettPraticaId());
return attributes;
}
@ -418,12 +414,6 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
if (importoBolli != null) {
setImportoBolli(importoBolli);
}
Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId");
if (oldDettPraticaId != null) {
setOldDettPraticaId(oldDettPraticaId);
}
}
@JSON
@ -881,29 +871,6 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
_importoBolli = importoBolli;
}
@JSON
@Override
public long getOldDettPraticaId() {
return _oldDettPraticaId;
}
@Override
public void setOldDettPraticaId(long oldDettPraticaId) {
_columnBitmask |= OLDDETTPRATICAID_COLUMN_BITMASK;
if (!_setOriginalOldDettPraticaId) {
_setOriginalOldDettPraticaId = true;
_originalOldDettPraticaId = _oldDettPraticaId;
}
_oldDettPraticaId = oldDettPraticaId;
}
public long getOriginalOldDettPraticaId() {
return _originalOldDettPraticaId;
}
@Override
public StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(
@ -967,7 +934,6 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriImpl.setCausalePagamento(getCausalePagamento());
fineLavoriImpl.setMezzoPagamento(getMezzoPagamento());
fineLavoriImpl.setImportoBolli(getImportoBolli());
fineLavoriImpl.setOldDettPraticaId(getOldDettPraticaId());
fineLavoriImpl.resetOriginalValues();
@ -1046,10 +1012,6 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriModelImpl._originalCodiceFiscaleDelegato = fineLavoriModelImpl._codiceFiscaleDelegato;
fineLavoriModelImpl._originalOldDettPraticaId = fineLavoriModelImpl._oldDettPraticaId;
fineLavoriModelImpl._setOriginalOldDettPraticaId = false;
fineLavoriModelImpl._columnBitmask = 0;
}
@ -1200,14 +1162,12 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriCacheModel.importoBolli = null;
}
fineLavoriCacheModel.oldDettPraticaId = getOldDettPraticaId();
return fineLavoriCacheModel;
}
@Override
public String toString() {
StringBundler sb = new StringBundler(55);
StringBundler sb = new StringBundler(53);
sb.append("{uuid=");
sb.append(getUuid());
@ -1261,8 +1221,6 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
sb.append(getMezzoPagamento());
sb.append(", importoBolli=");
sb.append(getImportoBolli());
sb.append(", oldDettPraticaId=");
sb.append(getOldDettPraticaId());
sb.append("}");
return sb.toString();
@ -1270,7 +1228,7 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(85);
StringBundler sb = new StringBundler(82);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.FineLavori");
@ -1380,10 +1338,6 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
"<column><column-name>importoBolli</column-name><column-value><![CDATA[");
sb.append(getImportoBolli());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>oldDettPraticaId</column-name><column-value><![CDATA[");
sb.append(getOldDettPraticaId());
sb.append("]]></column-value></column>");
sb.append("</model>");
@ -1434,9 +1388,6 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
private String _causalePagamento;
private String _mezzoPagamento;
private String _importoBolli;
private long _oldDettPraticaId;
private long _originalOldDettPraticaId;
private boolean _setOriginalOldDettPraticaId;
private long _columnBitmask;
private FineLavori _escapedModel;
}

8
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaCacheModel.java

@ -38,7 +38,7 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(65);
StringBundler sb = new StringBundler(63);
sb.append("{uuid=");
sb.append(uuid);
@ -84,8 +84,6 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
sb.append(esitoControllo);
sb.append(", dtPratica=");
sb.append(dtPratica);
sb.append(", oldIntPraticaId=");
sb.append(oldIntPraticaId);
sb.append(", sospesa=");
sb.append(sospesa);
sb.append(", dtSospensione=");
@ -213,7 +211,6 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
intPraticaImpl.setDtPratica(new Date(dtPratica));
}
intPraticaImpl.setOldIntPraticaId(oldIntPraticaId);
intPraticaImpl.setSospesa(sospesa);
if (dtSospensione == Long.MIN_VALUE) {
@ -272,7 +269,6 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
statusDate = objectInput.readLong();
esitoControllo = objectInput.readInt();
dtPratica = objectInput.readLong();
oldIntPraticaId = objectInput.readLong();
sospesa = objectInput.readBoolean();
dtSospensione = objectInput.readLong();
codiceFiscaleDelegatoFineLavori = objectInput.readUTF();
@ -349,7 +345,6 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
objectOutput.writeLong(statusDate);
objectOutput.writeInt(esitoControllo);
objectOutput.writeLong(dtPratica);
objectOutput.writeLong(oldIntPraticaId);
objectOutput.writeBoolean(sospesa);
objectOutput.writeLong(dtSospensione);
@ -396,7 +391,6 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
public long statusDate;
public int esitoControllo;
public long dtPratica;
public long oldIntPraticaId;
public boolean sospesa;
public long dtSospensione;
public String codiceFiscaleDelegatoFineLavori;

65
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaModelImpl.java

@ -89,7 +89,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
{ "statusDate", Types.TIMESTAMP },
{ "esitoControllo", Types.INTEGER },
{ "dtPratica", Types.TIMESTAMP },
{ "oldIntPraticaId", Types.BIGINT },
{ "sospesa", Types.BOOLEAN },
{ "dtSospensione", Types.TIMESTAMP },
{ "codiceFiscaleDelegatoFineLavori", Types.VARCHAR },
@ -100,7 +99,7 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
{ "collaudoTotale", Types.BOOLEAN },
{ "controlloObbligatorio", Types.BOOLEAN }
};
public static final String TABLE_SQL_CREATE = "create table portos_bo_IntPratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,tipoPratica VARCHAR(75) null,territorioId LONG,tipoProcedura VARCHAR(75) null,dtAnnullamento DATE null,docPraticaAnnullamentoId LONG,dtSorteggio DATE null,statoPratica VARCHAR(10) null,numeroProgetto VARCHAR(75) null,validata BOOLEAN,status INTEGER,statusByUserId LONG,statusDate DATE null,esitoControllo INTEGER,dtPratica DATE null,oldIntPraticaId LONG,sospesa BOOLEAN,dtSospensione DATE null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,fineLavoriParziale BOOLEAN,fineLavoriTotale BOOLEAN,collaudoParziale BOOLEAN,collaudoTotale BOOLEAN,controlloObbligatorio BOOLEAN)";
public static final String TABLE_SQL_CREATE = "create table portos_bo_IntPratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,tipoPratica VARCHAR(75) null,territorioId LONG,tipoProcedura VARCHAR(75) null,dtAnnullamento DATE null,docPraticaAnnullamentoId LONG,dtSorteggio DATE null,statoPratica VARCHAR(10) null,numeroProgetto VARCHAR(75) null,validata BOOLEAN,status INTEGER,statusByUserId LONG,statusDate DATE null,esitoControllo INTEGER,dtPratica DATE null,sospesa BOOLEAN,dtSospensione DATE null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,fineLavoriParziale BOOLEAN,fineLavoriTotale BOOLEAN,collaudoParziale BOOLEAN,collaudoTotale BOOLEAN,controlloObbligatorio BOOLEAN)";
public static final String TABLE_SQL_DROP = "drop table portos_bo_IntPratica";
public static final String ORDER_BY_JPQL = " ORDER BY intPratica.intPraticaId ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_IntPratica.intPraticaId ASC";
@ -119,12 +118,11 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
public static long COMPANYID_COLUMN_BITMASK = 1L;
public static long DTPRATICA_COLUMN_BITMASK = 2L;
public static long GROUPID_COLUMN_BITMASK = 4L;
public static long OLDINTPRATICAID_COLUMN_BITMASK = 8L;
public static long STATUS_COLUMN_BITMASK = 16L;
public static long TERRITORIOID_COLUMN_BITMASK = 32L;
public static long USERID_COLUMN_BITMASK = 64L;
public static long UUID_COLUMN_BITMASK = 128L;
public static long INTPRATICAID_COLUMN_BITMASK = 256L;
public static long STATUS_COLUMN_BITMASK = 8L;
public static long TERRITORIOID_COLUMN_BITMASK = 16L;
public static long USERID_COLUMN_BITMASK = 32L;
public static long UUID_COLUMN_BITMASK = 64L;
public static long INTPRATICAID_COLUMN_BITMASK = 128L;
/**
* Converts the soap model instance into a normal model instance.
@ -161,7 +159,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
model.setStatusDate(soapModel.getStatusDate());
model.setEsitoControllo(soapModel.getEsitoControllo());
model.setDtPratica(soapModel.getDtPratica());
model.setOldIntPraticaId(soapModel.getOldIntPraticaId());
model.setSospesa(soapModel.getSospesa());
model.setDtSospensione(soapModel.getDtSospensione());
model.setCodiceFiscaleDelegatoFineLavori(soapModel.getCodiceFiscaleDelegatoFineLavori());
@ -257,7 +254,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
attributes.put("statusDate", getStatusDate());
attributes.put("esitoControllo", getEsitoControllo());
attributes.put("dtPratica", getDtPratica());
attributes.put("oldIntPraticaId", getOldIntPraticaId());
attributes.put("sospesa", getSospesa());
attributes.put("dtSospensione", getDtSospensione());
attributes.put("codiceFiscaleDelegatoFineLavori",
@ -408,12 +404,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
setDtPratica(dtPratica);
}
Long oldIntPraticaId = (Long)attributes.get("oldIntPraticaId");
if (oldIntPraticaId != null) {
setOldIntPraticaId(oldIntPraticaId);
}
Boolean sospesa = (Boolean)attributes.get("sospesa");
if (sospesa != null) {
@ -849,29 +839,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
return _originalDtPratica;
}
@JSON
@Override
public long getOldIntPraticaId() {
return _oldIntPraticaId;
}
@Override
public void setOldIntPraticaId(long oldIntPraticaId) {
_columnBitmask |= OLDINTPRATICAID_COLUMN_BITMASK;
if (!_setOriginalOldIntPraticaId) {
_setOriginalOldIntPraticaId = true;
_originalOldIntPraticaId = _oldIntPraticaId;
}
_oldIntPraticaId = oldIntPraticaId;
}
public long getOriginalOldIntPraticaId() {
return _originalOldIntPraticaId;
}
@JSON
@Override
public boolean getSospesa() {
@ -1072,7 +1039,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
intPraticaImpl.setStatusDate(getStatusDate());
intPraticaImpl.setEsitoControllo(getEsitoControllo());
intPraticaImpl.setDtPratica(getDtPratica());
intPraticaImpl.setOldIntPraticaId(getOldIntPraticaId());
intPraticaImpl.setSospesa(getSospesa());
intPraticaImpl.setDtSospensione(getDtSospensione());
intPraticaImpl.setCodiceFiscaleDelegatoFineLavori(getCodiceFiscaleDelegatoFineLavori());
@ -1158,10 +1124,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
intPraticaModelImpl._originalDtPratica = intPraticaModelImpl._dtPratica;
intPraticaModelImpl._originalOldIntPraticaId = intPraticaModelImpl._oldIntPraticaId;
intPraticaModelImpl._setOriginalOldIntPraticaId = false;
intPraticaModelImpl._columnBitmask = 0;
}
@ -1291,8 +1253,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
intPraticaCacheModel.dtPratica = Long.MIN_VALUE;
}
intPraticaCacheModel.oldIntPraticaId = getOldIntPraticaId();
intPraticaCacheModel.sospesa = getSospesa();
Date dtSospensione = getDtSospensione();
@ -1337,7 +1297,7 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
@Override
public String toString() {
StringBundler sb = new StringBundler(65);
StringBundler sb = new StringBundler(63);
sb.append("{uuid=");
sb.append(getUuid());
@ -1383,8 +1343,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
sb.append(getEsitoControllo());
sb.append(", dtPratica=");
sb.append(getDtPratica());
sb.append(", oldIntPraticaId=");
sb.append(getOldIntPraticaId());
sb.append(", sospesa=");
sb.append(getSospesa());
sb.append(", dtSospensione=");
@ -1410,7 +1368,7 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(100);
StringBundler sb = new StringBundler(97);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.IntPratica");
@ -1504,10 +1462,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
"<column><column-name>dtPratica</column-name><column-value><![CDATA[");
sb.append(getDtPratica());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>oldIntPraticaId</column-name><column-value><![CDATA[");
sb.append(getOldIntPraticaId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>sospesa</column-name><column-value><![CDATA[");
sb.append(getSospesa());
@ -1590,9 +1544,6 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
private int _esitoControllo;
private Date _dtPratica;
private Date _originalDtPratica;
private long _oldIntPraticaId;
private long _originalOldIntPraticaId;
private boolean _setOriginalOldIntPraticaId;
private boolean _sospesa;
private Date _dtSospensione;
private String _codiceFiscaleDelegatoFineLavori;

93
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/FascicoloPortlet.java

@ -1,10 +1,8 @@
package it.tref.liferay.portos.bo.portlet;
import it.tref.liferay.portos.bo.model.Collaudo;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.FineLavori;
import it.tref.liferay.portos.bo.model.HistoryWorkflowAction;
import it.tref.liferay.portos.bo.model.InfoFascicolo;
import it.tref.liferay.portos.bo.model.IntPratica;
@ -12,12 +10,10 @@ import it.tref.liferay.portos.bo.model.Provincia;
import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.search.IntPraticaAdvancedSearch;
import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DettPraticaServiceUtil;
import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil;
import it.tref.liferay.portos.bo.service.HistoryWorkflowActionLocalServiceUtil;
import it.tref.liferay.portos.bo.service.InfoFascicoloLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
@ -31,8 +27,6 @@ import it.tref.liferay.portos.bo.shared.util.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.shared.util.PortletKeys;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.Constants;
import it.tref.liferay.portos.bo.util.FilesImporter;
import it.tref.liferay.portos.bo.util.PraticaUtil;
import it.tref.liferay.portos.bo.util.ValidazionePraticaUtil;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
@ -41,7 +35,6 @@ import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
@ -405,10 +398,6 @@ public class FascicoloPortlet extends MVCPortlet {
tipologieAllegati = DocumentiPraticaUtil.getDocGeologo();
} else if ("page_allegati".equals(comingFrom)) {
tipologieAllegati = DocumentiPraticaUtil.getDocDomanda();
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
if (Validator.isNotNull(intPratica.getOldIntPraticaId())) {
tipologieAllegati.addAll(0, DocumentiPraticaUtil.getDocDomandaPortos1());
}
} else if ("page_fine_lavori".equals(comingFrom)) {
tipologieAllegati = DocumentiPraticaUtil.getDocFineLavori();
} else if ("page_collaudo".equals(comingFrom)) {
@ -456,63 +445,10 @@ public class FascicoloPortlet extends MVCPortlet {
resourceResponse.getPortletOutputStream().close();
} else if ("importFile".equals(id)) {
long classPk = ParamUtil.getLong(resourceRequest, "classPk");
String className = ParamUtil.getString(resourceRequest, "className");
FilesImporter.importaFile(classPk, className);
// if (DocPratica.class.getName().equalsIgnoreCase(className)) {
// DocPratica docPratica =
// DocPraticaLocalServiceUtil.getDocPratica(classPk);
// if (docPratica.getDlFileEntryId() == 0L &&
// docPratica.getOldDlFileEntryId() != 0L) {
// FilesImporter.handleFileImportDocPratica(docPratica);
// }
// } else if
// (Avviso.class.getName().equalsIgnoreCase(className)) {
// Avviso avviso = AvvisoLocalServiceUtil.getAvviso(classPk);
// if (avviso.getFileEntryIdBase() == 0L &&
// avviso.getOldFileEntryIdBase() != 0L) {
// FilesImporter.handleFileImportAvviso(avviso, true);
// }
// if (avviso.getFileEntryIdInvio() == 0L &&
// avviso.getOldFileEntryIdInvio() != 0L) {
// FilesImporter.handleFileImportAvviso(avviso, false);
// }
// } else if
// (Pagamento.class.getName().equalsIgnoreCase(className)) {
// Pagamento pagamento =
// PagamentoLocalServiceUtil.getPagamento(classPk);
// if (pagamento.getFileEntryId() == 0L &&
// pagamento.getOldFileEntryId() != 0L) {
// FilesImporter.handleFileImportPagamento(pagamento);
// }
// } else if
// (DocAggiuntiva.class.getName().equalsIgnoreCase(className)) {
// DocAggiuntiva docAggiuntiva =
// DocAggiuntivaLocalServiceUtil.getDocAggiuntiva(classPk);
// if (docAggiuntiva.getFileEntryId() == 0L &&
// docAggiuntiva.getOldFileEntryId() != 0L) {
// FilesImporter.handleFileImportDocAggiuntiva(docAggiuntiva);
// }
// } else if
// (AllegatoManuale.class.getName().equalsIgnoreCase(className))
// {
// AllegatoManuale allegatoManuale =
// AllegatoManualeLocalServiceUtil.getAllegatoManuale(classPk);
// if (allegatoManuale.getFileEntryId() == 0L &&
// allegatoManuale.getOldFileEntryId() != 0L)
// {
// FilesImporter.handleFileImportAllegatoManuale(allegatoManuale);
// }
// }
PortletResponseUtil
.write(resourceResponse,
"<p style='margin-bottom:20px'><strong>Completato</strong></p><a href='#' class='btn btn-success' onclick=\"Liferay.Portlet.refresh('#p_p_id_"
+ PortletKeys.FASCICOLO + "_')\">Refresh</a>");
} else if ("importAllFascicoloFiles".equals(id)) {
long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId");
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
@ -534,32 +470,6 @@ public class FascicoloPortlet extends MVCPortlet {
}
}
User user = UserLocalServiceUtil.fetchUser(serviceContext.getUserId());
_log.debug("************** START IMPORT FILES FASCICOLO : " + intPraticaId + " by user"
+ user.getFullName());
List<DettPratica> listaDet = DettPraticaLocalServiceUtil.findByIntPraticaId(intPraticaId);
for (DettPratica dettPratica : listaDet) {
FilesImporter.importaFilesFascicolo(dettPratica.getDettPraticaId(),
DettPratica.class.getName());
}
List<FineLavori> listaFine = FineLavoriLocalServiceUtil.findByIntPraticaId(intPraticaId, -1,
-1, null);
for (FineLavori fineLavori : listaFine) {
FilesImporter.importaFilesFascicolo(fineLavori.getFineLavoriId(),
FineLavori.class.getName());
}
List<Collaudo> listaColl = CollaudoLocalServiceUtil.findByIntPraticaId(intPraticaId, -1, -1,
null);
for (Collaudo collaudo : listaColl) {
FilesImporter.importaFilesFascicolo(collaudo.getCollaudoId(), Collaudo.class.getName());
}
_log.debug("************** END IMPORT FILES FASCICOLO : " + intPraticaId);
infoFascicolo.setAlreadyImported(true);
infoFascicolo = InfoFascicoloLocalServiceUtil.updateInfoFascicolo(infoFascicolo);
@ -687,8 +597,6 @@ public class FascicoloPortlet extends MVCPortlet {
sb.append(StringPool.NEW_LINE);
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
for (IntPratica intPratica : lista) {
try {
@ -711,7 +619,6 @@ public class FascicoloPortlet extends MVCPortlet {
sb.append(CSVUtil.encode(praticaLabel));
sb.append(StringPool.SEMICOLON);
User titolareUser = UserLocalServiceUtil.getUserById(intPratica.getUserId());
List<Soggetto> titolari = SoggettoLocalServiceUtil.getValidByIntPratica_CodiceFiscale(
lastDettPratica.getIntPraticaId(),
lastDettPratica.getCodiceFiscaleDelegatoCommittente());

11
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/CollaudoLocalServiceClpInvoker.java

@ -268,10 +268,6 @@ public class CollaudoLocalServiceClpInvoker {
_methodName230 = "countCollaudiCompletiNotGestiti";
_methodParameterTypes230 = new String[] { };
_methodName232 = "fetchByOldDettPraticaId";
_methodParameterTypes232 = new String[] { "long" };
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -581,11 +577,6 @@ public class CollaudoLocalServiceClpInvoker {
return CollaudoLocalServiceUtil.countCollaudiCompletiNotGestiti();
}
if (_methodName232.equals(name) &&
Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) {
return CollaudoLocalServiceUtil.fetchByOldDettPraticaId(((Long)arguments[0]).longValue());
}
throw new UnsupportedOperationException();
}
@ -687,6 +678,4 @@ public class CollaudoLocalServiceClpInvoker {
private String[] _methodParameterTypes229;
private String _methodName230;
private String[] _methodParameterTypes230;
private String _methodName232;
private String[] _methodParameterTypes232;
}

528
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java

File diff soppresso perché troppo grande Load Diff

130
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaServiceClpInvoker.java

@ -84,30 +84,30 @@ public class DettPraticaServiceClpInvoker {
"java.lang.String", "boolean", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.util.Date", "int", "boolean", "long",
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "long", "long",
"boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "boolean", "java.util.Date", "java.util.Date",
"java.util.Date", "java.lang.String", "boolean", "long", "int",
"java.lang.String", "long", "long", "boolean", "boolean",
"boolean", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"java.util.Date", "java.util.Date", "java.util.Date",
"java.lang.String", "boolean", "long", "int", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "java.lang.String", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
@ -115,21 +115,20 @@ public class DettPraticaServiceClpInvoker {
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.util.Date",
"boolean", "int", "int", "boolean", "int", "boolean", "int",
"boolean", "java.lang.String", "java.lang.String",
"java.util.Date", "boolean", "int", "int", "boolean", "int",
"boolean", "int", "boolean", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "java.lang.String", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean",
"java.lang.String", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "java.lang.String", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "java.lang.String", "java.lang.String",
"boolean", "java.lang.String",
"boolean", "boolean", "boolean", "boolean", "boolean", "boolean",
"boolean", "boolean", "boolean", "java.lang.String",
"java.lang.String", "boolean", "java.lang.String",
"com.liferay.portal.service.ServiceContext", "boolean",
"boolean", "boolean"
};
@ -285,30 +284,30 @@ public class DettPraticaServiceClpInvoker {
((Integer)arguments[14]).intValue(),
((Boolean)arguments[15]).booleanValue(),
((Long)arguments[16]).longValue(),
((Long)arguments[17]).longValue(),
(java.lang.String)arguments[17],
(java.lang.String)arguments[18],
(java.lang.String)arguments[19],
(java.lang.String)arguments[20],
(java.lang.String)arguments[21],
(java.lang.String)arguments[22],
(java.lang.String)arguments[23],
(java.lang.String)arguments[24],
((Long)arguments[24]).longValue(),
((Long)arguments[25]).longValue(),
((Long)arguments[26]).longValue(),
((Boolean)arguments[26]).booleanValue(),
((Boolean)arguments[27]).booleanValue(),
((Boolean)arguments[28]).booleanValue(),
((Boolean)arguments[29]).booleanValue(),
(java.lang.String)arguments[29],
(java.lang.String)arguments[30],
(java.lang.String)arguments[31],
(java.lang.String)arguments[32],
(java.lang.String)arguments[33],
((Boolean)arguments[33]).booleanValue(),
((Boolean)arguments[34]).booleanValue(),
((Boolean)arguments[35]).booleanValue(),
(java.util.Date)arguments[36], (java.util.Date)arguments[37],
(java.util.Date)arguments[38], (java.lang.String)arguments[39],
((Boolean)arguments[40]).booleanValue(),
((Long)arguments[41]).longValue(),
((Integer)arguments[42]).intValue(),
(java.util.Date)arguments[35], (java.util.Date)arguments[36],
(java.util.Date)arguments[37], (java.lang.String)arguments[38],
((Boolean)arguments[39]).booleanValue(),
((Long)arguments[40]).longValue(),
((Integer)arguments[41]).intValue(),
(java.lang.String)arguments[42],
(java.lang.String)arguments[43],
(java.lang.String)arguments[44],
(java.lang.String)arguments[45],
@ -323,7 +322,7 @@ public class DettPraticaServiceClpInvoker {
(java.lang.String)arguments[54],
(java.lang.String)arguments[55],
(java.lang.String)arguments[56],
(java.lang.String)arguments[57],
((Boolean)arguments[57]).booleanValue(),
((Boolean)arguments[58]).booleanValue(),
((Boolean)arguments[59]).booleanValue(),
((Boolean)arguments[60]).booleanValue(),
@ -334,31 +333,31 @@ public class DettPraticaServiceClpInvoker {
((Boolean)arguments[65]).booleanValue(),
((Boolean)arguments[66]).booleanValue(),
((Boolean)arguments[67]).booleanValue(),
((Boolean)arguments[68]).booleanValue(),
(java.lang.String)arguments[68],
(java.lang.String)arguments[69],
(java.lang.String)arguments[70],
((Boolean)arguments[70]).booleanValue(),
((Boolean)arguments[71]).booleanValue(),
((Boolean)arguments[72]).booleanValue(),
((Boolean)arguments[73]).booleanValue(),
((Boolean)arguments[74]).booleanValue(),
(java.lang.String)arguments[74],
(java.lang.String)arguments[75],
(java.lang.String)arguments[76],
(java.lang.String)arguments[77],
((Boolean)arguments[77]).booleanValue(),
((Boolean)arguments[78]).booleanValue(),
((Boolean)arguments[79]).booleanValue(),
((Boolean)arguments[80]).booleanValue(),
((Boolean)arguments[81]).booleanValue(),
((Boolean)arguments[82]).booleanValue(),
((Boolean)arguments[83]).booleanValue(),
(java.lang.String)arguments[84],
(java.lang.String)arguments[83],
((Boolean)arguments[84]).booleanValue(),
((Boolean)arguments[85]).booleanValue(),
((Boolean)arguments[86]).booleanValue(),
((Boolean)arguments[87]).booleanValue(),
((Boolean)arguments[88]).booleanValue(),
((Boolean)arguments[89]).booleanValue(),
((Boolean)arguments[90]).booleanValue(),
(java.lang.String)arguments[90],
(java.lang.String)arguments[91],
(java.lang.String)arguments[92],
((Boolean)arguments[92]).booleanValue(),
((Boolean)arguments[93]).booleanValue(),
((Boolean)arguments[94]).booleanValue(),
((Boolean)arguments[95]).booleanValue(),
@ -366,14 +365,14 @@ public class DettPraticaServiceClpInvoker {
((Boolean)arguments[97]).booleanValue(),
((Boolean)arguments[98]).booleanValue(),
((Boolean)arguments[99]).booleanValue(),
((Boolean)arguments[100]).booleanValue(),
(java.lang.String)arguments[101],
(java.lang.String)arguments[100],
((Boolean)arguments[101]).booleanValue(),
((Boolean)arguments[102]).booleanValue(),
((Boolean)arguments[103]).booleanValue(),
((Boolean)arguments[104]).booleanValue(),
((Boolean)arguments[105]).booleanValue(),
((Boolean)arguments[106]).booleanValue(),
(java.lang.String)arguments[107],
(java.lang.String)arguments[106],
((Boolean)arguments[107]).booleanValue(),
((Boolean)arguments[108]).booleanValue(),
((Boolean)arguments[109]).booleanValue(),
((Boolean)arguments[110]).booleanValue(),
@ -382,7 +381,7 @@ public class DettPraticaServiceClpInvoker {
((Boolean)arguments[113]).booleanValue(),
((Boolean)arguments[114]).booleanValue(),
((Boolean)arguments[115]).booleanValue(),
((Boolean)arguments[116]).booleanValue(),
(java.lang.String)arguments[116],
(java.lang.String)arguments[117],
(java.lang.String)arguments[118],
(java.lang.String)arguments[119],
@ -405,16 +404,16 @@ public class DettPraticaServiceClpInvoker {
(java.lang.String)arguments[136],
(java.lang.String)arguments[137],
(java.lang.String)arguments[138],
(java.lang.String)arguments[139],
(java.util.Date)arguments[140],
((Boolean)arguments[141]).booleanValue(),
(java.util.Date)arguments[139],
((Boolean)arguments[140]).booleanValue(),
((Integer)arguments[141]).intValue(),
((Integer)arguments[142]).intValue(),
((Integer)arguments[143]).intValue(),
((Boolean)arguments[144]).booleanValue(),
((Integer)arguments[145]).intValue(),
((Boolean)arguments[146]).booleanValue(),
((Integer)arguments[147]).intValue(),
((Boolean)arguments[148]).booleanValue(),
((Boolean)arguments[143]).booleanValue(),
((Integer)arguments[144]).intValue(),
((Boolean)arguments[145]).booleanValue(),
((Integer)arguments[146]).intValue(),
((Boolean)arguments[147]).booleanValue(),
(java.lang.String)arguments[148],
(java.lang.String)arguments[149],
(java.lang.String)arguments[150],
(java.lang.String)arguments[151],
@ -426,7 +425,7 @@ public class DettPraticaServiceClpInvoker {
(java.lang.String)arguments[157],
(java.lang.String)arguments[158],
(java.lang.String)arguments[159],
(java.lang.String)arguments[160],
((Boolean)arguments[160]).booleanValue(),
((Boolean)arguments[161]).booleanValue(),
((Boolean)arguments[162]).booleanValue(),
((Boolean)arguments[163]).booleanValue(),
@ -441,8 +440,8 @@ public class DettPraticaServiceClpInvoker {
((Boolean)arguments[172]).booleanValue(),
((Boolean)arguments[173]).booleanValue(),
((Boolean)arguments[174]).booleanValue(),
((Boolean)arguments[175]).booleanValue(),
(java.lang.String)arguments[176],
(java.lang.String)arguments[175],
((Boolean)arguments[176]).booleanValue(),
((Boolean)arguments[177]).booleanValue(),
((Boolean)arguments[178]).booleanValue(),
((Boolean)arguments[179]).booleanValue(),
@ -466,15 +465,14 @@ public class DettPraticaServiceClpInvoker {
((Boolean)arguments[197]).booleanValue(),
((Boolean)arguments[198]).booleanValue(),
((Boolean)arguments[199]).booleanValue(),
((Boolean)arguments[200]).booleanValue(),
(java.lang.String)arguments[200],
(java.lang.String)arguments[201],
(java.lang.String)arguments[202],
((Boolean)arguments[203]).booleanValue(),
(java.lang.String)arguments[204],
(com.liferay.portal.service.ServiceContext)arguments[205],
((Boolean)arguments[202]).booleanValue(),
(java.lang.String)arguments[203],
(com.liferay.portal.service.ServiceContext)arguments[204],
((Boolean)arguments[205]).booleanValue(),
((Boolean)arguments[206]).booleanValue(),
((Boolean)arguments[207]).booleanValue(),
((Boolean)arguments[208]).booleanValue());
((Boolean)arguments[207]).booleanValue());
}
if (_methodName221.equals(name) &&

11
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java

@ -304,10 +304,6 @@ public class FineLavoriLocalServiceClpInvoker {
_methodName238 = "findIntPraticaByFineLavori";
_methodParameterTypes238 = new String[] { "java.lang.String" };
_methodName239 = "fetchByOldDettPraticaId";
_methodParameterTypes239 = new String[] { "long" };
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -666,11 +662,6 @@ public class FineLavoriLocalServiceClpInvoker {
return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori((java.lang.String)arguments[0]);
}
if (_methodName239.equals(name) &&
Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) {
return FineLavoriLocalServiceUtil.fetchByOldDettPraticaId(((Long)arguments[0]).longValue());
}
throw new UnsupportedOperationException();
}
@ -786,6 +777,4 @@ public class FineLavoriLocalServiceClpInvoker {
private String[] _methodParameterTypes237;
private String _methodName238;
private String[] _methodParameterTypes238;
private String _methodName239;
private String[] _methodParameterTypes239;
}

390
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java

@ -150,7 +150,7 @@ public class IntPraticaLocalServiceClpInvoker {
_methodParameterTypes207 = new String[] {
"long", "java.lang.String", "java.lang.String", "long",
"java.lang.String", "java.util.Date", "java.lang.String",
"java.lang.String", "boolean", "int", "java.util.Date", "long",
"java.lang.String", "boolean", "int", "java.util.Date",
"com.liferay.portal.service.ServiceContext"
};
@ -232,239 +232,235 @@ public class IntPraticaLocalServiceClpInvoker {
_methodParameterTypes227 = new String[] { "long", "long" };
_methodName228 = "fetchByOldIntPraticaId";
_methodName228 = "updateStatus";
_methodParameterTypes228 = new String[] { "long" };
_methodParameterTypes228 = new String[] { "long", "int" };
_methodName229 = "updateStatus";
_methodName229 = "findByCompanyIdSoggettoProgetti";
_methodParameterTypes229 = new String[] { "long", "int" };
_methodParameterTypes229 = new String[] { "long", "long" };
_methodName230 = "findByCompanyIdSoggettoProgetti";
_methodName230 = "countByCompanyIdSoggettoProgetti";
_methodParameterTypes230 = new String[] { "long", "long" };
_methodName231 = "countByCompanyIdSoggettoProgetti";
_methodName232 = "findByCompanyIdSoggettoArchivio";
_methodParameterTypes231 = new String[] { "long", "long" };
_methodParameterTypes232 = new String[] { "long", "long" };
_methodName233 = "findByCompanyIdSoggettoArchivio";
_methodName233 = "countByCompanyIdSoggettoArchivio";
_methodParameterTypes233 = new String[] { "long", "long" };
_methodName234 = "countByCompanyIdSoggettoArchivio";
_methodName235 = "findByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes234 = new String[] { "long", "long" };
_methodParameterTypes235 = new String[] { "long", "long", "int", "int" };
_methodName236 = "findByCompanyIdSoggettoAltriProgetti";
_methodName236 = "countByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes236 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes236 = new String[] { "long", "long" };
_methodName237 = "countByCompanyIdSoggettoAltriProgetti";
_methodName238 = "findByCanAddFineLavori";
_methodParameterTypes237 = new String[] { "long", "long" };
_methodName239 = "findByCanAddFineLavori";
_methodParameterTypes239 = new String[] {
_methodParameterTypes238 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName240 = "countByCanAddFineLavori";
_methodName239 = "countByCanAddFineLavori";
_methodParameterTypes240 = new String[] { "long", "java.lang.String" };
_methodParameterTypes239 = new String[] { "long", "java.lang.String" };
_methodName242 = "findByCanAddCollaudo";
_methodName241 = "findByCanAddCollaudo";
_methodParameterTypes242 = new String[] {
_methodParameterTypes241 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName243 = "countByCanAddCollaudo";
_methodName242 = "countByCanAddCollaudo";
_methodParameterTypes243 = new String[] { "long", "java.lang.String" };
_methodParameterTypes242 = new String[] { "long", "java.lang.String" };
_methodName245 = "search";
_methodName244 = "search";
_methodParameterTypes245 = new String[] { "java.util.List", "int", "int" };
_methodParameterTypes244 = new String[] { "java.util.List", "int", "int" };
_methodName246 = "countSearch";
_methodName245 = "countSearch";
_methodParameterTypes246 = new String[] { "java.util.List" };
_methodParameterTypes245 = new String[] { "java.util.List" };
_methodName247 = "searchWithIntPraticaId";
_methodName246 = "searchWithIntPraticaId";
_methodParameterTypes247 = new String[] {
_methodParameterTypes246 = new String[] {
"java.util.List", "long", "int", "int"
};
_methodName248 = "countSearchWithIntPraticaId";
_methodName247 = "countSearchWithIntPraticaId";
_methodParameterTypes248 = new String[] { "java.util.List", "long" };
_methodParameterTypes247 = new String[] { "java.util.List", "long" };
_methodName249 = "allegaFileAnnullamento";
_methodName248 = "allegaFileAnnullamento";
_methodParameterTypes249 = new String[] {
_methodParameterTypes248 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName250 = "generateFileAnnullamento";
_methodName249 = "generateFileAnnullamento";
_methodParameterTypes250 = new String[] {
_methodParameterTypes249 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName251 = "deleteFileAnnullamento";
_methodName250 = "deleteFileAnnullamento";
_methodParameterTypes251 = new String[] { "long" };
_methodParameterTypes250 = new String[] { "long" };
_methodName252 = "completeAnnullamento";
_methodName251 = "completeAnnullamento";
_methodParameterTypes252 = new String[] { "long" };
_methodParameterTypes251 = new String[] { "long" };
_methodName253 = "cambiaIstruttore";
_methodName252 = "cambiaIstruttore";
_methodParameterTypes253 = new String[] { "long", "long", "long" };
_methodParameterTypes252 = new String[] { "long", "long", "long" };
_methodName254 = "countCaricoLavoroCF";
_methodName253 = "countCaricoLavoroCF";
_methodParameterTypes254 = new String[] {
_methodParameterTypes253 = new String[] {
"long", "java.lang.String", "java.lang.Boolean",
"java.lang.Long[][]"
};
_methodName255 = "countCaricoLavoroIstruttore";
_methodName254 = "countCaricoLavoroIstruttore";
_methodParameterTypes255 = new String[] {
_methodParameterTypes254 = new String[] {
"long", "java.lang.String", "java.lang.Boolean"
};
_methodName256 = "generateReportPratica";
_methodName255 = "generateReportPratica";
_methodParameterTypes256 = new String[] {
_methodParameterTypes255 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName257 = "updateModifiedDate";
_methodName256 = "updateModifiedDate";
_methodParameterTypes257 = new String[] { "long", "java.util.Date" };
_methodParameterTypes256 = new String[] { "long", "java.util.Date" };
_methodName258 = "countAutorizzazione";
_methodName257 = "countAutorizzazione";
_methodParameterTypes258 = new String[] {
_methodParameterTypes257 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName259 = "countSanatorie";
_methodName258 = "countSanatorie";
_methodParameterTypes259 = new String[] {
_methodParameterTypes258 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName260 = "countOpereMinoreImportanza";
_methodName259 = "countOpereMinoreImportanza";
_methodParameterTypes260 = new String[] {
_methodParameterTypes259 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName261 = "countDeposito";
_methodName260 = "countDeposito";
_methodParameterTypes261 = new String[] {
_methodParameterTypes260 = new String[] {
"java.util.Date", "java.util.Date", "long", "boolean"
};
_methodName262 = "countVidimate";
_methodName261 = "countVidimate";
_methodParameterTypes262 = new String[] {
_methodParameterTypes261 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName263 = "countControllo";
_methodName262 = "countControllo";
_methodParameterTypes263 = new String[] {
_methodParameterTypes262 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName264 = "importaVecchiFilesFascicolo";
_methodName263 = "importaVecchiFilesFascicolo";
_methodParameterTypes264 = new String[] { "long", "int", "int" };
_methodParameterTypes263 = new String[] { "long", "int", "int" };
_methodName265 = "findIntPraticaNotExist";
_methodName264 = "findIntPraticaNotExist";
_methodParameterTypes265 = new String[] { };
_methodParameterTypes264 = new String[] { };
_methodName266 = "riparaWorkflow";
_methodName265 = "riparaWorkflow";
_methodParameterTypes266 = new String[] { };
_methodParameterTypes265 = new String[] { };
_methodName267 = "reIndexFascicolo";
_methodName266 = "reIndexFascicolo";
_methodParameterTypes267 = new String[] {
_methodParameterTypes266 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName268 = "reIndexFasciolo";
_methodName267 = "reIndexFasciolo";
_methodParameterTypes268 = new String[] { "java.lang.String", "long" };
_methodParameterTypes267 = new String[] { "java.lang.String", "long" };
_methodName269 = "reIndexFasciolo";
_methodName268 = "reIndexFasciolo";
_methodParameterTypes269 = new String[] { "long", "long" };
_methodParameterTypes268 = new String[] { "long", "long" };
_methodName270 = "trovaDoppioni";
_methodName269 = "trovaDoppioni";
_methodParameterTypes270 = new String[] { };
_methodParameterTypes269 = new String[] { };
_methodName271 = "findByNumeroProgetto";
_methodName270 = "findByNumeroProgetto";
_methodParameterTypes271 = new String[] { "java.lang.String" };
_methodParameterTypes270 = new String[] { "java.lang.String" };
_methodName272 = "findByTerritorioId";
_methodName271 = "findByTerritorioId";
_methodParameterTypes272 = new String[] { "long" };
_methodParameterTypes271 = new String[] { "long" };
_methodName273 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodName272 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodParameterTypes273 = new String[] {
_methodParameterTypes272 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodName274 = "reportTempisticheIstruttorieCalcolaDataSorteggio";
_methodName273 = "reportTempisticheIstruttorieCalcolaDataSorteggio";
_methodParameterTypes274 = new String[] {
_methodParameterTypes273 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName275 = "reportPraticheVidimate";
_methodName274 = "reportPraticheVidimate";
_methodParameterTypes275 = new String[] {
_methodParameterTypes274 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodName276 = "reportPraticheVidimateCalcolaDataSorteggio";
_methodName275 = "reportPraticheVidimateCalcolaDataSorteggio";
_methodParameterTypes276 = new String[] {
_methodParameterTypes275 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName277 = "countIngressiAutorizzazioni";
_methodName276 = "countIngressiAutorizzazioni";
_methodParameterTypes277 = new String[] {
_methodParameterTypes276 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName278 = "countIngressiDepositi";
_methodName277 = "countIngressiDepositi";
_methodParameterTypes278 = new String[] {
_methodParameterTypes277 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName279 = "countIngressiCO";
_methodName278 = "countIngressiCO";
_methodParameterTypes279 = new String[] {
_methodParameterTypes278 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
}
@ -623,8 +619,7 @@ public class IntPraticaLocalServiceClpInvoker {
((Boolean)arguments[8]).booleanValue(),
((Integer)arguments[9]).intValue(),
(java.util.Date)arguments[10],
((Long)arguments[11]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[12]);
(com.liferay.portal.service.ServiceContext)arguments[11]);
}
if (_methodName208.equals(name) &&
@ -726,139 +721,134 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName228.equals(name) &&
Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) {
return IntPraticaLocalServiceUtil.fetchByOldIntPraticaId(((Long)arguments[0]).longValue());
}
if (_methodName229.equals(name) &&
Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) {
IntPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue());
return null;
}
if (_methodName230.equals(name) &&
Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) {
if (_methodName229.equals(name) &&
Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName231.equals(name) &&
Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) {
if (_methodName230.equals(name) &&
Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName233.equals(name) &&
Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) {
if (_methodName232.equals(name) &&
Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName234.equals(name) &&
Arrays.deepEquals(_methodParameterTypes234, parameterTypes)) {
if (_methodName233.equals(name) &&
Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName236.equals(name) &&
Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) {
if (_methodName235.equals(name) &&
Arrays.deepEquals(_methodParameterTypes235, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName237.equals(name) &&
Arrays.deepEquals(_methodParameterTypes237, parameterTypes)) {
if (_methodName236.equals(name) &&
Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName239.equals(name) &&
Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) {
if (_methodName238.equals(name) &&
Arrays.deepEquals(_methodParameterTypes238, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddFineLavori(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName240.equals(name) &&
Arrays.deepEquals(_methodParameterTypes240, parameterTypes)) {
if (_methodName239.equals(name) &&
Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddFineLavori(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName242.equals(name) &&
Arrays.deepEquals(_methodParameterTypes242, parameterTypes)) {
if (_methodName241.equals(name) &&
Arrays.deepEquals(_methodParameterTypes241, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName243.equals(name) &&
Arrays.deepEquals(_methodParameterTypes243, parameterTypes)) {
if (_methodName242.equals(name) &&
Arrays.deepEquals(_methodParameterTypes242, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName245.equals(name) &&
Arrays.deepEquals(_methodParameterTypes245, parameterTypes)) {
if (_methodName244.equals(name) &&
Arrays.deepEquals(_methodParameterTypes244, parameterTypes)) {
return IntPraticaLocalServiceUtil.search((java.util.List<java.lang.Long>)arguments[0],
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName246.equals(name) &&
Arrays.deepEquals(_methodParameterTypes246, parameterTypes)) {
if (_methodName245.equals(name) &&
Arrays.deepEquals(_methodParameterTypes245, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSearch((java.util.List<java.lang.Long>)arguments[0]);
}
if (_methodName247.equals(name) &&
Arrays.deepEquals(_methodParameterTypes247, parameterTypes)) {
if (_methodName246.equals(name) &&
Arrays.deepEquals(_methodParameterTypes246, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0],
((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName248.equals(name) &&
Arrays.deepEquals(_methodParameterTypes248, parameterTypes)) {
if (_methodName247.equals(name) &&
Arrays.deepEquals(_methodParameterTypes247, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSearchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0],
((Long)arguments[1]).longValue());
}
if (_methodName249.equals(name) &&
Arrays.deepEquals(_methodParameterTypes249, parameterTypes)) {
if (_methodName248.equals(name) &&
Arrays.deepEquals(_methodParameterTypes248, parameterTypes)) {
return IntPraticaLocalServiceUtil.allegaFileAnnullamento(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]);
}
if (_methodName250.equals(name) &&
Arrays.deepEquals(_methodParameterTypes250, parameterTypes)) {
if (_methodName249.equals(name) &&
Arrays.deepEquals(_methodParameterTypes249, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]);
}
if (_methodName251.equals(name) &&
Arrays.deepEquals(_methodParameterTypes251, parameterTypes)) {
if (_methodName250.equals(name) &&
Arrays.deepEquals(_methodParameterTypes250, parameterTypes)) {
IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue());
return null;
}
if (_methodName252.equals(name) &&
Arrays.deepEquals(_methodParameterTypes252, parameterTypes)) {
if (_methodName251.equals(name) &&
Arrays.deepEquals(_methodParameterTypes251, parameterTypes)) {
IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue());
return null;
}
if (_methodName253.equals(name) &&
Arrays.deepEquals(_methodParameterTypes253, parameterTypes)) {
if (_methodName252.equals(name) &&
Arrays.deepEquals(_methodParameterTypes252, parameterTypes)) {
IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue());
@ -866,92 +856,100 @@ public class IntPraticaLocalServiceClpInvoker {
return null;
}
if (_methodName254.equals(name) &&
Arrays.deepEquals(_methodParameterTypes254, parameterTypes)) {
if (_methodName253.equals(name) &&
Arrays.deepEquals(_methodParameterTypes253, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(java.lang.Boolean)arguments[2], (java.lang.Long[])arguments[3]);
}
if (_methodName255.equals(name) &&
Arrays.deepEquals(_methodParameterTypes255, parameterTypes)) {
if (_methodName254.equals(name) &&
Arrays.deepEquals(_methodParameterTypes254, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.Boolean)arguments[2]);
}
if (_methodName256.equals(name) &&
Arrays.deepEquals(_methodParameterTypes256, parameterTypes)) {
if (_methodName255.equals(name) &&
Arrays.deepEquals(_methodParameterTypes255, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
}
if (_methodName257.equals(name) &&
Arrays.deepEquals(_methodParameterTypes257, parameterTypes)) {
if (_methodName256.equals(name) &&
Arrays.deepEquals(_methodParameterTypes256, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(),
(java.util.Date)arguments[1]);
}
if (_methodName258.equals(name) &&
Arrays.deepEquals(_methodParameterTypes258, parameterTypes)) {
if (_methodName257.equals(name) &&
Arrays.deepEquals(_methodParameterTypes257, parameterTypes)) {
return IntPraticaLocalServiceUtil.countAutorizzazione((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName259.equals(name) &&
Arrays.deepEquals(_methodParameterTypes259, parameterTypes)) {
if (_methodName258.equals(name) &&
Arrays.deepEquals(_methodParameterTypes258, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSanatorie((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName260.equals(name) &&
Arrays.deepEquals(_methodParameterTypes260, parameterTypes)) {
if (_methodName259.equals(name) &&
Arrays.deepEquals(_methodParameterTypes259, parameterTypes)) {
return IntPraticaLocalServiceUtil.countOpereMinoreImportanza((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName261.equals(name) &&
Arrays.deepEquals(_methodParameterTypes261, parameterTypes)) {
if (_methodName260.equals(name) &&
Arrays.deepEquals(_methodParameterTypes260, parameterTypes)) {
return IntPraticaLocalServiceUtil.countDeposito((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
((Boolean)arguments[3]).booleanValue());
}
if (_methodName262.equals(name) &&
Arrays.deepEquals(_methodParameterTypes262, parameterTypes)) {
if (_methodName261.equals(name) &&
Arrays.deepEquals(_methodParameterTypes261, parameterTypes)) {
return IntPraticaLocalServiceUtil.countVidimate((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3],
((Boolean)arguments[4]).booleanValue());
}
if (_methodName263.equals(name) &&
Arrays.deepEquals(_methodParameterTypes263, parameterTypes)) {
if (_methodName262.equals(name) &&
Arrays.deepEquals(_methodParameterTypes262, parameterTypes)) {
return IntPraticaLocalServiceUtil.countControllo((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3],
((Boolean)arguments[4]).booleanValue());
}
if (_methodName264.equals(name) &&
Arrays.deepEquals(_methodParameterTypes264, parameterTypes)) {
if (_methodName263.equals(name) &&
Arrays.deepEquals(_methodParameterTypes263, parameterTypes)) {
return IntPraticaLocalServiceUtil.importaVecchiFilesFascicolo(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName264.equals(name) &&
Arrays.deepEquals(_methodParameterTypes264, parameterTypes)) {
return IntPraticaLocalServiceUtil.findIntPraticaNotExist();
}
if (_methodName265.equals(name) &&
Arrays.deepEquals(_methodParameterTypes265, parameterTypes)) {
return IntPraticaLocalServiceUtil.findIntPraticaNotExist();
return IntPraticaLocalServiceUtil.riparaWorkflow();
}
if (_methodName266.equals(name) &&
Arrays.deepEquals(_methodParameterTypes266, parameterTypes)) {
return IntPraticaLocalServiceUtil.riparaWorkflow();
IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
return null;
}
if (_methodName267.equals(name) &&
Arrays.deepEquals(_methodParameterTypes267, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0],
((Long)arguments[1]).longValue());
return null;
@ -959,7 +957,7 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName268.equals(name) &&
Arrays.deepEquals(_methodParameterTypes268, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0],
IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
return null;
@ -967,67 +965,59 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName269.equals(name) &&
Arrays.deepEquals(_methodParameterTypes269, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
return null;
return IntPraticaLocalServiceUtil.trovaDoppioni();
}
if (_methodName270.equals(name) &&
Arrays.deepEquals(_methodParameterTypes270, parameterTypes)) {
return IntPraticaLocalServiceUtil.trovaDoppioni();
return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]);
}
if (_methodName271.equals(name) &&
Arrays.deepEquals(_methodParameterTypes271, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]);
return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue());
}
if (_methodName272.equals(name) &&
Arrays.deepEquals(_methodParameterTypes272, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue());
}
if (_methodName273.equals(name) &&
Arrays.deepEquals(_methodParameterTypes273, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportTempisticheIstruttorieAvvisiAutorizzazioni((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3]);
}
if (_methodName274.equals(name) &&
Arrays.deepEquals(_methodParameterTypes274, parameterTypes)) {
if (_methodName273.equals(name) &&
Arrays.deepEquals(_methodParameterTypes273, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportTempisticheIstruttorieCalcolaDataSorteggio((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName275.equals(name) &&
Arrays.deepEquals(_methodParameterTypes275, parameterTypes)) {
if (_methodName274.equals(name) &&
Arrays.deepEquals(_methodParameterTypes274, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportPraticheVidimate((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3]);
}
if (_methodName276.equals(name) &&
Arrays.deepEquals(_methodParameterTypes276, parameterTypes)) {
if (_methodName275.equals(name) &&
Arrays.deepEquals(_methodParameterTypes275, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportPraticheVidimateCalcolaDataSorteggio((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName277.equals(name) &&
Arrays.deepEquals(_methodParameterTypes277, parameterTypes)) {
if (_methodName276.equals(name) &&
Arrays.deepEquals(_methodParameterTypes276, parameterTypes)) {
return IntPraticaLocalServiceUtil.countIngressiAutorizzazioni((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName278.equals(name) &&
Arrays.deepEquals(_methodParameterTypes278, parameterTypes)) {
if (_methodName277.equals(name) &&
Arrays.deepEquals(_methodParameterTypes277, parameterTypes)) {
return IntPraticaLocalServiceUtil.countIngressiDepositi((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName279.equals(name) &&
Arrays.deepEquals(_methodParameterTypes279, parameterTypes)) {
if (_methodName278.equals(name) &&
Arrays.deepEquals(_methodParameterTypes278, parameterTypes)) {
return IntPraticaLocalServiceUtil.countIngressiCO((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
@ -1125,24 +1115,24 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes229;
private String _methodName230;
private String[] _methodParameterTypes230;
private String _methodName231;
private String[] _methodParameterTypes231;
private String _methodName232;
private String[] _methodParameterTypes232;
private String _methodName233;
private String[] _methodParameterTypes233;
private String _methodName234;
private String[] _methodParameterTypes234;
private String _methodName235;
private String[] _methodParameterTypes235;
private String _methodName236;
private String[] _methodParameterTypes236;
private String _methodName237;
private String[] _methodParameterTypes237;
private String _methodName238;
private String[] _methodParameterTypes238;
private String _methodName239;
private String[] _methodParameterTypes239;
private String _methodName240;
private String[] _methodParameterTypes240;
private String _methodName241;
private String[] _methodParameterTypes241;
private String _methodName242;
private String[] _methodParameterTypes242;
private String _methodName243;
private String[] _methodParameterTypes243;
private String _methodName244;
private String[] _methodParameterTypes244;
private String _methodName245;
private String[] _methodParameterTypes245;
private String _methodName246;
@ -1211,6 +1201,4 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes277;
private String _methodName278;
private String[] _methodParameterTypes278;
private String _methodName279;
private String[] _methodParameterTypes279;
}

22
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/DettPraticaServiceSoap.java

@ -204,12 +204,12 @@ public class DettPraticaServiceSoap {
java.lang.String importoSpeseIstruttoria,
java.util.Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId,
long oldDettPraticaId, java.lang.String destinazione,
java.lang.String ag, java.lang.String descLongIntervento,
java.lang.String via, java.lang.String localita,
java.lang.String estremiCatastali, java.lang.String estremiPratCom,
long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico,
java.lang.String destinazione, java.lang.String ag,
java.lang.String descLongIntervento, java.lang.String via,
java.lang.String localita, java.lang.String estremiCatastali,
java.lang.String estremiPratCom, long variataDa, long varianteNumero,
boolean varianteSostanziale, boolean operaConforme,
boolean collaudoStatico,
java.lang.String codiceFiscaleDelegatoCommittente,
java.lang.String codiceFiscaleDelegatoFineLavori,
java.lang.String codiceFiscaleDelegatoCollaudo,
@ -334,11 +334,11 @@ public class DettPraticaServiceSoap {
tipoIntegrazione, completa, gestita, codicePagamento,
causalePagamento, mezzoPagamento, importoBolli,
importoSpeseIstruttoria, dataEffettuazione, statusTask,
workflowForzato, soggettoSostituitoId, oldDettPraticaId,
destinazione, ag, descLongIntervento, via, localita,
estremiCatastali, estremiPratCom, variataDa,
varianteNumero, varianteSostanziale, operaConforme,
collaudoStatico, codiceFiscaleDelegatoCommittente,
workflowForzato, soggettoSostituitoId, destinazione, ag,
descLongIntervento, via, localita, estremiCatastali,
estremiPratCom, variataDa, varianteNumero,
varianteSostanziale, operaConforme, collaudoStatico,
codiceFiscaleDelegatoCommittente,
codiceFiscaleDelegatoFineLavori,
codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato,
lavoriInEconomiaCommittente, inizioLavoriContestualeOpera,

121
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/CollaudoLocalServiceImpl.java

@ -56,13 +56,14 @@ import com.liferay.portal.service.ServiceContext;
* The implementation of the collaudo local service.
*
* <p>
* All custom service methods should be put in this class. Whenever methods are added, rerun
* ServiceBuilder to copy their definitions into the
* All custom service methods should be put in this class. Whenever methods are
* added, rerun ServiceBuilder to copy their definitions into the
* {@link it.tref.liferay.portos.bo.service.CollaudoLocalService} interface.
*
* <p>
* This is a local service. Methods of this service will not have security checks based on the
* propagated JAAS credentials because this service can only be accessed from within the same VM.
* This is a local service. Methods of this service will not have security
* checks based on the propagated JAAS credentials because this service can only
* be accessed from within the same VM.
* </p>
*
* @author Davide Barbagallo, 3F Consulting
@ -71,9 +72,9 @@ import com.liferay.portal.service.ServiceContext;
*/
public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
/*
* NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link
* it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil} to access the collaudo local
* service.
* NOTE FOR DEVELOPERS: Never reference this interface directly. Always use
* {@link it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil} to
* access the collaudo local service.
*/
private Collaudo initCollaudo(ServiceContext serviceContext) throws PortalException, SystemException {
@ -81,7 +82,8 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
Date now = new Date();
Collaudo collaudo = collaudoPersistence.create(counterLocalService.increment(DettPratica.class.getName()));
Collaudo collaudo = collaudoPersistence.create(counterLocalService.increment(DettPratica.class
.getName()));
collaudo.setCompanyId(serviceContext.getCompanyId());
collaudo.setGroupId(serviceContext.getScopeGroupId());
@ -96,12 +98,12 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
collaudo.setDataCollaudo(null);
collaudo.setCodiceFiscaleDelegato(StringPool.BLANK);
return collaudo;
}
@Indexable(type = IndexableType.REINDEX)
public Collaudo addCollaudo(long intPraticaId, ServiceContext serviceContext) throws PortalException, SystemException {
public Collaudo addCollaudo(long intPraticaId, ServiceContext serviceContext) throws PortalException,
SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
@ -118,8 +120,8 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
@Indexable(type = IndexableType.DELETE)
public Collaudo deleteCollaudo(Collaudo collaudo) throws SystemException, PortalException {
List<DocPratica> docPraticas =
docPraticaLocalService.findByClassPk(collaudo.getCollaudoId(), QueryUtil.ALL_POS, QueryUtil.ALL_POS);
List<DocPratica> docPraticas = docPraticaLocalService.findByClassPk(collaudo.getCollaudoId(),
QueryUtil.ALL_POS, QueryUtil.ALL_POS);
for (DocPratica docPratica : docPraticas) {
docPraticaLocalService.deleteDocPratica(docPratica);
}
@ -142,9 +144,9 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
}
@Indexable(type = IndexableType.REINDEX)
public Collaudo updateCollaudo(long userId, long collaudoId, long intPraticaId, boolean parziale, boolean completata,
Date dataCollaudo, String codiceFiscaleDelegato, boolean normEsenteBollo, String noteCollaudo)
throws NoSuchCollaudoException, SystemException {
public Collaudo updateCollaudo(long userId, long collaudoId, long intPraticaId, boolean parziale,
boolean completata, Date dataCollaudo, String codiceFiscaleDelegato, boolean normEsenteBollo,
String noteCollaudo) throws NoSuchCollaudoException, SystemException {
Collaudo collaudo = collaudoPersistence.findByPrimaryKey(collaudoId);
@ -167,7 +169,8 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", false));
dynamicQuery.addOrder(OrderFactoryUtil.desc("collaudoId"));
List<Collaudo> collaudoList = dynamicQuery(dynamicQuery, 0, 1);
if (!collaudoList.isEmpty()) return collaudoList.get(0);
if (!collaudoList.isEmpty())
return collaudoList.get(0);
return null;
}
@ -178,7 +181,8 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true));
dynamicQuery.addOrder(OrderFactoryUtil.desc("collaudoId"));
List<Collaudo> collaudoList = dynamicQuery(dynamicQuery, 0, 1);
if (!collaudoList.isEmpty()) return collaudoList.get(0);
if (!collaudoList.isEmpty())
return collaudoList.get(0);
return null;
}
@ -199,7 +203,8 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
collaudo.setCompletata(true);
collaudo.setDataEffettuazione(now);
collaudo.setNumero(collaudoPersistence.countByIntPraticaId_Completata(collaudo.getIntPraticaId(), true) + 1);
collaudo.setNumero(collaudoPersistence.countByIntPraticaId_Completata(collaudo.getIntPraticaId(),
true) + 1);
collaudo = updateCollaudo(collaudo);
updateIntPraticaStatus(collaudo, collaudo.getIntPraticaId());
@ -229,7 +234,8 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
collaudo.setCompletata(true);
collaudo.setDataEffettuazione(now);
collaudo.setNumero(collaudoPersistence.countByIntPraticaId_Completata(collaudo.getIntPraticaId(), true) + 1);
collaudo.setNumero(collaudoPersistence.countByIntPraticaId_Completata(collaudo.getIntPraticaId(),
true) + 1);
collaudo = updateCollaudo(collaudo);
updateIntPraticaStatus(collaudo, collaudo.getIntPraticaId());
@ -245,14 +251,14 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
return collaudo;
}
private void inviaMailnotifica(long collaudoId, long tecnicoIstruttoreId, Date date) throws SystemException,
PortalException {
private void inviaMailnotifica(long collaudoId, long tecnicoIstruttoreId, Date date)
throws SystemException, PortalException {
Collaudo collaudo = collaudoPersistence.fetchByPrimaryKey(collaudoId);
User tecnicoIstruttore = userLocalService.getUser(tecnicoIstruttoreId);
String[] to = {tecnicoIstruttore.getEmailAddress()};
String[] to = { tecnicoIstruttore.getEmailAddress() };
String[] cc = new String[0];
String[] ccn = new String[0];
@ -267,17 +273,20 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
JSONObject templateVariables = JSONFactoryUtil.createJSONObject();
templateVariables.put("receiver", tecnicoIstruttore.getFullName());
templateVariables.put("tipoPratica", tipoPratica);
templateVariables.put("tipoOggetto", LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-"
templateVariables.put(
"tipoOggetto",
LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-"
+ (collaudo.getParziale() ? "10" : "08")));
templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm").format(date));
templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm")
.format(date));
ServiceContext serviceContext = new ServiceContext();
serviceContext.setScopeGroupId(collaudo.getGroupId());
serviceContext.setCompanyId(collaudo.getCompanyId());
serviceContext.setUserId(collaudo.getUserId());
MailUtil.invioMailNotifica(collaudo.getIntPraticaId(), 0l, collaudoId, Collaudo.class.getName(), to, cc, ccn,
"NOTIFICA-BO", templateVariables, null, serviceContext);
MailUtil.invioMailNotifica(collaudo.getIntPraticaId(), 0l, collaudoId, Collaudo.class.getName(), to,
cc, ccn, "NOTIFICA-BO", templateVariables, null, serviceContext);
}
private IntPratica updateIntPraticaStatus(Collaudo collaudo, long intPraticaId) throws PortalException,
@ -293,7 +302,8 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
return intPratica;
}
public Collaudo updateCollaudoProtocollo(long collaudoId, String protocollo) throws PortalException, SystemException {
public Collaudo updateCollaudoProtocollo(long collaudoId, String protocollo) throws PortalException,
SystemException {
Collaudo collaudo = collaudoLocalService.fetchCollaudo(collaudoId);
collaudo.setModifiedDate(new Date());
@ -320,21 +330,21 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
Collaudo collaudo = collaudoPersistence.findByPrimaryKey(collaudoId);
BigDecimal importoBolli =
PagamentiCommonUtil.getImportoBolli(collaudo.getCompanyId(), collaudo.getCollaudoId(),
Collaudo.class.getName(), TipoIntegrazioneUtil.COLLAUDO);
BigDecimal importoBolli = PagamentiCommonUtil.getImportoBolli(collaudo.getCompanyId(),
collaudo.getCollaudoId(), Collaudo.class.getName(), TipoIntegrazioneUtil.COLLAUDO);
collaudo.setImportoBolli(importoBolli.toString());
collaudo = updateCollaudo(collaudo);
PagamentiUtil.nuovoPagamento(currentURL, collaudo.getCollaudoId(), Collaudo.class.getName(),
PagamentoConstants.PAGAMENTO_BOLLI, importoBolli.toString(), codiceFiscaleCommittente, serviceContext);
PagamentoConstants.PAGAMENTO_BOLLI, importoBolli.toString(), codiceFiscaleCommittente,
serviceContext);
return collaudo;
}
public List<Collaudo> findByIntPraticaId(long intPraticaId, int start, int end, OrderByComparator orderByComparator)
throws SystemException {
public List<Collaudo> findByIntPraticaId(long intPraticaId, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return collaudoPersistence.findByIntPraticaId(intPraticaId, start, end, orderByComparator);
}
@ -344,10 +354,11 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
return collaudoPersistence.countByIntPraticaId(intPraticaId);
}
public List<Collaudo> findByIntPraticaId_Parziale(long intPraticaId, boolean parziale, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
public List<Collaudo> findByIntPraticaId_Parziale(long intPraticaId, boolean parziale, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
return collaudoPersistence.findByIntPraticaId_Parziale(intPraticaId, parziale, start, end, orderByComparator);
return collaudoPersistence.findByIntPraticaId_Parziale(intPraticaId, parziale, start, end,
orderByComparator);
}
public int countByIntPraticaId_Parziale(long intPraticaId, boolean parziale) throws SystemException {
@ -355,10 +366,11 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
return collaudoPersistence.countByIntPraticaId_Parziale(intPraticaId, parziale);
}
public List<Collaudo> findByIntPraticaId_Completata(long intPraticaId, boolean completata, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
public List<Collaudo> findByIntPraticaId_Completata(long intPraticaId, boolean completata, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
return collaudoPersistence.findByIntPraticaId_Completata(intPraticaId, completata, start, end, orderByComparator);
return collaudoPersistence.findByIntPraticaId_Completata(intPraticaId, completata, start, end,
orderByComparator);
}
public int countByIntPraticaId_Completata(long intPraticaId, boolean completata) throws SystemException {
@ -366,20 +378,21 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
return collaudoPersistence.countByIntPraticaId_Completata(intPraticaId, completata);
}
public List<Collaudo> findByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
public List<Collaudo> findByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata,
int start, int end, OrderByComparator orderByComparator) throws SystemException {
return collaudoPersistence.findByCodiceFiscale_Completata(codiceFiscaleDelegato, completata, start, end,
orderByComparator);
return collaudoPersistence.findByCodiceFiscale_Completata(codiceFiscaleDelegato, completata, start,
end, orderByComparator);
}
public int countByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata) throws SystemException {
public int countByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata)
throws SystemException {
return collaudoPersistence.countByCodiceFiscale_Completata(codiceFiscaleDelegato, completata);
}
public List<Collaudo> findByIntPraticaId_Parziale_leCollaudoId(long collaudoId, long intPraticaId, boolean parziale,
int start, int end, OrderByComparator orderByComparator) throws SystemException {
public List<Collaudo> findByIntPraticaId_Parziale_leCollaudoId(long collaudoId, long intPraticaId,
boolean parziale, int start, int end, OrderByComparator orderByComparator) throws SystemException {
DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId));
@ -448,20 +461,4 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
dynamicQuery.add(RestrictionsFactoryUtil.isNotNull("protocollo"));
return dynamicQuery;
}
// public List<Long> findIntPraticaByCodiceFiscaleSoggetto(String codiceFiscale) throws
// PortalException, SystemException {
//
// DynamicQuery dynamicQuery = collaudoLocalService.dynamicQuery();
// dynamicQuery.add(RestrictionsFactoryUtil.ilike("codiceFiscale", codiceFiscale));
// dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("intPraticaId")));
// List<Long> ids = collaudoPersistence.findWithDynamicQuery(dynamicQuery);
//
// return ids;
// }
public Collaudo fetchByOldDettPraticaId(long oldDettPraticaId) throws SystemException {
return collaudoPersistence.fetchByOldDettPraticaId(oldDettPraticaId);
}
}

87
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java

@ -124,7 +124,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
dettPratica.setCompanyId(serviceContext.getCompanyId());
dettPratica.setGroupId(serviceContext.getScopeGroupId());
dettPratica.setUserId(serviceContext.getUserId());
// dettPratica.setUserName(user.getFullName());
dettPratica.setUserName(user.getScreenName());
dettPratica.setCreateDate(serviceContext.getCreateDate(now));
dettPratica.setModifiedDate(serviceContext.getModifiedDate(now));
@ -137,7 +136,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
dettPratica.setCompleta(false);
dettPratica.setGestita(false);
dettPratica.setOldDettPraticaId(0);
dettPratica.setOperaConforme(false);
dettPratica.setInizioLavoriContestualeOpera(false);
@ -148,20 +146,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
dettPratica.setNoteUfficio(StringPool.BLANK);
// in avvio in draft -> pratiche sempre controllate nella loro vita
dettPratica.setStatus(WorkflowConstants.STATUS_DRAFT);
// FIXME da rimuovere perché sostituiti con le deleghe?
// dettPratica.setCodiceFiscaleDelegato(codiceFiscaleDelegato);
// dettPratica.setCodiceRuoloDelegato(codiceRuoloDelegato);
// FIXME da rimuovere
// dettPratica.setVariataDa(variataDa);
// dettPratica.setVarianteNumero(varianteNumero);
// dettPratica.setVarianteSostanziale(varianteSostanziale);
// FIXME capire a cosa servono e poi rimuovere
// dettPratica.setWorkflowForzato(workflowForzato);
// dettPratica.setSoggettoSostituitoId(soggettoSostituitoId);
// dettPratica.setStatusTask(statusTask);
return dettPratica;
}
@ -609,11 +593,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
return deleteDettPratica(dettPratica);
}
public DettPratica getByOldDettPraticaId(long oldDettPraticaId) throws PortalException, SystemException {
return dettPraticaPersistence.fetchByOldDettPratica(oldDettPraticaId);
}
public List<DettPratica> search(SearchContext searchContext) throws PortalException, SystemException {
Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(DettPratica.class);
@ -676,8 +655,8 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
long integrazione, String protocollo, String tipoIntegrazione, boolean completa, boolean gestita,
String codicePagamentoOneri, String causalePagamentoOneri, String mezzoPagamentoOneri,
String importoBolli, String importoSpeseIstruttoria, Date dataEffettuazione, int statusTask,
boolean workflowForzato, long soggettoSostituitoId, long oldDettPraticaId, String destinazione,
String ag, String descLongIntervento, String via, String localita, String estremiCatastali,
boolean workflowForzato, long soggettoSostituitoId, String destinazione, String ag,
String descLongIntervento, String via, String localita, String estremiCatastali,
String estremiPratCom, long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico, String codiceFiscaleDelegatoCommittente,
String codiceFiscaleDelegatoFineLavori, String codiceFiscaleDelegatoCollaudo,
@ -748,21 +727,21 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
validate(userId, dettPraticaId, intPraticaId, integrazione, protocollo, tipoIntegrazione, completa,
gestita, codicePagamentoOneri, causalePagamentoOneri, mezzoPagamentoOneri, importoBolli,
importoSpeseIstruttoria, dataEffettuazione, statusTask, workflowForzato,
soggettoSostituitoId, oldDettPraticaId, destinazione, ag, descLongIntervento, via, localita,
estremiCatastali, estremiPratCom, variataDa, varianteNumero, varianteSostanziale,
operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente,
codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato,
lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, dataInizioLavoriOpera,
dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura, lavoriPubblici,
pagamentoIdOneri, lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio,
dcAllegato, dePiani, deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione,
deUso, dePubblica, dePrivata, deUtilizzazione, dePosizioneEdificio, deInfStradalePonte,
deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv,
deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro,
deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, dccFondazioni,
dccStruttureEleMuraturePietrame, dccStruttureEleMuratureLaterizio,
dccStruttureEleMuratureMisto, dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio,
dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA, dccStruttureEleMistoAcciaio,
soggettoSostituitoId, destinazione, ag, descLongIntervento, via, localita, estremiCatastali,
estremiPratCom, variataDa, varianteNumero, varianteSostanziale, operaConforme,
collaudoStatico, codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori,
codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, lavoriInEconomiaCommittente,
inizioLavoriContestualeOpera, dataInizioLavoriOpera, dataInizioEsecuzioneOpera,
dataFineEsecuzioneOpera, metratura, lavoriPubblici, pagamentoIdOneri,
lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani,
deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione, deUso, dePubblica,
dePrivata, deUtilizzazione, dePosizioneEdificio, deInfStradalePonte, deInfStradaleStrada,
deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, deInfIdraulicaAltro,
deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro, deInfAltraInfrastruttura,
deInfAltro, deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame,
dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto,
dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, dccStruttureEleCA,
dccStruttureEleLegno, dccStruttureEleMistoCA, dccStruttureEleMistoAcciaio,
dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno, dccStruttureElePrefabbricato,
dccStruttureEleAltro, dccStruttureEleAltroDescrizione, dccOrizzontamentiCAAcciaio,
dccOrizzontamentiLegno, dccOrizzontamentiLegnoCA, dccOrizzontamentiLamieraGrecata,
@ -816,7 +795,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
dettPratica.setStatusTask(statusTask);
dettPratica.setWorkflowForzato(workflowForzato);
dettPratica.setSoggettoSostituitoId(soggettoSostituitoId);
dettPratica.setOldDettPraticaId(oldDettPraticaId);
dettPratica.setDestinazione(destinazione);
dettPratica.setAg(ag);
dettPratica.setDescLongIntervento(descLongIntervento);
@ -1704,18 +1682,18 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
String protocollo, String tipoIntegrazione, boolean completa, boolean gestita,
String codicePagamento, String causalePagamento, String mezzoPagamento, String importoBolli,
String importoSpeseIstruttoria, Date dataEffettuazione, int statusTask, boolean workflowForzato,
long soggettoSostituitoId, long oldDettPraticaId, String destinazione, String ag,
String descLongIntervento, String via, String localita, String estremiCatastali,
String estremiPratCom, long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico, String codiceFiscaleDelegatoCommittente,
String codiceFiscaleDelegatoFineLavori, String codiceFiscaleDelegatoCollaudo,
String codiceRuoloDelegato, boolean lavoriInEconomiaCommittente,
boolean inizioLavoriContestualeOpera, Date dataInizioLavoriOpera, Date dataInizioEsecuzioneOpera,
Date dataFineEsecuzioneOpera, String metratura, boolean lavoriPubblici, long pagamentoId,
int lavoriPubbliciPercentuale, String numeroCivico, String dcParticelle, String dcFoglio,
String dcAllegato, String dePiani, String deAltezza, String deInterrati, String deSuperficie,
String deCostruzione, String deRistrutturazione, String deUso, String dePubblica,
String dePrivata, String deUtilizzazione, String dePosizioneEdificio, boolean deInfStradalePonte,
long soggettoSostituitoId, String destinazione, String ag, String descLongIntervento, String via,
String localita, String estremiCatastali, String estremiPratCom, long variataDa,
long varianteNumero, boolean varianteSostanziale, boolean operaConforme, boolean collaudoStatico,
String codiceFiscaleDelegatoCommittente, String codiceFiscaleDelegatoFineLavori,
String codiceFiscaleDelegatoCollaudo, String codiceRuoloDelegato,
boolean lavoriInEconomiaCommittente, boolean inizioLavoriContestualeOpera,
Date dataInizioLavoriOpera, Date dataInizioEsecuzioneOpera, Date dataFineEsecuzioneOpera,
String metratura, boolean lavoriPubblici, long pagamentoId, int lavoriPubbliciPercentuale,
String numeroCivico, String dcParticelle, String dcFoglio, String dcAllegato, String dePiani,
String deAltezza, String deInterrati, String deSuperficie, String deCostruzione,
String deRistrutturazione, String deUso, String dePubblica, String dePrivata,
String deUtilizzazione, String dePosizioneEdificio, boolean deInfStradalePonte,
boolean deInfStradaleStrada, boolean deInfStradaleAltro, boolean deInfIdraulicaLong,
boolean deInfIdraulicaTrasv, boolean deInfIdraulicaAltro, boolean deInfOperaAccStradale,
boolean deInfOperaAccIdraulica, boolean deInfOperaAccAltro, boolean deInfAltraInfrastruttura,
@ -2239,7 +2217,7 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
} else {
_log.error(options.getLocation() + ": " + options.getResponse().getResponseCode());
}
// return "{\"values\":[],\"Snapshot\":{\"version\":0,\"fields\":{}}}";
// return "{\"values\":[],\"Snapshot\":{\"version\":0,\"fields\":{}}}";
return StringPool.BLANK;
}
@ -2252,11 +2230,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
return jsonArray;
}
public DettPratica fetchByOldDettPraticaId(long oldDettPraticaId) throws SystemException {
return dettPraticaPersistence.fetchByOldDettPraticaId(oldDettPraticaId);
}
public int countVariateByIntPratica(long intPraticaId) throws SystemException {
return dettPraticaPersistence.countByIntPraticaId_TipoIntegrazione(intPraticaId,

135
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaServiceImpl.java

@ -121,18 +121,18 @@ public class DettPraticaServiceImpl extends DettPraticaServiceBaseImpl {
long integrazione, String protocollo, String tipoIntegrazione, boolean completa, boolean gestita,
String codicePagamento, String causalePagamento, String mezzoPagamento, String importoBolli,
String importoSpeseIstruttoria, Date dataEffettuazione, int statusTask, boolean workflowForzato,
long soggettoSostituitoId, long oldDettPraticaId, String destinazione, String ag,
String descLongIntervento, String via, String localita, String estremiCatastali,
String estremiPratCom, long variataDa, long varianteNumero, boolean varianteSostanziale,
boolean operaConforme, boolean collaudoStatico, String codiceFiscaleDelegatoCommittente,
String codiceFiscaleDelegatoFineLavori, String codiceFiscaleDelegatoCollaudo,
String codiceRuoloDelegato, boolean lavoriInEconomiaCommittente,
boolean inizioLavoriContestualeOpera, Date dataInizioLavoriOpera, Date dataInizioEsecuzioneOpera,
Date dataFineEsecuzioneOpera, String metratura, boolean lavoriPubblici, long pagamentoId,
int lavoriPubbliciPercentuale, String numeroCivico, String dcParticelle, String dcFoglio,
String dcAllegato, String dePiani, String deAltezza, String deInterrati, String deSuperficie,
String deCostruzione, String deRistrutturazione, String deUso, String dePubblica,
String dePrivata, String deUtilizzazione, String dePosizioneEdificio, boolean deInfStradalePonte,
long soggettoSostituitoId, String destinazione, String ag, String descLongIntervento, String via,
String localita, String estremiCatastali, String estremiPratCom, long variataDa,
long varianteNumero, boolean varianteSostanziale, boolean operaConforme, boolean collaudoStatico,
String codiceFiscaleDelegatoCommittente, String codiceFiscaleDelegatoFineLavori,
String codiceFiscaleDelegatoCollaudo, String codiceRuoloDelegato,
boolean lavoriInEconomiaCommittente, boolean inizioLavoriContestualeOpera,
Date dataInizioLavoriOpera, Date dataInizioEsecuzioneOpera, Date dataFineEsecuzioneOpera,
String metratura, boolean lavoriPubblici, long pagamentoId, int lavoriPubbliciPercentuale,
String numeroCivico, String dcParticelle, String dcFoglio, String dcAllegato, String dePiani,
String deAltezza, String deInterrati, String deSuperficie, String deCostruzione,
String deRistrutturazione, String deUso, String dePubblica, String dePrivata,
String deUtilizzazione, String dePosizioneEdificio, boolean deInfStradalePonte,
boolean deInfStradaleStrada, boolean deInfStradaleAltro, boolean deInfIdraulicaLong,
boolean deInfIdraulicaTrasv, boolean deInfIdraulicaAltro, boolean deInfOperaAccStradale,
boolean deInfOperaAccIdraulica, boolean deInfOperaAccAltro, boolean deInfAltraInfrastruttura,
@ -190,7 +190,6 @@ public class DettPraticaServiceImpl extends DettPraticaServiceBaseImpl {
throws PortalException, SystemException {
DettPratica dettPratica = null;
if (oldDettPraticaId == 0) {
if (!disabledSubmit && DelegheUtil.hasDelegaCompilazioneDomanda(userId, dettPraticaId)) {
@ -198,70 +197,9 @@ public class DettPraticaServiceImpl extends DettPraticaServiceBaseImpl {
intPraticaId, tipoIntegrazione, destinazione, ag, descLongIntervento, via, localita,
estremiCatastali, estremiPratCom, varianteSostanziale, collaudoStatico,
codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori,
codiceFiscaleDelegatoCollaudo, lavoriInEconomiaCommittente, metratura,
lavoriPubblici, pagamentoId, lavoriPubbliciPercentuale, numeroCivico, dcParticelle,
dcFoglio, dcAllegato, dePiani, deAltezza, deInterrati, deSuperficie, deCostruzione,
deRistrutturazione, deUso, dePubblica, dePrivata, deUtilizzazione,
dePosizioneEdificio, deInfStradalePonte, deInfStradaleStrada, deInfStradaleAltro,
deInfIdraulicaLong, deInfIdraulicaTrasv, deInfIdraulicaAltro, deInfOperaAccStradale,
deInfOperaAccIdraulica, deInfOperaAccAltro, deInfAltraInfrastruttura, deInfAltro,
deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame,
dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto,
dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, dccStruttureEleCA,
dccStruttureEleLegno, dccStruttureEleMistoCA, dccStruttureEleMistoAcciaio,
dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno,
dccStruttureElePrefabbricato, dccStruttureEleAltro, dccStruttureEleAltroDescrizione,
dccOrizzontamentiCAAcciaio, dccOrizzontamentiLegno, dccOrizzontamentiLegnoCA,
dccOrizzontamentiLamieraGrecata, dccOrizzontamentiVolte, dccOrizzontamentiAltro,
dccOrizzontamentiAltroDescrizione, dccCopertura, dccCoperturaCAAcciaio,
dccCoperturaLegno, dccCoperturaLegnoCA, dccCoperturaLamieraGrecata,
dccCoperturaPannelli, dccCoperturaPVCTelonati, dccCoperturaLeggere,
dccCoperturaAltro, dccCoperturaAltroDesrizione, dccElemNonStrutLaterizio,
dccElemNonStrutCartongesso, dccElemNonStrutCalcestruzzo, dccElemNonStrutLegno,
dccElemNonStrutAltro, dccElemNonStrutAltroDescrizione, dccOpereDiRinforzoInsCatene,
dccOpereDiRinforzoInsCordoli, dccOpereDiRinforzoIniArmate,
dccOpereDiRinforzoPlaccaggi, dccOpereDiRinforzoIrrSolai,
dccOpereDiRinforzoRinforziFRP, dccOpereDiRinforzoTelaiECerchiature,
dccOpereDiRinforzoInsRompitratta, dccOpereDiRinforzoAltro,
dccOpereDiRinforzoAltroDescrizione, localizzazioneGeografica, tcNuovaCostruzione,
tcAdeguamentoSismico, tcMiglioramentoSismico, tcRiparazioneInterventoLocale, tcInCA,
tcInOpera, tcPrefabbricato, tcInAcciaio, tcMista, tcInMuratura,
tcInMuraturaOrdinaria, tcInMuraturaArmata, tcInMuraturaMista, tcInLegno, tcAltro,
tcAltroDescrizione, tcConDispositivi, normLavoriInProprio, normEsenteBollo,
normEsenteSpese, normDpr01Dep, normDpr02Dep, normDpr01Aut, normDpr02Aut, normDm01,
normDm02, normDm03, normDm2018, normDprg01, normDprg02, normAnr, normArt3com3,
normArt3com4, normOrd01, normDm04, normDm05, normCI01, normLTC01, suap,
normSismaBonus, clRischioPreInt, clRischioPostInt, intervFinPub, intervFinPubDesc,
serviceContext, bozza);
}
if (!geoDisabledSubmit
&& DelegheUtil.hasDelegaCompilazioneSezioneGeologica(userId, dettPraticaId)) {
dettPratica = dettPraticaLocalService.updateDettPraticaGeologo(userId, dettPraticaId,
intPraticaId, geoClasseIndagine, geoCategoriaSottosuolo, geoCategoriaTopografica,
geoConsolidamento, geoPericolositaGeologica, geoRischioGeomorfologicoPai,
geoPericolositaIdraulicaPai, geoRischioIdraulicoPai, geoPericolositaSismica,
geoPericolositaIdraulica, geoPericolositaGeomorfica, geoFattibilitaGeologica,
geoFattibilitaSismica, geoFattibilitaIdraulica, geoOperaRilevante,
geoOpereDiSostegno, geoOpereInSotterranea, geoPresenzaPrescrizioni,
geoNotePrescrizioni, geoNoteIndagini, geoEvidenzeGeomorfiche, geoEvidenzeGeologiche,
geoDtRelazione, serviceContext, bozza);
}
} else {
dettPratica = dettPraticaLocalService.updateDettPratica(userId, dettPraticaId, intPraticaId,
integrazione, protocollo, tipoIntegrazione, completa, gestita, codicePagamento,
causalePagamento, mezzoPagamento, importoBolli, importoSpeseIstruttoria,
dataEffettuazione, statusTask, workflowForzato, soggettoSostituitoId, oldDettPraticaId,
destinazione, ag, descLongIntervento, via, localita, estremiCatastali, estremiPratCom,
variataDa, varianteNumero, varianteSostanziale, operaConforme, collaudoStatico,
codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori,
codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, lavoriInEconomiaCommittente,
inizioLavoriContestualeOpera, dataInizioLavoriOpera, dataInizioEsecuzioneOpera,
dataFineEsecuzioneOpera, metratura, lavoriPubblici, pagamentoId,
lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani,
deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione, deUso,
codiceFiscaleDelegatoCollaudo, lavoriInEconomiaCommittente, metratura, lavoriPubblici,
pagamentoId, lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato,
dePiani, deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione, deUso,
dePubblica, dePrivata, deUtilizzazione, dePosizioneEdificio, deInfStradalePonte,
deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv,
deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro,
@ -282,29 +220,26 @@ public class DettPraticaServiceImpl extends DettPraticaServiceBaseImpl {
dccOpereDiRinforzoInsCordoli, dccOpereDiRinforzoIniArmate, dccOpereDiRinforzoPlaccaggi,
dccOpereDiRinforzoIrrSolai, dccOpereDiRinforzoRinforziFRP,
dccOpereDiRinforzoTelaiECerchiature, dccOpereDiRinforzoInsRompitratta,
dccOpereDiRinforzoAltro, dccOpereDiRinforzoAltroDescrizione, geoClasseIndagine,
geoCategoriaSottosuolo, geoCategoriaTopografica, geoConsolidamento,
geoPericolositaGeologica, geoRischioGeomorfologicoPai, geoPericolositaIdraulicaPai,
geoRischioIdraulicoPai, geoPericolositaSismica, geoPericolositaIdraulica,
geoPericolositaGeomorfica, geoFattibilitaGeologica, geoFattibilitaSismica,
geoFattibilitaIdraulica, geoOperaRilevante, geoOpereDiSostegno, geoOpereInSotterranea,
geoPresenzaPrescrizioni, geoNotePrescrizioni, geoNoteIndagini, geoEvidenzeGeomorfiche,
geoEvidenzeGeologiche, geoDtRelazione, pagNuoveCostruzioni, pagAdeguamentoSismico,
pagMiglioramentoSismico, pagRiparazioneInterventoLocale, pagNuovaCostruzione,
pagVarianti, pagAltro, pagMiglioramentoSismicoSicilia, pagCalcolatoAdeguamentoSismico,
pagCalcolatoMiglioramentoSismico, pagCalcolatoRiparazioneInterventoLocale,
pagCalcolatoOperaNonQuantificabile, pagEffettivoAdeguamentoSismico,
pagEffettivoMiglioramentoSismico, pagEffettivoRiparazioneInterventoLocale,
pagEffettivoOperaNonQuantificabile, pagNoteUtente, note, noteUfficio,
localizzazioneGeografica, tcNuovaCostruzione, tcAdeguamentoSismico,
tcMiglioramentoSismico, tcRiparazioneInterventoLocale, tcInCA, tcInOpera,
tcPrefabbricato, tcInAcciaio, tcMista, tcInMuratura, tcInMuraturaOrdinaria,
tcInMuraturaArmata, tcInMuraturaMista, tcInLegno, tcAltro, tcAltroDescrizione,
tcConDispositivi, normLavoriInProprio, normEsenteBollo, normEsenteSpese, normDpr01Dep,
normDpr02Dep, normDpr01Aut, normDpr02Aut, normDm01, normDm02, normDm03, normDm2018,
normDprg01, normDprg02, normAnr, normArt3com3, normArt3com4, normOrd01, normDm04,
normDm05, normCI01, normLTC01, suap, normSismaBonus, clRischioPreInt, clRischioPostInt,
intervFinPub, intervFinPubDesc, serviceContext, bozza);
dccOpereDiRinforzoAltro, dccOpereDiRinforzoAltroDescrizione, localizzazioneGeografica,
tcNuovaCostruzione, tcAdeguamentoSismico, tcMiglioramentoSismico,
tcRiparazioneInterventoLocale, tcInCA, tcInOpera, tcPrefabbricato, tcInAcciaio, tcMista,
tcInMuratura, tcInMuraturaOrdinaria, tcInMuraturaArmata, tcInMuraturaMista, tcInLegno,
tcAltro, tcAltroDescrizione, tcConDispositivi, normLavoriInProprio, normEsenteBollo,
normEsenteSpese, normDpr01Dep, normDpr02Dep, normDpr01Aut, normDpr02Aut, normDm01,
normDm02, normDm03, normDm2018, normDprg01, normDprg02, normAnr, normArt3com3,
normArt3com4, normOrd01, normDm04, normDm05, normCI01, normLTC01, suap, normSismaBonus,
clRischioPreInt, clRischioPostInt, intervFinPub, intervFinPubDesc, serviceContext, bozza);
}
if (!geoDisabledSubmit && DelegheUtil.hasDelegaCompilazioneSezioneGeologica(userId, dettPraticaId)) {
dettPratica = dettPraticaLocalService.updateDettPraticaGeologo(userId, dettPraticaId,
intPraticaId, geoClasseIndagine, geoCategoriaSottosuolo, geoCategoriaTopografica,
geoConsolidamento, geoPericolositaGeologica, geoRischioGeomorfologicoPai,
geoPericolositaIdraulicaPai, geoRischioIdraulicoPai, geoPericolositaSismica,
geoPericolositaIdraulica, geoPericolositaGeomorfica, geoFattibilitaGeologica,
geoFattibilitaSismica, geoFattibilitaIdraulica, geoOperaRilevante, geoOpereDiSostegno,
geoOpereInSotterranea, geoPresenzaPrescrizioni, geoNotePrescrizioni, geoNoteIndagini,
geoEvidenzeGeomorfiche, geoEvidenzeGeologiche, geoDtRelazione, serviceContext, bozza);
}
return dettPratica;

208
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java

@ -57,13 +57,14 @@ import com.liferay.portal.service.ServiceContext;
* The implementation of the fine lavori local service.
*
* <p>
* All custom service methods should be put in this class. Whenever methods are added, rerun
* ServiceBuilder to copy their definitions into the
* All custom service methods should be put in this class. Whenever methods are
* added, rerun ServiceBuilder to copy their definitions into the
* {@link it.tref.liferay.portos.bo.service.FineLavoriLocalService} interface.
*
* <p>
* This is a local service. Methods of this service will not have security checks based on the
* propagated JAAS credentials because this service can only be accessed from within the same VM.
* This is a local service. Methods of this service will not have security
* checks based on the propagated JAAS credentials because this service can only
* be accessed from within the same VM.
* </p>
*
* @author Davide Barbagallo, 3F Consulting
@ -72,9 +73,9 @@ import com.liferay.portal.service.ServiceContext;
*/
public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
/*
* NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link
* it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil} to access the fine lavori local
* service.
* NOTE FOR DEVELOPERS: Never reference this interface directly. Always use
* {@link it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil} to
* access the fine lavori local service.
*/
private FineLavori initFineLavori(ServiceContext serviceContext) throws PortalException, SystemException {
@ -83,7 +84,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
Date now = new Date();
FineLavori fineLavori = fineLavoriPersistence.create(counterLocalService.increment(DettPratica.class.getName()));
FineLavori fineLavori = fineLavoriPersistence.create(counterLocalService.increment(DettPratica.class
.getName()));
fineLavori.setCompanyId(serviceContext.getCompanyId());
fineLavori.setGroupId(serviceContext.getScopeGroupId());
@ -108,7 +110,6 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
public FineLavori addFineLavori(long intPraticaId, ServiceContext serviceContext) throws PortalException,
SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
FineLavori fineLavori = initFineLavori(serviceContext);
@ -123,8 +124,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
@Indexable(type = IndexableType.DELETE)
public FineLavori deleteFineLavori(FineLavori fineLavori) throws SystemException, PortalException {
List<DocPratica> docPraticas =
docPraticaLocalService.findByClassPk(fineLavori.getFineLavoriId(), QueryUtil.ALL_POS, QueryUtil.ALL_POS);
List<DocPratica> docPraticas = docPraticaLocalService.findByClassPk(fineLavori.getFineLavoriId(),
QueryUtil.ALL_POS, QueryUtil.ALL_POS);
for (DocPratica docPratica : docPraticas) {
docPraticaLocalService.deleteDocPratica(docPratica);
}
@ -149,8 +150,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
@Indexable(type = IndexableType.REINDEX)
public FineLavori updateFineLavori(long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, Date dataFineLavori, String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo, String comunicazioneDirettoreLavori) throws NoSuchFineLavoriException,
SystemException {
boolean normEsenteCollaudo, String comunicazioneDirettoreLavori)
throws NoSuchFineLavoriException, SystemException {
FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId);
@ -198,54 +199,66 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId);
BigDecimal importoBolli =
PagamentiCommonUtil.getImportoBolli(fineLavori.getCompanyId(), fineLavori.getFineLavoriId(),
FineLavori.class.getName(), TipoIntegrazioneUtil.FINE_LAVORI);
BigDecimal importoBolli = PagamentiCommonUtil.getImportoBolli(fineLavori.getCompanyId(),
fineLavori.getFineLavoriId(), FineLavori.class.getName(), TipoIntegrazioneUtil.FINE_LAVORI);
fineLavori.setImportoBolli(importoBolli.toString());
fineLavori = updateFineLavori(fineLavori);
PagamentiUtil.nuovoPagamento(currentURL, fineLavori.getFineLavoriId(), FineLavori.class.getName(),
PagamentoConstants.PAGAMENTO_BOLLI, importoBolli.toString(), codiceFiscaleCommittente, serviceContext);
PagamentoConstants.PAGAMENTO_BOLLI, importoBolli.toString(), codiceFiscaleCommittente,
serviceContext);
return fineLavori;
}
// public void sostituisciPagamento(long pagamentoId, long fineLavoriId, String
// public void sostituisciPagamento(long pagamentoId, long fineLavoriId,
// String
// codiceFiscaleCommittente, String mezzo,
// String url, ServiceContext serviceContext) throws PortalException, SystemException {
// String url, ServiceContext serviceContext) throws PortalException,
// SystemException {
//
// FineLavori fineLavori = getFineLavori(fineLavoriId);
// Pagamento pagamento = pagamentoLocalService.getPagamento(pagamentoId);
// String currentUtilizzata = pagamento.getUtilizzata();
// String currentMezzo = pagamento.getMezzo();
//
// boolean irisEnable = PagamentiUtil.irisIsEnable(pagamento.getCompanyId());
// boolean irisEnable =
// PagamentiUtil.irisIsEnable(pagamento.getCompanyId());
// if (fineLavori.getPagamentoId() != pagamentoId) {
// throw new PortalException("Pagamento non abbinato alla Fine Lavori");
// }
// if (mezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)) {
// if (irisEnable) {
// throw new PortalException("Creazione pagamento manuale con iris enable non possibile");
// } else if (currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)
// || currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)) {
// throw new
// PortalException("Creazione pagamento manuale con iris enable non possibile");
// } else if
// (currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)
// ||
// currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA))
// {
// fineLavori.setPagamentoId(0l);
// fineLavori = updateFineLavori(fineLavori);
//
// pagamento.setUtilizzata(PagamentoConstants.UTILIZZATA_SOSTITUITA);
// pagamentoLocalService.updatePagamento(pagamento);
//
// PagamentiUtil.nuovoPagamento(url, fineLavoriId, FineLavori.class.getName(),
// PagamentiUtil.nuovoPagamento(url, fineLavoriId,
// FineLavori.class.getName(),
// pagamento.getImportoBolli(),
// pagamento.getImportoSpeseIstruttoria(), codiceFiscaleCommittente, serviceContext);
// pagamento.getImportoSpeseIstruttoria(), codiceFiscaleCommittente,
// serviceContext);
// } else {
// throw new PortalException("Creazione pagamento manuale con stato " + currentUtilizzata +
// throw new PortalException("Creazione pagamento manuale con stato " +
// currentUtilizzata +
// " non possibile");
// }
// } else if (mezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS)) {
// if (irisEnable
// && (currentMezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) || (currentUtilizzata
// .equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) || currentUtilizzata
// && (currentMezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) ||
// (currentUtilizzata
// .equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) ||
// currentUtilizzata
// .equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)))) {
//
// fineLavori.setPagamentoId(0l);
@ -253,9 +266,11 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
//
// pagamento.setUtilizzata(PagamentoConstants.UTILIZZATA_SOSTITUITA);
// pagamentoLocalService.updatePagamento(pagamento);
// PagamentiUtil.nuovoPagamento(url, fineLavoriId, FineLavori.class.getName(),
// PagamentiUtil.nuovoPagamento(url, fineLavoriId,
// FineLavori.class.getName(),
// pagamento.getImportoBolli(),
// pagamento.getImportoSpeseIstruttoria(), codiceFiscaleCommittente, serviceContext);
// pagamento.getImportoSpeseIstruttoria(), codiceFiscaleCommittente,
// serviceContext);
// } else {
// throw new PortalException("Pagamento IRIS non sostituibile");
// }
@ -266,8 +281,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
//
// }
public void updateEsitoPagamento(long pagamentoId, long fineLavoriId, String stato) throws SystemException,
PortalException {
public void updateEsitoPagamento(long pagamentoId, long fineLavoriId, String stato)
throws SystemException, PortalException {
updateEsitoPagamento(pagamentoId, fineLavoriId, 0l, stato);
}
@ -283,8 +298,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
fineLavori.setCompletata(true);
fineLavori.setDataEffettuazione(now);
fineLavori
.setNumero(fineLavoriPersistence.countByIntPraticaId_Completata(fineLavori.getIntPraticaId(), true) + 1);
fineLavori.setNumero(fineLavoriPersistence.countByIntPraticaId_Completata(
fineLavori.getIntPraticaId(), true) + 1);
fineLavori = updateFineLavori(fineLavori);
updateIntPraticaStatus(fineLavori, fineLavori.getIntPraticaId());
@ -313,7 +328,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
fineLavori.setCompletata(true);
fineLavori.setDataEffettuazione(now);
fineLavori.setNumero(fineLavoriPersistence.countByIntPraticaId_Completata(fineLavori.getIntPraticaId(), true) + 1);
fineLavori.setNumero(fineLavoriPersistence.countByIntPraticaId_Completata(
fineLavori.getIntPraticaId(), true) + 1);
fineLavori = updateFineLavori(fineLavori);
updateIntPraticaStatus(fineLavori, fineLavori.getIntPraticaId());
@ -329,14 +345,14 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return fineLavori;
}
private void inviaMailnotifica(long fineLavoriId, long tecnicoIstruttoreId, Date date) throws SystemException,
PortalException {
private void inviaMailnotifica(long fineLavoriId, long tecnicoIstruttoreId, Date date)
throws SystemException, PortalException {
FineLavori fineLavori = fineLavoriPersistence.fetchByPrimaryKey(fineLavoriId);
User tecnicoIstruttore = userLocalService.getUser(tecnicoIstruttoreId);
String[] to = {tecnicoIstruttore.getEmailAddress()};
String[] to = { tecnicoIstruttore.getEmailAddress() };
String[] cc = new String[0];
String[] ccn = new String[0];
@ -351,21 +367,25 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
JSONObject templateVariables = JSONFactoryUtil.createJSONObject();
templateVariables.put("receiver", tecnicoIstruttore.getFullName());
templateVariables.put("tipoPratica", tipoPratica);
templateVariables.put("tipoOggetto",
LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-" + (fineLavori.getParziale() ? "09" : "07")));
templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm").format(date));
templateVariables.put(
"tipoOggetto",
LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-"
+ (fineLavori.getParziale() ? "09" : "07")));
templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm")
.format(date));
ServiceContext serviceContext = new ServiceContext();
serviceContext.setScopeGroupId(fineLavori.getGroupId());
serviceContext.setCompanyId(fineLavori.getCompanyId());
serviceContext.setUserId(fineLavori.getUserId());
MailUtil.invioMailNotifica(fineLavori.getIntPraticaId(), 0l, fineLavoriId, FineLavori.class.getName(), to, cc, ccn,
"NOTIFICA-BO", templateVariables, null, serviceContext);
MailUtil.invioMailNotifica(fineLavori.getIntPraticaId(), 0l, fineLavoriId,
FineLavori.class.getName(), to, cc, ccn, "NOTIFICA-BO", templateVariables, null,
serviceContext);
}
private IntPratica updateIntPraticaStatus(FineLavori fineLavori, long intPraticaId) throws PortalException,
SystemException {
private IntPratica updateIntPraticaStatus(FineLavori fineLavori, long intPraticaId)
throws PortalException, SystemException {
IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId);
if (fineLavori.isParziale()) {
@ -377,8 +397,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return intPratica;
}
public FineLavori updateFineLavoriProtocollo(long fineLavoriId, String protocollo) throws PortalException,
SystemException {
public FineLavori updateFineLavoriProtocollo(long fineLavoriId, String protocollo)
throws PortalException, SystemException {
FineLavori fineLavori = fineLavoriLocalService.fetchFineLavori(fineLavoriId);
fineLavori.setModifiedDate(new Date());
@ -389,14 +409,14 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return fineLavori;
}
public FineLavori findByProtocollo(long companyId, long groupId, String protocollo) throws PortalException,
SystemException {
public FineLavori findByProtocollo(long companyId, long groupId, String protocollo)
throws PortalException, SystemException {
return fineLavoriPersistence.findByC_G_Protocollo(companyId, groupId, protocollo);
}
public FineLavori fetchByProtocollo(long companyId, long groupId, String protocollo) throws PortalException,
SystemException {
public FineLavori fetchByProtocollo(long companyId, long groupId, String protocollo)
throws PortalException, SystemException {
return fineLavoriPersistence.fetchByC_G_Protocollo(companyId, groupId, protocollo);
}
@ -406,8 +426,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return fineLavoriPersistence.fetchByProtocollo(protocollo);
}
public List<FineLavori> findByIntPraticaId(long intPraticaId, int start, int end, OrderByComparator orderByComparator)
throws SystemException {
public List<FineLavori> findByIntPraticaId(long intPraticaId, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return fineLavoriPersistence.findByIntPraticaId(intPraticaId, start, end, orderByComparator);
}
@ -417,10 +437,11 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return fineLavoriPersistence.countByIntPraticaId(intPraticaId);
}
public List<FineLavori> findByIntPraticaId_Parziale(long intPraticaId, boolean parziale, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
public List<FineLavori> findByIntPraticaId_Parziale(long intPraticaId, boolean parziale, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
return fineLavoriPersistence.findByIntPraticaId_Parziale(intPraticaId, parziale, start, end, orderByComparator);
return fineLavoriPersistence.findByIntPraticaId_Parziale(intPraticaId, parziale, start, end,
orderByComparator);
}
public int countByIntPraticaId_Parziale(long intPraticaId, boolean parziale) throws SystemException {
@ -428,10 +449,11 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return fineLavoriPersistence.countByIntPraticaId_Parziale(intPraticaId, parziale);
}
public List<FineLavori> findByIntPraticaId_Completata(long intPraticaId, boolean completata, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
public List<FineLavori> findByIntPraticaId_Completata(long intPraticaId, boolean completata, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
return fineLavoriPersistence.findByIntPraticaId_Completata(intPraticaId, completata, start, end, orderByComparator);
return fineLavoriPersistence.findByIntPraticaId_Completata(intPraticaId, completata, start, end,
orderByComparator);
}
public int countByIntPraticaId_Completata(long intPraticaId, boolean completata) throws SystemException {
@ -439,41 +461,45 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return fineLavoriPersistence.countByIntPraticaId_Completata(intPraticaId, completata);
}
public List<FineLavori> findByIntPraticaId_CodiceFiscale(long intPraticaId, String codiceFiscaleDelegato, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
public List<FineLavori> findByIntPraticaId_CodiceFiscale(long intPraticaId, String codiceFiscaleDelegato,
int start, int end, OrderByComparator orderByComparator) throws SystemException {
return fineLavoriPersistence.findByIntPraticaId_CodiceFiscale(intPraticaId, codiceFiscaleDelegato, start, end,
orderByComparator);
return fineLavoriPersistence.findByIntPraticaId_CodiceFiscale(intPraticaId, codiceFiscaleDelegato,
start, end, orderByComparator);
}
public int countByIntPraticaId_CodiceFiscale(long intPraticaId, String codiceFiscaleDelegato) throws SystemException {
public int countByIntPraticaId_CodiceFiscale(long intPraticaId, String codiceFiscaleDelegato)
throws SystemException {
return fineLavoriPersistence.countByIntPraticaId_CodiceFiscale(intPraticaId, codiceFiscaleDelegato);
}
public List<FineLavori> findByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
public List<FineLavori> findByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata,
int start, int end, OrderByComparator orderByComparator) throws SystemException {
return fineLavoriPersistence.findByCodiceFiscale_Completata(codiceFiscaleDelegato, completata, start, end,
orderByComparator);
return fineLavoriPersistence.findByCodiceFiscale_Completata(codiceFiscaleDelegato, completata, start,
end, orderByComparator);
}
public int countByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata) throws SystemException {
public int countByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata)
throws SystemException {
return fineLavoriPersistence.countByCodiceFiscale_Completata(codiceFiscaleDelegato, completata);
}
public List<FineLavori> findByIntPraticaId_Parziale_Completata(long intPraticaId, boolean parziale,
boolean completata, int start, int end, OrderByComparator orderByComparator) throws SystemException {
boolean completata, int start, int end, OrderByComparator orderByComparator)
throws SystemException {
return fineLavoriPersistence.findByIntPraticaId_Parziale_Completata(intPraticaId, parziale, completata, start, end,
orderByComparator);
return fineLavoriPersistence.findByIntPraticaId_Parziale_Completata(intPraticaId, parziale,
completata, start, end, orderByComparator);
}
public int countByIntPraticaId_Parziale_Completata(long intPraticaId, boolean parziale, boolean completata)
throws SystemException {
return fineLavoriPersistence.countByIntPraticaId_Parziale_Completata(intPraticaId, parziale, completata);
return fineLavoriPersistence.countByIntPraticaId_Parziale_Completata(intPraticaId, parziale,
completata);
}
public List<FineLavori> findByIntPraticaId_Parziale_leFineLavoriId(long fineLavoriId, long intPraticaId,
@ -487,8 +513,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return dynamicQuery(dynamicQuery, start, end, orderByComparator);
}
public int countByIntPraticaId_Parziale_leFineLavoriId(long fineLavoriId, long intPraticaId, boolean parziale)
throws SystemException {
public int countByIntPraticaId_Parziale_leFineLavoriId(long fineLavoriId, long intPraticaId,
boolean parziale) throws SystemException {
DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId));
@ -551,40 +577,24 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true));
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("intPraticaId")));
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil
.property("intPraticaId")));
List<Long> ids = fineLavoriPersistence.findWithDynamicQuery(dynamicQuery);
return ids;
}
public List<Long> findIntPraticaByFineLavori(String codiceFiscaleDelegatoCollaudo) throws PortalException, SystemException {
public List<Long> findIntPraticaByFineLavori(String codiceFiscaleDelegatoCollaudo)
throws PortalException, SystemException {
DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true));
dynamicQuery.add(RestrictionsFactoryUtil.ilike("codiceFiscaleDelegatoCollaudo", codiceFiscaleDelegatoCollaudo));
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("intPraticaId")));
dynamicQuery.add(RestrictionsFactoryUtil.ilike("codiceFiscaleDelegatoCollaudo",
codiceFiscaleDelegatoCollaudo));
dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil
.property("intPraticaId")));
List<Long> ids = fineLavoriPersistence.findWithDynamicQuery(dynamicQuery);
return ids;
}
// public List<Long> findIntPraticaByFineLavoriParziale(boolean parziale, List<Long>
// intPraticaIds)
// throws PortalException, SystemException {
//
// DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery();
// dynamicQuery.add(RestrictionsFactoryUtil.in("intPraticaId", intPraticaIds));
// dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale));
// dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("intPraticaId")));
// List<Long> ids = fineLavoriPersistence.findWithDynamicQuery(dynamicQuery);
//
// return ids;
// }
//
public FineLavori fetchByOldDettPraticaId(long oldDettPraticaId) throws SystemException {
return fineLavoriPersistence.fetchByOldDettPraticaId(oldDettPraticaId);
}
}

11
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java

@ -278,8 +278,8 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
public IntPratica addIntPratica(long userId, String userName, String tipoPratica, long territorioId,
String tipoProcedura, Date dtSorteggio, String statoPratica, String numeroProgetto,
boolean validata, int esitoControllo, Date dtPratica, long oldIntPraticaId,
ServiceContext serviceContext) throws PortalException, SystemException {
boolean validata, int esitoControllo, Date dtPratica, ServiceContext serviceContext)
throws PortalException, SystemException {
Date now = new Date();
@ -315,8 +315,6 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
intPratica.setEsitoControllo(esitoControllo);
intPratica.setDtPratica(dtPratica);
intPratica.setOldIntPraticaId(oldIntPraticaId);
intPratica = intPraticaPersistence.update(intPratica);
return intPratica;
@ -781,11 +779,6 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
return intPraticaPersistence.countByC_UserId(companyId, userId);
}
public IntPratica fetchByOldIntPraticaId(long oldIntPraticaId) throws SystemException {
return intPraticaPersistence.fetchByOldIntPraticaId(oldIntPraticaId);
}
public void updateStatus(long intPraticaId, int status) throws PortalException, SystemException {
IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId);

Some files were not shown because too many files have changed in this diff Show More

Caricamento…
Annulla
Salva