Sfoglia il codice sorgente

Unita operativa zero

master
Salvatore La Manna 3 anni fa
parent
commit
694d2664ca
  1. 6
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/accesso/atti/service/RichiestaAccessoAttiLocalService.java
  2. 14
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/accesso/atti/service/RichiestaAccessoAttiLocalServiceClp.java
  3. 6
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/accesso/atti/service/RichiestaAccessoAttiLocalServiceUtil.java
  4. 6
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/accesso/atti/service/RichiestaAccessoAttiLocalServiceWrapper.java
  5. 20
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/accesso/atti/service/base/RichiestaAccessoAttiLocalServiceClpInvoker.java
  6. 4
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/src/service.properties
  7. 5
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/html/accesso_atti_fe/visualizza-atto.jsp
  8. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component
  9. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-portlet.xml
  10. 28
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  11. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/Asseverazione.java
  12. 57
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AsseverazioneClp.java
  13. 22
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/AsseverazioneWrapper.java
  14. 15
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/Collaudo.java
  15. 76
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoClp.java
  16. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoWrapper.java
  17. 92
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPratica.java
  18. 472
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java
  19. 164
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java
  20. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavori.java
  21. 76
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriClp.java
  22. 28
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriWrapper.java
  23. 115
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPratica.java
  24. 727
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaClp.java
  25. 221
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java
  26. 97
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AsseverazioneLocalService.java
  27. 698
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AsseverazioneLocalServiceClp.java
  28. 171
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AsseverazioneLocalServiceUtil.java
  29. 181
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AsseverazioneLocalServiceWrapper.java
  30. 99
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AsseverazioneService.java
  31. 861
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AsseverazioneServiceClp.java
  32. 174
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AsseverazioneServiceUtil.java
  33. 182
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/AsseverazioneServiceWrapper.java
  34. 15
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  35. 129
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  36. 18
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  37. 24
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  38. 1060
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistence.java
  39. 1751
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/AsseverazioneUtil.java
  40. 447
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AsseverazioniUtil.java
  41. 233
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AzioniPraticheUtil.java
  42. 107
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/DelegheUtil.java
  43. 13
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/MailUtil.java
  44. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PraticaUtil.java
  45. 1199
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java
  46. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/WorkflowUtil.java
  47. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/indexer/ControlloPraticaIndexer.java
  48. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/indexer/IntPraticaIndexer.java
  49. 22
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/search/ControlloPraticaAdvancedSearch.java
  50. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/search/IntPraticaAdvancedSearch.java
  51. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java
  52. 104
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/AsseverazioneImpl.java
  53. 77
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoImpl.java
  54. 1069
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java
  55. 76
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriImpl.java
  56. 413
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaImpl.java
  57. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/listener/DettPraticaModelListener.java
  58. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/FascicoloPortlet.java
  59. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/GestioneAttivitaIstruttorePortlet.java
  60. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/GestioneAttivitaPortlet.java
  61. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoAllegatoBeanBuilder.java
  62. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java
  63. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraDocumento.java
  64. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerInvioDocumento.java
  65. 314
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/AsseverazioneLocalServiceClpInvoker.java
  66. 327
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/AsseverazioneServiceClpInvoker.java
  67. 51
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  68. 307
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/AsseverazioneServiceSoap.java
  69. 153
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneLocalServiceImpl.java
  70. 164
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AsseverazioneServiceImpl.java
  71. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AvvisoLocalServiceImpl.java
  72. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/CollaudoLocalServiceImpl.java
  73. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ComunicazioneLocalServiceImpl.java
  74. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ControlloPraticaLocalServiceImpl.java
  75. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DelegaLocalServiceImpl.java
  76. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java
  77. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaServiceImpl.java
  78. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java
  79. 39
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  80. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaServiceImpl.java
  81. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/SoggettoLocalServiceImpl.java
  82. 7162
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java
  83. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/workflow/ControlloPraticaWorkflowHandler.java
  84. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  85. 74
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/amministrazione/tabs/territori/edit.jsp
  86. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/asset/controllopratica/init.jsp
  87. 253
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/advanced_search.jsp
  88. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_allegati.jsp
  89. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_allegati_annullamento.jsp
  90. 21
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_asseverazioni.jsp
  91. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_co_allegati.jsp
  92. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_dettagli_principali.jsp
  93. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_fl_allegati.jsp
  94. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_in_allegati.jsp
  95. 199
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_sez_geologica.jsp
  96. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_va_allegati.jsp
  97. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_versioning.jsp
  98. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/view.jsp
  99. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/action_button.jsp
  100. 235
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/advanced_search.jsp
  101. Some files were not shown because too many files have changed in this diff Show More

6
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/accesso/atti/service/RichiestaAccessoAttiLocalService.java

@ -261,14 +261,12 @@ public interface RichiestaAccessoAttiLocalService extends BaseLocalService,
public java.util.List<it.tref.liferay.portos.accesso.atti.model.RichiestaAccessoAtti> findCompletate(
java.lang.String numeroProgetto, java.lang.String protocollo,
java.lang.String dataDal, java.lang.String dataAl, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException,
java.text.ParseException;
throws com.liferay.portal.kernel.exception.SystemException;
public int countCompletate(java.lang.String numeroProgetto,
java.lang.String protocollo, java.lang.String dataDal,
java.lang.String dataAl)
throws com.liferay.portal.kernel.exception.SystemException,
java.text.ParseException;
throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.accesso.atti.model.RichiestaAccessoAtti findByAccessToken(
java.lang.String accessToken)

14
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/accesso/atti/service/RichiestaAccessoAttiLocalServiceClp.java

@ -737,8 +737,7 @@ public class RichiestaAccessoAttiLocalServiceClp
public java.util.List<it.tref.liferay.portos.accesso.atti.model.RichiestaAccessoAtti> findCompletate(
java.lang.String numeroProgetto, java.lang.String protocollo,
java.lang.String dataDal, java.lang.String dataAl, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException,
java.text.ParseException {
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
@ -765,10 +764,6 @@ public class RichiestaAccessoAttiLocalServiceClp
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof java.text.ParseException) {
throw (java.text.ParseException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
@ -785,8 +780,7 @@ public class RichiestaAccessoAttiLocalServiceClp
public int countCompletate(java.lang.String numeroProgetto,
java.lang.String protocollo, java.lang.String dataDal,
java.lang.String dataAl)
throws com.liferay.portal.kernel.exception.SystemException,
java.text.ParseException {
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
@ -809,10 +803,6 @@ public class RichiestaAccessoAttiLocalServiceClp
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof java.text.ParseException) {
throw (java.text.ParseException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}

6
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/accesso/atti/service/RichiestaAccessoAttiLocalServiceUtil.java

@ -284,8 +284,7 @@ public class RichiestaAccessoAttiLocalServiceUtil {
public static java.util.List<it.tref.liferay.portos.accesso.atti.model.RichiestaAccessoAtti> findCompletate(
java.lang.String numeroProgetto, java.lang.String protocollo,
java.lang.String dataDal, java.lang.String dataAl, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException,
java.text.ParseException {
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findCompletate(numeroProgetto, protocollo, dataDal, dataAl,
start, end);
@ -294,8 +293,7 @@ public class RichiestaAccessoAttiLocalServiceUtil {
public static int countCompletate(java.lang.String numeroProgetto,
java.lang.String protocollo, java.lang.String dataDal,
java.lang.String dataAl)
throws com.liferay.portal.kernel.exception.SystemException,
java.text.ParseException {
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countCompletate(numeroProgetto, protocollo, dataDal, dataAl);
}

6
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/accesso/atti/service/RichiestaAccessoAttiLocalServiceWrapper.java

@ -302,8 +302,7 @@ public class RichiestaAccessoAttiLocalServiceWrapper
public java.util.List<it.tref.liferay.portos.accesso.atti.model.RichiestaAccessoAtti> findCompletate(
java.lang.String numeroProgetto, java.lang.String protocollo,
java.lang.String dataDal, java.lang.String dataAl, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException,
java.text.ParseException {
throws com.liferay.portal.kernel.exception.SystemException {
return _richiestaAccessoAttiLocalService.findCompletate(numeroProgetto,
protocollo, dataDal, dataAl, start, end);
}
@ -312,8 +311,7 @@ public class RichiestaAccessoAttiLocalServiceWrapper
public int countCompletate(java.lang.String numeroProgetto,
java.lang.String protocollo, java.lang.String dataDal,
java.lang.String dataAl)
throws com.liferay.portal.kernel.exception.SystemException,
java.text.ParseException {
throws com.liferay.portal.kernel.exception.SystemException {
return _richiestaAccessoAttiLocalService.countCompletate(numeroProgetto,
protocollo, dataDal, dataAl);
}

20
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/accesso/atti/service/base/RichiestaAccessoAttiLocalServiceClpInvoker.java

@ -132,13 +132,13 @@ public class RichiestaAccessoAttiLocalServiceClpInvoker {
"java.lang.String"
};
_methodName43 = "findByAccessToken";
_methodName44 = "findByAccessToken";
_methodParameterTypes43 = new String[] { "java.lang.String" };
_methodParameterTypes44 = new String[] { "java.lang.String" };
_methodName44 = "findRichiesteByGroup";
_methodName45 = "findRichiesteByGroup";
_methodParameterTypes44 = new String[] { "long", "int", "int" };
_methodParameterTypes45 = new String[] { "long", "int", "int" };
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -265,13 +265,13 @@ public class RichiestaAccessoAttiLocalServiceClpInvoker {
(java.lang.String)arguments[3]);
}
if (_methodName43.equals(name) &&
Arrays.deepEquals(_methodParameterTypes43, parameterTypes)) {
if (_methodName44.equals(name) &&
Arrays.deepEquals(_methodParameterTypes44, parameterTypes)) {
return RichiestaAccessoAttiLocalServiceUtil.findByAccessToken((java.lang.String)arguments[0]);
}
if (_methodName44.equals(name) &&
Arrays.deepEquals(_methodParameterTypes44, parameterTypes)) {
if (_methodName45.equals(name) &&
Arrays.deepEquals(_methodParameterTypes45, parameterTypes)) {
return RichiestaAccessoAttiLocalServiceUtil.findRichiesteByGroup(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
@ -322,8 +322,8 @@ public class RichiestaAccessoAttiLocalServiceClpInvoker {
private String[] _methodParameterTypes41;
private String _methodName42;
private String[] _methodParameterTypes42;
private String _methodName43;
private String[] _methodParameterTypes43;
private String _methodName44;
private String[] _methodParameterTypes44;
private String _methodName45;
private String[] _methodParameterTypes45;
}

4
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
##
build.namespace=portos_atti
build.number=28
build.date=1631536170835
build.number=29
build.date=1632756642323
build.auto.upgrade=true
##

5
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/docroot/html/accesso_atti_fe/visualizza-atto.jsp

@ -5,7 +5,6 @@
<%@page import="it.tref.liferay.portos.accesso.atti.model.RichiestaAccessoAtti"%>
<%@page import="it.tref.liferay.portos.accesso.atti.service.RichiestaAccessoAttiLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.AzioniPraticheUtil"%>
<%@page import="com.liferay.portal.kernel.servlet.ServletContextPool"%>
<%@page import="it.tref.liferay.portos.bo.util.PagamentiCommonUtil"%>
@ -143,7 +142,7 @@ RichiestaAccessoAtti accettoAtti = RichiestaAccessoAttiLocalServiceUtil.getRichi
</div>
</div>
<div class="row">
<c:if test="<%= AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId()) %>">
<c:if test="<%= intPratica.isDeposito() %>">
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDpr01Dep") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dpr01-dep") %>
@ -153,7 +152,7 @@ RichiestaAccessoAtti accettoAtti = RichiestaAccessoAttiLocalServiceUtil.getRichi
<%= LanguageUtil.get(pageContext, "norm-dpr02-dep") %>
</div>
</c:if>
<c:if test="<%= AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId()) %>">
<c:if test="<%= intPratica.isAutorizzazione() %>">
<div class="col-sm-6 col-md-6">
<strong><span class='<%=BeanPropertiesUtil.getBoolean(dettPratica, "normDpr01Aut") ? "fa fa-check-circle-o txt-green" : "fa fa-circle-o" %>'></span></strong>
<%= LanguageUtil.get(pageContext, "norm-dpr01-aut") %>

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component

@ -2,6 +2,7 @@
<wb-module deploy-name="portos-bo-portlet">
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/service"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/service"/>
<dependent-module archiveName="hms-taglib-hook-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/hms-taglib-hook/docroot/WEB-INF/lib/hms-taglib-hook-service.jar">
<dependency-type>uses</dependency-type>

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

@ -6,8 +6,8 @@
<portlet>
<portlet-name>1</portlet-name>
<icon>/icon.png</icon>
<indexer-class>it.tref.liferay.portos.bo.indexer.IntPraticaIndexer</indexer-class>
<indexer-class>it.tref.liferay.portos.bo.indexer.ControlloPraticaIndexer</indexer-class>
<indexer-class>it.mwg.sismica.bo.indexer.IntPraticaIndexer</indexer-class>
<indexer-class>it.mwg.sismica.bo.indexer.ControlloPraticaIndexer</indexer-class>
<scheduler-entry>
<scheduler-description>Estrazione Firme</scheduler-description>
<scheduler-event-listener-class>it.tref.liferay.portos.bo.scheduler.SchedulerEstrazioneFirme</scheduler-event-listener-class>

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

@ -1335,19 +1335,10 @@
<column name="codiceFiscale" type="String" />
<column name="dichiarazioni" type="String" />
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="IntPratica_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="esito" arrayable-operator="IN" />
@ -1375,31 +1366,12 @@
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_Tipologia_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_Tipologia_InEsito">
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>

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

@ -34,6 +34,17 @@ public interface Asseverazione extends AsseverazioneModel, PersistedModel {
public java.util.Map<java.lang.String, java.io.Serializable> getDichiarazioniMap();
public java.lang.String getModello()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean hasCambioStatoAsseverazione(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasGestisciFileAsseverazione(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.lang.String retrieveText(java.lang.String codiceFiscale)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
}

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

@ -633,6 +633,25 @@ public class AsseverazioneClp extends BaseModelImpl<Asseverazione>
}
}
@Override
public boolean hasGestisciFileAsseverazione(long userId) {
try {
String methodName = "hasGestisciFileAsseverazione";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.util.Map<java.lang.String, java.io.Serializable> getDichiarazioniMap() {
try {
@ -671,6 +690,44 @@ public class AsseverazioneClp extends BaseModelImpl<Asseverazione>
}
}
@Override
public java.lang.String retrieveText(java.lang.String codiceFiscale) {
try {
String methodName = "retrieveText";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { codiceFiscale };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean hasCambioStatoAsseverazione(long userId) {
try {
String methodName = "hasCambioStatoAsseverazione";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(

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

@ -698,9 +698,29 @@ public class AsseverazioneWrapper implements Asseverazione,
@Override
public java.lang.String getModello()
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazione.getModello();
}
@Override
public boolean hasCambioStatoAsseverazione(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _asseverazione.getModello();
return _asseverazione.hasCambioStatoAsseverazione(userId);
}
@Override
public boolean hasGestisciFileAsseverazione(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _asseverazione.hasGestisciFileAsseverazione(userId);
}
@Override
public java.lang.String retrieveText(java.lang.String codiceFiscale)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _asseverazione.retrieveText(codiceFiscale);
}
@Override

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

@ -36,4 +36,19 @@ public interface Collaudo extends CollaudoModel, PersistedModel {
public java.lang.String getTitle();
public java.lang.String getFullDescription();
public boolean canCompleteCollaudoEsente()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean isCollaudoDatiCompleted()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.String> notCompletedCollaudoDati()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean pagamentoCollaudoIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
}

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

@ -907,6 +907,82 @@ public class CollaudoClp extends BaseModelImpl<Collaudo> implements Collaudo {
}
}
@Override
public java.util.List<java.lang.String> notCompletedCollaudoDati() {
try {
String methodName = "notCompletedCollaudoDati";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.util.List<java.lang.String> returnObj = (java.util.List<java.lang.String>)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean isCollaudoDatiCompleted() {
try {
String methodName = "isCollaudoDatiCompleted";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean pagamentoCollaudoIsEnable() {
try {
String methodName = "pagamentoCollaudoIsEnable";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean canCompleteCollaudoEsente() {
try {
String methodName = "canCompleteCollaudoEsente";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getFullDescription() {
try {

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

@ -934,6 +934,33 @@ public class CollaudoWrapper implements Collaudo, ModelWrapper<Collaudo> {
return _collaudo.getFullDescription();
}
@Override
public boolean canCompleteCollaudoEsente()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _collaudo.canCompleteCollaudoEsente();
}
@Override
public boolean isCollaudoDatiCompleted()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _collaudo.isCollaudoDatiCompleted();
}
@Override
public java.util.List<java.lang.String> notCompletedCollaudoDati()
throws com.liferay.portal.kernel.exception.SystemException {
return _collaudo.notCompletedCollaudoDati();
}
@Override
public boolean pagamentoCollaudoIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _collaudo.pagamentoCollaudoIsEnable();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {

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

@ -38,4 +38,96 @@ public interface DettPratica extends DettPraticaModel, PersistedModel {
public java.lang.String getFullDescription();
public java.lang.String getMiddleDescription();
public boolean allAsseverazioniCompleted()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean asseverazioniIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean canCompleteDettPraticaEsente()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean canCompleteIntegrazione()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean canCompleteUserEditing()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean delegheCompilazioneIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.Set<java.lang.String> getDocObbligatoriDomanda()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasAnnullaAsseverazioni(long userId)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean hasAsseverazioneAttiva(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasAsseverazioniAttive()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean hasDelegaCompilazioneDomanda(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasDelegaCompilazioneSezioneGeologica(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasDelegaFirmaAllegati(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasRichiediAsseverazioni(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean isAsseverazioneDomandaRecommendedByTipoSoggetto(
java.lang.String tipoSoggetto);
public boolean isAsseverazioneDomandaRequiredByTipoSoggetto(
java.lang.String tipoSoggetto)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean isCollaudatoreRequired();
public boolean isRequiredTerna(java.lang.String codiceDoc,
java.util.List<it.tref.liferay.portos.bo.model.Soggetto> ditte,
java.util.List<it.tref.liferay.portos.bo.model.Soggetto> committenti)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.String> notCompletedSection(
java.lang.String section)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.String> notCompletedSezioneGeologica()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean pagamentoIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean praticaIsCompleta()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean praticaIsEditable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean richiestoA24();
}

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

@ -8422,6 +8422,318 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
}
}
@Override
public java.util.Set<java.lang.String> getDocObbligatoriDomanda() {
try {
String methodName = "getDocObbligatoriDomanda";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.util.Set<java.lang.String> returnObj = (java.util.Set<java.lang.String>)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean hasDelegaCompilazioneSezioneGeologica(long userId) {
try {
String methodName = "hasDelegaCompilazioneSezioneGeologica";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean canCompleteIntegrazione() {
try {
String methodName = "canCompleteIntegrazione";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean hasAnnullaAsseverazioni(long userId) {
try {
String methodName = "hasAnnullaAsseverazioni";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean hasAsseverazioneAttiva(long userId) {
try {
String methodName = "hasAsseverazioneAttiva";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.util.List<java.lang.String> notCompletedSection(
java.lang.String section) {
try {
String methodName = "notCompletedSection";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { section };
java.util.List<java.lang.String> returnObj = (java.util.List<java.lang.String>)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean isCollaudatoreRequired() {
try {
String methodName = "isCollaudatoreRequired";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean allAsseverazioniCompleted() {
try {
String methodName = "allAsseverazioniCompleted";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaIsEditable() {
try {
String methodName = "praticaIsEditable";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getTitle() {
try {
String methodName = "getTitle";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.util.List<java.lang.String> notCompletedSezioneGeologica() {
try {
String methodName = "notCompletedSezioneGeologica";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.util.List<java.lang.String> returnObj = (java.util.List<java.lang.String>)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean isRequiredTerna(java.lang.String codiceDoc,
java.util.List<it.tref.liferay.portos.bo.model.Soggetto> ditte,
java.util.List<it.tref.liferay.portos.bo.model.Soggetto> committenti) {
try {
String methodName = "isRequiredTerna";
Class<?>[] parameterTypes = new Class<?>[] {
java.lang.String.class, java.util.List.class,
java.util.List.class
};
Object[] parameterValues = new Object[] {
codiceDoc, ditte, committenti
};
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean pagamentoIsEnable() {
try {
String methodName = "pagamentoIsEnable";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean hasAsseverazioniAttive() {
try {
String methodName = "hasAsseverazioniAttive";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaIsCompleta() {
try {
String methodName = "praticaIsCompleta";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean canCompleteDettPraticaEsente() {
try {
String methodName = "canCompleteDettPraticaEsente";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getTitle(java.util.Locale locale) {
try {
@ -8442,15 +8754,54 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
}
@Override
public java.lang.String getTitle() {
public boolean canCompleteUserEditing() {
try {
String methodName = "getTitle";
String methodName = "canCompleteUserEditing";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean hasRichiediAsseverazioni(long userId) {
try {
String methodName = "hasRichiediAsseverazioni";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean isAsseverazioneDomandaRecommendedByTipoSoggetto(
java.lang.String tipoSoggetto) {
try {
String methodName = "isAsseverazioneDomandaRecommendedByTipoSoggetto";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { tipoSoggetto };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
@ -8479,6 +8830,101 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
}
}
@Override
public boolean hasDelegaCompilazioneDomanda(long userId) {
try {
String methodName = "hasDelegaCompilazioneDomanda";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean asseverazioniIsEnable() {
try {
String methodName = "asseverazioniIsEnable";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean delegheCompilazioneIsEnable() {
try {
String methodName = "delegheCompilazioneIsEnable";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean richiestoA24() {
try {
String methodName = "richiestoA24";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean hasDelegaFirmaAllegati(long userId) {
try {
String methodName = "hasDelegaFirmaAllegati";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getFullDescription() {
try {
@ -8498,6 +8944,26 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
}
}
@Override
public boolean isAsseverazioneDomandaRequiredByTipoSoggetto(
java.lang.String tipoSoggetto) {
try {
String methodName = "isAsseverazioneDomandaRequiredByTipoSoggetto";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { tipoSoggetto };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(

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

@ -8249,6 +8249,170 @@ public class DettPraticaWrapper implements DettPratica,
return _dettPratica.getMiddleDescription();
}
@Override
public boolean allAsseverazioniCompleted()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.allAsseverazioniCompleted();
}
@Override
public boolean asseverazioniIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.asseverazioniIsEnable();
}
@Override
public boolean canCompleteDettPraticaEsente()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.canCompleteDettPraticaEsente();
}
@Override
public boolean canCompleteIntegrazione()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.canCompleteIntegrazione();
}
@Override
public boolean canCompleteUserEditing()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.canCompleteUserEditing();
}
@Override
public boolean delegheCompilazioneIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.delegheCompilazioneIsEnable();
}
@Override
public java.util.Set<java.lang.String> getDocObbligatoriDomanda()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.getDocObbligatoriDomanda();
}
@Override
public boolean hasAnnullaAsseverazioni(long userId)
throws com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.hasAnnullaAsseverazioni(userId);
}
@Override
public boolean hasAsseverazioneAttiva(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.hasAsseverazioneAttiva(userId);
}
@Override
public boolean hasAsseverazioniAttive()
throws com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.hasAsseverazioniAttive();
}
@Override
public boolean hasDelegaCompilazioneDomanda(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.hasDelegaCompilazioneDomanda(userId);
}
@Override
public boolean hasDelegaCompilazioneSezioneGeologica(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.hasDelegaCompilazioneSezioneGeologica(userId);
}
@Override
public boolean hasDelegaFirmaAllegati(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.hasDelegaFirmaAllegati(userId);
}
@Override
public boolean hasRichiediAsseverazioni(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.hasRichiediAsseverazioni(userId);
}
@Override
public boolean isAsseverazioneDomandaRecommendedByTipoSoggetto(
java.lang.String tipoSoggetto) {
return _dettPratica.isAsseverazioneDomandaRecommendedByTipoSoggetto(tipoSoggetto);
}
@Override
public boolean isAsseverazioneDomandaRequiredByTipoSoggetto(
java.lang.String tipoSoggetto)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.isAsseverazioneDomandaRequiredByTipoSoggetto(tipoSoggetto);
}
@Override
public boolean isCollaudatoreRequired() {
return _dettPratica.isCollaudatoreRequired();
}
@Override
public boolean isRequiredTerna(java.lang.String codiceDoc,
java.util.List<it.tref.liferay.portos.bo.model.Soggetto> ditte,
java.util.List<it.tref.liferay.portos.bo.model.Soggetto> committenti)
throws com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.isRequiredTerna(codiceDoc, ditte, committenti);
}
@Override
public java.util.List<java.lang.String> notCompletedSection(
java.lang.String section)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.notCompletedSection(section);
}
@Override
public java.util.List<java.lang.String> notCompletedSezioneGeologica()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.notCompletedSezioneGeologica();
}
@Override
public boolean pagamentoIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.pagamentoIsEnable();
}
@Override
public boolean praticaIsCompleta()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.praticaIsCompleta();
}
@Override
public boolean praticaIsEditable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPratica.praticaIsEditable();
}
@Override
public boolean richiestoA24() {
return _dettPratica.richiestoA24();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {

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

@ -36,4 +36,20 @@ public interface FineLavori extends FineLavoriModel, PersistedModel {
public java.lang.String getTitle();
public java.lang.String getFullDescription();
public boolean canCompleteFineLavoriEsente()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean isFineLavoriDatiCompleted()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.String> notCompletedFineLavoriDati()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean pagamentoFineLavoriIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
}

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

@ -912,6 +912,25 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public java.util.List<java.lang.String> notCompletedFineLavoriDati() {
try {
String methodName = "notCompletedFineLavoriDati";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.util.List<java.lang.String> returnObj = (java.util.List<java.lang.String>)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getTitle(java.util.Locale locale) {
try {
@ -931,6 +950,25 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public boolean canCompleteFineLavoriEsente() {
try {
String methodName = "canCompleteFineLavoriEsente";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getTitle() {
try {
@ -950,6 +988,25 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public boolean isFineLavoriDatiCompleted() {
try {
String methodName = "isFineLavoriDatiCompleted";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getFullDescription() {
try {
@ -969,6 +1026,25 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public boolean pagamentoFineLavoriIsEnable() {
try {
String methodName = "pagamentoFineLavoriIsEnable";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(

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

@ -975,6 +975,34 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
return _fineLavori.getFullDescription();
}
@Override
public boolean canCompleteFineLavoriEsente()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fineLavori.canCompleteFineLavoriEsente();
}
@Override
public boolean isFineLavoriDatiCompleted()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fineLavori.isFineLavoriDatiCompleted();
}
@Override
public java.util.List<java.lang.String> notCompletedFineLavoriDati()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fineLavori.notCompletedFineLavoriDati();
}
@Override
public boolean pagamentoFineLavoriIsEnable()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fineLavori.pagamentoFineLavoriIsEnable();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {

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

@ -37,9 +37,17 @@ public interface IntPratica extends IntPraticaModel, PersistedModel {
public boolean isAnnullata();
public boolean isAutorizzazione()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean isChiusa()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean isDeposito()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public int getTipoRichiesta();
public java.lang.String getIndirizzo()
@ -50,5 +58,112 @@ public interface IntPratica extends IntPraticaModel, PersistedModel {
public java.lang.Integer getDistanzaOrtodromica();
public boolean canAddPagamento(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean canAddSoggetto(java.lang.String tipoSoggetto)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean canAddVariazioneSoggetti();
public boolean canDeletePratica(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean canEditPratica()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean canEditUsers()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean canPrintFascicolo();
public boolean canPrintFascicoloVariante()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean canRemoveSoggetto(java.lang.String tipoSoggetto)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean isAllRequiredValid(java.lang.String codiceDoc,
java.util.List<java.lang.String> signatures,
java.util.List<java.lang.String> tipologiaSoggetti,
it.tref.liferay.portos.bo.model.DocPratica docPratica)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanAbort(long userId)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanAddCollaudo(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanAddFineLavori(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanAddIntegrazione()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanAddVariante()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanDeleteCollaudo(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanDeleteFineLavori(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanDeleteIntegrazione()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanDeleteVariante()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanEditCollaudo(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanEditFineLavori(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanEditIntegrazione()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaCanEditVariante()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaHasAnnullamento();
public boolean praticaHasCollaudoInProgress()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaHasCollaudoPaymentPending()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaHasFineLavoriInProgress()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaHasFineLavoriPaymentPending()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaHasIntegrazioneInProgress()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean hasRichiestaIntegrazioneAttiva();
public boolean isAllowedAction(java.lang.String action)
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaHasVarianteInProgress()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean praticaInProgress()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean signaturesContains(java.lang.String tipoSoggetto,
java.util.List<java.lang.String> signatures)
throws com.liferay.portal.kernel.exception.SystemException;
}

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

@ -1186,15 +1186,15 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
@Override
public java.lang.String getIndirizzo() {
public boolean praticaHasAnnullamento() {
try {
String methodName = "getIndirizzo";
String methodName = "praticaHasAnnullamento";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
@ -1205,17 +1205,15 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
@Override
public java.lang.String getTitle(java.util.Locale locale, boolean completed) {
public boolean hasRichiestaIntegrazioneAttiva() {
try {
String methodName = "getTitle";
String methodName = "hasRichiestaIntegrazioneAttiva";
Class<?>[] parameterTypes = new Class<?>[] {
java.util.Locale.class, boolean.class
};
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { locale, completed };
Object[] parameterValues = new Object[] { };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
@ -1226,9 +1224,9 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
@Override
public boolean isAnnullata() {
public boolean canAddVariazioneSoggetti() {
try {
String methodName = "isAnnullata";
String methodName = "canAddVariazioneSoggetti";
Class<?>[] parameterTypes = new Class<?>[] { };
@ -1245,9 +1243,9 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
@Override
public boolean hasRichiestaIntegrazioneAttiva() {
public boolean canEditPratica() {
try {
String methodName = "hasRichiestaIntegrazioneAttiva";
String methodName = "canEditPratica";
Class<?>[] parameterTypes = new Class<?>[] { };
@ -1264,15 +1262,34 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
@Override
public java.lang.Integer getDistanzaOrtodromica() {
public boolean canAddPagamento(long userId) {
try {
String methodName = "getDistanzaOrtodromica";
String methodName = "canAddPagamento";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean canEditUsers() {
try {
String methodName = "canEditUsers";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.lang.Integer returnObj = (java.lang.Integer)invokeOnRemoteModel(methodName,
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
@ -1283,15 +1300,70 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
@Override
public java.lang.Integer calcolaDistanzaOrtodromica(double lat, double lng) {
public boolean praticaCanAddIntegrazione() {
try {
String methodName = "calcolaDistanzaOrtodromica";
String methodName = "praticaCanAddIntegrazione";
Class<?>[] parameterTypes = new Class<?>[] {
double.class, double.class
};
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { lat, lng };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaInProgress() {
try {
String methodName = "praticaInProgress";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getIndirizzo() {
try {
String methodName = "getIndirizzo";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.Integer getDistanzaOrtodromica() {
try {
String methodName = "getDistanzaOrtodromica";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.lang.Integer returnObj = (java.lang.Integer)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
@ -1322,6 +1394,25 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
}
@Override
public boolean isAutorizzazione() {
try {
String methodName = "isAutorizzazione";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getTitle(boolean completed) {
try {
@ -1342,9 +1433,161 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
@Override
public boolean isChiusa() {
public boolean canPrintFascicolo() {
try {
String methodName = "isChiusa";
String methodName = "canPrintFascicolo";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanDeleteVariante() {
try {
String methodName = "praticaCanDeleteVariante";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaHasCollaudoInProgress() {
try {
String methodName = "praticaHasCollaudoInProgress";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean isDeposito() {
try {
String methodName = "isDeposito";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean canDeletePratica(long userId) {
try {
String methodName = "canDeletePratica";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean canAddSoggetto(java.lang.String tipoSoggetto) {
try {
String methodName = "canAddSoggetto";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { tipoSoggetto };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanAddFineLavori(java.lang.String userScreenName) {
try {
String methodName = "praticaCanAddFineLavori";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { userScreenName };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaHasVarianteInProgress() {
try {
String methodName = "praticaHasVarianteInProgress";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanDeleteIntegrazione() {
try {
String methodName = "praticaCanDeleteIntegrazione";
Class<?>[] parameterTypes = new Class<?>[] { };
@ -1360,6 +1603,440 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
}
@Override
public boolean praticaHasFineLavoriPaymentPending() {
try {
String methodName = "praticaHasFineLavoriPaymentPending";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean isAnnullata() {
try {
String methodName = "isAnnullata";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanDeleteFineLavori(java.lang.String userScreenName) {
try {
String methodName = "praticaCanDeleteFineLavori";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { userScreenName };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean canRemoveSoggetto(java.lang.String tipoSoggetto) {
try {
String methodName = "canRemoveSoggetto";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { tipoSoggetto };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean isAllowedAction(java.lang.String action) {
try {
String methodName = "isAllowedAction";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { action };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean canPrintFascicoloVariante() {
try {
String methodName = "canPrintFascicoloVariante";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean isChiusa() {
try {
String methodName = "isChiusa";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanEditCollaudo(java.lang.String userScreenName) {
try {
String methodName = "praticaCanEditCollaudo";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { userScreenName };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanEditFineLavori(java.lang.String userScreenName) {
try {
String methodName = "praticaCanEditFineLavori";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { userScreenName };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaHasFineLavoriInProgress() {
try {
String methodName = "praticaHasFineLavoriInProgress";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanEditVariante() {
try {
String methodName = "praticaCanEditVariante";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getTitle(java.util.Locale locale, boolean completed) {
try {
String methodName = "getTitle";
Class<?>[] parameterTypes = new Class<?>[] {
java.util.Locale.class, boolean.class
};
Object[] parameterValues = new Object[] { locale, completed };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanEditIntegrazione() {
try {
String methodName = "praticaCanEditIntegrazione";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.Integer calcolaDistanzaOrtodromica(double lat, double lng) {
try {
String methodName = "calcolaDistanzaOrtodromica";
Class<?>[] parameterTypes = new Class<?>[] {
double.class, double.class
};
Object[] parameterValues = new Object[] { lat, lng };
java.lang.Integer returnObj = (java.lang.Integer)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaHasCollaudoPaymentPending() {
try {
String methodName = "praticaHasCollaudoPaymentPending";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanAddVariante() {
try {
String methodName = "praticaCanAddVariante";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaHasIntegrazioneInProgress() {
try {
String methodName = "praticaHasIntegrazioneInProgress";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean signaturesContains(java.lang.String tipoSoggetto,
java.util.List<java.lang.String> signatures) {
try {
String methodName = "signaturesContains";
Class<?>[] parameterTypes = new Class<?>[] {
java.lang.String.class, java.util.List.class
};
Object[] parameterValues = new Object[] { tipoSoggetto, signatures };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanDeleteCollaudo(java.lang.String userScreenName) {
try {
String methodName = "praticaCanDeleteCollaudo";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { userScreenName };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean isAllRequiredValid(java.lang.String codiceDoc,
java.util.List<java.lang.String> signatures,
java.util.List<java.lang.String> tipologiaSoggetti,
it.tref.liferay.portos.bo.model.DocPratica docPratica) {
try {
String methodName = "isAllRequiredValid";
Class<?>[] parameterTypes = new Class<?>[] {
java.lang.String.class, java.util.List.class,
java.util.List.class,
it.tref.liferay.portos.bo.model.DocPratica.class
};
Object[] parameterValues = new Object[] {
codiceDoc, signatures, tipologiaSoggetti, docPratica
};
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanAddCollaudo(java.lang.String userScreenName) {
try {
String methodName = "praticaCanAddCollaudo";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { userScreenName };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean praticaCanAbort(long userId) {
try {
String methodName = "praticaCanAbort";
Class<?>[] parameterTypes = new Class<?>[] { long.class };
Object[] parameterValues = new Object[] { userId };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(

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

@ -1247,12 +1247,26 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper<IntPratica> {
return _intPratica.isAnnullata();
}
@Override
public boolean isAutorizzazione()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPratica.isAutorizzazione();
}
@Override
public boolean isChiusa()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.isChiusa();
}
@Override
public boolean isDeposito()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPratica.isDeposito();
}
@Override
public int getTipoRichiesta() {
return _intPratica.getTipoRichiesta();
@ -1275,11 +1289,218 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper<IntPratica> {
return _intPratica.getDistanzaOrtodromica();
}
@Override
public boolean canAddPagamento(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPratica.canAddPagamento(userId);
}
@Override
public boolean canAddSoggetto(java.lang.String tipoSoggetto)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPratica.canAddSoggetto(tipoSoggetto);
}
@Override
public boolean canAddVariazioneSoggetti() {
return _intPratica.canAddVariazioneSoggetti();
}
@Override
public boolean canDeletePratica(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPratica.canDeletePratica(userId);
}
@Override
public boolean canEditPratica()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPratica.canEditPratica();
}
@Override
public boolean canEditUsers()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPratica.canEditUsers();
}
@Override
public boolean canPrintFascicolo() {
return _intPratica.canPrintFascicolo();
}
@Override
public boolean canPrintFascicoloVariante()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.canPrintFascicoloVariante();
}
@Override
public boolean canRemoveSoggetto(java.lang.String tipoSoggetto)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.canRemoveSoggetto(tipoSoggetto);
}
@Override
public boolean isAllRequiredValid(java.lang.String codiceDoc,
java.util.List<java.lang.String> signatures,
java.util.List<java.lang.String> tipologiaSoggetti,
it.tref.liferay.portos.bo.model.DocPratica docPratica)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.isAllRequiredValid(codiceDoc, signatures,
tipologiaSoggetti, docPratica);
}
@Override
public boolean praticaCanAbort(long userId)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanAbort(userId);
}
@Override
public boolean praticaCanAddCollaudo(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanAddCollaudo(userScreenName);
}
@Override
public boolean praticaCanAddFineLavori(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanAddFineLavori(userScreenName);
}
@Override
public boolean praticaCanAddIntegrazione()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanAddIntegrazione();
}
@Override
public boolean praticaCanAddVariante()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanAddVariante();
}
@Override
public boolean praticaCanDeleteCollaudo(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanDeleteCollaudo(userScreenName);
}
@Override
public boolean praticaCanDeleteFineLavori(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanDeleteFineLavori(userScreenName);
}
@Override
public boolean praticaCanDeleteIntegrazione()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanDeleteIntegrazione();
}
@Override
public boolean praticaCanDeleteVariante()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanDeleteVariante();
}
@Override
public boolean praticaCanEditCollaudo(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanEditCollaudo(userScreenName);
}
@Override
public boolean praticaCanEditFineLavori(java.lang.String userScreenName)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanEditFineLavori(userScreenName);
}
@Override
public boolean praticaCanEditIntegrazione()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanEditIntegrazione();
}
@Override
public boolean praticaCanEditVariante()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaCanEditVariante();
}
@Override
public boolean praticaHasAnnullamento() {
return _intPratica.praticaHasAnnullamento();
}
@Override
public boolean praticaHasCollaudoInProgress()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaHasCollaudoInProgress();
}
@Override
public boolean praticaHasCollaudoPaymentPending()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaHasCollaudoPaymentPending();
}
@Override
public boolean praticaHasFineLavoriInProgress()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaHasFineLavoriInProgress();
}
@Override
public boolean praticaHasFineLavoriPaymentPending()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaHasFineLavoriPaymentPending();
}
@Override
public boolean praticaHasIntegrazioneInProgress()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaHasIntegrazioneInProgress();
}
@Override
public boolean hasRichiestaIntegrazioneAttiva() {
return _intPratica.hasRichiestaIntegrazioneAttiva();
}
@Override
public boolean isAllowedAction(java.lang.String action)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.isAllowedAction(action);
}
@Override
public boolean praticaHasVarianteInProgress()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaHasVarianteInProgress();
}
@Override
public boolean praticaInProgress()
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.praticaInProgress();
}
@Override
public boolean signaturesContains(java.lang.String tipoSoggetto,
java.util.List<java.lang.String> signatures)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPratica.signaturesContains(tipoSoggetto, signatures);
}
@Override
public boolean equals(Object obj) {
if (this == obj) {

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

@ -394,67 +394,43 @@ public interface AsseverazioneLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica(
long intPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByDettPratica(long dettPraticaId)
public int countByCodiceFiscale_Esito(java.lang.String codiceFiscale,
java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale(
long intPraticaId, java.lang.String codiceFiscale, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_CodiceFiscale(long intPraticaId,
java.lang.String codiceFiscale)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByCodiceFiscale_InEsito(java.lang.String codiceFiscale,
java.lang.String[] esiti)
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public int countByDettPratica_CodiceFiscale_Esito(long dettPraticaId,
java.lang.String codiceFiscale, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_InEsito(
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_Esito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_CodiceFiscale_InEsito(long intPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByDettPratica_CodiceFiscale_InEsito(long dettPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_InEsito(
long intPraticaId, java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Esito(
long dettPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_InEsito(long intPraticaId,
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
@ -463,50 +439,23 @@ public interface AsseverazioneLocalService extends BaseLocalService,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_Esito(
long dettPraticaId, java.lang.String tipologia, java.lang.String esito,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Tipologia_InEsito(
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Esito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti, int start,
int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Tipologia_InEsito(
long intPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public int countByIntPratica_Esito(long intPraticaId, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_InEsito(
long dettPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Esito(
long intPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_Tipologia_InEsito(long intPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByDettPratica_Tipologia_InEsito(long dettPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
}

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

@ -213,153 +213,88 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
"com.liferay.portal.service.ServiceContext"
};
_methodName37 = "findByIntPratica";
_methodName37 = "countByCodiceFiscale_Esito";
_methodParameterTypes37 = new String[] {
"long", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
"java.lang.String", "java.lang.String"
};
_methodName38 = "findByDettPratica";
_methodName38 = "findByCodiceFiscale_Esito";
_methodParameterTypes38 = new String[] {
"long", "int", "int",
"java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName39 = "countByIntPratica";
_methodParameterTypes39 = new String[] { "long" };
_methodName39 = "findByCodiceFiscale_InEsito";
_methodName40 = "countByDettPratica";
_methodParameterTypes40 = new String[] { "long" };
_methodName41 = "findByIntPratica_CodiceFiscale";
_methodParameterTypes41 = new String[] {
"long", "java.lang.String", "int", "int",
_methodParameterTypes39 = new String[] {
"java.lang.String", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName42 = "countByIntPratica_CodiceFiscale";
_methodParameterTypes42 = new String[] { "long", "java.lang.String" };
_methodName43 = "findByCodiceFiscale_InEsito";
_methodName40 = "findByDettPratica";
_methodParameterTypes43 = new String[] {
"java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes40 = new String[] {
"long", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName44 = "countByCodiceFiscale_InEsito";
_methodName41 = "countByDettPratica_CodiceFiscale_Esito";
_methodParameterTypes44 = new String[] {
"java.lang.String", "java.lang.String[][]"
_methodParameterTypes41 = new String[] {
"long", "java.lang.String", "java.lang.String"
};
_methodName45 = "findByIntPratica_CodiceFiscale_InEsito";
_methodName42 = "findByDettPratica_CodiceFiscale_Esito";
_methodParameterTypes45 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes42 = new String[] {
"long", "java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName46 = "findByDettPratica_CodiceFiscale_InEsito";
_methodName43 = "findByDettPratica_Esito";
_methodParameterTypes46 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes43 = new String[] {
"long", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName47 = "countByIntPratica_CodiceFiscale_InEsito";
_methodParameterTypes47 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
_methodName48 = "countByDettPratica_CodiceFiscale_InEsito";
_methodName44 = "countByDettPratica_InEsito";
_methodParameterTypes48 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
_methodParameterTypes44 = new String[] { "long", "java.lang.String[][]" };
_methodName49 = "findByIntPratica_InEsito";
_methodName45 = "findByDettPratica_InEsito";
_methodParameterTypes49 = new String[] {
_methodParameterTypes45 = new String[] {
"long", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName50 = "countByIntPratica_InEsito";
_methodParameterTypes50 = new String[] { "long", "java.lang.String[][]" };
_methodName46 = "findByDettPratica_Tipologia_Esito";
_methodName51 = "findByDettPratica_InEsito";
_methodParameterTypes51 = new String[] {
"long", "java.lang.String[][]", "int", "int",
_methodParameterTypes46 = new String[] {
"long", "java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName52 = "countByDettPratica_InEsito";
_methodParameterTypes52 = new String[] { "long", "java.lang.String[][]" };
_methodName47 = "findByIntPratica_CodiceFiscale_Esito";
_methodName53 = "findByCodiceFiscale_Tipologia_InEsito";
_methodParameterTypes53 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String[][]",
"int", "int", "com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName54 = "countByCodiceFiscale_Tipologia_InEsito";
_methodParameterTypes54 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String[][]"
};
_methodName55 = "findByIntPratica_CodiceFiscale_Tipologia_InEsito";
_methodParameterTypes55 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String[][]", "int", "int",
_methodParameterTypes47 = new String[] {
"long", "java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName56 = "countByIntPratica_CodiceFiscale_Tipologia_InEsito";
_methodName48 = "countByIntPratica_Esito";
_methodParameterTypes56 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String[][]"
};
_methodName57 = "findByIntPratica_Tipologia_InEsito";
_methodParameterTypes57 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodParameterTypes48 = new String[] { "long", "java.lang.String" };
_methodName58 = "findByDettPratica_Tipologia_InEsito";
_methodName49 = "findByIntPratica_Esito";
_methodParameterTypes58 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes49 = new String[] {
"long", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName59 = "countByIntPratica_Tipologia_InEsito";
_methodParameterTypes59 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
_methodName60 = "countByDettPratica_Tipologia_InEsito";
_methodParameterTypes60 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
}
@Override
@ -1618,9 +1553,8 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica(
long intPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public int countByCodiceFiscale_Esito(java.lang.String codiceFiscale,
java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
@ -1628,13 +1562,9 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37,
new Object[] {
intPraticaId,
start,
end,
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(orderByComparator)
ClpSerializer.translateInput(esito)
});
}
catch (Throwable t) {
@ -1653,12 +1583,13 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.Asseverazione>)ClpSerializer.translateOutput(returnObj);
return ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
@ -1667,7 +1598,9 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38,
new Object[] {
dettPraticaId,
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(esito),
start,
@ -1696,75 +1629,20 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public int countByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39, new Object[] { intPraticaId });
}
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 ((Integer)returnObj).intValue();
}
@Override
public int countByDettPratica(long dettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes40, new Object[] { dettPraticaId });
}
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 ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale(
long intPraticaId, java.lang.String codiceFiscale, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41,
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39,
new Object[] {
intPraticaId,
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(esiti),
start,
@ -1793,54 +1671,17 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public int countByIntPratica_CodiceFiscale(long intPraticaId,
java.lang.String codiceFiscale)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
new Object[] {
intPraticaId,
ClpSerializer.translateInput(codiceFiscale)
});
}
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 ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti, int start,
int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes40,
new Object[] {
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(esiti),
dettPraticaId,
start,
@ -1869,62 +1710,20 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public int countByCodiceFiscale_InEsito(java.lang.String codiceFiscale,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
new Object[] {
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(esiti)
});
}
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 ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public int countByDettPratica_CodiceFiscale_Esito(long dettPraticaId,
java.lang.String codiceFiscale, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41,
new Object[] {
intPraticaId,
dettPraticaId,
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(esiti),
start,
end,
ClpSerializer.translateInput(orderByComparator)
ClpSerializer.translateInput(esito)
});
}
catch (Throwable t) {
@ -1943,26 +1742,26 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.Asseverazione>)ClpSerializer.translateOutput(returnObj);
return ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_InEsito(
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_Esito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46,
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
new Object[] {
dettPraticaId,
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(esiti),
ClpSerializer.translateInput(esito),
start,
@ -1991,91 +1790,19 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public int countByIntPratica_CodiceFiscale_InEsito(long intPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47,
new Object[] {
intPraticaId,
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(esiti)
});
}
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 ((Integer)returnObj).intValue();
}
@Override
public int countByDettPratica_CodiceFiscale_InEsito(long dettPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48,
new Object[] {
dettPraticaId,
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(esiti)
});
}
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 ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_InEsito(
long intPraticaId, java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Esito(
long dettPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
new Object[] {
intPraticaId,
dettPraticaId,
ClpSerializer.translateInput(esiti),
ClpSerializer.translateInput(esito),
start,
@ -2104,16 +1831,16 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public int countByIntPratica_InEsito(long intPraticaId,
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50,
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
new Object[] {
intPraticaId,
dettPraticaId,
ClpSerializer.translateInput(esiti)
});
@ -2145,8 +1872,8 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
new Object[] {
dettPraticaId,
@ -2179,56 +1906,22 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
new Object[] {
dettPraticaId,
ClpSerializer.translateInput(esiti)
});
}
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 ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_Esito(
long dettPraticaId, java.lang.String tipologia, java.lang.String esito,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46,
new Object[] {
ClpSerializer.translateInput(codiceFiscale),
dettPraticaId,
ClpSerializer.translateInput(tipologia),
ClpSerializer.translateInput(esiti),
ClpSerializer.translateInput(esito),
start,
@ -2257,62 +1950,22 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public int countByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
new Object[] {
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(tipologia),
ClpSerializer.translateInput(esiti)
});
}
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 ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Tipologia_InEsito(
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Esito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti, int start,
int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55,
returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47,
new Object[] {
intPraticaId,
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(tipologia),
ClpSerializer.translateInput(esiti),
ClpSerializer.translateInput(esito),
start,
@ -2341,23 +1994,17 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public int countByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti)
public int countByIntPratica_Esito(long intPraticaId, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56,
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48,
new Object[] {
intPraticaId,
ClpSerializer.translateInput(codiceFiscale),
ClpSerializer.translateInput(tipologia),
ClpSerializer.translateInput(esiti)
ClpSerializer.translateInput(esito)
});
}
catch (Throwable t) {
@ -2380,22 +2027,19 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Tipologia_InEsito(
long intPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Esito(
long intPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes57,
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
new Object[] {
intPraticaId,
ClpSerializer.translateInput(tipologia),
ClpSerializer.translateInput(esiti),
ClpSerializer.translateInput(esito),
start,
@ -2423,122 +2067,6 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
return (java.util.List<it.tref.liferay.portos.bo.model.Asseverazione>)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_InEsito(
long dettPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes58,
new Object[] {
dettPraticaId,
ClpSerializer.translateInput(tipologia),
ClpSerializer.translateInput(esiti),
start,
end,
ClpSerializer.translateInput(orderByComparator)
});
}
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 (java.util.List<it.tref.liferay.portos.bo.model.Asseverazione>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countByIntPratica_Tipologia_InEsito(long intPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes59,
new Object[] {
intPraticaId,
ClpSerializer.translateInput(tipologia),
ClpSerializer.translateInput(esiti)
});
}
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 ((Integer)returnObj).intValue();
}
@Override
public int countByDettPratica_Tipologia_InEsito(long dettPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes60,
new Object[] {
dettPraticaId,
ClpSerializer.translateInput(tipologia),
ClpSerializer.translateInput(esiti)
});
}
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 ((Integer)returnObj).intValue();
}
private InvokableLocalService _invokableLocalService;
private String _methodName0;
private String[] _methodParameterTypes0;
@ -2638,26 +2166,4 @@ public class AsseverazioneLocalServiceClp implements AsseverazioneLocalService {
private String[] _methodParameterTypes48;
private String _methodName49;
private String[] _methodParameterTypes49;
private String _methodName50;
private String[] _methodParameterTypes50;
private String _methodName51;
private String[] _methodParameterTypes51;
private String _methodName52;
private String[] _methodParameterTypes52;
private String _methodName53;
private String[] _methodParameterTypes53;
private String _methodName54;
private String[] _methodParameterTypes54;
private String _methodName55;
private String[] _methodParameterTypes55;
private String _methodName56;
private String[] _methodParameterTypes56;
private String _methodName57;
private String[] _methodParameterTypes57;
private String _methodName58;
private String[] _methodParameterTypes58;
private String _methodName59;
private String[] _methodParameterTypes59;
private String _methodName60;
private String[] _methodParameterTypes60;
}

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

@ -457,49 +457,22 @@ public class AsseverazioneLocalServiceUtil {
sourceFileName, serviceContext);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica(
long intPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public static int countByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica(intPraticaId, start, end, orderByComparator);
return getService().countByCodiceFiscale_Esito(codiceFiscale, esito);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByDettPratica(dettPraticaId, start, end,
.findByCodiceFiscale_Esito(codiceFiscale, esito, start, end,
orderByComparator);
}
public static int countByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByIntPratica(intPraticaId);
}
public static int countByDettPratica(long dettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByDettPratica(dettPraticaId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale(
long intPraticaId, java.lang.String codiceFiscale, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale,
start, end, orderByComparator);
}
public static int countByIntPratica_CodiceFiscale(long intPraticaId,
java.lang.String codiceFiscale)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti, int start,
int end,
@ -510,63 +483,47 @@ public class AsseverazioneLocalServiceUtil {
end, orderByComparator);
}
public static int countByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByCodiceFiscale_InEsito(codiceFiscale, esiti);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
.findByDettPratica(dettPraticaId, start, end,
orderByComparator);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_InEsito(
public static int countByDettPratica_CodiceFiscale_Esito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
}
public static int countByIntPratica_CodiceFiscale_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti)
java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti);
.countByDettPratica_CodiceFiscale_Esito(dettPraticaId,
codiceFiscale, esito);
}
public static int countByDettPratica_CodiceFiscale_InEsito(
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_Esito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti)
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti);
.findByDettPratica_CodiceFiscale_Esito(dettPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_InEsito(
long intPraticaId, java.lang.String[] esiti, int start, int end,
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Esito(
long dettPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_InEsito(intPraticaId, esiti, start, end,
.findByDettPratica_Esito(dettPraticaId, esito, start, end,
orderByComparator);
}
public static int countByIntPratica_InEsito(long intPraticaId,
public static int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByIntPratica_InEsito(intPraticaId, esiti);
return getService().countByDettPratica_InEsito(dettPraticaId, esiti);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_InEsito(
@ -578,85 +535,39 @@ public class AsseverazioneLocalServiceUtil {
orderByComparator);
}
public static int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByDettPratica_InEsito(dettPraticaId, esiti);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_Esito(
long dettPraticaId, java.lang.String tipologia, java.lang.String esito,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti, start, end, orderByComparator);
}
public static int countByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti);
.findByDettPratica_Tipologia_Esito(dettPraticaId, tipologia,
esito, start, end, orderByComparator);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Tipologia_InEsito(
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Esito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti, int start,
int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti, start, end, orderByComparator);
.findByIntPratica_CodiceFiscale_Esito(intPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
}
public static int countByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti)
public static int countByIntPratica_Esito(long intPraticaId,
java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti);
return getService().countByIntPratica_Esito(intPraticaId, esito);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Tipologia_InEsito(
long intPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Esito(
long intPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_Tipologia_InEsito(intPraticaId, tipologia,
esiti, start, end, orderByComparator);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_InEsito(
long dettPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti, start, end, orderByComparator);
}
public static int countByIntPratica_Tipologia_InEsito(long intPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPratica_Tipologia_InEsito(intPraticaId,
tipologia, esiti);
}
public static int countByDettPratica_Tipologia_InEsito(long dettPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti);
.findByIntPratica_Esito(intPraticaId, esito, start, end,
orderByComparator);
}
public static void clearService() {

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

@ -493,50 +493,21 @@ public class AsseverazioneLocalServiceWrapper
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica(
long intPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByIntPratica(intPraticaId, start,
end, orderByComparator);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByDettPratica(dettPraticaId,
start, end, orderByComparator);
}
@Override
public int countByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByIntPratica(intPraticaId);
}
@Override
public int countByDettPratica(long dettPraticaId)
public int countByCodiceFiscale_Esito(java.lang.String codiceFiscale,
java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByDettPratica(dettPraticaId);
return _asseverazioneLocalService.countByCodiceFiscale_Esito(codiceFiscale,
esito);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale(
long intPraticaId, java.lang.String codiceFiscale, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByIntPratica_CodiceFiscale(intPraticaId,
codiceFiscale, start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale(long intPraticaId,
java.lang.String codiceFiscale)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByIntPratica_CodiceFiscale(intPraticaId,
codiceFiscale);
return _asseverazioneLocalService.findByCodiceFiscale_Esito(codiceFiscale,
esito, start, end, orderByComparator);
}
@Override
@ -550,63 +521,46 @@ public class AsseverazioneLocalServiceWrapper
}
@Override
public int countByCodiceFiscale_InEsito(java.lang.String codiceFiscale,
java.lang.String[] esiti)
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByCodiceFiscale_InEsito(codiceFiscale,
esiti);
return _asseverazioneLocalService.findByDettPratica(dettPraticaId,
start, end, orderByComparator);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public int countByDettPratica_CodiceFiscale_Esito(long dettPraticaId,
java.lang.String codiceFiscale, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
return _asseverazioneLocalService.countByDettPratica_CodiceFiscale_Esito(dettPraticaId,
codiceFiscale, esito);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_InEsito(
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_Esito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale_InEsito(long intPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti);
}
@Override
public int countByDettPratica_CodiceFiscale_InEsito(long dettPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti);
return _asseverazioneLocalService.findByDettPratica_CodiceFiscale_Esito(dettPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_InEsito(
long intPraticaId, java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Esito(
long dettPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByIntPratica_InEsito(intPraticaId,
esiti, start, end, orderByComparator);
return _asseverazioneLocalService.findByDettPratica_Esito(dettPraticaId,
esito, start, end, orderByComparator);
}
@Override
public int countByIntPratica_InEsito(long intPraticaId,
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByIntPratica_InEsito(intPraticaId,
return _asseverazioneLocalService.countByDettPratica_InEsito(dettPraticaId,
esiti);
}
@ -620,86 +574,39 @@ public class AsseverazioneLocalServiceWrapper
}
@Override
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByDettPratica_InEsito(dettPraticaId,
esiti);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_Esito(
long dettPraticaId, java.lang.String tipologia, java.lang.String esito,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti, start, end, orderByComparator);
}
@Override
public int countByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti);
return _asseverazioneLocalService.findByDettPratica_Tipologia_Esito(dettPraticaId,
tipologia, esito, start, end, orderByComparator);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Tipologia_InEsito(
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Esito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti, int start,
int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti, start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti);
return _asseverazioneLocalService.findByIntPratica_CodiceFiscale_Esito(intPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Tipologia_InEsito(
long intPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public int countByIntPratica_Esito(long intPraticaId, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByIntPratica_Tipologia_InEsito(intPraticaId,
tipologia, esiti, start, end, orderByComparator);
return _asseverazioneLocalService.countByIntPratica_Esito(intPraticaId,
esito);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_InEsito(
long dettPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Esito(
long intPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.findByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti, start, end, orderByComparator);
}
@Override
public int countByIntPratica_Tipologia_InEsito(long intPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByIntPratica_Tipologia_InEsito(intPraticaId,
tipologia, esiti);
}
@Override
public int countByDettPratica_Tipologia_InEsito(long dettPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneLocalService.countByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti);
return _asseverazioneLocalService.findByIntPratica_Esito(intPraticaId,
esito, start, end, orderByComparator);
}
/**

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

@ -103,67 +103,35 @@ public interface AsseverazioneService extends BaseService, InvokableService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica(
long intPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica(long intPraticaId)
public int countByCodiceFiscale_Esito(java.lang.String codiceFiscale,
java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByDettPratica(long dettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale(
long intPraticaId, java.lang.String codiceFiscale, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_CodiceFiscale(long intPraticaId,
java.lang.String codiceFiscale)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByCodiceFiscale_InEsito(java.lang.String codiceFiscale,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_InEsito(
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_Esito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_CodiceFiscale_InEsito(long intPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByDettPratica_CodiceFiscale_InEsito(long dettPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_InEsito(
long intPraticaId, java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Esito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_InEsito(long intPraticaId,
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
@ -172,50 +140,11 @@ public interface AsseverazioneService extends BaseService, InvokableService {
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti)
public int countByIntPratica_Esito(long intPraticaId, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti, int start,
int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Esito(
long intPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Tipologia_InEsito(
long intPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_InEsito(
long dettPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByIntPratica_Tipologia_InEsito(long intPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByDettPratica_Tipologia_InEsito(long dettPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException;
}

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

File diff soppresso perché troppo grande Load Diff

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

@ -119,49 +119,22 @@ public class AsseverazioneServiceUtil {
sourceFileName, serviceContext);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica(
long intPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public static int countByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica(intPraticaId, start, end, orderByComparator);
return getService().countByCodiceFiscale_Esito(codiceFiscale, esito);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByDettPratica(dettPraticaId, start, end,
.findByCodiceFiscale_Esito(codiceFiscale, esito, start, end,
orderByComparator);
}
public static int countByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByIntPratica(intPraticaId);
}
public static int countByDettPratica(long dettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByDettPratica(dettPraticaId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale(
long intPraticaId, java.lang.String codiceFiscale, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale,
start, end, orderByComparator);
}
public static int countByIntPratica_CodiceFiscale(long intPraticaId,
java.lang.String codiceFiscale)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti, int start,
int end,
@ -172,63 +145,30 @@ public class AsseverazioneServiceUtil {
end, orderByComparator);
}
public static int countByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByCodiceFiscale_InEsito(codiceFiscale, esiti);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_InEsito(
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_Esito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
.findByDettPratica_CodiceFiscale_Esito(dettPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
}
public static int countByIntPratica_CodiceFiscale_InEsito(
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Esito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti);
}
public static int countByDettPratica_CodiceFiscale_InEsito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_InEsito(
long intPraticaId, java.lang.String[] esiti, int start, int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_InEsito(intPraticaId, esiti, start, end,
orderByComparator);
.findByIntPratica_CodiceFiscale_Esito(intPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
}
public static int countByIntPratica_InEsito(long intPraticaId,
public static int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByIntPratica_InEsito(intPraticaId, esiti);
return getService().countByDettPratica_InEsito(dettPraticaId, esiti);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_InEsito(
@ -240,85 +180,19 @@ public class AsseverazioneServiceUtil {
orderByComparator);
}
public static int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByDettPratica_InEsito(dettPraticaId, esiti);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti, start, end, orderByComparator);
}
public static int countByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti, start, end, orderByComparator);
}
public static int countByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Tipologia_InEsito(
long intPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public static int countByIntPratica_Esito(long intPraticaId,
java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByIntPratica_Tipologia_InEsito(intPraticaId, tipologia,
esiti, start, end, orderByComparator);
return getService().countByIntPratica_Esito(intPraticaId, esito);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_InEsito(
long dettPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public static java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Esito(
long intPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti, start, end, orderByComparator);
}
public static int countByIntPratica_Tipologia_InEsito(long intPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByIntPratica_Tipologia_InEsito(intPraticaId,
tipologia, esiti);
}
public static int countByDettPratica_Tipologia_InEsito(long dettPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti);
.findByIntPratica_Esito(intPraticaId, esito, start, end,
orderByComparator);
}
public static void clearService() {

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

@ -121,50 +121,21 @@ public class AsseverazioneServiceWrapper implements AsseverazioneService,
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica(
long intPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByIntPratica(intPraticaId, start, end,
orderByComparator);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica(
long dettPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
public int countByCodiceFiscale_Esito(java.lang.String codiceFiscale,
java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByDettPratica(dettPraticaId, start,
end, orderByComparator);
return _asseverazioneService.countByCodiceFiscale_Esito(codiceFiscale,
esito);
}
@Override
public int countByIntPratica(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByIntPratica(intPraticaId);
}
@Override
public int countByDettPratica(long dettPraticaId)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByDettPratica(dettPraticaId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale(
long intPraticaId, java.lang.String codiceFiscale, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByIntPratica_CodiceFiscale(intPraticaId,
codiceFiscale, start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale(long intPraticaId,
java.lang.String codiceFiscale)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByIntPratica_CodiceFiscale(intPraticaId,
codiceFiscale);
return _asseverazioneService.findByCodiceFiscale_Esito(codiceFiscale,
esito, start, end, orderByComparator);
}
@Override
@ -178,63 +149,30 @@ public class AsseverazioneServiceWrapper implements AsseverazioneService,
}
@Override
public int countByCodiceFiscale_InEsito(java.lang.String codiceFiscale,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByCodiceFiscale_InEsito(codiceFiscale,
esiti);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_InEsito(
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_CodiceFiscale_Esito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
return _asseverazioneService.findByDettPratica_CodiceFiscale_Esito(dettPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale_InEsito(long intPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti);
}
@Override
public int countByDettPratica_CodiceFiscale_InEsito(long dettPraticaId,
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_InEsito(
long intPraticaId, java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Esito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByIntPratica_InEsito(intPraticaId,
esiti, start, end, orderByComparator);
return _asseverazioneService.findByIntPratica_CodiceFiscale_Esito(intPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
}
@Override
public int countByIntPratica_InEsito(long intPraticaId,
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByIntPratica_InEsito(intPraticaId,
return _asseverazioneService.countByDettPratica_InEsito(dettPraticaId,
esiti);
}
@ -248,86 +186,18 @@ public class AsseverazioneServiceWrapper implements AsseverazioneService,
}
@Override
public int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti)
public int countByIntPratica_Esito(long intPraticaId, java.lang.String esito)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByDettPratica_InEsito(dettPraticaId,
esiti);
return _asseverazioneService.countByIntPratica_Esito(intPraticaId, esito);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Esito(
long intPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti, start, end, orderByComparator);
}
@Override
public int countByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti, start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByIntPratica_Tipologia_InEsito(
long intPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByIntPratica_Tipologia_InEsito(intPraticaId,
tipologia, esiti, start, end, orderByComparator);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> findByDettPratica_Tipologia_InEsito(
long dettPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.findByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti, start, end, orderByComparator);
}
@Override
public int countByIntPratica_Tipologia_InEsito(long intPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByIntPratica_Tipologia_InEsito(intPraticaId,
tipologia, esiti);
}
@Override
public int countByDettPratica_Tipologia_InEsito(long dettPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws com.liferay.portal.kernel.exception.SystemException {
return _asseverazioneService.countByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti);
return _asseverazioneService.findByIntPratica_Esito(intPraticaId,
esito, start, end, orderByComparator);
}
/**

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

@ -545,4 +545,19 @@ public interface IntPraticaLocalService extends BaseLocalService,
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public boolean hasRichiestaIntegrazioneAttiva(long intPraticaId);
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public com.liferay.portal.kernel.search.Hits searchAltriProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end);
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public com.liferay.portal.kernel.search.Hits searchArchivioProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end);
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public com.liferay.portal.kernel.search.Hits searchMieiProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end);
}

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

@ -353,6 +353,27 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
_methodName69 = "hasRichiestaIntegrazioneAttiva";
_methodParameterTypes69 = new String[] { "long" };
_methodName70 = "searchAltriProgetti";
_methodParameterTypes70 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName71 = "searchArchivioProgetti";
_methodParameterTypes71 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName72 = "searchMieiProgetti";
_methodParameterTypes72 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
}
@Override
@ -2698,6 +2719,108 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
return ((Boolean)returnObj).booleanValue();
}
@Override
public com.liferay.portal.kernel.search.Hits searchAltriProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end) {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70,
new Object[] {
ClpSerializer.translateInput(request),
ClpSerializer.translateInput(user),
start,
end
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (com.liferay.portal.kernel.search.Hits)ClpSerializer.translateOutput(returnObj);
}
@Override
public com.liferay.portal.kernel.search.Hits searchArchivioProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end) {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes71,
new Object[] {
ClpSerializer.translateInput(request),
ClpSerializer.translateInput(user),
start,
end
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (com.liferay.portal.kernel.search.Hits)ClpSerializer.translateOutput(returnObj);
}
@Override
public com.liferay.portal.kernel.search.Hits searchMieiProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end) {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes72,
new Object[] {
ClpSerializer.translateInput(request),
ClpSerializer.translateInput(user),
start,
end
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (com.liferay.portal.kernel.search.Hits)ClpSerializer.translateOutput(returnObj);
}
private InvokableLocalService _invokableLocalService;
private String _methodName0;
private String[] _methodParameterTypes0;
@ -2837,4 +2960,10 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
private String[] _methodParameterTypes68;
private String _methodName69;
private String[] _methodParameterTypes69;
private String _methodName70;
private String[] _methodParameterTypes70;
private String _methodName71;
private String[] _methodParameterTypes71;
private String _methodName72;
private String[] _methodParameterTypes72;
}

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

@ -678,6 +678,24 @@ public class IntPraticaLocalServiceUtil {
return getService().hasRichiestaIntegrazioneAttiva(intPraticaId);
}
public static com.liferay.portal.kernel.search.Hits searchAltriProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end) {
return getService().searchAltriProgetti(request, user, start, end);
}
public static com.liferay.portal.kernel.search.Hits searchArchivioProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end) {
return getService().searchArchivioProgetti(request, user, start, end);
}
public static com.liferay.portal.kernel.search.Hits searchMieiProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end) {
return getService().searchMieiProgetti(request, user, start, end);
}
public static void clearService() {
_service = null;
}

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

@ -746,6 +746,30 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
return _intPraticaLocalService.hasRichiestaIntegrazioneAttiva(intPraticaId);
}
@Override
public com.liferay.portal.kernel.search.Hits searchAltriProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end) {
return _intPraticaLocalService.searchAltriProgetti(request, user,
start, end);
}
@Override
public com.liferay.portal.kernel.search.Hits searchArchivioProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end) {
return _intPraticaLocalService.searchArchivioProgetti(request, user,
start, end);
}
@Override
public com.liferay.portal.kernel.search.Hits searchMieiProgetti(
javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user, int start, int end) {
return _intPraticaLocalService.searchMieiProgetti(request, user, start,
end);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/

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

File diff soppresso perché troppo grande Load Diff

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

File diff soppresso perché troppo grande Load Diff

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

@ -1,447 +0,0 @@
package it.tref.liferay.portos.bo.util;
import it.tref.liferay.portos.bo.model.Asseverazione;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.AsseverazioneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DelegaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DettPraticaServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.util.LocaleUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.kernel.workflow.WorkflowConstants;
import com.liferay.portal.model.User;
import com.liferay.portal.service.UserLocalServiceUtil;
public class AsseverazioniUtil {
public static final String STATO_ASSEGNATA = "AS";
public static final String STATO_ESEGUITA = "ES";
public static final String STATO_ANNULLATA = "AN";
public static final String STATO_EXPIRED = "EX";
public static final String ASSEVERAZIONE_DA_APPLICATIVO = "AP";
public static final String ASSEVERAZIONE_DA_ALLEGATO = "AL";
public static boolean hasAsseverazioniAttive(long dettPraticaId) throws SystemException {
return AsseverazioneLocalServiceUtil.countByDettPratica_InEsito(dettPraticaId, new String[] { STATO_ASSEGNATA,
STATO_ESEGUITA }) > 0;
}
public static boolean hasCambioStatoAsseverazione(long userId, long asseverazioneId) throws PortalException,
SystemException {
Asseverazione asseverazione = AsseverazioneLocalServiceUtil.getAsseverazione(asseverazioneId);
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(asseverazione.getDettPraticaId());
User user = UserLocalServiceUtil.getUser(userId);
return (asseverazione.getCodiceFiscale().equalsIgnoreCase(user.getScreenName()) || dettPratica.getUserId() == userId)
&& dettPratica.getStatus() == WorkflowConstants.STATUS_DRAFT;
}
public static boolean hasRichiediAsseverazioni(long userId, long dettPraticaId) throws PortalException,
SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
return !hasAsseverazioniAttive(dettPraticaId) && dettPratica.getUserId() == userId
&& ValidazionePraticaUtil.praticaIsCompleta(dettPraticaId)
&& dettPratica.getStatus() == WorkflowConstants.STATUS_DRAFT;
}
public static boolean hasAnnullaAsseverazioni(long userId, long dettPraticaId) throws PortalException,
SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
return hasAsseverazioniAttive(dettPraticaId) && dettPratica.getUserId() == userId
&& dettPratica.getStatus() == WorkflowConstants.STATUS_DRAFT;
}
public static boolean hasGestisciFileAsseverazione(long userId, long asseverazioneId) throws PortalException,
SystemException {
Asseverazione asseverazione = AsseverazioneLocalServiceUtil.getAsseverazione(asseverazioneId);
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(asseverazione.getDettPraticaId());
return dettPratica.getUserId() == userId && dettPratica.getStatus() == WorkflowConstants.STATUS_DRAFT;
}
public static boolean hasAsseverazioneAttiva(long userId, long dettPraticaId) throws PortalException,
SystemException {
User user = UserLocalServiceUtil.getUser(userId);
return AsseverazioneLocalServiceUtil.countByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
user.getScreenName(), new String[] { STATO_ASSEGNATA }) > 0;
}
public static String ASSEVERAZIONI_DOMANDA = "asseverazioni_domanda";
public static String ASSEVERAZIONI_VARIANTE = "asseverazioni_variante";
public static String ASSEVERAZIONI_INTEGRAZIONE = "asseverazioni_integrazione";
@SuppressWarnings("serial")
private static final Map<String, List<String>> REQUIRED = new HashMap<String, List<String>>() {
{
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A02,
Arrays.<String> asList(TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DIRETTORE_LAVORI));
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A03,
Arrays.<String> asList(TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DIRETTORE_LAVORI));
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A04,
Arrays.<String> asList(TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DIRETTORE_LAVORI));
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A08,
Arrays.<String> asList(TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DIRETTORE_LAVORI));
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A10,
Arrays.<String> asList(TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DIRETTORE_LAVORI));
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A13,
Arrays.<String> asList(TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DIRETTORE_LAVORI));
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A15,
Arrays.<String> asList(TipoSoggettoUtil.GEOLOGO, TipoSoggettoUtil.DIRETTORE_LAVORI));
// Domanda
put(ASSEVERAZIONI_DOMANDA, Arrays.<String> asList(TipoSoggettoUtil.DIRETTORE_LAVORI,
TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DITTA, TipoSoggettoUtil.COLLAUDATORE,
TipoSoggettoUtil.TITOLARE_DIGITALE));
// Variante
put(ASSEVERAZIONI_VARIANTE, Collections.<String> emptyList());
// Integrazioni
put(ASSEVERAZIONI_INTEGRAZIONE, Collections.<String> emptyList());
// Fine Lavori
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_GIORNALE_LAVORI,
Arrays.<String> asList(TipoSoggettoUtil.DIRETTORE_LAVORI));
// Collaudo
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_RELAZIONE_COLLAUDO,
Arrays.<String> asList(TipoSoggettoUtil.COLLAUDATORE));
}
};
@SuppressWarnings("serial")
private static final Map<String, List<String>> recommended = new HashMap<String, List<String>>() {
{
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A04, Arrays.asList(TipoSoggettoUtil.DITTA));
put(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A10, Arrays.asList(TipoSoggettoUtil.DITTA));
}
};
private static final List<String> oneIsEnough = Arrays.<String> asList(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A11,
DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A12, DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A17,
DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_ALTRI, DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_DELEGA);
public static boolean isAsseverazioneDomandaRequiredByTipoSoggetto(long dettPraticaId, String tipoSoggetto)
throws PortalException, SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
long intPraticaId = dettPratica.getIntPraticaId();
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())
|| TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) {
Set<Soggetto> nuoviSoggetti = new HashSet<>(
SoggettoLocalServiceUtil.getValidTmpByDettPratica_TipologiaSoggetto(dettPraticaId, tipoSoggetto));
List<String> cfNuoviSoggetti = SoggettoLocalServiceUtil.getCfValidTmpByDettPratica_TipologiaSoggetto(
dettPraticaId, tipoSoggetto);
List<String> nuoviDelegati = DelegaLocalServiceUtil.findCfByDettPratica_Tipologia_InEsito(dettPraticaId,
new String[] { tipoSoggetto }, new String[] { AsseverazioniUtil.STATO_ESEGUITA });
nuoviDelegati.removeAll(cfNuoviSoggetti);
for (String cfDelegato : nuoviDelegati) {
nuoviSoggetti.addAll(SoggettoLocalServiceUtil.getValidTmpByIntPratica_CodiceFiscale(
dettPratica.getIntPraticaId(), cfDelegato, 0L));
}
if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) {
User titolaredigitaleUser = UserLocalServiceUtil.getUser(intPratica.getUserId());
Soggetto titolareDigitale = SoggettoLocalServiceUtil
.getValidTmpByIntPratica_CodiceFiscale_TipologiaSoggetto(intPraticaId,
titolaredigitaleUser.getScreenName(), tipoSoggetto, 0);
if (Validator.isNotNull(titolareDigitale)
&& tipoSoggetto.equalsIgnoreCase(titolareDigitale.getTipologiaSoggetto())) {
nuoviSoggetti.add(titolareDigitale);
}
} else if (TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) {
if (!TipoSoggettoUtil.GEOLOGO.equalsIgnoreCase(tipoSoggetto)
&& !TipoSoggettoUtil.COLLAUDATORE.equalsIgnoreCase(tipoSoggetto)) {
List<Soggetto> soggettiPrincipali = SoggettoLocalServiceUtil
.getSoggettiPrincipaliValidTmpByDettPratica_TipologiaSoggetto(dettPraticaId,
new String[] { tipoSoggetto });
nuoviSoggetti.addAll(soggettiPrincipali);
}
}
return nuoviSoggetti.size() > 0;
} else {
boolean collaudatoreNotRequired = dettPratica.getNoCollaudo() || dettPratica.getCollaudoStatico();
boolean direttoreLavoriNotRequired = dettPratica.getLavoriPubblici()
|| dettPratica.getNormLavoriNoDirettore();
boolean dittaNotRequired = dettPratica.getNormLavoriInProprio() || dettPratica.getLavoriPubblici();
if (TipoSoggettoUtil.TITOLARE_DIGITALE.equalsIgnoreCase(tipoSoggetto)) {
return true;
} else if (TipoSoggettoUtil.DIRETTORE_LAVORI.equalsIgnoreCase(tipoSoggetto) && direttoreLavoriNotRequired) {
return checkAsseverazioniRichiestaOriginaria(tipoSoggetto, dettPraticaId);
} else if (TipoSoggettoUtil.COLLAUDATORE.equalsIgnoreCase(tipoSoggetto) && collaudatoreNotRequired) {
return false;
} else if (TipoSoggettoUtil.DITTA.equalsIgnoreCase(tipoSoggetto) && dittaNotRequired) {
return false;
} else if (TipoSoggettoUtil.COMMITTENTE.equalsIgnoreCase(tipoSoggetto)) {
return REQUIRED.get(ASSEVERAZIONI_DOMANDA).contains(tipoSoggetto);
} else if (REQUIRED.containsKey(ASSEVERAZIONI_DOMANDA)) {
return checkAsseverazioniRichiestaOriginaria(tipoSoggetto, dettPraticaId);
}
}
return false;
}
public static boolean isAsseverazioneDomandaRecommendedByTipoSoggetto(long dettPraticaId, String tipoSoggetto)
throws PortalException, SystemException {
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId);
if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())
|| TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) {
return false;
}
if (recommended.containsKey(ASSEVERAZIONI_DOMANDA)) {
return recommended.get(ASSEVERAZIONI_DOMANDA).contains(tipoSoggetto);
}
return false;
}
public static boolean isAsseverazioneRequiredByCodiceDoc(String codiceDoc, String tipoSoggetto) {
if (REQUIRED.containsKey(codiceDoc)) {
return REQUIRED.get(codiceDoc).contains(tipoSoggetto);
}
return false;
}
public static boolean isAsseverazioneRecommendedByCodiceDoc(String codiceDoc, String tipoSoggetto) {
if (recommended.containsKey(codiceDoc)) {
return recommended.get(codiceDoc).contains(tipoSoggetto);
}
return false;
}
public static boolean allAsseverazioniCompleted(long dettPraticaId) throws SystemException, PortalException {
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId);
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())
|| TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) {
boolean soggetti = false;
boolean delegati = false;
List<Asseverazione> asseverazioniEseguite = AsseverazioneLocalServiceUtil.findByDettPratica_InEsito(
dettPraticaId, new String[] { AsseverazioniUtil.STATO_ESEGUITA }, QueryUtil.ALL_POS,
QueryUtil.ALL_POS, null);
if (asseverazioniEseguite.size() == 0) {
return false;
}
List<String> nuoviSoggetti = new ArrayList<String>(
SoggettoLocalServiceUtil.getCfValidTmpByDettPratica(dettPraticaId));
List<String> nuoviDelegati = new ArrayList<String>(
DelegaLocalServiceUtil.findCfByDettPratica_Tipologia_InEsito(dettPraticaId, new String[] {
TipoSoggettoUtil.DIRETTORE_LAVORI, TipoSoggettoUtil.GEOLOGO, TipoSoggettoUtil.DITTA,
TipoSoggettoUtil.PROGETTISTA }, new String[] { AsseverazioniUtil.STATO_ESEGUITA }));
Set<String> cfAsseverazioni = new HashSet<>();
for (Asseverazione asseverazione : asseverazioniEseguite) {
cfAsseverazioni.add(asseverazione.getCodiceFiscale());
}
if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) {
boolean titolareDigitale = false;
User titolaredigitaleUser = UserLocalServiceUtil.getUser(intPratica.getUserId());
if (cfAsseverazioni.contains(titolaredigitaleUser.getScreenName())) {
titolareDigitale = true;
}
if (cfAsseverazioni.containsAll(nuoviSoggetti)) {
soggetti = true;
}
nuoviDelegati.removeAll(nuoviSoggetti);
if (cfAsseverazioni.containsAll(nuoviDelegati)) {
delegati = true;
}
if (!soggetti && delegati) {
if (cfAsseverazioni.containsAll(nuoviSoggetti)) {
soggetti = true;
}
}
return titolareDigitale && soggetti && delegati;
} else if (TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) {
boolean soggettiPrincipali = false;
String[] tipoSoggetti = new String[] { TipoSoggettoUtil.DIRETTORE_LAVORI, TipoSoggettoUtil.DITTA,
TipoSoggettoUtil.PROGETTISTA };
List<String> cfSoggettiPrincipali = SoggettoLocalServiceUtil
.getCfSoggettiPrincipaliValidTmpByDettPratica_TipologiaSoggetto(dettPraticaId, tipoSoggetti);
if (cfAsseverazioni.containsAll(cfSoggettiPrincipali)) {
soggettiPrincipali = true;
}
nuoviSoggetti.removeAll(cfSoggettiPrincipali);
if (cfAsseverazioni.containsAll(nuoviSoggetti)) {
soggetti = true;
}
nuoviDelegati.removeAll(cfSoggettiPrincipali);
nuoviDelegati.removeAll(nuoviSoggetti);
if (cfAsseverazioni.containsAll(nuoviDelegati)) {
delegati = true;
}
return soggettiPrincipali && soggetti && delegati;
}
} else {
for (String tipoSoggetto : REQUIRED.get(ASSEVERAZIONI_DOMANDA)) {
if (isAsseverazioneDomandaRequiredByTipoSoggetto(dettPraticaId, tipoSoggetto)) {
List<Asseverazione> asseverazioniEseguite = AsseverazioneLocalServiceUtil
.findByDettPratica_Tipologia_InEsito(dettPraticaId, tipoSoggetto,
new String[] { AsseverazioniUtil.STATO_ESEGUITA }, QueryUtil.ALL_POS,
QueryUtil.ALL_POS, null);
if (asseverazioniEseguite.size() == 0) {
return false;
}
}
}
}
return true;
}
public static boolean isRequiredTerna(String codiceDoc, List<Soggetto> ditte, List<Soggetto> committenti,
DettPratica dettPratica) throws SystemException {
if (codiceDoc.equals(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A17)) {
if (SoggettiUtil.isCommittenteAndDitta(committenti, ditte)
&& SoggettiUtil.isCollaudatorePresent(dettPratica.getDettPraticaId()))
return true;
else if (SoggettiUtil.isCommittenteAndDitta(committenti, ditte)
&& ValidazionePraticaUtil.isCollaudatoreRequired(dettPratica))
return true;
}
return false;
}
public static boolean isEnoughOne(String codiceDoc) {
return oneIsEnough.contains(codiceDoc);
}
public static boolean signaturesContains(long intPraticaId, String tipoSoggetto, List<String> signatures)
throws SystemException {
for (String sign : signatures) {
List<Soggetto> soggetti = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId, sign);
for (Soggetto soggetto : soggetti) {
if (soggetto.getTipologiaSoggetto().equals(tipoSoggetto)) {
return true;
}
}
}
return false;
}
@SuppressWarnings("serial")
public static final Map<String, String> iconMapper = new HashMap<String, String>() {
{
put(TipoSoggettoUtil.COMMITTENTE, "fa-bullseye");
put(TipoSoggettoUtil.DIRETTORE_LAVORI, "fa-bullhorn");
put(TipoSoggettoUtil.DITTA, "fa-industry");
put(TipoSoggettoUtil.GEOLOGO, "fa-globe");
put(TipoSoggettoUtil.COLLAUDATORE, "fa-wrench");
put(TipoSoggettoUtil.PROGETTISTA, "fa-object-ungroup");
}
};
public static String retrieveAsseverazioneText(Asseverazione asseverazione, String codiceFiscale)
throws PortalException, SystemException {
if (!codiceFiscale.equalsIgnoreCase(asseverazione.getCodiceFiscale())) {
return StringPool.BLANK;
}
Object[] params = new Object[] {};
String result = StringPool.BLANK;
String tipoAsseverazione = asseverazione.getTipologia();
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(asseverazione.getDettPraticaId());
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(asseverazione.getIntPraticaId());
Soggetto soggetto = SoggettoLocalServiceUtil.getValidTmpByIntPratica_CodiceFiscale_TipologiaSoggetto(
asseverazione.getIntPraticaId(), codiceFiscale, asseverazione.getTipologia(), 0);
switch (tipoAsseverazione) {
case TipoSoggettoUtil.COLLAUDATORE:
params = new Object[] {
soggetto.getDescrizioneCompleta(),
("albo-altro".equalsIgnoreCase(soggetto.getAlbo()) ? soggetto.getAlboDescr() : soggetto
.getAlbo()), soggetto.getProvinciaAlbo(), soggetto.getNumIscrAlbo() };
break;
case TipoSoggettoUtil.COMMITTENTE:
params = new Object[] { soggetto.getDescrizioneCompleta() };
break;
case TipoSoggettoUtil.DIRETTORE_LAVORI:
params = new Object[] {
soggetto.getDescrizioneCompleta(),
(SoggettiUtil.isSoggettoPrincipale(soggetto.getSoggettoId(), dettPratica.getDettPraticaId()) ? "Principale"
: StringPool.BLANK)
+ (Validator.isNull(soggetto.getAmbitoProfessione()) ? StringPool.BLANK : (soggetto
.getAmbitoProfessione().equalsIgnoreCase("ambitoProf-altro") ? soggetto
.getAmbitoAttivita() : LanguageUtil.get(Locale.ITALIAN, "label-ambito-"
+ soggetto.getAmbitoProfessione()))), soggetto.getAlbo(),
soggetto.getProvinciaAlbo(), soggetto.getNumIscrAlbo() };
break;
case TipoSoggettoUtil.DITTA:
params = new Object[] {
soggetto.getCodiceFiscale().toUpperCase() + " - " + soggetto.getLegaleRap(),
soggetto.getDenominazione()
+ StringPool.SPACE
+ (SoggettiUtil.isSoggettoPrincipale(soggetto.getSoggettoId(),
dettPratica.getDettPraticaId()) ? "Principale" : StringPool.BLANK)
+ StringPool.SPACE
+ (Validator.isNull(soggetto.getAmbitoProfessione()) ? StringPool.BLANK : (soggetto
.getAmbitoProfessione().equalsIgnoreCase("ambitoProf-altro") ? soggetto
.getAmbitoAttivita() : LanguageUtil.get(Locale.ITALIAN, "label-ambito-"
+ soggetto.getAmbitoProfessione()))) };
break;
case TipoSoggettoUtil.GEOLOGO:
params = new String[] { soggetto.getDescrizioneCompleta() };
break;
case TipoSoggettoUtil.PROGETTISTA:
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
params = new Object[] {
soggetto.getDescrizioneCompleta(),
(SoggettiUtil.isSoggettoPrincipale(soggetto.getSoggettoId(), dettPratica.getDettPraticaId()) ? "Principale"
: StringPool.BLANK)
+ (Validator.isNull(soggetto.getAmbitoProfessione()) ? StringPool.BLANK : (soggetto
.getAmbitoProfessione().equalsIgnoreCase("ambitoProf-altro") ? soggetto
.getAmbitoAttivita() : LanguageUtil.get(Locale.ITALIAN, "label-ambito-"
+ soggetto.getAmbitoProfessione()))), soggetto.getAlbo(),
soggetto.getProvinciaAlbo(), soggetto.getNumIscrAlbo(),
dettPratica.getTcNuovaCostruzione() ? "X" : StringPool.SPACE,
dettPratica.getTcAdeguamentoSismico() ? "X" : StringPool.SPACE,
dettPratica.getTcMiglioramentoSismico() ? "X" : StringPool.SPACE,
dettPratica.getTcRiparazioneInterventoLocale() ? "X" : StringPool.SPACE, territorio.getZona(),
territorio.getFascia() };
break;
}
result = LanguageUtil.format(LocaleUtil.ITALIAN, "confirm-asseverazione-" + tipoAsseverazione, params);
// Added fixed bottom
result += LanguageUtil.get(LocaleUtil.ITALIAN, "confirm-asseverazione-bottom");
return result;
}
/**
* @author ADT
*/
private static boolean checkAsseverazioniRichiestaOriginaria(String tipoSoggetto, long dettPraticaId)
throws SystemException {
List<Soggetto> soggettiPerTipologia = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto(
dettPraticaId, tipoSoggetto);
return soggettiPerTipologia != null && soggettiPerTipologia.size() > 0;
}
}

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

@ -1,233 +0,0 @@
package it.tref.liferay.portos.bo.util;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.Constants;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.workflow.WorkflowConstants;
public class AzioniPraticheUtil {
public static final String ACTION_AGGIUNGI_SOGGETTO = "AGGIUNGI_SOGGETTO";
public static final String ACTION_RIMUOVI_SOGGETTO = "RIMUOVI_SOGGETTO";
public static final String ACTION_VARIAZIONE_SOGGETTI = "VARIAZIONE_SOGGETTI";
public static final String ACTION_VARIANTE = "VARIANTE";
public static final String ACTION_FL_PARZIALE = "FL_PARZIALE";
public static final String ACTION_FL_TOTALE = "FL_TOTALE";
public static final String ACTION_ANNULLA = "ANNULLA";
public static final String ACTION_CO_PARZIALE = "CO_PARZIALE";
public static final String ACTION_CO_TOTALE = "CO_TOTALE";
public static final String ACTION_INTEGRAZIONE = "INTEGRAZIONE";
public static final String STATE_COMPILAZIONE = "COMPILAZIONE";
public static final String STATE_VIDIMATO = "VIDIMATO";
public static final String STATE_SOTTOPOSTO_A_PARERE_AUTORIZZAZIONE = "SP_AUTORIZZAZIONE";
public static final String STATE_SOTTOPOSTO_A_PARERE_DEPOSITO = "SP_DEPOSITO";
public static final String STATE_ANNULLATO = "ANNULLATO";
public static final String STATE_NON_CONFORME = "NON_CONFORME";
public static final String NON_AUTORIZZATA = "NON_AUTORIZZATA";
public static final String STATE_INTEGRAZIONE_AUTORIZZAZIONE = "INTEGRAZIONE_AUTORIZZAZIONE";
public static final String STATE_INTEGRAZIONE_DEPOSITO = "INTEGRAZIONE_DEPOSITO";
public static final String STATE_FINE_LAVORI_PARZIALE = "FINE_LAVORI_PARZIALE";
public static final String STATE_FINE_LAVORI_TOTALE = "FINE_LAVORI_TOTALE";
public static final String STATE_COLLAUDO_PARZIALE = "COLLAUDO_PARZIALE";
private static final List<String> ALL_ACTIONS = Arrays.<String> asList(ACTION_AGGIUNGI_SOGGETTO,
ACTION_RIMUOVI_SOGGETTO, ACTION_VARIAZIONE_SOGGETTI, ACTION_VARIANTE, ACTION_FL_PARZIALE, ACTION_FL_TOTALE,
ACTION_ANNULLA, ACTION_CO_PARZIALE, ACTION_CO_TOTALE);
@SuppressWarnings("serial")
private static Map<String, List<String>> STATE_ACTIONS_MAP = new HashMap<String, List<String>>() {
{
put(STATE_VIDIMATO, ALL_ACTIONS);
put(STATE_SOTTOPOSTO_A_PARERE_AUTORIZZAZIONE, Arrays.<String> asList(ACTION_AGGIUNGI_SOGGETTO,
ACTION_RIMUOVI_SOGGETTO, ACTION_VARIAZIONE_SOGGETTI, ACTION_ANNULLA));
put(STATE_SOTTOPOSTO_A_PARERE_DEPOSITO, ALL_ACTIONS);
put(STATE_ANNULLATO, Collections.<String> emptyList());
put(STATE_NON_CONFORME, Collections.<String> emptyList());
put(NON_AUTORIZZATA, Collections.<String> emptyList());
put(STATE_INTEGRAZIONE_AUTORIZZAZIONE, Arrays.<String> asList(ACTION_AGGIUNGI_SOGGETTO,
ACTION_RIMUOVI_SOGGETTO, ACTION_INTEGRAZIONE, ACTION_ANNULLA));
put(STATE_INTEGRAZIONE_DEPOSITO, Arrays.<String> asList(ACTION_AGGIUNGI_SOGGETTO, ACTION_RIMUOVI_SOGGETTO,
ACTION_INTEGRAZIONE, ACTION_ANNULLA));
put(STATE_COMPILAZIONE,
Arrays.<String> asList(ACTION_AGGIUNGI_SOGGETTO, ACTION_RIMUOVI_SOGGETTO, ACTION_ANNULLA));
put(STATE_FINE_LAVORI_PARZIALE, Arrays.<String> asList(ACTION_AGGIUNGI_SOGGETTO, ACTION_RIMUOVI_SOGGETTO,
ACTION_VARIANTE, ACTION_FL_PARZIALE, ACTION_FL_TOTALE, ACTION_CO_PARZIALE));
put(STATE_FINE_LAVORI_TOTALE, Arrays.<String> asList(ACTION_AGGIUNGI_SOGGETTO, ACTION_RIMUOVI_SOGGETTO,
ACTION_CO_TOTALE, ACTION_CO_PARZIALE));
put(STATE_COLLAUDO_PARZIALE, Arrays.<String> asList(ACTION_AGGIUNGI_SOGGETTO, ACTION_RIMUOVI_SOGGETTO,
ACTION_VARIANTE, ACTION_CO_PARZIALE, ACTION_CO_TOTALE));
}
};
public static boolean isAllowedAction(long intPraticaId, String action) throws PortalException, SystemException {
if (!ALL_ACTIONS.contains(action) && !ACTION_INTEGRAZIONE.equalsIgnoreCase(action)) {
throw new SystemException("Azione non presente: " + action);
}
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
boolean isDeposito = isDeposito(intPraticaId);
boolean isAutorizzazione = isAutorizzazione(intPraticaId);
String status = StringPool.BLANK;
if (intPratica.getStatus() == WorkflowConstants.STATUS_PENDING) {
if (intPratica.hasRichiestaIntegrazioneAttiva()) {
if (isDeposito) {
status = STATE_INTEGRAZIONE_DEPOSITO;
} else if (isAutorizzazione) {
status = STATE_INTEGRAZIONE_AUTORIZZAZIONE;
} else {
throw new SystemException("Tipo pratica non esiste");
}
} else if (isDeposito) {
status = STATE_SOTTOPOSTO_A_PARERE_DEPOSITO;
} else if (isAutorizzazione) {
status = STATE_SOTTOPOSTO_A_PARERE_AUTORIZZAZIONE;
} else {
throw new SystemException("Tipo pratica non esiste");
}
} else if (StatoPraticaConstants.CONFORME.equalsIgnoreCase(intPratica.getStatoPratica())) {
status = STATE_VIDIMATO;
} else if (StatoPraticaConstants.NON_CONFORME.equalsIgnoreCase(intPratica.getStatoPratica())) {
status = STATE_NON_CONFORME;
} else if (StatoPraticaConstants.AUTORIZZATA.equalsIgnoreCase(intPratica.getStatoPratica())) {
status = STATE_VIDIMATO;
} else if (StatoPraticaConstants.NON_AUTORIZZATA.equalsIgnoreCase(intPratica.getStatoPratica())) {
status = NON_AUTORIZZATA;
} else if (StatoPraticaConstants.ANNULLATA.equalsIgnoreCase(intPratica.getStatoPratica())) {
status = STATE_ANNULLATO;
} else if (StatoPraticaConstants.VIDIMATA.equalsIgnoreCase(intPratica.getStatoPratica())) {
status = STATE_VIDIMATO;
} else if (StatoPraticaConstants.FINE_LAVORI.equalsIgnoreCase(intPratica.getStatoPratica())) {
status = STATE_FINE_LAVORI_TOTALE;
} else if (StatoPraticaConstants.FINE_LAVORI_PARZIALE.equalsIgnoreCase(intPratica.getStatoPratica())) {
status = STATE_FINE_LAVORI_PARZIALE;
} else if (intPratica.getStatus() == WorkflowConstants.STATUS_ANY) {
status = STATE_COMPILAZIONE;
} else if (StatoPraticaConstants.COLLAUDO_PARZIALE.equalsIgnoreCase(intPratica.getStatoPratica())) {
status = STATE_COLLAUDO_PARZIALE;
}
List<String> actionList = STATE_ACTIONS_MAP.get(status);
if ((actionList == null) || !actionList.contains(action)) {
return false;
}
if (!action.equalsIgnoreCase(ACTION_INTEGRAZIONE) && intPratica.getCollaudoTotale()) {
return false;
}
if (action.equalsIgnoreCase(ACTION_FL_PARZIALE) && intPratica.getFineLavoriTotale()) {
return false;
}
if (action.equalsIgnoreCase(ACTION_FL_TOTALE) && intPratica.getFineLavoriTotale()) {
return false;
}
if (action.equalsIgnoreCase(ACTION_CO_PARZIALE) && !intPratica.getFineLavoriParziale()) {
return false;
}
if (action.equalsIgnoreCase(ACTION_CO_TOTALE) && !intPratica.getFineLavoriTotale()) {
return false;
}
if (action.equalsIgnoreCase(ACTION_VARIANTE) && intPratica.getFineLavoriTotale()) {
return false;
}
if (action.equalsIgnoreCase(ACTION_ANNULLA)
&& (intPratica.getFineLavoriTotale() || intPratica.getFineLavoriParziale() || intPratica
.getCollaudoParziale())) {
return false;
}
if (action.equalsIgnoreCase(ACTION_RIMUOVI_SOGGETTO) && intPratica.getCollaudoParziale()) {
return false;
}
return true;
}
public static boolean canPrintFascicolo(long intPraticaId) throws PortalException, SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
if ((!intPratica.getStatoPratica().equals(StringPool.BLANK) || intPratica.isValidata())
&& !intPratica.getNumeroProgetto().equals(StringPool.BLANK)) {
return true;
} else {
return false;
}
}
public static boolean canPrintFascicoloVariante(long intPraticaId) throws PortalException, SystemException {
int nVarianti = DettPraticaLocalServiceUtil.countCompletedByIntPraticaAndTipoPratica(intPraticaId,
Arrays.asList(new String[] { TipoIntegrazioneUtil.VARIANTE }));
if (nVarianti > 0) {
return true;
} else {
return false;
}
}
public static boolean canAddSoggetto(long intPraticaId, String tipoSoggetto) throws PortalException,
SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
if (!isAllowedAction(intPraticaId, ACTION_AGGIUNGI_SOGGETTO)) {
return false;
}
if ((!TipoSoggettoUtil.COMMITTENTE.equalsIgnoreCase(tipoSoggetto) && !TipoSoggettoUtil.COLLAUDATORE
.equalsIgnoreCase(tipoSoggetto)) && (intPratica.isFineLavoriTotale())) {
return false;
}
return true;
}
public static boolean canRemoveSoggetto(long intPraticaId, String tipoSoggetto) throws PortalException,
SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
if (!isAllowedAction(intPraticaId, ACTION_RIMUOVI_SOGGETTO)) {
return false;
}
if ((!TipoSoggettoUtil.COMMITTENTE.equalsIgnoreCase(tipoSoggetto) && !TipoSoggettoUtil.COLLAUDATORE
.equalsIgnoreCase(tipoSoggetto))
&& (intPratica.isFineLavoriTotale() || intPratica.getCollaudoParziale())) {
return false;
}
if ((TipoSoggettoUtil.DIRETTORE_LAVORI.equalsIgnoreCase(tipoSoggetto) || TipoSoggettoUtil.DITTA
.equalsIgnoreCase(tipoSoggetto)) && intPratica.isFineLavoriParziale()) {
return false;
}
return true;
}
public static boolean isDeposito(long intPraticaId) throws PortalException, SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
return intPratica.getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_DEPOSITO);
}
public static boolean isAutorizzazione(long intPraticaId) throws PortalException, SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
return intPratica.getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_AUTORIZZAZIONE);
}
public static boolean canAddVariazioneSoggetti(long intPraticaId) throws PortalException, SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
if (!intPratica.getStatoPratica().equals(StringPool.BLANK)
&& !intPratica.getNumeroProgetto().equals(StringPool.BLANK)) {
return true;
} else {
return false;
}
}
}

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

@ -23,8 +23,6 @@ import java.util.Map;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
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.util.Validator;
import com.liferay.portal.model.User;
import com.liferay.portal.service.UserLocalServiceUtil;
@ -45,22 +43,21 @@ public class DelegheUtil {
public static final String TIPO_FINE_LAVORI = "FL";
public static final String TIPO_COLLAUDO = "CL";
private static final Log _log = LogFactoryUtil.getLog(DelegheUtil.class);
public static boolean hasDelegaFirma(long userId, long docPraticaId, boolean sezioneGeologica)
throws PortalException, SystemException {
DocPratica docPratica = DocPraticaLocalServiceUtil.getDocPratica(docPraticaId);
boolean controllo = true;
DettPratica dettPratica = null;
if (DettPratica.class.getName().equals(docPratica.getClassName())) {
controllo = ValidazionePraticaUtil.praticaIsEditable(docPratica.getClassPk());
dettPratica = DettPraticaServiceUtil.getDettPratica(docPratica.getClassPk());
controllo = dettPratica.praticaIsEditable();
}
if (controllo) {
User user = UserLocalServiceUtil.getUser(userId);
long owner = 0L;
long intPraticaId = 0L;
if (DettPratica.class.getName().equals(docPratica.getClassName())) {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(docPratica.getClassPk());
intPraticaId = dettPratica.getIntPraticaId();
owner = dettPratica.getUserId();
} else if (FineLavori.class.getName().equals(docPratica.getClassName())) {
@ -113,20 +110,8 @@ public class DelegheUtil {
// TODO completare e controllare
DocPratica docPratica = DocPraticaLocalServiceUtil.getDocPratica(docPraticaId);
boolean controllo = ValidazionePraticaUtil.praticaIsEditable(docPratica.getClassPk());
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(docPratica.getClassPk());
if (controllo) {
if (docPratica.getUserId() == userId) {
controllo = true;
} else if (dettPratica.getUserId() == userId) {
controllo = true;
} else if (hasDelegaCompilazioneDomanda(userId, docPratica.getClassPk())) {
controllo = true;
} else if (sezioneGeologica && hasDelegaCompilazioneSezioneGeologica(userId, docPratica.getClassPk())) {
controllo = true;
}
}
return controllo;
return dettPratica.praticaIsEditable();
}
public static boolean hasCambioStatoDelega(long userId, long delegaId) throws PortalException, SystemException {
@ -149,30 +134,6 @@ public class DelegheUtil {
return hasCreazioneDelega(userId, intPraticaId);
}
public static boolean hasDelegaCompilazioneDomanda(long userId, long dettPraticaId) throws PortalException,
SystemException {
boolean controllo = ValidazionePraticaUtil.praticaIsEditable(dettPraticaId);
if (controllo) {
User user = UserLocalServiceUtil.getUser(userId);
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
List<Delega> deleghe = DelegaLocalServiceUtil.findByIntPratica_Tipologia_InEsito(
dettPratica.getIntPraticaId(), DelegheUtil.TIPO_COMPILAZIONE,
new String[] { DelegheUtil.STATO_ASSEGNATA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
if (deleghe.isEmpty()) {
controllo = user.getUserId() == dettPratica.getUserId();
} else {
controllo = false;
for (Delega delega : deleghe) {
if (delega.getCodiceFiscale().equalsIgnoreCase(user.getScreenName())) {
controllo = true;
}
}
}
}
return controllo;
}
public static boolean canCompilaDomanda(long userId, long dettPraticaId) throws PortalException, SystemException {
boolean controllo = false;
@ -198,37 +159,12 @@ public class DelegheUtil {
return controllo;
}
public static boolean hasDelegaFirmaAllegati(long userId, long dettPraticaId) throws PortalException,
SystemException {
boolean controllo = ValidazionePraticaUtil.praticaIsEditable(dettPraticaId);
if (controllo) {
User user = UserLocalServiceUtil.getUser(userId);
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
List<Delega> deleghe = DelegaLocalServiceUtil.findByIntPratica_Tipologia_InEsito(
dettPratica.getIntPraticaId(), DelegheUtil.TIPO_FIRMA_INSERIMENTO_ALLEGATI,
new String[] { DelegheUtil.STATO_ASSEGNATA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
if (deleghe.isEmpty()) {
controllo = hasDelegaCompilazioneDomanda(userId, dettPraticaId);
} else {
controllo = false;
for (Delega delega : deleghe) {
if (delega.getCodiceFiscale().equalsIgnoreCase(user.getScreenName())) {
controllo = true;
}
}
}
}
return controllo;
}
public static Soggetto getPersonaDelegaCompilazioneDomanda(long dettPraticaId) throws SystemException,
PortalException {
Soggetto soggetto = null;
boolean praticaIsEditable = ValidazionePraticaUtil.praticaIsEditable(dettPraticaId);
if (praticaIsEditable) {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
if (dettPratica.praticaIsEditable()) {
List<Delega> deleghe = DelegaLocalServiceUtil.findByIntPratica_Tipologia_InEsito(
dettPratica.getIntPraticaId(), DelegheUtil.TIPO_COMPILAZIONE,
new String[] { DelegheUtil.STATO_ASSEGNATA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
@ -245,37 +181,12 @@ public class DelegheUtil {
return soggetto;
}
public static boolean hasDelegaCompilazioneSezioneGeologica(long userId, long dettPraticaId)
throws PortalException, SystemException {
boolean controllo = ValidazionePraticaUtil.praticaIsEditable(dettPraticaId);
if (controllo) {
User user = UserLocalServiceUtil.getUser(userId);
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
List<Delega> deleghe = DelegaLocalServiceUtil.findByIntPratica_Tipologia_InEsito(
dettPratica.getIntPraticaId(), DelegheUtil.TIPO_GEOLOGO,
new String[] { DelegheUtil.STATO_ASSEGNATA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
if (deleghe.isEmpty()) {
controllo = hasDelegaCompilazioneDomanda(userId, dettPraticaId);
} else {
controllo = false;
for (Delega delega : deleghe) {
if (delega.getCodiceFiscale().equalsIgnoreCase(user.getScreenName())) {
controllo = true;
}
}
}
}
return controllo;
}
public static Soggetto getPersonaDelegaCompilazioneSezioneGeologica(long dettPraticaId) throws SystemException,
PortalException {
Soggetto soggetto = null;
boolean praticaIsEditable = ValidazionePraticaUtil.praticaIsEditable(dettPraticaId);
if (praticaIsEditable) {
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
if (dettPratica.praticaIsEditable()) {
List<Delega> deleghe = DelegaLocalServiceUtil.findByIntPratica_Tipologia_InEsito(
dettPratica.getIntPraticaId(), DelegheUtil.TIPO_GEOLOGO,
new String[] { DelegheUtil.STATO_ASSEGNATA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
@ -362,4 +273,4 @@ public class DelegheUtil {
put(TIPO_FINE_LAVORI, "fa-window-close");
}
};
}
}

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

@ -1,5 +1,6 @@
package it.tref.liferay.portos.bo.util;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.model.Avviso;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.ControlloPratica;
@ -126,9 +127,9 @@ public class MailUtil {
String[] ccn = new String[0];
// recupero dati
String tipoPratica = StringPool.BLANK;
if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
if (intPratica.isDeposito()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01");
} else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
} else if (intPratica.isAutorizzazione()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02");
}
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
@ -169,9 +170,9 @@ public class MailUtil {
String[] ccn = new String[0];
// recupero dati
String tipoPratica = StringPool.BLANK;
if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
if (intPratica.isDeposito()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01");
} else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
} else if (intPratica.isAutorizzazione()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02");
}
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
@ -211,9 +212,9 @@ public class MailUtil {
String[] cc = new String[0];
String[] ccn = new String[0];
String tipoPratica = StringPool.BLANK;
if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
if (intPratica.isDeposito()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01");
} else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
} else if (intPratica.isAutorizzazione()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02");
}
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());

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

@ -135,16 +135,16 @@ public class PraticaUtil {
String statoPraticaCode = StringPool.BLANK;
switch (statoPratica) {
case StatoPraticaConstants.CONFORME:
if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
if (intPratica.isDeposito()) {
statoPraticaCode = StatoPraticaConstants.CONFORME;
} else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
} else if (intPratica.isAutorizzazione()) {
statoPraticaCode = StatoPraticaConstants.AUTORIZZATA;
}
break;
case StatoPraticaConstants.NON_CONFORME:
if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
if (intPratica.isDeposito()) {
statoPraticaCode = StatoPraticaConstants.NON_CONFORME;
} else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
} else if (intPratica.isAutorizzazione()) {
statoPraticaCode = StatoPraticaConstants.NON_AUTORIZZATA;
}
break;

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

File diff soppresso perché troppo grande Load Diff

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

@ -1,5 +1,6 @@
package it.tref.liferay.portos.bo.util;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.model.ControlloPratica;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
@ -143,9 +144,9 @@ public class WorkflowUtil {
}
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
if (intPratica.isAutorizzazione()) {
return true;
} else if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
} else if (intPratica.isDeposito()) {
return false;
} else {
throw new SystemException("PRATICA_ZONA non esiste per zona " + territorio.getZona());

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/ControlloPraticaIndexer.java → liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/indexer/ControlloPraticaIndexer.java

@ -1,5 +1,6 @@
package it.tref.liferay.portos.bo.indexer;
package it.mwg.sismica.bo.indexer;
import it.mwg.sismica.bo.shared.util.PortosIndexField;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.ControlloPratica;
import it.tref.liferay.portos.bo.model.DettPratica;
@ -19,7 +20,6 @@ import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.service.persistence.ControlloPraticaActionableDynamicQuery;
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.PortosIndexField;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
import java.text.Format;

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/IntPraticaIndexer.java → liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/indexer/IntPraticaIndexer.java

@ -1,5 +1,7 @@
package it.tref.liferay.portos.bo.indexer;
package it.mwg.sismica.bo.indexer;
import it.mwg.sismica.bo.shared.util.PortosIndexField;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
@ -17,8 +19,6 @@ import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.service.persistence.IntPraticaActionableDynamicQuery;
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.PortosIndexField;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
import java.text.Format;

22
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/search/ControlloPraticaAdvancedSearch.java → liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/search/ControlloPraticaAdvancedSearch.java

@ -1,11 +1,11 @@
package it.tref.liferay.portos.bo.search;
package it.mwg.sismica.bo.search;
import it.mwg.sismica.bo.shared.util.PortosIndexField;
import it.mwg.sismica.bo.shared.util.UnitaOperativeUtil;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.model.ControlloPratica;
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.util.PortosIndexField;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import java.text.DateFormat;
import java.text.Format;
@ -49,7 +49,6 @@ import com.liferay.portal.model.Role;
import com.liferay.portal.model.User;
import com.liferay.portal.service.OrganizationLocalServiceUtil;
import com.liferay.portal.service.RoleLocalServiceUtil;
import com.liferay.portal.service.RoleLocalServiceUtil;
public class ControlloPraticaAdvancedSearch {
@ -600,8 +599,7 @@ public class ControlloPraticaAdvancedSearch {
}
if (Validator.isNotNull(geologi) && !geologi.equals(-1L) && !geologi.equals(0L)) {
TermQuery singleGroupIdQuery = TermQueryFactoryUtil.create(searchContext, "geologi",
geologi);
TermQuery singleGroupIdQuery = TermQueryFactoryUtil.create(searchContext, "geologi", geologi);
booleanQuery.add(singleGroupIdQuery, BooleanClauseOccur.MUST);
}
@ -612,8 +610,7 @@ public class ControlloPraticaAdvancedSearch {
}
if (Validator.isNotNull(unitaOperativa) && !unitaOperativa.equals("-1")) {
TermQuery uoQuery = TermQueryFactoryUtil.create(searchContext, "unitaOperativa",
unitaOperativa);
TermQuery uoQuery = TermQueryFactoryUtil.create(searchContext, "unitaOperativa", unitaOperativa);
booleanQuery.add(uoQuery, BooleanClauseOccur.MUST);
}
@ -659,10 +656,11 @@ public class ControlloPraticaAdvancedSearch {
String tipoProcedura = ParamUtil.getString(request, PortosIndexField.TIPO_PROCEDURA);
if (Validator.isNotNull(tipoProcedura) && !tipoProcedura.equals("-1")) {
String[] procSplit = StringUtils.split(tipoProcedura, "|");
if(procSplit.length > 0){
for(String proc : procSplit){
if (procSplit.length > 0) {
for (String proc : procSplit) {
BooleanQuery bq = BooleanQueryFactoryUtil.create(searchContext);
TermQuery termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.TIPO_PROCEDURA, proc);
TermQuery termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.TIPO_PROCEDURA,
proc);
bq.add(termQuery, BooleanClauseOccur.SHOULD);
booleanQuery.add(bq, BooleanClauseOccur.MUST);
}
@ -700,4 +698,4 @@ public class ControlloPraticaAdvancedSearch {
sortes.add(sort);
return sortes.toArray(new Sort[0]);
}
}
}

26
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/search/IntPraticaAdvancedSearch.java → liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/search/IntPraticaAdvancedSearch.java

@ -1,8 +1,8 @@
package it.tref.liferay.portos.bo.search;
package it.mwg.sismica.bo.search;
import it.mwg.sismica.bo.shared.util.PortosIndexField;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.util.PortosIndexField;
import java.text.DateFormat;
import java.text.Format;
@ -84,7 +84,7 @@ public class IntPraticaAdvancedSearch {
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
// Condizioni aggiuntive
query(request, user, booleanQuery, searchContext);
hits = SearchEngineUtil.search(searchContext, booleanQuery);
logResults(user, booleanQuery, hits);
} catch (SearchException | ParseException e) {
@ -268,7 +268,7 @@ public class IntPraticaAdvancedSearch {
*/
private static void query(HttpServletRequest request, User user, BooleanQuery booleanQuery,
SearchContext searchContext) {
String istruttoreId = ParamUtil.getString(request, "istruttore");
String unitaOperativa = ParamUtil.getString(request, "unitaOperativa");
Long geologi = ParamUtil.getLong(request, "geologi");
@ -306,7 +306,7 @@ public class IntPraticaAdvancedSearch {
}
queryStatoPratica(request, booleanQuery, searchContext);
addRequiredTerms(booleanQuery, PortosIndexField.COMMITTENTI, ParamUtil.getString(request, "committente"));
addRequiredTerms(booleanQuery, PortosIndexField.ISTRUTTORE_FULL_NAME,
ParamUtil.getString(request, "tecnicoIstruttore"));
addRequiredTerms(booleanQuery, PortosIndexField.PROPRIETARIO_DIGITALE_FULL_NAME,
@ -321,31 +321,31 @@ public class IntPraticaAdvancedSearch {
}
queryComune(request, booleanQuery, searchContext);
queryDate(request, booleanQuery, searchContext);
if (Validator.isNotNull(istruttoreId) && !istruttoreId.equals("-1") && !istruttoreId.equals("0")) {
TermQuery singleGroupIdQuery = TermQueryFactoryUtil.create(searchContext, "istruttoreUserId",
istruttoreId);
booleanQuery.add(singleGroupIdQuery, BooleanClauseOccur.MUST);
}
if (Validator.isNotNull(unitaOperativa) && !unitaOperativa.equals("-1")) {
TermQuery uoQuery = TermQueryFactoryUtil.create(searchContext, "unitaOperativa",
unitaOperativa);
booleanQuery.add(uoQuery, BooleanClauseOccur.MUST);
}
if (Validator.isNotNull(geologi) && !geologi.equals(-1L) && !geologi.equals(0L)) {
TermQuery singleGroupIdQuery = TermQueryFactoryUtil.create(searchContext, "geologi",
geologi);
booleanQuery.add(singleGroupIdQuery, BooleanClauseOccur.MUST);
}
if (Validator.isNotNull(parereGeologo) && !parereGeologo.equals(-1L)) {
if (Validator.isNotNull(parereGeologo) && !parereGeologo.equals(-1L)) {
TermQuery singleGroupIdQuery = TermQueryFactoryUtil.create(searchContext, "parereGeologo",
parereGeologo);
booleanQuery.add(singleGroupIdQuery, BooleanClauseOccur.MUST);
}
} catch (ParseException | java.text.ParseException e) {
_log.error(e, e);
}
@ -482,7 +482,7 @@ public class IntPraticaAdvancedSearch {
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
}
}
private static void queryTipoProcedura(HttpServletRequest request, BooleanQuery booleanQuery,
SearchContext searchContext) throws ParseException {
@ -529,7 +529,7 @@ public class IntPraticaAdvancedSearch {
else if (statoPratica.equals(StatoPraticaConstants.VARIATA))
termQuery = TermQueryFactoryUtil.create(searchContext, "variata", StringPool.TRUE);
else if(statoPratica.equals(PortosIndexField.ASSEGNATA_AD_ISTRUTTORE))
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.ASSEGNATA_AD_ISTRUTTORE, 1L);
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.ASSEGNATA_AD_ISTRUTTORE, 1L);
else if (!statoPratica.equals("-1"))
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.STATO_PRATICA, statoPratica);
if (Validator.isNotNull(termQuery))

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

@ -3,6 +3,7 @@
*/
package it.mwg.sismica.bo.util;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.model.Avviso;
import it.tref.liferay.portos.bo.model.Collaudo;
import it.tref.liferay.portos.bo.model.ControlloPratica;
@ -20,7 +21,6 @@ import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
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.Serializable;
import java.sql.Connection;

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

@ -8,19 +8,31 @@
package it.tref.liferay.portos.bo.model.impl;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.SoggettiUtil;
import java.io.Serializable;
import java.util.Locale;
import java.util.Map;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.json.JSONDeserializer;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.util.LocaleUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.kernel.workflow.WorkflowConstants;
import com.liferay.portal.service.UserLocalServiceUtil;
/**
* The extended model implementation for the Asseverazione service. Represents a row in the
@ -52,7 +64,7 @@ public class AsseverazioneImpl extends AsseverazioneBaseImpl {
}
@Override
public String getModello() throws PortalException, SystemException {
public String getModello() throws SystemException{
String modello = StringPool.BLANK;
switch (this.getTipologia()) {
@ -85,4 +97,94 @@ public class AsseverazioneImpl extends AsseverazioneBaseImpl {
}
return modello;
}
@Override
public boolean hasCambioStatoAsseverazione(long userId) throws PortalException, SystemException {
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(getDettPraticaId());
return dettPratica.getStatus() == WorkflowConstants.STATUS_DRAFT
&& (dettPratica.getUserId() == userId || getCodiceFiscale().equalsIgnoreCase(
UserLocalServiceUtil.getUser(userId).getScreenName()));
}
@Override
public boolean hasGestisciFileAsseverazione(long userId) throws PortalException, SystemException {
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(getDettPraticaId());
return dettPratica.getUserId() == userId && dettPratica.getStatus() == WorkflowConstants.STATUS_DRAFT;
}
@Override
public String retrieveText(String codiceFiscale) throws PortalException, SystemException{
if (!codiceFiscale.equalsIgnoreCase(getCodiceFiscale())) {
return StringPool.BLANK;
}
Object[] params = new Object[] {};
String result = StringPool.BLANK;
String tipoAsseverazione = getTipologia();
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(getDettPraticaId());
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(getIntPraticaId());
Soggetto soggetto = SoggettoLocalServiceUtil.getValidTmpByIntPratica_CodiceFiscale_TipologiaSoggetto(
getIntPraticaId(), codiceFiscale, getTipologia(), 0);
switch (tipoAsseverazione) {
case TipoSoggettoUtil.COLLAUDATORE:
params = new Object[] {
soggetto.getDescrizioneCompleta(),
("albo-altro".equalsIgnoreCase(soggetto.getAlbo()) ? soggetto.getAlboDescr() : soggetto
.getAlbo()), soggetto.getProvinciaAlbo(), soggetto.getNumIscrAlbo() };
break;
case TipoSoggettoUtil.COMMITTENTE:
params = new Object[] { soggetto.getDescrizioneCompleta() };
break;
case TipoSoggettoUtil.DIRETTORE_LAVORI:
params = new Object[] {
soggetto.getDescrizioneCompleta(),
(SoggettiUtil.isSoggettoPrincipale(soggetto.getSoggettoId(), dettPratica.getDettPraticaId())
? "Principale" : StringPool.BLANK)
+ (Validator.isNull(soggetto.getAmbitoProfessione()) ? StringPool.BLANK : (soggetto
.getAmbitoProfessione().equalsIgnoreCase("ambitoProf-altro") ? soggetto
.getAmbitoAttivita() : LanguageUtil.get(Locale.ITALIAN, "label-ambito-"
+ soggetto.getAmbitoProfessione()))), soggetto.getAlbo(),
soggetto.getProvinciaAlbo(), soggetto.getNumIscrAlbo() };
break;
case TipoSoggettoUtil.DITTA:
params = new Object[] {
soggetto.getCodiceFiscale().toUpperCase() + " - " + soggetto.getLegaleRap(),
soggetto.getDenominazione()
+ StringPool.SPACE
+ (SoggettiUtil.isSoggettoPrincipale(soggetto.getSoggettoId(),
dettPratica.getDettPraticaId()) ? "Principale" : StringPool.BLANK)
+ StringPool.SPACE
+ (Validator.isNull(soggetto.getAmbitoProfessione()) ? StringPool.BLANK : (soggetto
.getAmbitoProfessione().equalsIgnoreCase("ambitoProf-altro") ? soggetto
.getAmbitoAttivita() : LanguageUtil.get(Locale.ITALIAN, "label-ambito-"
+ soggetto.getAmbitoProfessione()))) };
break;
case TipoSoggettoUtil.GEOLOGO:
params = new String[] { soggetto.getDescrizioneCompleta() };
break;
case TipoSoggettoUtil.PROGETTISTA:
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
params = new Object[] {
soggetto.getDescrizioneCompleta(),
(SoggettiUtil.isSoggettoPrincipale(soggetto.getSoggettoId(), dettPratica.getDettPraticaId())
? "Principale" : StringPool.BLANK)
+ (Validator.isNull(soggetto.getAmbitoProfessione()) ? StringPool.BLANK : (soggetto
.getAmbitoProfessione().equalsIgnoreCase("ambitoProf-altro") ? soggetto
.getAmbitoAttivita() : LanguageUtil.get(Locale.ITALIAN, "label-ambito-"
+ soggetto.getAmbitoProfessione()))), soggetto.getAlbo(),
soggetto.getProvinciaAlbo(), soggetto.getNumIscrAlbo(),
dettPratica.getTcNuovaCostruzione() ? "X" : StringPool.SPACE,
dettPratica.getTcAdeguamentoSismico() ? "X" : StringPool.SPACE,
dettPratica.getTcMiglioramentoSismico() ? "X" : StringPool.SPACE,
dettPratica.getTcRiparazioneInterventoLocale() ? "X" : StringPool.SPACE, territorio.getZona(),
territorio.getFascia() };
break;
}
result = LanguageUtil.format(LocaleUtil.ITALIAN, "confirm-asseverazione-" + tipoAsseverazione, params);
// Added fixed bottom
result += LanguageUtil.get(LocaleUtil.ITALIAN, "confirm-asseverazione-bottom");
return result;
}
}

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

@ -8,12 +8,22 @@
package it.tref.liferay.portos.bo.model.impl;
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.shared.bean.FirmeBean;
import it.tref.liferay.portos.bo.shared.util.FirmeUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.log.Log;
@ -49,9 +59,9 @@ public class CollaudoImpl extends CollaudoBaseImpl {
StringBuilder sb = new StringBuilder();
try {
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(getIntPraticaId());
if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
if (intPratica.isDeposito()) {
sb.append("Deposito ");
} else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
} else if (intPratica.isAutorizzazione()) {
sb.append("Autorizzazione ");
}
sb.append("n. ");
@ -86,4 +96,65 @@ public class CollaudoImpl extends CollaudoBaseImpl {
return getTitle();
}
@Override
public boolean canCompleteCollaudoEsente() throws SystemException, PortalException {
return pagamentoCollaudoIsEnable() && getNormEsenteBollo();
}
private boolean isCollaudoAllegatiCompleted() throws PortalException, SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(getIntPraticaId());
for (String codiceDoc : DocumentiPraticaUtil.getDocObbligatoriCollaudo()) {
List<DocPratica> docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia(getIntPraticaId(),
codiceDoc, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
if (docs.isEmpty()) {
return false; // Ci dev'essere almeno un allegato per tipo obbligatorio
}
for (DocPratica doc : docs) {
FirmeBean firme = FirmeUtil.deserialize(doc.getJsonFirmatari());
List<String> signatures = firme.allSignatures();
if (!intPratica.isAllRequiredValid(codiceDoc, signatures, TipoSoggettoUtil.getAllSubjects(), doc)) {
return false; // Return false if is required per this subjectType but it is not present
}
}
}
return true;
}
@Override
public boolean isCollaudoDatiCompleted() throws PortalException, SystemException {
return notCompletedCollaudoDati().isEmpty();
}
@Override
public List<String> notCompletedCollaudoDati() throws SystemException {
List<String> notCompleted = new ArrayList<>();
if (Validator.isNull(getParziale())) {
notCompleted.add("col-tipo");
}
if (getParziale() && CollaudoLocalServiceUtil.countByIntPraticaId_Parziale(getIntPraticaId(), false) > 0) {
notCompleted.add("col-parziale-not-possibile");
}
if (!getParziale()
&& FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_Completata(getIntPraticaId(), false, true) == 0) {
notCompleted.add("col-totale-not-possibile");
}
if (Validator.isNull(getDataCollaudo())) {
notCompleted.add("col-data-fine");
}
if (Validator.isNull(getCodiceFiscaleDelegato())) {
notCompleted.add("col-collaudatore");
}
return notCompleted;
}
@Override
public boolean pagamentoCollaudoIsEnable() throws SystemException, PortalException {
return isCollaudoDatiCompleted() && isCollaudoAllegatiCompleted();
}
}

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

File diff soppresso perché troppo grande Load Diff

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

@ -8,12 +8,21 @@
package it.tref.liferay.portos.bo.model.impl;
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.shared.bean.FirmeBean;
import it.tref.liferay.portos.bo.shared.util.FirmeUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.log.Log;
@ -50,9 +59,9 @@ public class FineLavoriImpl extends FineLavoriBaseImpl {
StringBuilder sb = new StringBuilder();
try {
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(getIntPraticaId());
if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
if (intPratica.isDeposito()) {
sb.append("Deposito ");
} else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
} else if (intPratica.isAutorizzazione()) {
sb.append("Autorizzazione ");
}
sb.append("n. ");
@ -86,4 +95,65 @@ public class FineLavoriImpl extends FineLavoriBaseImpl {
return getTitle();
}
@Override
public boolean canCompleteFineLavoriEsente() throws SystemException, PortalException {
return pagamentoFineLavoriIsEnable() && getNormEsenteBollo();
}
private boolean isFineLavoriAllegatiCompleted() throws PortalException, SystemException {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(getIntPraticaId());
for (String codiceDoc : DocumentiPraticaUtil.getDocObbligatoriFineLavori()) {
List<DocPratica> docs = DocPraticaLocalServiceUtil.findByClassPk_Tipologia(getFineLavoriId(), codiceDoc,
QueryUtil.ALL_POS, QueryUtil.ALL_POS);
if (docs.isEmpty()) {
return false; // Ci dev'essere almeno un allegato per tipo obbligatorio
}
for (DocPratica doc : docs) {
FirmeBean firme = FirmeUtil.deserialize(doc.getJsonFirmatari());
List<String> signatures = firme.allSignatures();
if (!intPratica.isAllRequiredValid(codiceDoc, signatures, TipoSoggettoUtil.getAllSubjects(), doc)) {
return false; // Return false if is required per this subjectType but it is not present
}
}
}
return true;
}
@Override
public boolean isFineLavoriDatiCompleted() throws PortalException, SystemException {
return notCompletedFineLavoriDati().isEmpty();
}
@Override
public List<String> notCompletedFineLavoriDati() throws PortalException, SystemException {
List<String> notCompleted = new ArrayList<>();
if (Validator.isNull(getParziale())) {
notCompleted.add("fl-tipo");
}
if (getParziale() && FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale(getIntPraticaId(), false) > 0) {
notCompleted.add("fl-parziale-not-possibile");
}
if (Validator.isNull(getDataFineLavori())) {
notCompleted.add("fl-data-fine");
}
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(getIntPraticaId());
if (Validator.isNull(getDataFineLavori()) || getDataFineLavori().before(intPratica.getDtPratica())) {
notCompleted.add("fl-data-fine-early");
}
if (Validator.isNull(getCodiceFiscaleDelegato())) {
notCompleted.add("fl-dir-lav");
}
return notCompleted;
}
@Override
public boolean pagamentoFineLavoriIsEnable() throws SystemException, PortalException {
return isFineLavoriDatiCompleted() && isFineLavoriAllegatiCompleted();
}
}

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

@ -15,21 +15,40 @@ import static java.lang.Math.pow;
import static java.lang.Math.round;
import static java.lang.Math.sin;
import static java.lang.Math.sqrt;
import it.mwg.sismica.bo.shared.util.AsseverazioniUtil;
import it.mwg.sismica.bo.shared.util.AzioniPraticheUtil;
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.Provincia;
import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.CollaudoServiceUtil;
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.FineLavoriLocalServiceUtil;
import it.tref.liferay.portos.bo.service.FineLavoriServiceUtil;
import it.tref.liferay.portos.bo.service.ProvinciaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.Constants;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.DelegheUtil;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import org.apache.commons.lang.StringUtils;
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;
@ -37,6 +56,7 @@ import com.liferay.portal.kernel.util.HtmlUtil;
import com.liferay.portal.kernel.util.LocaleUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.kernel.workflow.WorkflowConstants;
/**
* The extended model implementation for the IntPratica service. Represents a row in the
@ -92,6 +112,12 @@ public class IntPraticaImpl extends IntPraticaBaseImpl {
return Validator.isNotNull(this.getDtAnnullamento());
}
@Override
public boolean isAutorizzazione() throws PortalException, SystemException {
return getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_AUTORIZZAZIONE);
}
@Override
public boolean isChiusa() throws SystemException {
@ -105,6 +131,12 @@ public class IntPraticaImpl extends IntPraticaBaseImpl {
return completata;
}
@Override
public boolean isDeposito() throws PortalException, SystemException {
return getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_DEPOSITO);
}
@Override
public int getTipoRichiesta() {
switch (getTipoProcedura()) {
@ -183,6 +215,276 @@ public class IntPraticaImpl extends IntPraticaBaseImpl {
return distanzaOrtodromica;
}
@Override
public boolean canAddPagamento(long userId) throws PortalException, SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(getIntPraticaId());
if (Validator.isNull(dettPratica)) {
return false;
}
return dettPratica.pagamentoIsEnable()
&& DelegheUtil.hasDelegaPagamento(userId, dettPratica.getDettPraticaId());
}
@Override
public boolean canAddSoggetto(String tipoSoggetto) throws PortalException, SystemException {
if (!isAllowedAction(AzioniPraticheUtil.ACTION_AGGIUNGI_SOGGETTO)) {
return false;
}
if ((!TipoSoggettoUtil.COMMITTENTE.equalsIgnoreCase(tipoSoggetto) && !TipoSoggettoUtil.COLLAUDATORE
.equalsIgnoreCase(tipoSoggetto)) && (isFineLavoriTotale())) {
return false;
}
return true;
}
@Override
public boolean canAddVariazioneSoggetti() {
return !getStatoPratica().equals(StringPool.BLANK) && !getNumeroProgetto().equals(StringPool.BLANK);
}
@Override
public boolean canDeletePratica(long userId) throws PortalException, SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(getIntPraticaId());
return (getStatus() == WorkflowConstants.STATUS_ANY || (dettPratica != null && dettPratica.getStatus() == WorkflowConstants.STATUS_DRAFT)
&& Validator.isNull(dettPratica.getTipoIntegrazione()))
&& getUserId() == userId;
}
@Override
public boolean canEditPratica() throws PortalException, SystemException {
return getStatus() == WorkflowConstants.STATUS_ANY || getStatus() == WorkflowConstants.STATUS_INCOMPLETE;
}
@Override
public boolean canEditUsers() throws PortalException, SystemException {
return !isSospesa() && !isAnnullata() && !canEditPratica() && !praticaHasVarianteInProgress()
&& !hasRichiestaIntegrazioneAttiva() && !praticaHasIntegrazioneInProgress()
&& !praticaHasFineLavoriInProgress() && !praticaHasCollaudoInProgress();
}
@Override
public boolean canPrintFascicolo() {
return (!getStatoPratica().equals(StringPool.BLANK) || isValidata())
&& !getNumeroProgetto().equals(StringPool.BLANK);
}
@Override
public boolean canPrintFascicoloVariante() throws SystemException {
int nVarianti = DettPraticaLocalServiceUtil.countCompletedByIntPraticaAndTipoPratica(getIntPraticaId(),
Arrays.<String> asList(TipoIntegrazioneUtil.VARIANTE));
return nVarianti > 0;
}
@Override
public boolean canRemoveSoggetto(String tipoSoggetto) throws SystemException {
if (!isAllowedAction(AzioniPraticheUtil.ACTION_RIMUOVI_SOGGETTO)) {
return false;
}
if ((!TipoSoggettoUtil.COMMITTENTE.equalsIgnoreCase(tipoSoggetto) && !TipoSoggettoUtil.COLLAUDATORE
.equalsIgnoreCase(tipoSoggetto)) && (isFineLavoriTotale() || getCollaudoParziale())) {
return false;
}
if ((TipoSoggettoUtil.DIRETTORE_LAVORI.equalsIgnoreCase(tipoSoggetto) || TipoSoggettoUtil.DITTA
.equalsIgnoreCase(tipoSoggetto)) && isFineLavoriParziale()) {
return false;
}
return true;
}
@Override
public boolean isAllRequiredValid(String codiceDoc, List<String> signatures, List<String> tipologiaSoggetti,
DocPratica docPratica) throws SystemException {
for (String tipoSoggetto : tipologiaSoggetti) {
boolean isRequired = AsseverazioniUtil.isAsseverazioneRequiredByCodiceDoc(codiceDoc, tipoSoggetto);
if (isRequired) {
List<String> signaturesPerSubject = getSignaturePerSubject(signatures, tipoSoggetto,
docPratica.getClassPk());
if (signaturesPerSubject.isEmpty()) {
return false;
}
}
}
return true;
}
@Override
public boolean praticaCanAbort(long userId) throws SystemException {
return getUserId() == userId && getStatus() != WorkflowConstants.STATUS_ANY
&& getStatus() != WorkflowConstants.STATUS_INCOMPLETE && !hasRichiestaIntegrazioneAttiva()
&& !praticaHasIntegrazioneInProgress() && !praticaHasAnnullamento();
}
@Override
public boolean praticaCanAddCollaudo(String userScreenName) throws SystemException, PortalException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastCompletedByIntPratica(getIntPraticaId());
return Validator.isNotNull(dettPratica)
&& userScreenName.equalsIgnoreCase(dettPratica.getCodiceFiscaleDelegatoCollaudo())
&& FineLavoriLocalServiceUtil.countByIntPraticaId(getIntPraticaId()) > 0
&& CollaudoLocalServiceUtil.countByIntPraticaId_Completata(getIntPraticaId(), false) == 0
&& !praticaHasCollaudoInProgress() && !praticaHasVarianteInProgress()
&& !praticaHasIntegrazioneInProgress();
}
@Override
public boolean praticaCanAddFineLavori(String userScreenName) throws SystemException, PortalException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastCompletedByIntPratica(getIntPraticaId());
return Validator.isNotNull(dettPratica)
&& userScreenName.equalsIgnoreCase(dettPratica.getCodiceFiscaleDelegatoFineLavori())
&& FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_Completata(getIntPraticaId(), false, true) == 0
&& !praticaHasFineLavoriInProgress() && !praticaHasVarianteInProgress()
&& !praticaHasIntegrazioneInProgress();
}
@Override
public boolean praticaCanAddIntegrazione() throws SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastEditabledByIntPraticaAndTipoPratica(getIntPraticaId(),
Arrays.<String> asList(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE));
if (Validator.isNotNull(dettPratica)) {
return false;
}
return getStatus() != WorkflowConstants.STATUS_ANY && getStatus() != WorkflowConstants.STATUS_INCOMPLETE
&& hasRichiestaIntegrazioneAttiva();
}
@Override
public boolean praticaCanAddVariante() throws SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastEditabledByIntPraticaAndTipoPratica(getIntPraticaId(),
Arrays.<String> asList(TipoIntegrazioneUtil.VARIANTE));
if (Validator.isNotNull(dettPratica)) {
return false;
}
return getStatus() != WorkflowConstants.STATUS_ANY && getStatus() != WorkflowConstants.STATUS_INCOMPLETE
&& !hasRichiestaIntegrazioneAttiva() && !praticaHasIntegrazioneInProgress();
}
@Override
public boolean praticaCanDeleteCollaudo(String userScreenName) throws SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastCompletedByIntPratica(getIntPraticaId());
return Validator.isNotNull(dettPratica)
&& userScreenName.equalsIgnoreCase(dettPratica.getCodiceFiscaleDelegatoCollaudo())
&& praticaHasCollaudoPaymentPending();
}
@Override
public boolean praticaCanDeleteFineLavori(String userScreenName) throws SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastCompletedByIntPratica(getIntPraticaId());
return Validator.isNotNull(dettPratica)
&& userScreenName.equalsIgnoreCase(dettPratica.getCodiceFiscaleDelegatoFineLavori())
&& praticaHasFineLavoriPaymentPending();
}
@Override
public boolean praticaCanDeleteIntegrazione() throws SystemException {
return praticaHasIntegrazioneInProgress();
}
@Override
public boolean praticaCanDeleteVariante() throws SystemException {
return praticaHasVarianteInProgress();
}
@Override
public boolean praticaCanEditCollaudo(String userScreenName) throws SystemException {
return userScreenName.equalsIgnoreCase(getCodiceFiscaleDelegatoCollaudo()) && praticaHasCollaudoInProgress();
}
@Override
public boolean praticaCanEditFineLavori(String userScreenName) throws SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastCompletedByIntPratica(getIntPraticaId());
return Validator.isNotNull(dettPratica)
&& userScreenName.equalsIgnoreCase(dettPratica.getCodiceFiscaleDelegatoFineLavori())
&& praticaHasFineLavoriInProgress();
}
@Override
public boolean praticaCanEditIntegrazione() throws SystemException {
return praticaHasIntegrazioneInProgress();
}
@Override
public boolean praticaCanEditVariante() throws SystemException {
return praticaHasVarianteInProgress();
}
@Override
public boolean praticaHasAnnullamento() {
return isAnnullata();
}
@Override
public boolean praticaHasCollaudoInProgress() throws SystemException {
return Validator.isNotNull(CollaudoServiceUtil.getLastEditable(getIntPraticaId()));
}
@Override
public boolean praticaHasCollaudoPaymentPending() throws SystemException {
Collaudo collaudo = CollaudoServiceUtil.getLastEditable(getIntPraticaId());
return Validator.isNotNull(collaudo) && Validator.isNull(collaudo.getPagamentoId());
}
@Override
public boolean praticaHasFineLavoriInProgress() throws SystemException {
return Validator.isNotNull(FineLavoriServiceUtil.getLastEditable(getIntPraticaId()));
}
@Override
public boolean praticaHasFineLavoriPaymentPending() throws SystemException {
FineLavori fineLavori = FineLavoriServiceUtil.getLastEditable(getIntPraticaId());
return Validator.isNotNull(fineLavori) && Validator.isNull(fineLavori.getPagamentoId());
}
@Override
public boolean praticaHasIntegrazioneInProgress() throws SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastEditabledByIntPraticaAndTipoPratica(getIntPraticaId(),
Arrays.<String> asList(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE));
return Validator.isNotNull(dettPratica);
}
private List<String> getSignaturePerSubject(List<String> signatures, String tipoSoggetto, long docPraticaClassPk)
throws SystemException {
List<String> signaturesPerSubject = new ArrayList<String>();
for (String sign : signatures) {
List<Soggetto> soggetti = SoggettoLocalServiceUtil.getValidTmpByIntPratica_CodiceFiscale(getIntPraticaId(),
sign, docPraticaClassPk);
for (Soggetto soggetto : soggetti) {
if (soggetto.getTipologiaSoggetto().equals(tipoSoggetto) && !signaturesPerSubject.contains(sign)) {
signaturesPerSubject.add(sign);
}
}
}
return signaturesPerSubject;
}
@Override
public boolean hasRichiestaIntegrazioneAttiva() {
@ -192,4 +494,115 @@ public class IntPraticaImpl extends IntPraticaBaseImpl {
|| StatoPraticaConstants.DECRETO_SANZIONE.equals(stato)
|| StatoPraticaConstants.PERIZIA_SANZIONE.equals(stato);
}
@Override
public boolean isAllowedAction(String action) throws SystemException {
if (!AzioniPraticheUtil.actionExists(action)
&& !AzioniPraticheUtil.ACTION_INTEGRAZIONE.equalsIgnoreCase(action)) {
throw new SystemException("Azione non presente: " + action);
}
boolean isDeposito = getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_DEPOSITO);
boolean isAutorizzazione = getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_AUTORIZZAZIONE);
String status = StringPool.BLANK;
if (getStatus() == WorkflowConstants.STATUS_PENDING) {
if (hasRichiestaIntegrazioneAttiva()) {
if (isDeposito) {
status = AzioniPraticheUtil.STATE_INTEGRAZIONE_DEPOSITO;
} else if (isAutorizzazione) {
status = AzioniPraticheUtil.STATE_INTEGRAZIONE_AUTORIZZAZIONE;
} else {
throw new SystemException("Tipo pratica non esiste");
}
} else if (isDeposito) {
status = AzioniPraticheUtil.STATE_SOTTOPOSTO_A_PARERE_DEPOSITO;
} else if (isAutorizzazione) {
status = AzioniPraticheUtil.STATE_SOTTOPOSTO_A_PARERE_AUTORIZZAZIONE;
} else {
throw new SystemException("Tipo pratica non esiste");
}
} else if (StatoPraticaConstants.CONFORME.equalsIgnoreCase(getStatoPratica())) {
status = AzioniPraticheUtil.STATE_VIDIMATO;
} else if (StatoPraticaConstants.NON_CONFORME.equalsIgnoreCase(getStatoPratica())) {
status = AzioniPraticheUtil.STATE_NON_CONFORME;
} else if (StatoPraticaConstants.AUTORIZZATA.equalsIgnoreCase(getStatoPratica())) {
status = AzioniPraticheUtil.STATE_VIDIMATO;
} else if (StatoPraticaConstants.NON_AUTORIZZATA.equalsIgnoreCase(getStatoPratica())) {
status = AzioniPraticheUtil.NON_AUTORIZZATA;
} else if (StatoPraticaConstants.ANNULLATA.equalsIgnoreCase(getStatoPratica())) {
status = AzioniPraticheUtil.STATE_ANNULLATO;
} else if (StatoPraticaConstants.VIDIMATA.equalsIgnoreCase(getStatoPratica())) {
status = AzioniPraticheUtil.STATE_VIDIMATO;
} else if (StatoPraticaConstants.FINE_LAVORI.equalsIgnoreCase(getStatoPratica())) {
status = AzioniPraticheUtil.STATE_FINE_LAVORI_TOTALE;
} else if (StatoPraticaConstants.FINE_LAVORI_PARZIALE.equalsIgnoreCase(getStatoPratica())) {
status = AzioniPraticheUtil.STATE_FINE_LAVORI_PARZIALE;
} else if (getStatus() == WorkflowConstants.STATUS_ANY) {
status = AzioniPraticheUtil.STATE_COMPILAZIONE;
} else if (StatoPraticaConstants.COLLAUDO_PARZIALE.equalsIgnoreCase(getStatoPratica())) {
status = AzioniPraticheUtil.STATE_COLLAUDO_PARZIALE;
}
List<String> actionList = AzioniPraticheUtil.getStateActionsMap(status);
if ((actionList == null) || !actionList.contains(action)) {
return false;
}
if (!action.equalsIgnoreCase(AzioniPraticheUtil.ACTION_INTEGRAZIONE) && getCollaudoTotale()) {
return false;
}
if (action.equalsIgnoreCase(AzioniPraticheUtil.ACTION_FL_PARZIALE) && getFineLavoriTotale()) {
return false;
}
if (action.equalsIgnoreCase(AzioniPraticheUtil.ACTION_FL_TOTALE) && getFineLavoriTotale()) {
return false;
}
if (action.equalsIgnoreCase(AzioniPraticheUtil.ACTION_CO_PARZIALE) && !getFineLavoriParziale()) {
return false;
}
if (action.equalsIgnoreCase(AzioniPraticheUtil.ACTION_CO_TOTALE) && !getFineLavoriTotale()) {
return false;
}
if (action.equalsIgnoreCase(AzioniPraticheUtil.ACTION_VARIANTE) && getFineLavoriTotale()) {
return false;
}
if (action.equalsIgnoreCase(AzioniPraticheUtil.ACTION_ANNULLA)
&& (getFineLavoriTotale() || getFineLavoriParziale() || getCollaudoParziale())) {
return false;
}
if (action.equalsIgnoreCase(AzioniPraticheUtil.ACTION_RIMUOVI_SOGGETTO) && getCollaudoParziale()) {
return false;
}
return true;
}
@Override
public boolean praticaHasVarianteInProgress() throws SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastEditabledByIntPraticaAndTipoPratica(getIntPraticaId(),
Arrays.<String> asList(TipoIntegrazioneUtil.VARIANTE));
return Validator.isNotNull(dettPratica);
}
@Override
public boolean praticaInProgress() throws SystemException {
DettPratica dettPratica = DettPraticaServiceUtil.getLastEditabledByIntPraticaAndTipoPratica(getIntPraticaId(),
Arrays.<String> asList(TipoIntegrazioneUtil.VARIANTE, TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE,
TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO));
return Validator.isNotNull(dettPratica) || getStatus() == WorkflowConstants.STATUS_ANY
|| getStatus() == WorkflowConstants.STATUS_INCOMPLETE;
}
@Override
public boolean signaturesContains(String tipoSoggetto, List<String> signatures) throws SystemException {
for (String sign : signatures) {
List<Soggetto> soggetti = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(getIntPraticaId(), sign);
for (Soggetto soggetto : soggetti) {
if (soggetto.getTipologiaSoggetto().equals(tipoSoggetto)) {
return true;
}
}
}
return false;
}
}

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/listener/DettPraticaModelListener.java

@ -1,10 +1,10 @@
package it.tref.liferay.portos.bo.model.listener;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.NoSuchIntPraticaException;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import java.util.Date;

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

@ -1,5 +1,7 @@
package it.tref.liferay.portos.bo.portlet;
import it.mwg.sismica.bo.search.IntPraticaAdvancedSearch;
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil;
import it.mwg.sismica.bo.shared.util.UnitaOperativeUtil;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.DettPratica;
@ -10,7 +12,6 @@ import it.tref.liferay.portos.bo.model.Pagamento;
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.ComuneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil;
@ -26,9 +27,7 @@ import it.tref.liferay.portos.bo.shared.bean.IstruttoreBean;
import it.tref.liferay.portos.bo.shared.util.Constants;
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.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.util.PraticaUtil;
import it.tref.liferay.portos.bo.util.ValidazionePraticaUtil;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
import java.io.File;
@ -229,7 +228,8 @@ public class FascicoloPortlet extends MVCPortlet {
ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest);
User user = UserLocalServiceUtil.fetchUserByScreenName(companyId, nuovoSoggettoCF);
if (Validator.isNotNull(user)) {
if (!ValidazionePraticaUtil.praticaInProgress(intPraticaId)) {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
if (!intPratica.praticaInProgress()) {
_log.info("cambiaTitolare: cfNuovoTitolare " + nuovoSoggettoCF + " intpratica" + intPraticaId);
IntPraticaServiceUtil.cambiaTitolare(intPraticaId, user.getUserId(), serviceContext);
SessionMessages.add(actionRequest, "success-cambio-titolare");

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

@ -1,5 +1,6 @@
package it.tref.liferay.portos.bo.portlet;
import it.mwg.sismica.bo.search.IntPraticaAdvancedSearch;
import it.mwg.sismica.bo.shared.util.UnitaOperativeUtil;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.DettPratica;
@ -8,7 +9,6 @@ import it.tref.liferay.portos.bo.model.IntPratica;
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.ComuneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil;

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

@ -1,5 +1,6 @@
package it.tref.liferay.portos.bo.portlet;
import it.mwg.sismica.bo.search.ControlloPraticaAdvancedSearch;
import it.mwg.sismica.bo.shared.util.UnitaOperativeUtil;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.ControlloPratica;
@ -7,7 +8,6 @@ import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.ParereGeologo;
import it.tref.liferay.portos.bo.model.Provincia;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.search.ControlloPraticaAdvancedSearch;
import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoAllegatoBeanBuilder.java

@ -1,8 +1,8 @@
package it.tref.liferay.portos.bo.report.builder.builder;
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.report.builder.bean.ReportAvvisoAllegatoBean;
import it.tref.liferay.portos.bo.util.DocumentiPraticaUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java

@ -1,5 +1,7 @@
package it.tref.liferay.portos.bo.report.builder.builder;
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.model.Avviso;
import it.tref.liferay.portos.bo.model.Collaudo;
import it.tref.liferay.portos.bo.model.Comune;
@ -27,8 +29,6 @@ import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
import java.io.Serializable;

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerGeneraDocumento.java

@ -1,5 +1,6 @@
package it.tref.liferay.portos.bo.scheduler;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.model.Avviso;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
@ -11,7 +12,6 @@ import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.ProtocollazioneUtil;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import it.tref.liferay.portos.report.shared.constants.ReportConstants;
import it.tref.liferay.portos.report.shared.dto.ReportDto;
import it.tref.liferay.portos.report.shared.dto.ReportResultDto;

12
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerInvioDocumento.java

@ -1,5 +1,6 @@
package it.tref.liferay.portos.bo.scheduler;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.model.Avviso;
import it.tref.liferay.portos.bo.model.Collaudo;
import it.tref.liferay.portos.bo.model.Comune;
@ -25,9 +26,7 @@ import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.MailUtil;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
import it.tref.liferay.portos.kaleo.service.FormLogLocalServiceUtil;
import it.tref.liferay.portos.mailmanager.shared.model.FileAttachment;
@ -268,9 +267,10 @@ public class SchedulerInvioDocumento implements MessageListener {
String[] cc = new String[0];
String[] ccn = new String[0];
String tipoPratica = StringPool.BLANK;
if (AzioniPraticheUtil.isDeposito(intPraticaId)) {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
if (intPratica.isDeposito()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01");
} else if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) {
} else if (intPratica.isAutorizzazione()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02");
}
String url = FascicoloURLUtil.getFascicoloFEViewURL(avviso.getCompanyId(), avviso.getIntPraticaId(),
@ -314,10 +314,8 @@ public class SchedulerInvioDocumento implements MessageListener {
MailUtil.invioMailNotifica(intPraticaId, dettPratica.getDettPraticaId(), avvisoId, Avviso.class.getName(),
to, cc, ccn, "NOTIFICA-SOGGETTI-ATTIVI", templateVariables, allegati, serviceContext);
String[] suapEnabled = new String[] { StatoPraticaConstants.CONFORME, StatoPraticaConstants.NON_CONFORME };
if ((AzioniPraticheUtil.isAutorizzazione(intPraticaId) && ArrayUtil.contains(suapEnabled,
avviso.getTipoDocumento()))
if ((intPratica.isAutorizzazione() && ArrayUtil.contains(suapEnabled, avviso.getTipoDocumento()))
|| (StatoPraticaConstants.VIDIMATA.equals(avviso.getTipoDocumento()))) {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
Comune comune = ComuneLocalServiceUtil.getComune(territorio.getComuneId());
String eMail = StringPool.BLANK;

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

@ -222,153 +222,88 @@ public class AsseverazioneLocalServiceClpInvoker {
"com.liferay.portal.service.ServiceContext"
};
_methodName188 = "findByIntPratica";
_methodName188 = "countByCodiceFiscale_Esito";
_methodParameterTypes188 = new String[] {
"long", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
"java.lang.String", "java.lang.String"
};
_methodName189 = "findByDettPratica";
_methodName189 = "findByCodiceFiscale_Esito";
_methodParameterTypes189 = new String[] {
"long", "int", "int",
"java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName190 = "countByIntPratica";
_methodParameterTypes190 = new String[] { "long" };
_methodName191 = "countByDettPratica";
_methodName190 = "findByCodiceFiscale_InEsito";
_methodParameterTypes191 = new String[] { "long" };
_methodName192 = "findByIntPratica_CodiceFiscale";
_methodParameterTypes192 = new String[] {
"long", "java.lang.String", "int", "int",
_methodParameterTypes190 = new String[] {
"java.lang.String", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName193 = "countByIntPratica_CodiceFiscale";
_methodName191 = "findByDettPratica";
_methodParameterTypes193 = new String[] { "long", "java.lang.String" };
_methodName194 = "findByCodiceFiscale_InEsito";
_methodParameterTypes194 = new String[] {
"java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes191 = new String[] {
"long", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName195 = "countByCodiceFiscale_InEsito";
_methodName192 = "countByDettPratica_CodiceFiscale_Esito";
_methodParameterTypes195 = new String[] {
"java.lang.String", "java.lang.String[][]"
_methodParameterTypes192 = new String[] {
"long", "java.lang.String", "java.lang.String"
};
_methodName196 = "findByIntPratica_CodiceFiscale_InEsito";
_methodName193 = "findByDettPratica_CodiceFiscale_Esito";
_methodParameterTypes196 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes193 = new String[] {
"long", "java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName197 = "findByDettPratica_CodiceFiscale_InEsito";
_methodName194 = "findByDettPratica_Esito";
_methodParameterTypes197 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes194 = new String[] {
"long", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName198 = "countByIntPratica_CodiceFiscale_InEsito";
_methodName195 = "countByDettPratica_InEsito";
_methodParameterTypes198 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
_methodParameterTypes195 = new String[] { "long", "java.lang.String[][]" };
_methodName199 = "countByDettPratica_CodiceFiscale_InEsito";
_methodParameterTypes199 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
_methodName196 = "findByDettPratica_InEsito";
_methodName200 = "findByIntPratica_InEsito";
_methodParameterTypes200 = new String[] {
_methodParameterTypes196 = new String[] {
"long", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName201 = "countByIntPratica_InEsito";
_methodParameterTypes201 = new String[] { "long", "java.lang.String[][]" };
_methodName197 = "findByDettPratica_Tipologia_Esito";
_methodName202 = "findByDettPratica_InEsito";
_methodParameterTypes202 = new String[] {
"long", "java.lang.String[][]", "int", "int",
_methodParameterTypes197 = new String[] {
"long", "java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName203 = "countByDettPratica_InEsito";
_methodParameterTypes203 = new String[] { "long", "java.lang.String[][]" };
_methodName204 = "findByCodiceFiscale_Tipologia_InEsito";
_methodName198 = "findByIntPratica_CodiceFiscale_Esito";
_methodParameterTypes204 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String[][]",
"int", "int", "com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName205 = "countByCodiceFiscale_Tipologia_InEsito";
_methodParameterTypes205 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String[][]"
};
_methodName206 = "findByIntPratica_CodiceFiscale_Tipologia_InEsito";
_methodParameterTypes206 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String[][]", "int", "int",
_methodParameterTypes198 = new String[] {
"long", "java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName207 = "countByIntPratica_CodiceFiscale_Tipologia_InEsito";
_methodName199 = "countByIntPratica_Esito";
_methodParameterTypes207 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String[][]"
};
_methodParameterTypes199 = new String[] { "long", "java.lang.String" };
_methodName208 = "findByIntPratica_Tipologia_InEsito";
_methodName200 = "findByIntPratica_Esito";
_methodParameterTypes208 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName209 = "findByDettPratica_Tipologia_InEsito";
_methodParameterTypes209 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes200 = new String[] {
"long", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName210 = "countByIntPratica_Tipologia_InEsito";
_methodParameterTypes210 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
_methodName211 = "countByDettPratica_Tipologia_InEsito";
_methodParameterTypes211 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -612,49 +547,55 @@ public class AsseverazioneLocalServiceClpInvoker {
if (_methodName188.equals(name) &&
Arrays.deepEquals(_methodParameterTypes188, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByIntPratica(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[3]);
return AsseverazioneLocalServiceUtil.countByCodiceFiscale_Esito((java.lang.String)arguments[0],
(java.lang.String)arguments[1]);
}
if (_methodName189.equals(name) &&
Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByDettPratica(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
return AsseverazioneLocalServiceUtil.findByCodiceFiscale_Esito((java.lang.String)arguments[0],
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[3]);
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
if (_methodName190.equals(name) &&
Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByIntPratica(((Long)arguments[0]).longValue());
return AsseverazioneLocalServiceUtil.findByCodiceFiscale_InEsito((java.lang.String)arguments[0],
(java.lang.String[])arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
if (_methodName191.equals(name) &&
Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByDettPratica(((Long)arguments[0]).longValue());
return AsseverazioneLocalServiceUtil.findByDettPratica(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[3]);
}
if (_methodName192.equals(name) &&
Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByIntPratica_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
return AsseverazioneLocalServiceUtil.countByDettPratica_CodiceFiscale_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2]);
}
if (_methodName193.equals(name) &&
Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByIntPratica_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
return AsseverazioneLocalServiceUtil.findByDettPratica_CodiceFiscale_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName194.equals(name) &&
Arrays.deepEquals(_methodParameterTypes194, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByCodiceFiscale_InEsito((java.lang.String)arguments[0],
(java.lang.String[])arguments[1],
return AsseverazioneLocalServiceUtil.findByDettPratica_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
@ -662,25 +603,23 @@ public class AsseverazioneLocalServiceClpInvoker {
if (_methodName195.equals(name) &&
Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByCodiceFiscale_InEsito((java.lang.String)arguments[0],
return AsseverazioneLocalServiceUtil.countByDettPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1]);
}
if (_methodName196.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByIntPratica_CodiceFiscale_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
return AsseverazioneLocalServiceUtil.findByDettPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByDettPratica_CodiceFiscale_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
return AsseverazioneLocalServiceUtil.findByDettPratica_Tipologia_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
@ -688,111 +627,28 @@ public class AsseverazioneLocalServiceClpInvoker {
if (_methodName198.equals(name) &&
Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByIntPratica_CodiceFiscale_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
return AsseverazioneLocalServiceUtil.findByIntPratica_CodiceFiscale_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByDettPratica_CodiceFiscale_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
return AsseverazioneLocalServiceUtil.countByIntPratica_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName200.equals(name) &&
Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByIntPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByIntPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1]);
}
if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByDettPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1],
return AsseverazioneLocalServiceUtil.findByIntPratica_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByDettPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1]);
}
if (_methodName204.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByCodiceFiscale_Tipologia_InEsito((java.lang.String)arguments[0],
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByCodiceFiscale_Tipologia_InEsito((java.lang.String)arguments[0],
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
}
if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByIntPratica_CodiceFiscale_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String[])arguments[3],
((Integer)arguments[4]).intValue(),
((Integer)arguments[5]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[6]);
}
if (_methodName207.equals(name) &&
Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByIntPratica_CodiceFiscale_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String[])arguments[3]);
}
if (_methodName208.equals(name) &&
Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByIntPratica_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
return AsseverazioneLocalServiceUtil.findByDettPratica_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName210.equals(name) &&
Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByIntPratica_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
}
if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
return AsseverazioneLocalServiceUtil.countByDettPratica_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
}
throw new UnsupportedOperationException();
}
@ -898,26 +754,4 @@ public class AsseverazioneLocalServiceClpInvoker {
private String[] _methodParameterTypes199;
private String _methodName200;
private String[] _methodParameterTypes200;
private String _methodName201;
private String[] _methodParameterTypes201;
private String _methodName202;
private String[] _methodParameterTypes202;
private String _methodName203;
private String[] _methodParameterTypes203;
private String _methodName204;
private String[] _methodParameterTypes204;
private String _methodName205;
private String[] _methodParameterTypes205;
private String _methodName206;
private String[] _methodParameterTypes206;
private String _methodName207;
private String[] _methodParameterTypes207;
private String _methodName208;
private String[] _methodParameterTypes208;
private String _methodName209;
private String[] _methodParameterTypes209;
private String _methodName210;
private String[] _methodParameterTypes210;
private String _methodName211;
private String[] _methodParameterTypes211;
}

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

@ -65,153 +65,61 @@ public class AsseverazioneServiceClpInvoker {
"com.liferay.portal.service.ServiceContext"
};
_methodName157 = "findByIntPratica";
_methodName157 = "countByCodiceFiscale_Esito";
_methodParameterTypes157 = new String[] {
"long", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
"java.lang.String", "java.lang.String"
};
_methodName158 = "findByDettPratica";
_methodName158 = "findByCodiceFiscale_Esito";
_methodParameterTypes158 = new String[] {
"long", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName159 = "countByIntPratica";
_methodParameterTypes159 = new String[] { "long" };
_methodName160 = "countByDettPratica";
_methodParameterTypes160 = new String[] { "long" };
_methodName161 = "findByIntPratica_CodiceFiscale";
_methodParameterTypes161 = new String[] {
"long", "java.lang.String", "int", "int",
"java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName162 = "countByIntPratica_CodiceFiscale";
_methodParameterTypes162 = new String[] { "long", "java.lang.String" };
_methodName159 = "findByCodiceFiscale_InEsito";
_methodName163 = "findByCodiceFiscale_InEsito";
_methodParameterTypes163 = new String[] {
_methodParameterTypes159 = new String[] {
"java.lang.String", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName164 = "countByCodiceFiscale_InEsito";
_methodParameterTypes164 = new String[] {
"java.lang.String", "java.lang.String[][]"
};
_methodName165 = "findByIntPratica_CodiceFiscale_InEsito";
_methodParameterTypes165 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName166 = "findByDettPratica_CodiceFiscale_InEsito";
_methodName160 = "findByDettPratica_CodiceFiscale_Esito";
_methodParameterTypes166 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes160 = new String[] {
"long", "java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName167 = "countByIntPratica_CodiceFiscale_InEsito";
_methodParameterTypes167 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
_methodName168 = "countByDettPratica_CodiceFiscale_InEsito";
_methodParameterTypes168 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
_methodName169 = "findByIntPratica_InEsito";
_methodName161 = "findByIntPratica_CodiceFiscale_Esito";
_methodParameterTypes169 = new String[] {
"long", "java.lang.String[][]", "int", "int",
_methodParameterTypes161 = new String[] {
"long", "java.lang.String", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName170 = "countByIntPratica_InEsito";
_methodName162 = "countByDettPratica_InEsito";
_methodParameterTypes170 = new String[] { "long", "java.lang.String[][]" };
_methodParameterTypes162 = new String[] { "long", "java.lang.String[][]" };
_methodName171 = "findByDettPratica_InEsito";
_methodName163 = "findByDettPratica_InEsito";
_methodParameterTypes171 = new String[] {
_methodParameterTypes163 = new String[] {
"long", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName172 = "countByDettPratica_InEsito";
_methodParameterTypes172 = new String[] { "long", "java.lang.String[][]" };
_methodName173 = "findByCodiceFiscale_Tipologia_InEsito";
_methodParameterTypes173 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String[][]",
"int", "int", "com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName174 = "countByCodiceFiscale_Tipologia_InEsito";
_methodParameterTypes174 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String[][]"
};
_methodName175 = "findByIntPratica_CodiceFiscale_Tipologia_InEsito";
_methodParameterTypes175 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName176 = "countByIntPratica_CodiceFiscale_Tipologia_InEsito";
_methodParameterTypes176 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String[][]"
};
_methodName177 = "findByIntPratica_Tipologia_InEsito";
_methodName164 = "countByIntPratica_Esito";
_methodParameterTypes177 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodParameterTypes164 = new String[] { "long", "java.lang.String" };
_methodName178 = "findByDettPratica_Tipologia_InEsito";
_methodName165 = "findByIntPratica_Esito";
_methodParameterTypes178 = new String[] {
"long", "java.lang.String", "java.lang.String[][]", "int", "int",
_methodParameterTypes165 = new String[] {
"long", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName179 = "countByIntPratica_Tipologia_InEsito";
_methodParameterTypes179 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
_methodName180 = "countByDettPratica_Tipologia_InEsito";
_methodParameterTypes180 = new String[] {
"long", "java.lang.String", "java.lang.String[][]"
};
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -283,48 +191,55 @@ public class AsseverazioneServiceClpInvoker {
if (_methodName157.equals(name) &&
Arrays.deepEquals(_methodParameterTypes157, parameterTypes)) {
return AsseverazioneServiceUtil.findByIntPratica(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[3]);
return AsseverazioneServiceUtil.countByCodiceFiscale_Esito((java.lang.String)arguments[0],
(java.lang.String)arguments[1]);
}
if (_methodName158.equals(name) &&
Arrays.deepEquals(_methodParameterTypes158, parameterTypes)) {
return AsseverazioneServiceUtil.findByDettPratica(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
return AsseverazioneServiceUtil.findByCodiceFiscale_Esito((java.lang.String)arguments[0],
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[3]);
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
if (_methodName159.equals(name) &&
Arrays.deepEquals(_methodParameterTypes159, parameterTypes)) {
return AsseverazioneServiceUtil.countByIntPratica(((Long)arguments[0]).longValue());
return AsseverazioneServiceUtil.findByCodiceFiscale_InEsito((java.lang.String)arguments[0],
(java.lang.String[])arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
if (_methodName160.equals(name) &&
Arrays.deepEquals(_methodParameterTypes160, parameterTypes)) {
return AsseverazioneServiceUtil.countByDettPratica(((Long)arguments[0]).longValue());
return AsseverazioneServiceUtil.findByDettPratica_CodiceFiscale_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName161.equals(name) &&
Arrays.deepEquals(_methodParameterTypes161, parameterTypes)) {
return AsseverazioneServiceUtil.findByIntPratica_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
return AsseverazioneServiceUtil.findByIntPratica_CodiceFiscale_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName162.equals(name) &&
Arrays.deepEquals(_methodParameterTypes162, parameterTypes)) {
return AsseverazioneServiceUtil.countByIntPratica_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
return AsseverazioneServiceUtil.countByDettPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1]);
}
if (_methodName163.equals(name) &&
Arrays.deepEquals(_methodParameterTypes163, parameterTypes)) {
return AsseverazioneServiceUtil.findByCodiceFiscale_InEsito((java.lang.String)arguments[0],
return AsseverazioneServiceUtil.findByDettPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
@ -333,137 +248,19 @@ public class AsseverazioneServiceClpInvoker {
if (_methodName164.equals(name) &&
Arrays.deepEquals(_methodParameterTypes164, parameterTypes)) {
return AsseverazioneServiceUtil.countByCodiceFiscale_InEsito((java.lang.String)arguments[0],
(java.lang.String[])arguments[1]);
return AsseverazioneServiceUtil.countByIntPratica_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName165.equals(name) &&
Arrays.deepEquals(_methodParameterTypes165, parameterTypes)) {
return AsseverazioneServiceUtil.findByIntPratica_CodiceFiscale_InEsito(((Long)arguments[0]).longValue(),
return AsseverazioneServiceUtil.findByIntPratica_Esito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName166.equals(name) &&
Arrays.deepEquals(_methodParameterTypes166, parameterTypes)) {
return AsseverazioneServiceUtil.findByDettPratica_CodiceFiscale_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName167.equals(name) &&
Arrays.deepEquals(_methodParameterTypes167, parameterTypes)) {
return AsseverazioneServiceUtil.countByIntPratica_CodiceFiscale_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
}
if (_methodName168.equals(name) &&
Arrays.deepEquals(_methodParameterTypes168, parameterTypes)) {
return AsseverazioneServiceUtil.countByDettPratica_CodiceFiscale_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
}
if (_methodName169.equals(name) &&
Arrays.deepEquals(_methodParameterTypes169, parameterTypes)) {
return AsseverazioneServiceUtil.findByIntPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
if (_methodName170.equals(name) &&
Arrays.deepEquals(_methodParameterTypes170, parameterTypes)) {
return AsseverazioneServiceUtil.countByIntPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1]);
}
if (_methodName171.equals(name) &&
Arrays.deepEquals(_methodParameterTypes171, parameterTypes)) {
return AsseverazioneServiceUtil.findByDettPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
if (_methodName172.equals(name) &&
Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) {
return AsseverazioneServiceUtil.countByDettPratica_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String[])arguments[1]);
}
if (_methodName173.equals(name) &&
Arrays.deepEquals(_methodParameterTypes173, parameterTypes)) {
return AsseverazioneServiceUtil.findByCodiceFiscale_Tipologia_InEsito((java.lang.String)arguments[0],
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName174.equals(name) &&
Arrays.deepEquals(_methodParameterTypes174, parameterTypes)) {
return AsseverazioneServiceUtil.countByCodiceFiscale_Tipologia_InEsito((java.lang.String)arguments[0],
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
}
if (_methodName175.equals(name) &&
Arrays.deepEquals(_methodParameterTypes175, parameterTypes)) {
return AsseverazioneServiceUtil.findByIntPratica_CodiceFiscale_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String[])arguments[3],
((Integer)arguments[4]).intValue(),
((Integer)arguments[5]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[6]);
}
if (_methodName176.equals(name) &&
Arrays.deepEquals(_methodParameterTypes176, parameterTypes)) {
return AsseverazioneServiceUtil.countByIntPratica_CodiceFiscale_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String[])arguments[3]);
}
if (_methodName177.equals(name) &&
Arrays.deepEquals(_methodParameterTypes177, parameterTypes)) {
return AsseverazioneServiceUtil.findByIntPratica_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName178.equals(name) &&
Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) {
return AsseverazioneServiceUtil.findByDettPratica_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(java.lang.String[])arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
if (_methodName179.equals(name) &&
Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) {
return AsseverazioneServiceUtil.countByIntPratica_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
}
if (_methodName180.equals(name) &&
Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) {
return AsseverazioneServiceUtil.countByDettPratica_Tipologia_InEsito(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String[])arguments[2]);
}
throw new UnsupportedOperationException();
}
@ -503,34 +300,4 @@ public class AsseverazioneServiceClpInvoker {
private String[] _methodParameterTypes164;
private String _methodName165;
private String[] _methodParameterTypes165;
private String _methodName166;
private String[] _methodParameterTypes166;
private String _methodName167;
private String[] _methodParameterTypes167;
private String _methodName168;
private String[] _methodParameterTypes168;
private String _methodName169;
private String[] _methodParameterTypes169;
private String _methodName170;
private String[] _methodParameterTypes170;
private String _methodName171;
private String[] _methodParameterTypes171;
private String _methodName172;
private String[] _methodParameterTypes172;
private String _methodName173;
private String[] _methodParameterTypes173;
private String _methodName174;
private String[] _methodParameterTypes174;
private String _methodName175;
private String[] _methodParameterTypes175;
private String _methodName176;
private String[] _methodParameterTypes176;
private String _methodName177;
private String[] _methodParameterTypes177;
private String _methodName178;
private String[] _methodParameterTypes178;
private String _methodName179;
private String[] _methodParameterTypes179;
private String _methodName180;
private String[] _methodParameterTypes180;
}

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

@ -362,6 +362,27 @@ public class IntPraticaLocalServiceClpInvoker {
_methodName225 = "hasRichiestaIntegrazioneAttiva";
_methodParameterTypes225 = new String[] { "long" };
_methodName226 = "searchAltriProgetti";
_methodParameterTypes226 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName227 = "searchArchivioProgetti";
_methodParameterTypes227 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName228 = "searchMieiProgetti";
_methodParameterTypes228 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -814,6 +835,30 @@ public class IntPraticaLocalServiceClpInvoker {
return IntPraticaLocalServiceUtil.hasRichiestaIntegrazioneAttiva(((Long)arguments[0]).longValue());
}
if (_methodName226.equals(name) &&
Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchAltriProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName227.equals(name) &&
Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchArchivioProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName228.equals(name) &&
Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchMieiProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
throw new UnsupportedOperationException();
}
@ -959,4 +1004,10 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes224;
private String _methodName225;
private String[] _methodParameterTypes225;
private String _methodName226;
private String[] _methodParameterTypes226;
private String _methodName227;
private String[] _methodParameterTypes227;
private String _methodName228;
private String[] _methodParameterTypes228;
}

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

@ -156,60 +156,12 @@ public class AsseverazioneServiceSoap {
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByIntPratica(
long intPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByIntPratica(intPraticaId, start,
end, orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByDettPratica(
long dettPraticaId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByDettPratica(dettPraticaId,
start, end, orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static int countByIntPratica(long intPraticaId)
throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByIntPratica(intPraticaId);
return returnValue;
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static int countByDettPratica(long dettPraticaId)
public static int countByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito)
throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByDettPratica(dettPraticaId);
int returnValue = AsseverazioneServiceUtil.countByCodiceFiscale_Esito(codiceFiscale,
esito);
return returnValue;
}
@ -220,14 +172,15 @@ public class AsseverazioneServiceSoap {
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByIntPratica_CodiceFiscale(
long intPraticaId, java.lang.String codiceFiscale, int start, int end,
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByCodiceFiscale_Esito(
java.lang.String codiceFiscale, java.lang.String esito, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId,
codiceFiscale, start, end, orderByComparator);
AsseverazioneServiceUtil.findByCodiceFiscale_Esito(codiceFiscale,
esito, start, end, orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
@ -238,21 +191,6 @@ public class AsseverazioneServiceSoap {
}
}
public static int countByIntPratica_CodiceFiscale(long intPraticaId,
java.lang.String codiceFiscale) throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByIntPratica_CodiceFiscale(intPraticaId,
codiceFiscale);
return returnValue;
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti, int start,
int end,
@ -272,50 +210,15 @@ public class AsseverazioneServiceSoap {
}
}
public static int countByCodiceFiscale_InEsito(
java.lang.String codiceFiscale, java.lang.String[] esiti)
throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByCodiceFiscale_InEsito(codiceFiscale,
esiti);
return returnValue;
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByIntPratica_CodiceFiscale_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByDettPratica_CodiceFiscale_InEsito(
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByDettPratica_CodiceFiscale_Esito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti, int start, int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti, start, end, orderByComparator);
AsseverazioneServiceUtil.findByDettPratica_CodiceFiscale_Esito(dettPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
@ -326,46 +229,15 @@ public class AsseverazioneServiceSoap {
}
}
public static int countByIntPratica_CodiceFiscale_InEsito(
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByIntPratica_CodiceFiscale_Esito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti) throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByIntPratica_CodiceFiscale_InEsito(intPraticaId,
codiceFiscale, esiti);
return returnValue;
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static int countByDettPratica_CodiceFiscale_InEsito(
long dettPraticaId, java.lang.String codiceFiscale,
java.lang.String[] esiti) throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByDettPratica_CodiceFiscale_InEsito(dettPraticaId,
codiceFiscale, esiti);
return returnValue;
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByIntPratica_InEsito(
long intPraticaId, java.lang.String[] esiti, int start, int end,
java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByIntPratica_InEsito(intPraticaId,
esiti, start, end, orderByComparator);
AsseverazioneServiceUtil.findByIntPratica_CodiceFiscale_Esito(intPraticaId,
codiceFiscale, esito, start, end, orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
@ -376,10 +248,10 @@ public class AsseverazioneServiceSoap {
}
}
public static int countByIntPratica_InEsito(long intPraticaId,
public static int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti) throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByIntPratica_InEsito(intPraticaId,
int returnValue = AsseverazioneServiceUtil.countByDettPratica_InEsito(dettPraticaId,
esiti);
return returnValue;
@ -409,84 +281,11 @@ public class AsseverazioneServiceSoap {
}
}
public static int countByDettPratica_InEsito(long dettPraticaId,
java.lang.String[] esiti) throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByDettPratica_InEsito(dettPraticaId,
esiti);
return returnValue;
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti, start, end, orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static int countByCodiceFiscale_Tipologia_InEsito(
java.lang.String codiceFiscale, java.lang.String tipologia,
java.lang.String[] esiti) throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByCodiceFiscale_Tipologia_InEsito(codiceFiscale,
tipologia, esiti);
return returnValue;
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti, start, end,
orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static int countByIntPratica_CodiceFiscale_Tipologia_InEsito(
long intPraticaId, java.lang.String codiceFiscale,
java.lang.String tipologia, java.lang.String[] esiti)
throws RemoteException {
public static int countByIntPratica_Esito(long intPraticaId,
java.lang.String esito) throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId,
codiceFiscale, tipologia, esiti);
int returnValue = AsseverazioneServiceUtil.countByIntPratica_Esito(intPraticaId,
esito);
return returnValue;
}
@ -497,15 +296,14 @@ public class AsseverazioneServiceSoap {
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByIntPratica_Tipologia_InEsito(
long intPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByIntPratica_Esito(
long intPraticaId, java.lang.String esito, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByIntPratica_Tipologia_InEsito(intPraticaId,
tipologia, esiti, start, end, orderByComparator);
AsseverazioneServiceUtil.findByIntPratica_Esito(intPraticaId,
esito, start, end, orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
@ -516,56 +314,5 @@ public class AsseverazioneServiceSoap {
}
}
public static it.tref.liferay.portos.bo.model.AsseverazioneSoap[] findByDettPratica_Tipologia_InEsito(
long dettPraticaId, java.lang.String tipologia,
java.lang.String[] esiti, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws RemoteException {
try {
java.util.List<it.tref.liferay.portos.bo.model.Asseverazione> returnValue =
AsseverazioneServiceUtil.findByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti, start, end, orderByComparator);
return it.tref.liferay.portos.bo.model.AsseverazioneSoap.toSoapModels(returnValue);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static int countByIntPratica_Tipologia_InEsito(long intPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByIntPratica_Tipologia_InEsito(intPraticaId,
tipologia, esiti);
return returnValue;
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static int countByDettPratica_Tipologia_InEsito(long dettPraticaId,
java.lang.String tipologia, java.lang.String[] esiti)
throws RemoteException {
try {
int returnValue = AsseverazioneServiceUtil.countByDettPratica_Tipologia_InEsito(dettPraticaId,
tipologia, esiti);
return returnValue;
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
private static Log _log = LogFactoryUtil.getLog(AsseverazioneServiceSoap.class);
}

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

@ -8,6 +8,7 @@
package it.tref.liferay.portos.bo.service.impl;
import it.mwg.sismica.bo.shared.util.AsseverazioniUtil;
import it.tref.liferay.portos.bo.model.Asseverazione;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.DettPratica;
@ -19,10 +20,8 @@ import it.tref.liferay.portos.bo.service.base.AsseverazioneLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.AsseverazioniUtil;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.DelegheUtil;
import it.tref.liferay.portos.bo.util.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.util.PraticaUtil;
import it.tref.liferay.portos.report.shared.constants.ReportConstants;
import it.tref.liferay.portos.report.shared.dto.ReportDto;
@ -238,7 +237,7 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
.replace("{{!rischio}}", rischio ? StringPool.SPACE : "X")
.replace("{{strategico}}", strategico ? "X" : StringPool.SPACE).replace("{{albo}}", albo)
.replace("{{albop}}", albop).replace("{{albon}}", albon);
if (DocumentiPraticaUtil.richiestoA24(dettPratica)) {
if (dettPratica.richiestoA24()) {
html = html.replaceAll("\\s*##A25(.*?)##\\s*", StringPool.BLANK);
} else {
html = html
@ -456,8 +455,7 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
String testoAsseverazione = testoAsseverazione(asseverazione.getTipologia(), asseverazione.getCodiceFiscale(),
asseverazione.getDettPraticaId(), relazioni);
if (Validator.isNull(testoAsseverazione)) {
testoAsseverazione = AsseverazioniUtil.retrieveAsseverazioneText(asseverazione,
asseverazione.getCodiceFiscale());
testoAsseverazione = asseverazione.retrieveText(asseverazione.getCodiceFiscale());
}
IntPratica intPratica = intPraticaLocalService.getIntPratica(asseverazione.getIntPraticaId());
Territorio territorio = territorioLocalService.getTerritorio(intPratica.getTerritorioId());
@ -493,8 +491,8 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
@Override
public void concludiAsseverazioniExpired(long dettPraticaId) throws IOException, SystemException, PortalException {
List<Asseverazione> asseverazioni = findByDettPratica_InEsito(dettPraticaId,
new String[] { AsseverazioniUtil.STATO_ASSEGNATA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
List<Asseverazione> asseverazioni = findByDettPratica_Esito(dettPraticaId, AsseverazioniUtil.STATO_ASSEGNATA,
QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
for (Asseverazione asseverazione : asseverazioni) {
cambioStatoAsseverazione(asseverazione.getUserId(), asseverazione.getAsseverazioneId(),
AsseverazioniUtil.STATO_EXPIRED);
@ -578,43 +576,17 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
}
@Override
public List<Asseverazione> findByIntPratica(long intPraticaId, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
public int countByCodiceFiscale_Esito(String codiceFiscale, String esito) throws SystemException {
return asseverazionePersistence.findByIntPratica(intPraticaId, start, end, orderByComparator);
return asseverazionePersistence.countByCodiceFiscale_InEsito(codiceFiscale, esito);
}
@Override
public List<Asseverazione> findByDettPratica(long dettPraticaId, int start, int end,
public List<Asseverazione> findByCodiceFiscale_Esito(String codiceFiscale, String esito, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByDettPratica(dettPraticaId, start, end, orderByComparator);
}
@Override
public int countByIntPratica(long intPraticaId) throws SystemException {
return asseverazionePersistence.countByIntPratica(intPraticaId);
}
@Override
public int countByDettPratica(long dettPraticaId) throws SystemException {
return asseverazionePersistence.countByDettPratica(dettPraticaId);
}
@Override
public List<Asseverazione> findByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale, start, end,
orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale) throws SystemException {
return asseverazionePersistence.countByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale);
return asseverazionePersistence
.findByCodiceFiscale_InEsito(codiceFiscale, esito, start, end, orderByComparator);
}
@Override
@ -626,59 +598,32 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
}
@Override
public int countByCodiceFiscale_InEsito(String codiceFiscale, String[] esiti) throws SystemException {
return asseverazionePersistence.countByCodiceFiscale_InEsito(codiceFiscale, esiti);
}
@Override
public List<Asseverazione> findByIntPratica_CodiceFiscale_InEsito(long intPraticaId, String codiceFiscale,
String[] esiti, int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByIntPratica_CodiceFiscale_InEsito(intPraticaId, codiceFiscale, esiti,
start, end, orderByComparator);
}
@Override
public List<Asseverazione> findByDettPratica_CodiceFiscale_InEsito(long dettPraticaId, String codiceFiscale,
String[] esiti, int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByDettPratica_CodiceFiscale_InEsito(dettPraticaId, codiceFiscale, esiti,
start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale_InEsito(long intPraticaId, String codiceFiscale, String[] esiti)
throws SystemException {
public List<Asseverazione> findByDettPratica(long dettPraticaId, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.countByIntPratica_CodiceFiscale_InEsito(intPraticaId, codiceFiscale, esiti);
return asseverazionePersistence.findByDettPratica(dettPraticaId, start, end, orderByComparator);
}
@Override
public int countByDettPratica_CodiceFiscale_InEsito(long dettPraticaId, String codiceFiscale, String[] esiti)
public int countByDettPratica_CodiceFiscale_Esito(long dettPraticaId, String codiceFiscale, String esito)
throws SystemException {
return asseverazionePersistence.countByIntPratica_CodiceFiscale_InEsito(dettPraticaId, codiceFiscale, esiti);
return asseverazionePersistence.countByDettPratica_CodiceFiscale_InEsito(dettPraticaId, codiceFiscale, esito);
}
@Override
public List<Asseverazione> findByIntPratica_InEsito(long intPraticaId, String[] esiti, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
public List<Asseverazione> findByDettPratica_CodiceFiscale_Esito(long dettPraticaId, String codiceFiscale,
String esito, int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByIntPratica_InEsito(intPraticaId, esiti, start, end, orderByComparator);
}
@Override
public int countByIntPratica_InEsito(long intPraticaId, String[] esiti) throws SystemException {
return asseverazionePersistence.countByIntPratica_InEsito(intPraticaId, esiti);
return asseverazionePersistence.findByDettPratica_CodiceFiscale_InEsito(dettPraticaId, codiceFiscale, esito,
start, end, orderByComparator);
}
@Override
public List<Asseverazione> findByDettPratica_InEsito(long dettPraticaId, String[] esiti, int start, int end,
public List<Asseverazione> findByDettPratica_Esito(long dettPraticaId, String esito, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByDettPratica_InEsito(dettPraticaId, esiti, start, end, orderByComparator);
return asseverazionePersistence.findByDettPratica_InEsito(dettPraticaId, esito, start, end, orderByComparator);
}
@Override
@ -688,64 +633,36 @@ public class AsseverazioneLocalServiceImpl extends AsseverazioneLocalServiceBase
}
@Override
public List<Asseverazione> findByCodiceFiscale_Tipologia_InEsito(String codiceFiscale, String tipologia,
String[] esiti, int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByCodiceFiscale_Tipologia_InEsito(codiceFiscale, tipologia, esiti, start,
end, orderByComparator);
}
@Override
public int countByCodiceFiscale_Tipologia_InEsito(String codiceFiscale, String tipologia, String[] esiti)
throws SystemException {
return asseverazionePersistence.countByCodiceFiscale_Tipologia_InEsito(codiceFiscale, tipologia, esiti);
}
@Override
public List<Asseverazione> findByIntPratica_CodiceFiscale_Tipologia_InEsito(long intPraticaId,
String codiceFiscale, String tipologia, String[] esiti, int start, int end,
public List<Asseverazione> findByDettPratica_InEsito(long dettPraticaId, String[] esiti, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId, codiceFiscale,
tipologia, esiti, start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale_Tipologia_InEsito(long intPraticaId, String codiceFiscale,
String tipologia, String[] esiti) throws SystemException {
return asseverazionePersistence.countByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId, codiceFiscale,
tipologia, esiti);
return asseverazionePersistence.findByDettPratica_InEsito(dettPraticaId, esiti, start, end, orderByComparator);
}
@Override
public List<Asseverazione> findByIntPratica_Tipologia_InEsito(long intPraticaId, String tipologia, String[] esiti,
public List<Asseverazione> findByDettPratica_Tipologia_Esito(long dettPraticaId, String tipologia, String esito,
int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByIntPratica_Tipologia_InEsito(intPraticaId, tipologia, esiti, start, end,
orderByComparator);
return asseverazionePersistence.findByDettPratica_Tipologia_InEsito(dettPraticaId, tipologia, esito, start,
end, orderByComparator);
}
@Override
public List<Asseverazione> findByDettPratica_Tipologia_InEsito(long dettPraticaId, String tipologia,
String[] esiti, int start, int end, OrderByComparator orderByComparator) throws SystemException {
public List<Asseverazione> findByIntPratica_CodiceFiscale_Esito(long intPraticaId, String codiceFiscale,
String esito, int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.findByDettPratica_Tipologia_InEsito(dettPraticaId, tipologia, esiti, start,
end, orderByComparator);
return asseverazionePersistence.findByIntPratica_CodiceFiscale_InEsito(intPraticaId, codiceFiscale, esito,
start, end, orderByComparator);
}
@Override
public int countByIntPratica_Tipologia_InEsito(long intPraticaId, String tipologia, String[] esiti)
throws SystemException {
public int countByIntPratica_Esito(long intPraticaId, String esito) throws SystemException {
return asseverazionePersistence.countByIntPratica_Tipologia_InEsito(intPraticaId, tipologia, esiti);
return asseverazionePersistence.countByIntPratica_InEsito(intPraticaId, esito);
}
@Override
public int countByDettPratica_Tipologia_InEsito(long dettPraticaId, String tipologia, String[] esiti)
throws SystemException {
public List<Asseverazione> findByIntPratica_Esito(long intPraticaId, String esito, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return asseverazionePersistence.countByDettPratica_Tipologia_InEsito(dettPraticaId, tipologia, esiti);
return asseverazionePersistence.findByIntPratica_InEsito(intPraticaId, esito, start, end, orderByComparator);
}
}

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

@ -9,8 +9,8 @@
package it.tref.liferay.portos.bo.service.impl;
import it.tref.liferay.portos.bo.model.Asseverazione;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.service.base.AsseverazioneServiceBaseImpl;
import it.tref.liferay.portos.bo.util.AsseverazioniUtil;
import java.io.IOException;
import java.util.List;
@ -46,7 +46,8 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
public void cambioStatoAsseverazione(long asseverazioneId, String stato) throws IOException, SystemException,
PortalException {
if (AsseverazioniUtil.hasCambioStatoAsseverazione(getUserId(), asseverazioneId)) {
Asseverazione asseverazione = asseverazioneLocalService.getAsseverazione(asseverazioneId);
if (asseverazione.hasCambioStatoAsseverazione(getUserId())) {
asseverazioneLocalService.cambioStatoAsseverazione(getUserId(), asseverazioneId, stato);
} else {
throw new SystemException("annulla-asseverazione-non-possibile");
@ -57,7 +58,8 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
public void cambioStatoAsseverazioni(long dettPraticaId, String stato) throws IOException, SystemException,
PrincipalException, PortalException {
if (AsseverazioniUtil.hasRichiediAsseverazioni(getUserId(), dettPraticaId)) {
DettPratica dettPratica = dettPraticaLocalService.getDettPratica(dettPraticaId);
if (dettPratica.hasRichiediAsseverazioni(getUserId())) {
asseverazioneLocalService.cambioStatoAsseverazioni(dettPraticaId, stato);
} else {
throw new SystemException("annulla-asseverazione-non-possibile");
@ -68,7 +70,8 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
public void richiediAsseverazioni(long dettPraticaId, ServiceContext serviceContext) throws PrincipalException,
PortalException, SystemException {
if (AsseverazioniUtil.hasRichiediAsseverazioni(getUserId(), dettPraticaId)) {
DettPratica dettPratica = dettPraticaLocalService.getDettPratica(dettPraticaId);
if (dettPratica.hasRichiediAsseverazioni(getUserId())) {
asseverazioneLocalService.richiediAsseverazioni(dettPraticaId, serviceContext);
} else {
throw new SystemException("richiedi-asseverazione-non-possibile");
@ -78,7 +81,8 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
@Override
public void resetAsseverazione(long dettPraticaId, long asseverazioneId) throws PortalException, SystemException {
if (AsseverazioniUtil.hasAnnullaAsseverazioni(getUserId(), dettPraticaId)) {
DettPratica dettPratica = dettPraticaLocalService.getDettPratica(dettPraticaId);
if (dettPratica.hasAnnullaAsseverazioni(getUserId())) {
asseverazioneLocalService.resetAsseverazione(asseverazioneId);
} else {
throw new SystemException("reset-asseverazione-non-possibile");
@ -89,7 +93,8 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
public void annullaAsseverazioni(long dettPraticaId) throws IOException, PrincipalException, PortalException,
SystemException {
if (AsseverazioniUtil.hasAnnullaAsseverazioni(getUserId(), dettPraticaId)) {
DettPratica dettPratica = dettPraticaLocalService.getDettPratica(dettPraticaId);
if (dettPratica.hasAnnullaAsseverazioni(getUserId())) {
asseverazioneLocalService.annullaAsseverazioni(dettPraticaId);
} else {
throw new SystemException("annulla-asseverazione-non-possibile");
@ -99,7 +104,8 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
@Override
public void rimuoviFileAsseverazione(long asseverazioneId) throws SystemException, PortalException {
if (AsseverazioniUtil.hasGestisciFileAsseverazione(getUserId(), asseverazioneId)) {
Asseverazione asseverazione = asseverazioneLocalService.getAsseverazione(asseverazioneId);
if (asseverazione.hasGestisciFileAsseverazione(getUserId())) {
asseverazioneLocalService.rimuoviFileAsseverazione(asseverazioneId);
} else {
throw new SystemException("annulla-asseverazione-non-possibile");
@ -110,7 +116,8 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
public FileEntry allegaFileAsseverazione(long asseverazioneId, byte[] content, String sourceFileName,
ServiceContext serviceContext) throws SystemException, PortalException {
if (AsseverazioniUtil.hasGestisciFileAsseverazione(getUserId(), asseverazioneId)) {
Asseverazione asseverazione = asseverazioneLocalService.getAsseverazione(asseverazioneId);
if (asseverazione.hasGestisciFileAsseverazione(getUserId())) {
return asseverazioneLocalService.allegaFileAsseverazione(asseverazioneId, content, sourceFileName,
serviceContext);
} else {
@ -119,43 +126,16 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
}
@Override
public List<Asseverazione> findByIntPratica(long intPraticaId, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
public int countByCodiceFiscale_Esito(String codiceFiscale, String esito) throws SystemException {
return asseverazioneLocalService.findByIntPratica(intPraticaId, start, end, orderByComparator);
return asseverazioneLocalService.countByCodiceFiscale_Esito(codiceFiscale, esito);
}
@Override
public List<Asseverazione> findByDettPratica(long dettPraticaId, int start, int end,
public List<Asseverazione> findByCodiceFiscale_Esito(String codiceFiscale, String esito, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return asseverazioneLocalService.findByDettPratica(dettPraticaId, start, end, orderByComparator);
}
@Override
public int countByIntPratica(long intPraticaId) throws SystemException {
return asseverazioneLocalService.countByIntPratica(intPraticaId);
}
@Override
public int countByDettPratica(long dettPraticaId) throws SystemException {
return asseverazioneLocalService.countByDettPratica(dettPraticaId);
}
@Override
public List<Asseverazione> findByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale, int start,
int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazioneLocalService.findByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale, start, end,
orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale(long intPraticaId, String codiceFiscale) throws SystemException {
return asseverazioneLocalService.countByIntPratica_CodiceFiscale(intPraticaId, codiceFiscale);
return asseverazioneLocalService.findByCodiceFiscale_Esito(codiceFiscale, esito, start, end, orderByComparator);
}
@Override
@ -167,52 +147,25 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
}
@Override
public int countByCodiceFiscale_InEsito(String codiceFiscale, String[] esiti) throws SystemException {
return asseverazioneLocalService.countByCodiceFiscale_InEsito(codiceFiscale, esiti);
}
@Override
public List<Asseverazione> findByIntPratica_CodiceFiscale_InEsito(long intPraticaId, String codiceFiscale,
String[] esiti, int start, int end, OrderByComparator orderByComparator) throws SystemException {
public List<Asseverazione> findByDettPratica_CodiceFiscale_Esito(long dettPraticaId, String codiceFiscale,
String esito, int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazioneLocalService.findByIntPratica_CodiceFiscale_InEsito(intPraticaId, codiceFiscale, esiti,
return asseverazioneLocalService.findByDettPratica_CodiceFiscale_Esito(dettPraticaId, codiceFiscale, esito,
start, end, orderByComparator);
}
@Override
public List<Asseverazione> findByDettPratica_CodiceFiscale_InEsito(long dettPraticaId, String codiceFiscale,
String[] esiti, int start, int end, OrderByComparator orderByComparator) throws SystemException {
public List<Asseverazione> findByIntPratica_CodiceFiscale_Esito(long intPraticaId, String codiceFiscale,
String esito, int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazioneLocalService.findByDettPratica_CodiceFiscale_InEsito(dettPraticaId, codiceFiscale, esiti,
return asseverazioneLocalService.findByIntPratica_CodiceFiscale_Esito(intPraticaId, codiceFiscale, esito,
start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale_InEsito(long intPraticaId, String codiceFiscale, String[] esiti)
throws SystemException {
return asseverazioneLocalService.countByIntPratica_CodiceFiscale_InEsito(intPraticaId, codiceFiscale, esiti);
}
@Override
public int countByDettPratica_CodiceFiscale_InEsito(long dettPraticaId, String codiceFiscale, String[] esiti)
throws SystemException {
return asseverazioneLocalService.countByDettPratica_CodiceFiscale_InEsito(dettPraticaId, codiceFiscale, esiti);
}
@Override
public List<Asseverazione> findByIntPratica_InEsito(long intPraticaId, String[] esiti, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return asseverazioneLocalService.findByIntPratica_InEsito(intPraticaId, esiti, start, end, orderByComparator);
}
@Override
public int countByIntPratica_InEsito(long intPraticaId, String[] esiti) throws SystemException {
public int countByDettPratica_InEsito(long dettPraticaId, String[] esiti) throws SystemException {
return asseverazioneLocalService.countByIntPratica_InEsito(intPraticaId, esiti);
return asseverazioneLocalService.countByDettPratica_InEsito(dettPraticaId, esiti);
}
@Override
@ -223,70 +176,15 @@ public class AsseverazioneServiceImpl extends AsseverazioneServiceBaseImpl {
}
@Override
public int countByDettPratica_InEsito(long dettPraticaId, String[] esiti) throws SystemException {
return asseverazioneLocalService.countByDettPratica_InEsito(dettPraticaId, esiti);
}
@Override
public List<Asseverazione> findByCodiceFiscale_Tipologia_InEsito(String codiceFiscale, String tipologia,
String[] esiti, int start, int end, OrderByComparator orderByComparator) throws SystemException {
public int countByIntPratica_Esito(long intPraticaId, String esito) throws SystemException {
return asseverazioneLocalService.findByCodiceFiscale_Tipologia_InEsito(codiceFiscale, tipologia, esiti, start,
end, orderByComparator);
return asseverazioneLocalService.countByIntPratica_Esito(intPraticaId, esito);
}
@Override
public int countByCodiceFiscale_Tipologia_InEsito(String codiceFiscale, String tipologia, String[] esiti)
throws SystemException {
return asseverazioneLocalService.countByCodiceFiscale_Tipologia_InEsito(codiceFiscale, tipologia, esiti);
}
@Override
public List<Asseverazione> findByIntPratica_CodiceFiscale_Tipologia_InEsito(long intPraticaId,
String codiceFiscale, String tipologia, String[] esiti, int start, int end,
public List<Asseverazione> findByIntPratica_Esito(long intPraticaId, String esito, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return asseverazioneLocalService.findByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId, codiceFiscale,
tipologia, esiti, start, end, orderByComparator);
}
@Override
public int countByIntPratica_CodiceFiscale_Tipologia_InEsito(long intPraticaId, String codiceFiscale,
String tipologia, String[] esiti) throws SystemException {
return asseverazioneLocalService.countByIntPratica_CodiceFiscale_Tipologia_InEsito(intPraticaId, codiceFiscale,
tipologia, esiti);
}
@Override
public List<Asseverazione> findByIntPratica_Tipologia_InEsito(long intPraticaId, String tipologia, String[] esiti,
int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazioneLocalService.findByIntPratica_Tipologia_InEsito(intPraticaId, tipologia, esiti, start, end,
orderByComparator);
}
@Override
public List<Asseverazione> findByDettPratica_Tipologia_InEsito(long dettPraticaId, String tipologia,
String[] esiti, int start, int end, OrderByComparator orderByComparator) throws SystemException {
return asseverazioneLocalService.findByDettPratica_Tipologia_InEsito(dettPraticaId, tipologia, esiti, start,
end, orderByComparator);
}
@Override
public int countByIntPratica_Tipologia_InEsito(long intPraticaId, String tipologia, String[] esiti)
throws SystemException {
return asseverazioneLocalService.countByIntPratica_Tipologia_InEsito(intPraticaId, tipologia, esiti);
}
@Override
public int countByDettPratica_Tipologia_InEsito(long dettPraticaId, String tipologia, String[] esiti)
throws SystemException {
return asseverazioneLocalService.countByDettPratica_Tipologia_InEsito(dettPraticaId, tipologia, esiti);
return asseverazioneLocalService.findByIntPratica_Esito(intPraticaId, esito, start, end, orderByComparator);
}
}

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

@ -14,7 +14,6 @@ import it.tref.liferay.portos.bo.service.base.AvvisoLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.PraticaUtil;
import it.tref.liferay.portos.bo.util.ProtocollazioneUtil;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
@ -98,7 +97,7 @@ public class AvvisoLocalServiceImpl extends AvvisoLocalServiceBaseImpl {
String statoPratica = intPratica.getStatoPratica();
if (AvvisoUtil.isStatoPraticaValidoNuovoAvviso(statoPratica)) {
if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
if (intPratica.isAutorizzazione()) {
if (StatoPraticaConstants.CONFORME.equalsIgnoreCase(statoPratica)) {
statoPratica = StatoPraticaConstants.AUTORIZZATA;
} else if (StatoPraticaConstants.NON_CONFORME.equalsIgnoreCase(statoPratica)) {

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

@ -17,7 +17,6 @@ import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.service.base.CollaudoLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.shared.util.PagamentoConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.MailUtil;
import it.tref.liferay.portos.bo.util.PagamentiCommonUtil;
import it.tref.liferay.portos.bo.util.PagamentiUtil;
@ -231,10 +230,10 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
String[] cc = new String[0];
String[] ccn = new String[0];
String tipoPratica = StringPool.BLANK;
long intPraticaId = collaudo.getIntPraticaId();
if (AzioniPraticheUtil.isDeposito(intPraticaId)) {
IntPratica intPratica = intPraticaLocalService.getIntPratica(collaudo.getIntPraticaId());
if (intPratica.isDeposito()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01");
} else if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) {
} else if (intPratica.isAutorizzazione()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02");
}
JSONObject templateVariables = JSONFactoryUtil.createJSONObject();

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

@ -14,7 +14,6 @@ import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.service.base.ComunicazioneLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.shared.util.FascicoloURLUtil;
import it.tref.liferay.portos.bo.shared.util.PortletKeys;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.MailUtil;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
@ -57,8 +56,9 @@ public class ComunicazioneLocalServiceImpl extends ComunicazioneLocalServiceBase
*/
@Override
public Comunicazione addComunicazione(long userId, long intPraticaId, String domanda, ServiceContext serviceContext)
throws SystemException, PortalException {
public Comunicazione
addComunicazione(long userId, long intPraticaId, String domanda, ServiceContext serviceContext)
throws SystemException, PortalException {
Comunicazione comunicazione = comunicazionePersistence.create(counterLocalService.increment(Comunicazione.class
.getName()));
@ -160,10 +160,10 @@ public class ComunicazioneLocalServiceImpl extends ComunicazioneLocalServiceBase
String[] cc = new String[0];
String[] ccn = new String[0];
String tipoPratica = StringPool.BLANK;
long intPraticaId = comunicazione.getIntPraticaId();
if (AzioniPraticheUtil.isDeposito(intPraticaId)) {
IntPratica intPratica = intPraticaLocalService.getIntPratica(comunicazione.getIntPraticaId());
if (intPratica.isDeposito()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01");
} else if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) {
} else if (intPratica.isAutorizzazione()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02");
}
JSONObject templateVariables = JSONFactoryUtil.createJSONObject();

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

@ -21,7 +21,6 @@ import it.tref.liferay.portos.bo.shared.util.Constants;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.GestioneFirmeUtil;
import it.tref.liferay.portos.bo.util.PraticaUtil;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
@ -385,7 +384,8 @@ public class ControlloPraticaLocalServiceImpl extends ControlloPraticaLocalServi
ControlloPratica controlloPratica = getControlloPratica(controlloPraticaId);
Map<String, Serializable> parametri = WorkflowUtil.getFormParameters(controlloPratica);
String esitoScelta = (String) parametri.get("esito");
if (AzioniPraticheUtil.isAutorizzazione(controlloPratica.getIntPraticaId())) {
IntPratica intPratica = intPraticaLocalService.getIntPratica(controlloPratica.getIntPraticaId());
if (intPratica.isAutorizzazione()) {
if (StatoPraticaConstants.CONFORME.equalsIgnoreCase(esitoScelta)) {
esitoScelta = StatoPraticaConstants.AUTORIZZATA;
} else if (StatoPraticaConstants.NON_CONFORME.equals(esitoScelta)) {

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

@ -8,12 +8,12 @@
package it.tref.liferay.portos.bo.service.impl;
import it.mwg.sismica.bo.shared.util.AsseverazioniUtil;
import it.tref.liferay.portos.bo.model.Delega;
import it.tref.liferay.portos.bo.service.base.DelegaLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.shared.bean.FirmeBean;
import it.tref.liferay.portos.bo.shared.util.FirmeUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.AsseverazioniUtil;
import it.tref.liferay.portos.bo.util.DelegheUtil;
import it.tref.liferay.portos.report.shared.constants.ReportConstants;
import it.tref.liferay.portos.report.shared.dto.ReportDto;

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

@ -8,6 +8,7 @@
package it.tref.liferay.portos.bo.service.impl;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.mwg.sismica.bo.util.DomandaUtil;
import it.tref.liferay.portos.bo.NoSuchDettPraticaException;
import it.tref.liferay.portos.bo.model.Asseverazione;
@ -23,10 +24,8 @@ import it.tref.liferay.portos.bo.shared.util.PagamentoConstants;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.MailUtil;
import it.tref.liferay.portos.bo.util.PagamentiUtil;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
import java.io.IOException;
@ -1318,10 +1317,10 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
String[] cc = new String[0];
String[] ccn = new String[0];
String tipoPratica = StringPool.BLANK;
long intPraticaId = dettPratica.getIntPraticaId();
if (AzioniPraticheUtil.isDeposito(intPraticaId)) {
IntPratica intPratica = intPraticaLocalService.getIntPratica(dettPratica.getIntPraticaId());
if (intPratica.isDeposito()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01");
} else if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) {
} else if (intPratica.isAutorizzazione()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02");
}
JSONObject templateVariables = JSONFactoryUtil.createJSONObject();

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

@ -14,7 +14,6 @@ import it.tref.liferay.portos.bo.service.base.DettPraticaServiceBaseImpl;
import it.tref.liferay.portos.bo.service.permission.DettPraticaEntryPermission;
import it.tref.liferay.portos.bo.service.permission.DettPraticaPermission;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.util.DelegheUtil;
import java.io.IOException;
import java.io.Serializable;
@ -176,7 +175,8 @@ public class DettPraticaServiceImpl extends DettPraticaServiceBaseImpl {
throws PortalException, SystemException {
DettPratica dettPratica = null;
if (!disabledSubmit && DelegheUtil.hasDelegaCompilazioneDomanda(userId, dettPraticaId)) {
if (!disabledSubmit
&& dettPraticaLocalService.getDettPratica(dettPraticaId).hasDelegaCompilazioneDomanda(userId)) {
if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(tipoIntegrazione)) {
dettPratica = dettPraticaLocalService.updateDettPraticaDatiIntegrazione(userId, dettPraticaId,
intPraticaId, tipoIntegrazione, destinazione, descLongIntervento, collaudoStatico,
@ -244,7 +244,8 @@ public class DettPraticaServiceImpl extends DettPraticaServiceBaseImpl {
tcNoOpereEscavazione);
}
}
if (!geoDisabledSubmit && DelegheUtil.hasDelegaCompilazioneSezioneGeologica(userId, dettPraticaId)) {
if (!geoDisabledSubmit
&& dettPraticaLocalService.getDettPratica(dettPraticaId).hasDelegaCompilazioneSezioneGeologica(userId)) {
dettPratica = dettPraticaLocalService.updateDettPraticaGeologo(userId, dettPraticaId, intPraticaId,
geoClasseIndagine, geoCategoriaSottosuolo, geoCategoriaTopografica, geoConsolidamento,
geoPericolositaGeologica, geoRischioGeomorfologicoPai, geoPericolositaIdraulicaPai,

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

@ -17,7 +17,6 @@ import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.service.base.FineLavoriLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.shared.util.PagamentoConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.MailUtil;
import it.tref.liferay.portos.bo.util.PagamentiCommonUtil;
import it.tref.liferay.portos.bo.util.PagamentiUtil;
@ -251,10 +250,10 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
String[] cc = new String[0];
String[] ccn = new String[0];
String tipoPratica = StringPool.BLANK;
long intPraticaId = fineLavori.getIntPraticaId();
if (AzioniPraticheUtil.isDeposito(intPraticaId)) {
IntPratica intPratica = intPraticaLocalService.getIntPratica(fineLavori.getIntPraticaId());
if (intPratica.isDeposito()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01");
} else if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) {
} else if (intPratica.isAutorizzazione()) {
tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02");
}
JSONObject templateVariables = JSONFactoryUtil.createJSONObject();

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

@ -8,7 +8,10 @@
package it.tref.liferay.portos.bo.service.impl;
import it.mwg.sismica.bo.search.IntPraticaAdvancedSearch;
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil;
import it.mwg.sismica.bo.shared.util.UnitaOperativeUtil;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.NoSuchIntPraticaException;
import it.tref.liferay.portos.bo.model.AllegatoManuale;
import it.tref.liferay.portos.bo.model.Avviso;
@ -32,11 +35,8 @@ import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants;
import it.tref.liferay.portos.bo.shared.util.FirmeUtil;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.Constants;
import it.tref.liferay.portos.bo.util.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.util.PraticaUtil;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
import it.tref.liferay.portos.kaleo.service.FormLogLocalServiceUtil;
import it.tref.liferay.portos.report.shared.constants.ReportConstants;
@ -58,6 +58,8 @@ import java.util.List;
import java.util.Locale;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang.StringUtils;
@ -78,6 +80,7 @@ import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.repository.model.FileEntry;
import com.liferay.portal.kernel.repository.model.Folder;
import com.liferay.portal.kernel.search.Hits;
import com.liferay.portal.kernel.search.Indexable;
import com.liferay.portal.kernel.search.IndexableType;
import com.liferay.portal.kernel.search.Indexer;
@ -482,9 +485,9 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
intPratica.setStatus(status);
} else if (status == WorkflowConstants.STATUS_APPROVED) {
intPratica.setStatus(status);
if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) {
if (intPratica.isAutorizzazione()) {
intPratica.setStatoPratica(StatoPraticaConstants.AUTORIZZATA);
} else if (AzioniPraticheUtil.isDeposito(intPraticaId)) {
} else if (intPratica.isDeposito()) {
intPratica.setStatoPratica(StatoPraticaConstants.CONFORME);
} else {
// SANATORIA (da capire)
@ -496,7 +499,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
} else if (status == WorkflowConstants.STATUS_DENIED) {
intPratica.setStatus(status);
if (!intPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.NO_PARERE)) {
if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) {
if (intPratica.isAutorizzazione()) {
intPratica.setStatoPratica(StatoPraticaConstants.NON_AUTORIZZATA);
} else {
// SANATORIA (da capire)
@ -981,12 +984,12 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
+ " - "
+ (Validator.isNotNull(territorio.getAgMax()) ? territorio.getAgMax() : StringPool.BLANK));
parameters.put("ag", dettPratica.getAg());
if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) {
if (intPratica.isDeposito()) {
parameters.put("normDpr01", dettPratica.getNormDpr01Dep()
? "<i class='fa fa-check-circle-o txt-green'/>" : "<i class='fa fa-check-circle-o'/>");
parameters.put("normDpr02", dettPratica.getNormDpr01Dep()
? "<i class='fa fa-check-circle-o txt-green'/>" : "<i class='fa fa-check-circle-o'/>");
} else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) {
} else if (intPratica.isAutorizzazione()) {
parameters.put("normDpr01", dettPratica.getNormDpr01Aut()
? "<i class='fa fa-check-circle-o txt-green'/>" : "<i class='fa fa-check-circle-o'/>");
parameters.put("normDpr02", dettPratica.getNormDpr01Aut()
@ -1162,6 +1165,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
return organization;
}
@Override
public boolean hasRichiestaIntegrazioneAttiva(long intPraticaId) {
IntPratica intPratica;
@ -1172,4 +1176,23 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
}
return intPratica.hasRichiestaIntegrazioneAttiva();
}
@Override
public Hits searchAltriProgetti(HttpServletRequest request, User user, int start, int end) {
return IntPraticaAdvancedSearch.searchAltriProgetti(request, user, start, end);
}
@Override
public Hits searchArchivioProgetti(HttpServletRequest request, User user, int start, int end) {
return IntPraticaAdvancedSearch.searchArchivioProgetti(request, user, start, end);
}
@Override
public Hits searchMieiProgetti(HttpServletRequest request, User user, int start, int end) {
return IntPraticaAdvancedSearch.searchMieiProgetti(request, user, start, end);
}
}

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

@ -8,13 +8,12 @@
package it.tref.liferay.portos.bo.service.impl;
import it.mwg.sismica.bo.shared.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.base.IntPraticaServiceBaseImpl;
import it.tref.liferay.portos.bo.service.permission.IntPraticaPermission;
import it.tref.liferay.portos.bo.shared.util.ActionKeys;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.ValidazionePraticaUtil;
import java.io.IOException;
import java.util.List;
@ -55,7 +54,7 @@ public class IntPraticaServiceImpl extends IntPraticaServiceBaseImpl {
public void deleteIntPratica(long intPraticaId, long userId) throws PortalException, SystemException {
IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId);
if (ValidazionePraticaUtil.canDeletePratica(intPraticaId, userId)) {
if (intPratica.canDeletePratica(userId)) {
intPraticaLocalService.deleteIntPratica(intPratica);
} else {
throw new SystemException("impossibile cancellare la int pratica");
@ -143,8 +142,8 @@ public class IntPraticaServiceImpl extends IntPraticaServiceBaseImpl {
@Override
public void completeAnnullamento(long intPraticaId, long userId) throws PortalException, SystemException {
if (!AzioniPraticheUtil.isAllowedAction(intPraticaId, AzioniPraticheUtil.ACTION_ANNULLA)
|| !ValidazionePraticaUtil.praticaCanAbort(intPraticaId, userId)) {
IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId);
if (!intPratica.isAllowedAction(AzioniPraticheUtil.ACTION_ANNULLA) || !intPratica.praticaCanAbort(userId)) {
throw new SystemException("error.annullamento.add.file.not.allowed");
}
intPraticaLocalService.completeAnnullamento(intPraticaId);

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

@ -8,15 +8,15 @@
package it.tref.liferay.portos.bo.service.impl;
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.NoSuchDocPraticaException;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.service.base.SoggettoLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.DocumentiPraticaUtil;
import it.tref.liferay.portos.bo.util.SoggettiUtil;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import java.util.Collections;
import java.util.Date;

7162
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java

File diff soppresso perché troppo grande Load Diff

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/workflow/ControlloPraticaWorkflowHandler.java

@ -1,8 +1,8 @@
package it.tref.liferay.portos.bo.workflow;
import it.mwg.sismica.bo.shared.util.WorkflowConstants;
import it.tref.liferay.portos.bo.model.ControlloPratica;
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import java.io.Serializable;
import java.util.ArrayList;

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
##
build.namespace=portos_bo
build.number=3373
build.date=1632402210917
build.number=3429
build.date=1632908453878
build.auto.upgrade=true
##

74
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/amministrazione/tabs/territori/edit.jsp

@ -1,15 +1,13 @@
<%-- LIFERAY_CRUD_GENERATOR_DO_NOT_GENERATE --%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.model.Organization"%>
<%@page import="com.liferay.portal.service.OrganizationLocalServiceUtil"%>
<%@page import="com.liferay.portal.service.GroupLocalServiceUtil"%>
<%@ include file="/html/amministrazione/init.jsp"%>
<%
long territorioId = ParamUtil.getLong(renderRequest, "territorioId");
Territorio territorio = (Territorio) request
.getAttribute(it.tref.liferay.portos.bo.util.WebKeys.PORTOS_AMM_TERRITORIO);
.getAttribute(it.tref.liferay.portos.bo.shared.util.WebKeys.PORTOS_AMM_TERRITORIO);
String title = null;
if (territorio == null) {
if (territorioId > 0) {
@ -24,90 +22,70 @@
title = LanguageUtil.get(pageContext, "edit-territorio");
}
%>
<liferay-portlet:renderURL var="redirect">
<liferay-portlet:param name="tabs1" value="territori" />
<liferay-portlet:param name="mvcPath" value="/html/amministrazione/view.jsp" />
</liferay-portlet:renderURL>
<liferay-ui:header backURL="<%=redirect%>" localizeTitle="false" title="<%=title%>" />
<liferay-ui:header backURL="<%= redirect %>" localizeTitle="false" title="<%= title %>" />
<liferay-portlet:actionURL name="saveTerritorio" var="saveterritorioURL" />
<aui:form action="<%=saveterritorioURL%>" method="post" name="fm">
<aui:model-context bean="<%=territorio%>" model="<%=Territorio.class%>" />
<aui:form action="<%= saveterritorioURL %>" method="post" name="fm">
<aui:model-context bean="<%= territorio %>" model="<%= Territorio.class %>" />
<aui:input name="territorioId" type="hidden" />
<aui:select name="groupId" label="territorio-edit-label-organizzazione">
<%
List<Organization> organizations = OrganizationLocalServiceUtil.getOrganizations(
QueryUtil.ALL_POS, QueryUtil.ALL_POS);
for (Organization organization : organizations) {
List<Organization> organizations = OrganizationLocalServiceUtil
.getOrganizations(QueryUtil.ALL_POS, QueryUtil.ALL_POS);
for (Organization organization : organizations) {
%>
<aui:option label="<%=organization.getName()%>"
value="<%=GroupLocalServiceUtil.getOrganizationGroup(organization.getCompanyId(),
organization.getOrganizationId()).getGroupId()%>" />
<aui:option label="<%= organization.getName() %>"
value="<%= GroupLocalServiceUtil.getOrganizationGroup(organization.getCompanyId(),
organization.getOrganizationId()).getGroupId() %>" />
<%
}
}
%>
</aui:select>
<aui:select name="comuneId" label="territorio-edit-label-comune">
<%
List<Comune> listComuni = ComuneServiceUtil.getComunes(QueryUtil.ALL_POS,
QueryUtil.ALL_POS);
for (Comune comune : listComuni) {
List<Comune> listComuni = ComuneServiceUtil.getComunes(QueryUtil.ALL_POS, QueryUtil.ALL_POS);
for (Comune comune : listComuni) {
%>
<aui:option label="<%=comune.getDenominazione()%>" value="<%=comune.getComuneId()%>" />
<aui:option label="<%= comune.getDenominazione() %>" value="<%= comune.getComuneId() %>" />
<%
}
}
%>
</aui:select>
<aui:select name="zona" label="territorio-edit-label-zona">
<aui:option label="<%=Constants.ZONA_1%>" value="<%=Constants.ZONA_1%>" />
<aui:option label="<%=Constants.ZONA_2%>" value="<%=Constants.ZONA_2%>" />
<aui:option label="<%=Constants.ZONA_3%>" value="<%=Constants.ZONA_3%>" />
<aui:option label="<%=Constants.ZONA_4%>" value="<%=Constants.ZONA_4%>" />
<aui:option label="<%= Constants.ZONA_1 %>" value="<%= Constants.ZONA_1 %>" />
<aui:option label="<%= Constants.ZONA_2 %>" value="<%= Constants.ZONA_2 %>" />
<aui:option label="<%= Constants.ZONA_3 %>" value="<%= Constants.ZONA_3 %>" />
<aui:option label="<%= Constants.ZONA_4 %>" value="<%= Constants.ZONA_4 %>" />
</aui:select>
<aui:select name="fascia" label="territorio-edit-label-fascia">
<aui:option label="" value="" />
<aui:option label="<%=Constants.FASCIA_A%>" value="<%=Constants.FASCIA_A%>" />
<aui:option label="<%=Constants.FASCIA_B%>" value="<%=Constants.FASCIA_B%>" />
<aui:option label="<%=Constants.FASCIA_C%>" value="<%=Constants.FASCIA_C%>" />
<aui:option label="<%= Constants.FASCIA_A %>" value="<%= Constants.FASCIA_A %>" />
<aui:option label="<%= Constants.FASCIA_B %>" value="<%= Constants.FASCIA_B %>" />
<aui:option label="<%= Constants.FASCIA_C %>" value="<%= Constants.FASCIA_C %>" />
</aui:select>
<aui:input type="checkbox" name="art61" label="label.admingeniocivile.territorio.art61"
checked="<%=territorio.getArticolo61()%>" />
checked="<%= territorio.getArticolo61() %>" />
<%
request.setAttribute("input_date_time.bean", territorio);
request.setAttribute("input_date_time.bean", territorio);
%>
<aui:field-wrapper label="territorio-edit-label-data-inizio">
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%=application%>">
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%= application %>">
<liferay-util:param name="field" value="dtIni" />
<liferay-util:param name="formName" value="fm" />
</liferay-util:include>
</aui:field-wrapper>
<aui:field-wrapper label="territorio-edit-label-data-fine">
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%=application%>">
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%= application %>">
<liferay-util:param name="field" value="dtFin" />
<liferay-util:param name="formName" value="fm" />
</liferay-util:include>
</aui:field-wrapper>
<aui:input name="agMax" label="territorio-edit-label-ag-max" />
<aui:input name="agMin" label="territorio-edit-label-ag-min" />
<aui:button-row>
<aui:button type="submit" value="save" />
</aui:button-row>
</aui:form>

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/asset/controllopratica/init.jsp

@ -1,11 +1,7 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/html/init.jsp" %>
<%@page import="it.tref.liferay.portos.bo.search.ControlloPraticaAdvancedSearch"%>
<%@page import="javax.portlet.PortletURL"%>
<%
String tabNames = "Tab_MieiTask,Tab_TaskMieiRuoli,Tab_AtriTask";
String tabs1 = ParamUtil.getString(request, "tabs1", StringUtil.split(tabNames)[0]);
%>

253
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/advanced_search.jsp

@ -18,9 +18,8 @@ String istruttoreSelect = ParamUtil.getString(renderRequest, "istruttore");
String uoSelect = ParamUtil.getString(renderRequest, "unitaOperativa");
String geologoSelect = ParamUtil.getString(renderRequest, "geologi");
%>
<liferay-ui:panel title="filters" defaultState="closed"
id='<%= renderResponse.getNamespace() + scopeGroupId + "ricercaSaiPanel" %>' collapsible="true" extended="false"
persistState="true">
<liferay-ui:panel title="filters" defaultState="closed" collapsible="true" extended="false" persistState="true"
id='<%= renderResponse.getNamespace() + scopeGroupId + "ricercaSaiPanel" %>'>
<div class="container-fluid" style="padding: 15px;">
<div class="row">
<div class="col-xs-12 col-md-3">
@ -30,17 +29,18 @@ String geologoSelect = ParamUtil.getString(renderRequest, "geologi");
<aui:select name="tipoProcedura" label="Tipo Pratica">
<aui:option value="-1">Seleziona il tipo di pratica</aui:option>
<%
for (Entry<String, String> procedura : IntPraticaLocalServiceUtil.getTipiProcedure().entrySet()) {
String tipo = procedura.getKey();
String label = procedura.getValue();
String nomeProcedura = LanguageUtil.get(pageContext, "label_procedura_"+tipo) + ") " + label;
if(nomeProcedura.length() > 90)
nomeProcedura = nomeProcedura.substring(0, 90) + "...";
%>
<aui:option value="<%= tipo %>"><%= nomeProcedura %></aui:option>
<%
for (Entry<String, String> procedura : IntPraticaLocalServiceUtil.getTipiProcedure().entrySet()) {
String tipo = procedura.getKey();
String label = procedura.getValue();
String nomeProcedura = LanguageUtil.get(pageContext, "label_procedura_"+tipo) + ") " + label;
if (nomeProcedura.length() > 90) {
nomeProcedura = nomeProcedura.substring(0, 90) + "...";
}
%>
<aui:option value="<%= tipo %>"><%= nomeProcedura %></aui:option>
<%
}
%>
</aui:select>
</div>
</div>
@ -114,12 +114,22 @@ String geologoSelect = ParamUtil.getString(renderRequest, "geologi");
<div class="col-xs-12 col-md-3">
<aui:select name="statoPratica" label="Esito">
<aui:option value="-1">Tutti</aui:option>
<aui:option value="<%= StatoPraticaConstants.AUTORIZZATA %>">Autorizzata</aui:option>
<aui:option value="<%= StatoPraticaConstants.ANNULLATA %>">Annullata</aui:option>
<aui:option value="<%= StatoPraticaConstants.INTEGRAZIONE %>">Integrazione</aui:option>
<aui:option value="<%= StatoPraticaConstants.NO_PARERE %>">Nessun parere</aui:option>
<aui:option value="<%= StatoPraticaConstants.NON_AUTORIZZATA %>">Non autorizzata</aui:option>
<aui:option value="<%= StatoPraticaConstants.PREAVVISO_CONTRARIO %>">Preavviso contrario</aui:option>
<%
for (String esito : new String[] {
StatoPraticaConstants.AUTORIZZATA,
StatoPraticaConstants.ANNULLATA,
StatoPraticaConstants.INTEGRAZIONE,
StatoPraticaConstants.NO_PARERE,
StatoPraticaConstants.NON_AUTORIZZATA,
StatoPraticaConstants.PREAVVISO_CONTRARIO,
StatoPraticaConstants.PERIZIA_SANZIONE,
StatoPraticaConstants.DECRETO_SANZIONE,
}) {
%>
<aui:option value="<%= esito %>" label='<%= "stato-pratica-" + esito %>' />
<%
}
%>
</aui:select>
</div>
</div>
@ -145,126 +155,113 @@ String geologoSelect = ParamUtil.getString(renderRequest, "geologi");
<aui:button type="submit" value="search" />
</div>
</liferay-ui:panel>
<liferay-portlet:resourceURL id="unitaOperative" var="getUnitaOperativeUrl" />
<liferay-portlet:resourceURL id="province" var="getProvinceURL" />
<liferay-portlet:resourceURL id="comuni" var="getComuniURL" />
<liferay-portlet:resourceURL id="istruttore" var="getIstruttoriUrl" />
<liferay-portlet:resourceURL id="geologo" var="getGeologoUrl" />
<aui:script use="aui-io-request,liferay-dynamic-select">
var getUnitaOperative = function(callback) {
A.io.request(
'<%= getUnitaOperativeUrl %>',
{
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
}
);
};
var getUnitaOperative = function (callback) {
A.io.request('<%= getUnitaOperativeUrl %>', {
dataType: 'json',
on: {
success: function () {
callback(this.get('responseData'));
},
},
});
};
var getProvince = function(callback) {
A.io.request(
'<%= getProvinceURL %>',
{
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
}
);
};
var getComuni = function(callback, provinciaId) {
A.io.request(
'<%= getComuniURL %>',
{
data: {
<portlet:namespace />provinciaId: provinciaId
},dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
}
);
};
var getIstruttori = function(callback, uoId) {
A.io.request('<%= getIstruttoriUrl %>', {
data: {
<portlet:namespace />uoId: uoId
var getProvince = function (callback) {
A.io.request('<%= getProvinceURL %>', {
dataType: 'json',
on: {
success: function () {
callback(this.get('responseData'));
},
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
});
};
},
});
};
var getGeologo = function(callback) {
A.io.request('<%= getGeologoUrl %>', {
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
});
};
new Liferay.DynamicSelect(
[
{
select: '<portlet:namespace />provincia',
selectData: getProvince,
selectDesc: 'descLong',
selectId: 'provinciaId',
selectSort: true,
selectVal: '<%= (Validator.isNotNull(provinciaSelect) ? provinciaSelect : "") %>'
},
{
select: '<portlet:namespace />comune',
selectData: getComuni,
selectDesc: 'descLong',
selectId: 'comuneId',
selectSort: true,
selectVal: '<%= (Validator.isNotNull(comuneSelect) ? comuneSelect : "") %>'
var getComuni = function (callback, provinciaId) {
A.io.request('<%= getComuniURL %>', {
data: {
<portlet:namespace />provinciaId: provinciaId,
},
dataType: 'json',
on: {
success: function () {
callback(this.get('responseData'));
},
{
select: '<portlet:namespace />unitaOperativa',
selectData: getUnitaOperative,
selectDesc: 'descLong',
selectId: 'uoId',
selectSort: false,
selectVal: '<%= (Validator.isNotNull(uoSelect) ? uoSelect : "") %>'
},
});
};
var getIstruttori = function (callback, uoId) {
A.io.request('<%= getIstruttoriUrl %>', {
data: {
<portlet:namespace />uoId: uoId,
},
dataType: 'json',
on: {
success: function () {
callback(this.get('responseData'));
},
{
select: '<portlet:namespace />istruttore',
selectData: getIstruttori,
selectDesc: 'descLong',
selectId: 'istruttoreId',
selectSort: true,
selectVal: '<%= (Validator.isNotNull(istruttoreSelect) ? istruttoreSelect : "") %>'
},
});
};
var getGeologo = function (callback) {
A.io.request('<%= getGeologoUrl %>', {
dataType: 'json',
on: {
success: function () {
callback(this.get('responseData'));
},
{
select: '<portlet:namespace />geologi',
selectData: getGeologo,
selectDesc: 'descLong',
selectId: 'geologoId',
selectSort: true,
selectVal: '<%= (Validator.isNotNull(geologoSelect) ? geologoSelect : "") %>'
}
]
);
},
});
};
new Liferay.DynamicSelect([
{
select: '<portlet:namespace />provincia',
selectData: getProvince,
selectDesc: 'descLong',
selectId: 'provinciaId',
selectSort: true,
selectVal: '<%= Validator.isNull(provinciaSelect) ? StringPool.BLANK : provinciaSelect %>',
},
{
select: '<portlet:namespace />comune',
selectData: getComuni,
selectDesc: 'descLong',
selectId: 'comuneId',
selectSort: true,
selectVal: '<%= Validator.isNull(comuneSelect) ? StringPool.BLANK : comuneSelect %>',
},
{
select: '<portlet:namespace />unitaOperativa',
selectData: getUnitaOperative,
selectDesc: 'descLong',
selectId: 'uoId',
selectSort: false,
selectVal: '<%= Validator.isNull(uoSelect) ? StringPool.BLANK : uoSelect %>',
},
{
select: '<portlet:namespace />istruttore',
selectData: getIstruttori,
selectDesc: 'descLong',
selectId: 'istruttoreId',
selectSort: true,
selectVal: '<%= Validator.isNull(istruttoreSelect) ? StringPool.BLANK : istruttoreSelect %>',
},
{
select: '<portlet:namespace />geologi',
selectData: getGeologo,
selectDesc: 'descLong',
selectId: 'geologoId',
selectSort: true,
selectVal: '<%= Validator.isNull(geologoSelect) ? StringPool.BLANK : geologoSelect %>',
},
]);
</aui:script>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_allegati.jsp

@ -1,6 +1,6 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="it.tref.liferay.portos.bo.util.DocumentiPraticaUtil"%>
<%@page import="it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.FirmeUtil"%>
<%@page import="java.util.ArrayList"%>
<%@include file="/html/fascicolo/init.jsp"%>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_allegati_annullamento.jsp

@ -1,7 +1,7 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.FirmeUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.DocumentiPraticaUtil"%>
<%@page import="java.util.ArrayList"%>
<%@include file="/html/fascicolo/init.jsp"%>
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%= application %>"/>

21
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_asseverazioni.jsp

@ -1,13 +1,10 @@
<%@page import="com.liferay.portal.model.User"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil"%>
<%@page import="com.liferay.portlet.documentlibrary.util.DLUtil"%>
<%@page import="com.liferay.portal.kernel.repository.model.FileEntry"%>
<%@page import="com.liferay.portal.model.User"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.AsseverazioniUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.DettPratica"%>
<%@page import="com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil"%>
<%@page import="com.liferay.portlet.documentlibrary.util.DLUtil"%>
<%@page import="it.mwg.sismica.bo.shared.util.AsseverazioniUtil"%>
<%@include file="/html/fascicolo/init.jsp"%>
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%= application %>" />
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_asseverazioni"></liferay-ui:message></h2>
@ -25,11 +22,11 @@ OrderByComparator orderByComparator = OrderByComparatorFactoryUtil.create("porto
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" orderByType="desc"
orderByCol="asseverazioneId">
<liferay-ui:search-container-results
results="<%= AsseverazioneServiceUtil.findByIntPratica_InEsito(intPraticaId,
new String[]{AsseverazioniUtil.STATO_ESEGUITA}, QueryUtil.ALL_POS,
QueryUtil.ALL_POS, orderByComparator) %>"
total="<%= AsseverazioneServiceUtil.countByIntPratica_InEsito(intPraticaId,
new String[]{AsseverazioniUtil.STATO_ESEGUITA}) %>">
results="<%= AsseverazioneServiceUtil.findByIntPratica_Esito(intPraticaId,
AsseverazioniUtil.STATO_ESEGUITA, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
orderByComparator) %>"
total="<%= AsseverazioneServiceUtil.countByIntPratica_Esito(intPraticaId,
AsseverazioniUtil.STATO_ESEGUITA) %>">
</liferay-ui:search-container-results>
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.Asseverazione"
modelVar="asseverazione">

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_co_allegati.jsp

@ -3,7 +3,6 @@
<%@page import="com.liferay.portal.kernel.servlet.ServletContextPool"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="it.tref.liferay.portos.bo.util.DocumentiPraticaUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%>
<%@ include file="/html/fascicolo/init.jsp" %>

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_dettagli_principali.jsp

@ -3,7 +3,6 @@
<%@page import="it.mwg.sismica.bo.util.MappeUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.AzioniPraticheUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.Constants"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.regex.Pattern"%>
@ -40,7 +39,7 @@ String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) |
<div class="row <%= hide8 %> <%= hide10 %>">
<div class="col-sm-12">
<div class="module-group">
<c:if test="<%= AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId()) && TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione()) %>">
<c:if test="<%= intPratica.isAutorizzazione() && TipoIntegrazioneUtil.VARIANTE.equalsIgnoreCase(dettPratica.getTipoIntegrazione()) %>">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="dp-variante">
<div class="container-fluid">

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_fl_allegati.jsp

@ -3,7 +3,6 @@
<%@page import="com.liferay.portal.kernel.servlet.ServletContextPool"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="it.tref.liferay.portos.bo.util.DocumentiPraticaUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%>
<%@ include file="/html/fascicolo/init.jsp" %>

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_in_allegati.jsp

@ -4,7 +4,6 @@
<%@page import="com.liferay.portal.kernel.servlet.ServletContextPool"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="it.tref.liferay.portos.bo.util.DocumentiPraticaUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%>
<%@ include file="/html/fascicolo/init.jsp" %>

199
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_sez_geologica.jsp

@ -2,10 +2,6 @@
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%>
<%@page import="java.util.Date"%>
<%@page import="com.liferay.portal.kernel.bean.BeanPropertiesUtil"%>
<%@ include file="/html/fascicolo/init.jsp" %>
<%@page import="it.tref.liferay.portos.bo.util.ValidazionePraticaUtil"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.Soggetto"%>
@ -16,159 +12,150 @@
<%@page import="com.liferay.portal.kernel.util.KeyValuePair"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="it.tref.liferay.portos.bo.util.DelegheUtil"%>
<%@include file="/html/fascicolo/init.jsp"%>
<%
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId", 0l);
DettPratica dettPratica;
if(Validator.isNotNull(dettPraticaId)) {
dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId);
} else {
dettPratica = (DettPratica)request.getAttribute("bean.dettPratica.lastData");
}
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId", 0);
DettPratica dettPratica = null;
if (dettPraticaId != 0) {
dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId);
} else {
dettPratica = (DettPratica) request.getAttribute("bean.dettPratica.lastData");
}
%>
<c:if test="<%= Validator.isNull(dettPraticaId) %>">
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%=application %>"/>
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_sez_geologica"></liferay-ui:message></h2>
<c:if test="<%= Validator.isNull(dettPraticaId) %>">
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%=application %>" />
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_sez_geologica" /></h2>
</c:if>
<!-- ******************************************************************************
<!-- ADT : bug fe id 14 : visualizzazione deleghe eseguite -->
<c:if
test='<%=DelegaLocalServiceUtil.countByDettPratica_Tipologia_InEsito(dettPratica.getDettPraticaId(),new String[]{DelegheUtil.TIPO_GEOLOGO},new String[]{DelegheUtil.STATO_ESEGUITA})>0%>'>
<c:if test='<%= DelegaLocalServiceUtil.countByDettPratica_Tipologia_InEsito(dettPratica.getDettPraticaId(),
new String[] { DelegheUtil.TIPO_GEOLOGO }, new String[] { DelegheUtil.STATO_ESEGUITA }) > 0 %>'>
<div class="container-fluid clearfix">
<h4 class="title-fascicolo pull-left">Gestione Deleghe</h4>
</div>
<%
long intPraticaId=dettPratica.getIntPraticaId();
String orderByCol = ParamUtil.getString(renderRequest, SearchContainer.DEFAULT_ORDER_BY_COL_PARAM, "delegaId");
String orderByType = ParamUtil.getString(renderRequest, SearchContainer.DEFAULT_ORDER_BY_TYPE_PARAM, "asc");
OrderByComparator orderByComparator = OrderByComparatorFactoryUtil.create("portos_bo_Delega", orderByCol, "asc".equals(orderByType));
DisplayTerms displayTerms = new DisplayTerms(renderRequest);
long intPraticaId=dettPratica.getIntPraticaId();
String orderByCol = ParamUtil.getString(renderRequest, SearchContainer.DEFAULT_ORDER_BY_COL_PARAM, "delegaId");
String orderByType = ParamUtil.getString(renderRequest, SearchContainer.DEFAULT_ORDER_BY_TYPE_PARAM, "asc");
OrderByComparator orderByComparator = OrderByComparatorFactoryUtil.create("portos_bo_Delega", orderByCol,
"asc".equals(orderByType));
DisplayTerms displayTerms = new DisplayTerms(renderRequest);
%>
<div class="gestione-deleghe" id="<portlet:namespace/>gestione-deleghe">
<liferay-ui:search-container displayTerms="<%=displayTerms%>"
emptyResultsMessage="no-entries-were-found"
orderByCol="<%=orderByCol%>" orderByType="<%=orderByType%>">
<liferay-ui:search-container displayTerms="<%= displayTerms %>" emptyResultsMessage="no-entries-were-found"
orderByCol="<%= orderByCol %>" orderByType="<%= orderByType %>">
<liferay-ui:search-container-results>
<%
results = DelegaLocalServiceUtil.findByDettPratica_Tipologia_InEsito(dettPratica.getDettPraticaId(),new String[]{DelegheUtil.TIPO_GEOLOGO},new String[]{DelegheUtil.STATO_ESEGUITA} ,QueryUtil.ALL_POS, QueryUtil.ALL_POS, orderByComparator);
total =DelegaLocalServiceUtil.countByDettPratica_Tipologia_InEsito(dettPratica.getDettPraticaId(),new String[]{DelegheUtil.TIPO_GEOLOGO},new String[]{DelegheUtil.STATO_ESEGUITA});
pageContext.setAttribute("results", results);
pageContext.setAttribute("total", total);
results = DelegaLocalServiceUtil.findByDettPratica_Tipologia_InEsito(dettPratica.getDettPraticaId(),
new String[] { DelegheUtil.TIPO_GEOLOGO }, new String[] { DelegheUtil.STATO_ESEGUITA },
QueryUtil.ALL_POS, QueryUtil.ALL_POS, orderByComparator);
total = DelegaLocalServiceUtil.countByDettPratica_Tipologia_InEsito(dettPratica.getDettPraticaId(),
new String[] { DelegheUtil.TIPO_GEOLOGO }, new String[] { DelegheUtil.STATO_ESEGUITA });
pageContext.setAttribute("results", results);
pageContext.setAttribute("total", total);
%>
</liferay-ui:search-container-results>
<liferay-ui:search-container-row
className="it.tref.liferay.portos.bo.model.Delega"
keyProperty="delegaId" modelVar="delega">
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.Delega" keyProperty="delegaId"
modelVar="delega">
<liferay-ui:search-container-column-text name="Soggetto">
<%
if(SoggettoLocalServiceUtil.countValidByIntPratica_CodiceFiscale(intPraticaId, delega.getCodiceFiscale())>0){
List<Soggetto> soggetti = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId, delega.getCodiceFiscale());
for(Soggetto soggetto:soggetti){
out.print("<div>"+soggetto.getDescrizioneCompleta()+" "+LanguageUtil.get(pageContext, "gc-soggetto-"+soggetto.getTipologiaSoggetto())+"</div>");
}
}
if (SoggettoLocalServiceUtil.countValidByIntPratica_CodiceFiscale(intPraticaId,
delega.getCodiceFiscale()) > 0) {
List<Soggetto> soggetti = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId,
delega.getCodiceFiscale());
for (Soggetto soggetto:soggetti) {
out.print("<div>");
out.print(soggetto.getDescrizioneCompleta());
out.print(StringPool.SPACE);
out.print(LanguageUtil.get(pageContext, "gc-soggetto-" + soggetto.getTipologiaSoggetto()));
out.print("</div>");
}
}
%>
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="tipologia">
<liferay-ui:message
key='<%="label-deleghe-tipologia-"+delega.getTipologia()%>'></liferay-ui:message>
<liferay-ui:message key='<%= "label-deleghe-tipologia-" + delega.getTipologia() %>' />
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-date name="attiva-dal"
property="createDate" />
<liferay-ui:search-container-column-date name="chiusa-il"
property="dtEsito" />
<liferay-ui:search-container-column-date name="attiva-dal" property="createDate" />
<liferay-ui:search-container-column-date name="chiusa-il" property="dtEsito" />
<liferay-ui:search-container-column-text name="status">
<liferay-ui:message
key='<%="label-deleghe-status-"+delega.getEsito()%>'></liferay-ui:message>
<liferay-ui:message key='<%= "label-deleghe-status-" + delega.getEsito() %>' />
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="File"
cssClass="text-center">
<liferay-ui:search-container-column-text name="File" cssClass="text-center">
<%
String downloadUrl=null;
long docPraticaId =0l;
List<DocPratica> docPraticas =DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_TipologiaNew(delega.getIntPraticaId(),delega.getDelegaId(),"D_GEO_",QueryUtil.ALL_POS, QueryUtil.ALL_POS);
for(DocPratica docPratica:docPraticas){
docPraticaId = docPratica.getDocPraticaId();
downloadUrl=docPratica.getDownloadUrl(themeDisplay);
}
String downloadUrl = null;
long docPraticaId = 0;
List<DocPratica> docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_TipologiaNew(
delega.getIntPraticaId(), delega.getDelegaId(), "D_GEO_", QueryUtil.ALL_POS,
QueryUtil.ALL_POS);
for (DocPratica docPratica : docPraticas) {
docPraticaId = docPratica.getDocPraticaId();
downloadUrl = docPratica.getDownloadUrl(themeDisplay);
}
%>
<c:if test="<%=Validator.isNotNull(downloadUrl)%>">
<liferay-ui:icon linkCssClass="btn btn-action"
iconCssClass="fa fa-download" message="Download"
url="<%=downloadUrl%>" />
<c:if test="<%= Validator.isNotNull(downloadUrl) %>">
<liferay-ui:icon linkCssClass="btn btn-action" iconCssClass="fa fa-download" message="Download"
url="<%= downloadUrl %>" />
</c:if>
</liferay-ui:search-container-column-text>
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="false" />
</liferay-ui:search-container>
</div>
</c:if>
<!-- ************************************************************************************************************* -->
<!-- ************************************************************************************************************* -->
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="col-sm-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title='<%= LanguageUtil.get(pageContext, "geo") %>' >
<liferay-ui:panel extended="false" defaultState="open" collapsible="false"
title='<%= LanguageUtil.get(pageContext, "geo") %>' >
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 col-md-4">
<%=LanguageUtil.get(pageContext, "geo-dt-relazione") %>
<%= LanguageUtil.get(pageContext, "geo-dt-relazione") %>
</div>
<div class="col-sm-6 col-md-2">
<%Date geoDate = (Date)BeanPropertiesUtil.getObject(dettPratica, "geoDtRelazione"); %>
<c:if test="<%=Validator.isNotNull(geoDate) %>">
<strong><%= dateFormatDate.format(geoDate) %></strong>
<%
Date geoDate = (Date) BeanPropertiesUtil.getObject(dettPratica, "geoDtRelazione");
%>
<c:if test="<%= Validator.isNotNull(geoDate) %>">
<strong><%= dateFormatDate.format(geoDate) %></strong>
</c:if>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="fascicolo_header_row"><%=LanguageUtil.get(pageContext, "geo-scheda-title") %></div>
<div class="col-sm-12">
<div class="fascicolo_header_row">
<%= LanguageUtil.get(pageContext, "geo-scheda-title") %>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-4">
<%=LanguageUtil.get(pageContext, "geo-classe-indagine") %>:
<%= LanguageUtil.get(pageContext, "geo-classe-indagine") %>:
</div>
<div class="col-sm-6 col-md-2">
<% String geoClasseIndagine = BeanPropertiesUtil.getString(dettPratica, "geoClasseIndagine"); %>
<%
String geoClasseIndagine = BeanPropertiesUtil
.getString(dettPratica, "geoClasseIndagine");
%>
<c:if test="<%= Validator.isNotNull(geoClasseIndagine) %>">
<strong><%= LanguageUtil.get(pageContext, "geo-classe-indagine-"+geoClasseIndagine) %></strong>
<strong>
<%= LanguageUtil.get(pageContext,
"geo-classe-indagine-" + geoClasseIndagine) %>
</strong>
</c:if>
</div>
<div class="col-sm-6 col-md-4">
<%=LanguageUtil.get(pageContext, "geo-opera-rilevante") %>:
<%= LanguageUtil.get(pageContext, "geo-opera-rilevante") %>:
</div>
<div class="col-sm-6 col-md-2">
<% String geoOperaRilevante = BeanPropertiesUtil.getString(dettPratica, "geoOperaRilevante"); %>
<%
String geoOperaRilevante = BeanPropertiesUtil
.getString(dettPratica, "geoOperaRilevante");
%>
<c:if test="<%= Validator.isNotNull(geoOperaRilevante) %>">
<strong><%= LanguageUtil.get(pageContext, "geo-opera-rilevante-"+geoOperaRilevante) %></strong>
<strong>
<%= LanguageUtil.get(pageContext, "geo-opera-rilevante-" + geoOperaRilevante) %>
</strong>
</c:if>
</div>
</div>
@ -292,7 +279,6 @@
</c:if>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-4">
<%=LanguageUtil.get(pageContext, "geo-rischio-geomorfologico-pai") %>:
@ -313,7 +299,6 @@
</c:if>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-4">
<%=LanguageUtil.get(pageContext, "geo-rischio-idraulico-pai") %>:
@ -324,7 +309,6 @@
<strong><%= LanguageUtil.get(pageContext, "geo-rischio-idraulico-pai-"+geoRischioIdraulicoPai) %></strong>
</c:if>
</div>
<div class="col-sm-6 col-md-4">
<%=LanguageUtil.get(pageContext, "geo-presenza-prescrizioni") %>:
</div>
@ -384,10 +368,8 @@
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="col-sm-12">
<div class="row allegati-geologica-table" id="<portlet:namespace/>allegati-geologica-table">
<liferay-util:include page="/html/allegatipratica/view.jsp" portletId='<%=PortletKeys.ALLEGATI+"_INSTANCE_page_geologica" %>'>
<liferay-util:param name="classPk" value="<%=String.valueOf(dettPratica.getDettPraticaId()) %>" />
@ -397,7 +379,6 @@
<liferay-util:param name="prova" value="test" />
</liferay-util:include>
</div>
</div>
</div>
</div>

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_va_allegati.jsp

@ -4,7 +4,6 @@
<%@page import="com.liferay.portal.kernel.servlet.ServletContextPool"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="it.tref.liferay.portos.bo.util.DocumentiPraticaUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%>
<%@ include file="/html/fascicolo/init.jsp" %>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_versioning.jsp

@ -1,7 +1,7 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/html/fascicolo/init.jsp"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="it.tref.liferay.portos.bo.util.DocumentiPraticaUtil"%>
<%@page import="it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil"%>
<%@page import="java.io.Serializable"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.HashMap"%>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/view.jsp

@ -6,7 +6,7 @@
<%@page import="com.liferay.portal.kernel.util.HtmlUtil"%>
<%@page import="com.liferay.portal.model.User"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.search.IntPraticaAdvancedSearch"%>
<%@page import="it.mwg.sismica.bo.search.IntPraticaAdvancedSearch"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/action_button.jsp

@ -9,11 +9,11 @@
<%@page import="com.liferay.portal.service.LayoutLocalServiceUtil"%>
<%@page import="com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil"%>
<%@page import="com.liferay.portlet.PortletURLFactoryUtil"%>
<%@page import="it.mwg.sismica.bo.shared.util.WorkflowConstants"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.FascicoloURLUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%>
<%@page import="it.tref.liferay.portos.bo.service.permission.IntPraticaPermission"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.ActionKeys"%>
<%@page import="it.tref.liferay.portos.bo.util.WorkflowConstants"%>
<%@page import="it.tref.liferay.portos.bo.util.WorkflowUtil"%>
<%@page import="javax.portlet.PortletRequest"%>
<%@page import="java.util.ArrayList"%>

235
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/advanced_search.jsp

@ -9,12 +9,9 @@
<%@page import="com.liferay.portal.service.RoleLocalServiceUtil"%>
<%@page import="com.liferay.portal.model.Role"%>
<%@page import="java.util.Map.Entry"%>
<%@page import="java.util.Collections"%>
<%@page import="java.util.Comparator"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.liferay.portal.model.Organization"%>
<%@page import="com.liferay.portal.service.OrganizationLocalServiceUtil"%>
<%@page import="org.apache.commons.lang.StringEscapeUtils"%>
<%@include file="/html/fascicolo/init.jsp"%>
<%
String provinciaSelect = ParamUtil.getString(renderRequest, "provincia");
@ -75,12 +72,9 @@ String geologoSelect = ParamUtil.getString(renderRequest, "geologi");
<div class="col-xs-12 col-md-2">
<aui:select name="istruttore" label="Istruttore" cssClass="istruttoreSelect" />
</div>
<div class="col-xs-12 col-md-3">
<aui:select name="geologi" label="Parere endoprocedimentale" cssClass="geologoSelect" />
</div>
<div class="col-xs-12 col-md-3">
<aui:select name="parereGeologo" label="Parere fornito">
<aui:option value="-1">Tutte</aui:option>
@ -88,7 +82,6 @@ String geologoSelect = ParamUtil.getString(renderRequest, "geologi");
<aui:option value="0">No</aui:option>
</aui:select>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12">
@ -120,12 +113,22 @@ String geologoSelect = ParamUtil.getString(renderRequest, "geologi");
<div class="col-xs-12 col-md-3">
<aui:select name="statoPratica" label="Esito">
<aui:option value="-1">Tutti</aui:option>
<aui:option value="<%= StatoPraticaConstants.AUTORIZZATA %>">Autorizzata</aui:option>
<aui:option value="<%= StatoPraticaConstants.ANNULLATA %>">Annullata</aui:option>
<aui:option value="<%= StatoPraticaConstants.INTEGRAZIONE %>">Integrazione</aui:option>
<aui:option value="<%= StatoPraticaConstants.NO_PARERE %>">Nessun parere</aui:option>
<aui:option value="<%= StatoPraticaConstants.NON_AUTORIZZATA %>">Non autorizzata</aui:option>
<aui:option value="<%= StatoPraticaConstants.PREAVVISO_CONTRARIO %>">Preavviso contrario</aui:option>
<%
for (String esito : new String[] {
StatoPraticaConstants.AUTORIZZATA,
StatoPraticaConstants.ANNULLATA,
StatoPraticaConstants.INTEGRAZIONE,
StatoPraticaConstants.NO_PARERE,
StatoPraticaConstants.NON_AUTORIZZATA,
StatoPraticaConstants.PREAVVISO_CONTRARIO,
StatoPraticaConstants.PERIZIA_SANZIONE,
StatoPraticaConstants.DECRETO_SANZIONE,
}) {
%>
<aui:option value="<%= esito %>" label='<%= "stato-pratica-" + esito %>' />
<%
}
%>
</aui:select>
</div>
</div>
@ -157,117 +160,107 @@ String geologoSelect = ParamUtil.getString(renderRequest, "geologi");
<liferay-portlet:resourceURL id="geologo" var="getGeologoUrl" />
<aui:script use="aui-io-request,liferay-dynamic-select">
var getUnitaOperative = function(callback) {
A.io.request(
'<%= getUnitaOperativeUrl %>',
{
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
}
);
};
var getProvince = function(callback) {
A.io.request(
'<%= getProvinceURL %>',
{
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
}
);
};
var getComuni = function(callback, provinciaId) {
A.io.request(
'<%= getComuniURL %>',
{
data: {
<portlet:namespace />provinciaId: provinciaId
},dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
}
);
};
var getIstruttori = function(callback, uoId) {
A.io.request('<%= getIstruttoriUrl %>', {
data: {
<portlet:namespace />uoId: uoId
var getUnitaOperative = function(callback) {
A.io.request('<%= getUnitaOperativeUrl %>', {
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
},
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
});
};
var getGeologo = function(callback) {
A.io.request('<%= getGeologoUrl %>', {
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
}
}
});
};
new Liferay.DynamicSelect(
[
{
select: '<portlet:namespace />provincia',
selectData: getProvince,
selectDesc: 'descLong',
selectId: 'provinciaId',
selectSort: true,
selectVal: '<%= (Validator.isNotNull(provinciaSelect) ? provinciaSelect : "") %>'
},
});
};
var getProvince = function(callback) {
A.io.request('<%= getProvinceURL %>', {
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
},
{
select: '<portlet:namespace />comune',
selectData: getComuni,
selectDesc: 'descLong',
selectId: 'comuneId',
selectSort: true,
selectVal: '<%= (Validator.isNotNull(comuneSelect) ? comuneSelect : "") %>'
},
});
};
var getComuni = function(callback, provinciaId) {
A.io.request('<%= getComuniURL %>', {
data: {
<portlet:namespace />provinciaId: provinciaId,
},
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
},
{
select: '<portlet:namespace />unitaOperativa',
selectData: getUnitaOperative,
selectDesc: 'descLong',
selectId: 'uoId',
selectSort: false,
selectVal: '<%= (Validator.isNotNull(uoSelect) ? uoSelect : "") %>'
},
});
};
var getIstruttori = function(callback, uoId) {
A.io.request('<%= getIstruttoriUrl %>', {
data: {
<portlet:namespace />uoId: uoId,
},
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
},
{
select: '<portlet:namespace />istruttore',
selectData: getIstruttori,
selectDesc: 'descLong',
selectId: 'istruttoreId',
selectSort: true,
selectVal: '<%= (Validator.isNotNull(istruttoreSelect) ? istruttoreSelect : "") %>'
},
});
};
var getGeologo = function(callback) {
A.io.request('<%= getGeologoUrl %>', {
dataType: 'json',
on: {
success: function() {
callback(this.get('responseData'));
},
{
select: '<portlet:namespace />geologi',
selectData: getGeologo,
selectDesc: 'descLong',
selectId: 'geologoId',
selectSort: true,
selectVal: '<%= (Validator.isNotNull(geologoSelect) ? geologoSelect : "") %>'
}
]
);
},
});
};
new Liferay.DynamicSelect([
{
select: '<portlet:namespace />provincia',
selectData: getProvince,
selectDesc: 'descLong',
selectId: 'provinciaId',
selectSort: true,
selectVal: '<%= Validator.isNull(provinciaSelect) ? StringPool.BLANK : provinciaSelect %>',
},
{
select: '<portlet:namespace />comune',
selectData: getComuni,
selectDesc: 'descLong',
selectId: 'comuneId',
selectSort: true,
selectVal: '<%= Validator.isNull(comuneSelect) ? StringPool.BLANK : comuneSelect %>',
},
{
select: '<portlet:namespace />unitaOperativa',
selectData: getUnitaOperative,
selectDesc: 'descLong',
selectId: 'uoId',
selectSort: false,
selectVal: '<%= Validator.isNull(uoSelect) ? StringPool.BLANK : uoSelect %>',
},
{
select: '<portlet:namespace />istruttore',
selectData: getIstruttori,
selectDesc: 'descLong',
selectId: 'istruttoreId',
selectSort: true,
selectVal: '<%= Validator.isNull(istruttoreSelect) ? StringPool.BLANK : istruttoreSelect %>',
},
{
select: '<portlet:namespace />geologi',
selectData: getGeologo,
selectDesc: 'descLong',
selectId: 'geologoId',
selectSort: true,
selectVal: '<%= Validator.isNull(geologoSelect) ? StringPool.BLANK : geologoSelect %>',
},
]);
</aui:script>

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

Caricamento…
Annulla
Salva