Sfoglia il codice sorgente

Nuova gestione fine lavori

master 22.09
Salvatore La Manna 2 anni fa
parent
commit
912d42e764
  1. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-portlet.xml
  2. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  3. 245
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriClp.java
  4. 95
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriModel.java
  5. 64
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriSoap.java
  6. 175
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriWrapper.java
  7. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java
  8. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java
  9. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java
  10. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java
  11. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java
  12. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java
  13. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceUtil.java
  14. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java
  15. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalService.java
  16. 278
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceClp.java
  17. 18
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceUtil.java
  18. 19
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoLocalServiceWrapper.java
  19. 19
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoService.java
  20. 153
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceClp.java
  21. 29
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceUtil.java
  22. 30
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/PagamentoServiceWrapper.java
  23. 39
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PagamentiCommonUtil.java
  24. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql
  25. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
  26. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
  27. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
  28. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties
  29. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/startup/DatabaseUpdateAction.java
  30. 86
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriCacheModel.java
  31. 241
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriModelImpl.java
  32. 60
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/PagamentiPendingPortlet.java
  33. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/SchedulerInvioDocumento.java
  34. 81
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/scheduler/VerificaPagamentiScheduler.java
  35. 13
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java
  36. 13
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java
  37. 234
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoLocalServiceClpInvoker.java
  38. 56
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/PagamentoServiceClpInvoker.java
  39. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/FineLavoriServiceSoap.java
  40. 45
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/PagamentoServiceSoap.java
  41. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/AvvisoLocalServiceImpl.java
  42. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/CollaudoLocalServiceImpl.java
  43. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java
  44. 32
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java
  45. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java
  46. 104
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoLocalServiceImpl.java
  47. 42
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/PagamentoServiceImpl.java
  48. 39
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/SoggettoLocalServiceImpl.java
  49. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistenceImpl.java
  50. 100
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/util/PagamentiUtil.java
  51. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  52. 13
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view.jsp
  53. 40
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_pagamenti_pending.jsp
  54. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_generic.jsp
  55. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_pagamenti_bolli.jsp
  56. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_pagamenti_spese.jsp
  57. 51
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java
  58. 12
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/edit_fine-lavori.jsp
  59. 29
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/edit_inizio_lavori.jsp
  60. 217
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/pagamenti/confirm_iris.jsp
  61. 45
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/pagamenti/replace_payment.jsp
  62. 73
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/pagamenti/rigenera_pagamento.jsp
  63. 122
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_cambio_soggetti.jsp
  64. 97
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_collaudo_calcolo.jsp
  65. 29
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp
  66. 104
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo_calcolo.jsp
  67. 189
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo.jsp
  68. 312
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo_old.jsp
  69. 22
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.classpath
  70. 36
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.project
  71. 12
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/.jsdtscope
  72. 7
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.jdt.core.prefs
  73. 3
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.jst.jsp.core.prefs
  74. 8
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.common.component
  75. 7
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
  76. 11
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml
  77. 1
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container
  78. 1
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name
  79. 1
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.tern-project
  80. 6
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/build.xml
  81. 3
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/META-INF/MANIFEST.MF
  82. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/lib/tref-mapit-shared.jar
  83. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/lib/util-java.jar
  84. 9
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/liferay-display.xml
  85. 15
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/liferay-plugin-package.properties
  86. 31
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/liferay-portlet.xml
  87. 38
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/portlet.xml
  88. 2
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/src/content/Language.properties
  89. 53
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/plugin/FascicoloPlugin.java
  90. 11
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/plugin/portlet/FascicoloMapPortlet.java
  91. 7
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/src/portlet.properties
  92. 2568
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/aui.tld
  93. 538
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld
  94. 158
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-portlet.tld
  95. 106
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-security.tld
  96. 65
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-theme.tld
  97. 4691
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-ui.tld
  98. 141
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-util.tld
  99. 3
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/web.xml
  100. 0
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/css/main.css
  101. Some files were not shown because too many files have changed in this diff Show More

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

@ -11,8 +11,8 @@
<scheduler-event-listener-class>it.tref.liferay.portos.bo.scheduler.SchedulerEstrazioneFirme</scheduler-event-listener-class>
<trigger>
<simple>
<simple-trigger-value>30</simple-trigger-value>
<time-unit>second</time-unit>
<simple-trigger-value>1</simple-trigger-value>
<time-unit>minute</time-unit>
</simple>
</trigger>
</scheduler-entry>
@ -21,8 +21,8 @@
<scheduler-event-listener-class>it.tref.liferay.portos.bo.scheduler.SchedulerInvioDocumento</scheduler-event-listener-class>
<trigger>
<simple>
<simple-trigger-value>30</simple-trigger-value>
<time-unit>second</time-unit>
<simple-trigger-value>1</simple-trigger-value>
<time-unit>minute</time-unit>
</simple>
</trigger>
</scheduler-entry>
@ -31,8 +31,8 @@
<scheduler-event-listener-class>it.tref.liferay.portos.bo.scheduler.SchedulerGeneraDocumento</scheduler-event-listener-class>
<trigger>
<simple>
<simple-trigger-value>30</simple-trigger-value>
<time-unit>second</time-unit>
<simple-trigger-value>1</simple-trigger-value>
<time-unit>minute</time-unit>
</simple>
</trigger>
</scheduler-entry>
@ -45,23 +45,13 @@
</cron>
</trigger>
</scheduler-entry>
<scheduler-entry>
<scheduler-description>Verifica Pagamenti</scheduler-description>
<scheduler-event-listener-class>it.tref.liferay.portos.bo.scheduler.VerificaPagamentiScheduler</scheduler-event-listener-class>
<trigger>
<simple>
<simple-trigger-value>30</simple-trigger-value>
<time-unit>second</time-unit>
</simple>
</trigger>
</scheduler-entry>
<scheduler-entry>
<scheduler-description>Pratiche</scheduler-description>
<scheduler-event-listener-class>it.tref.liferay.portos.bo.scheduler.SchedulerPratiche</scheduler-event-listener-class>
<trigger>
<simple>
<simple-trigger-value>30</simple-trigger-value>
<time-unit>second</time-unit>
<simple-trigger-value>1</simple-trigger-value>
<time-unit>minute</time-unit>
</simple>
</trigger>
</scheduler-entry>

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

@ -704,14 +704,19 @@
<column name="dataEffettuazione" type="Date" />
<column name="dataFineLavori" type="Date" />
<column name="normEsenteBollo" type="boolean" />
<column name="normEsenteDirittiFissi" type="boolean" />
<column name="normEsenteSpese" type="boolean" />
<column name="normEsenteCollaudo" type="boolean" />
<column name="comunicazioneDirettoreLavori" type="String" />
<column name="pagamentoId" type="long" />
<column name="pagamentoSpeseId" type="long" />
<column name="codicePagamento" type="String" />
<column name="codicePagamentoSpese" type="String" />
<column name="causalePagamento" type="String" />
<column name="causalePagamentoSpese" type="String" />
<column name="mezzoPagamento" type="String" />
<column name="mezzoPagamentoSpese" type="String" />
<column name="importoBolli" type="String" />
<column name="importoSpese" type="String" />
<column name="richiestaAttestazione" type="boolean" />
<!-- Finder -->

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

@ -95,14 +95,20 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
attributes.put("dataEffettuazione", getDataEffettuazione());
attributes.put("dataFineLavori", getDataFineLavori());
attributes.put("normEsenteBollo", getNormEsenteBollo());
attributes.put("normEsenteSpese", getNormEsenteSpese());
attributes.put("normEsenteCollaudo", getNormEsenteCollaudo());
attributes.put("comunicazioneDirettoreLavori",
getComunicazioneDirettoreLavori());
attributes.put("pagamentoId", getPagamentoId());
attributes.put("pagamentoSpeseId", getPagamentoSpeseId());
attributes.put("codicePagamento", getCodicePagamento());
attributes.put("codicePagamentoSpese", getCodicePagamentoSpese());
attributes.put("causalePagamento", getCausalePagamento());
attributes.put("causalePagamentoSpese", getCausalePagamentoSpese());
attributes.put("mezzoPagamento", getMezzoPagamento());
attributes.put("mezzoPagamentoSpese", getMezzoPagamentoSpese());
attributes.put("importoBolli", getImportoBolli());
attributes.put("importoSpese", getImportoSpese());
attributes.put("richiestaAttestazione", getRichiestaAttestazione());
return attributes;
@ -225,6 +231,12 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
setNormEsenteBollo(normEsenteBollo);
}
Boolean normEsenteSpese = (Boolean)attributes.get("normEsenteSpese");
if (normEsenteSpese != null) {
setNormEsenteSpese(normEsenteSpese);
}
Boolean normEsenteCollaudo = (Boolean)attributes.get(
"normEsenteCollaudo");
@ -245,30 +257,63 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
setPagamentoId(pagamentoId);
}
Long pagamentoSpeseId = (Long)attributes.get("pagamentoSpeseId");
if (pagamentoSpeseId != null) {
setPagamentoSpeseId(pagamentoSpeseId);
}
String codicePagamento = (String)attributes.get("codicePagamento");
if (codicePagamento != null) {
setCodicePagamento(codicePagamento);
}
String codicePagamentoSpese = (String)attributes.get(
"codicePagamentoSpese");
if (codicePagamentoSpese != null) {
setCodicePagamentoSpese(codicePagamentoSpese);
}
String causalePagamento = (String)attributes.get("causalePagamento");
if (causalePagamento != null) {
setCausalePagamento(causalePagamento);
}
String causalePagamentoSpese = (String)attributes.get(
"causalePagamentoSpese");
if (causalePagamentoSpese != null) {
setCausalePagamentoSpese(causalePagamentoSpese);
}
String mezzoPagamento = (String)attributes.get("mezzoPagamento");
if (mezzoPagamento != null) {
setMezzoPagamento(mezzoPagamento);
}
String mezzoPagamentoSpese = (String)attributes.get(
"mezzoPagamentoSpese");
if (mezzoPagamentoSpese != null) {
setMezzoPagamentoSpese(mezzoPagamentoSpese);
}
String importoBolli = (String)attributes.get("importoBolli");
if (importoBolli != null) {
setImportoBolli(importoBolli);
}
String importoSpese = (String)attributes.get("importoSpese");
if (importoSpese != null) {
setImportoSpese(importoSpese);
}
Boolean richiestaAttestazione = (Boolean)attributes.get(
"richiestaAttestazione");
@ -747,6 +792,35 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public boolean getNormEsenteSpese() {
return _normEsenteSpese;
}
@Override
public boolean isNormEsenteSpese() {
return _normEsenteSpese;
}
@Override
public void setNormEsenteSpese(boolean normEsenteSpese) {
_normEsenteSpese = normEsenteSpese;
if (_fineLavoriRemoteModel != null) {
try {
Class<?> clazz = _fineLavoriRemoteModel.getClass();
Method method = clazz.getMethod("setNormEsenteSpese",
boolean.class);
method.invoke(_fineLavoriRemoteModel, normEsenteSpese);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public boolean getNormEsenteCollaudo() {
return _normEsenteCollaudo;
@ -825,6 +899,30 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public long getPagamentoSpeseId() {
return _pagamentoSpeseId;
}
@Override
public void setPagamentoSpeseId(long pagamentoSpeseId) {
_pagamentoSpeseId = pagamentoSpeseId;
if (_fineLavoriRemoteModel != null) {
try {
Class<?> clazz = _fineLavoriRemoteModel.getClass();
Method method = clazz.getMethod("setPagamentoSpeseId",
long.class);
method.invoke(_fineLavoriRemoteModel, pagamentoSpeseId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getCodicePagamento() {
return _codicePagamento;
@ -849,6 +947,30 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public String getCodicePagamentoSpese() {
return _codicePagamentoSpese;
}
@Override
public void setCodicePagamentoSpese(String codicePagamentoSpese) {
_codicePagamentoSpese = codicePagamentoSpese;
if (_fineLavoriRemoteModel != null) {
try {
Class<?> clazz = _fineLavoriRemoteModel.getClass();
Method method = clazz.getMethod("setCodicePagamentoSpese",
String.class);
method.invoke(_fineLavoriRemoteModel, codicePagamentoSpese);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getCausalePagamento() {
return _causalePagamento;
@ -873,6 +995,30 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public String getCausalePagamentoSpese() {
return _causalePagamentoSpese;
}
@Override
public void setCausalePagamentoSpese(String causalePagamentoSpese) {
_causalePagamentoSpese = causalePagamentoSpese;
if (_fineLavoriRemoteModel != null) {
try {
Class<?> clazz = _fineLavoriRemoteModel.getClass();
Method method = clazz.getMethod("setCausalePagamentoSpese",
String.class);
method.invoke(_fineLavoriRemoteModel, causalePagamentoSpese);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getMezzoPagamento() {
return _mezzoPagamento;
@ -897,6 +1043,30 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public String getMezzoPagamentoSpese() {
return _mezzoPagamentoSpese;
}
@Override
public void setMezzoPagamentoSpese(String mezzoPagamentoSpese) {
_mezzoPagamentoSpese = mezzoPagamentoSpese;
if (_fineLavoriRemoteModel != null) {
try {
Class<?> clazz = _fineLavoriRemoteModel.getClass();
Method method = clazz.getMethod("setMezzoPagamentoSpese",
String.class);
method.invoke(_fineLavoriRemoteModel, mezzoPagamentoSpese);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getImportoBolli() {
return _importoBolli;
@ -920,6 +1090,29 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
}
}
@Override
public String getImportoSpese() {
return _importoSpese;
}
@Override
public void setImportoSpese(String importoSpese) {
_importoSpese = importoSpese;
if (_fineLavoriRemoteModel != null) {
try {
Class<?> clazz = _fineLavoriRemoteModel.getClass();
Method method = clazz.getMethod("setImportoSpese", String.class);
method.invoke(_fineLavoriRemoteModel, importoSpese);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public boolean getRichiestaAttestazione() {
return _richiestaAttestazione;
@ -1100,13 +1293,19 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
clone.setDataEffettuazione(getDataEffettuazione());
clone.setDataFineLavori(getDataFineLavori());
clone.setNormEsenteBollo(getNormEsenteBollo());
clone.setNormEsenteSpese(getNormEsenteSpese());
clone.setNormEsenteCollaudo(getNormEsenteCollaudo());
clone.setComunicazioneDirettoreLavori(getComunicazioneDirettoreLavori());
clone.setPagamentoId(getPagamentoId());
clone.setPagamentoSpeseId(getPagamentoSpeseId());
clone.setCodicePagamento(getCodicePagamento());
clone.setCodicePagamentoSpese(getCodicePagamentoSpese());
clone.setCausalePagamento(getCausalePagamento());
clone.setCausalePagamentoSpese(getCausalePagamentoSpese());
clone.setMezzoPagamento(getMezzoPagamento());
clone.setMezzoPagamentoSpese(getMezzoPagamentoSpese());
clone.setImportoBolli(getImportoBolli());
clone.setImportoSpese(getImportoSpese());
clone.setRichiestaAttestazione(getRichiestaAttestazione());
return clone;
@ -1160,7 +1359,7 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
@Override
public String toString() {
StringBundler sb = new StringBundler(55);
StringBundler sb = new StringBundler(67);
sb.append("{uuid=");
sb.append(getUuid());
@ -1200,20 +1399,32 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
sb.append(getDataFineLavori());
sb.append(", normEsenteBollo=");
sb.append(getNormEsenteBollo());
sb.append(", normEsenteSpese=");
sb.append(getNormEsenteSpese());
sb.append(", normEsenteCollaudo=");
sb.append(getNormEsenteCollaudo());
sb.append(", comunicazioneDirettoreLavori=");
sb.append(getComunicazioneDirettoreLavori());
sb.append(", pagamentoId=");
sb.append(getPagamentoId());
sb.append(", pagamentoSpeseId=");
sb.append(getPagamentoSpeseId());
sb.append(", codicePagamento=");
sb.append(getCodicePagamento());
sb.append(", codicePagamentoSpese=");
sb.append(getCodicePagamentoSpese());
sb.append(", causalePagamento=");
sb.append(getCausalePagamento());
sb.append(", causalePagamentoSpese=");
sb.append(getCausalePagamentoSpese());
sb.append(", mezzoPagamento=");
sb.append(getMezzoPagamento());
sb.append(", mezzoPagamentoSpese=");
sb.append(getMezzoPagamentoSpese());
sb.append(", importoBolli=");
sb.append(getImportoBolli());
sb.append(", importoSpese=");
sb.append(getImportoSpese());
sb.append(", richiestaAttestazione=");
sb.append(getRichiestaAttestazione());
sb.append("}");
@ -1223,7 +1434,7 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(85);
StringBundler sb = new StringBundler(103);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.FineLavori");
@ -1305,6 +1516,10 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
"<column><column-name>normEsenteBollo</column-name><column-value><![CDATA[");
sb.append(getNormEsenteBollo());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>normEsenteSpese</column-name><column-value><![CDATA[");
sb.append(getNormEsenteSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>normEsenteCollaudo</column-name><column-value><![CDATA[");
sb.append(getNormEsenteCollaudo());
@ -1317,22 +1532,42 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
"<column><column-name>pagamentoId</column-name><column-value><![CDATA[");
sb.append(getPagamentoId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>pagamentoSpeseId</column-name><column-value><![CDATA[");
sb.append(getPagamentoSpeseId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>codicePagamento</column-name><column-value><![CDATA[");
sb.append(getCodicePagamento());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>codicePagamentoSpese</column-name><column-value><![CDATA[");
sb.append(getCodicePagamentoSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>causalePagamento</column-name><column-value><![CDATA[");
sb.append(getCausalePagamento());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>causalePagamentoSpese</column-name><column-value><![CDATA[");
sb.append(getCausalePagamentoSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>mezzoPagamento</column-name><column-value><![CDATA[");
sb.append(getMezzoPagamento());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>mezzoPagamentoSpese</column-name><column-value><![CDATA[");
sb.append(getMezzoPagamentoSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>importoBolli</column-name><column-value><![CDATA[");
sb.append(getImportoBolli());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>importoSpese</column-name><column-value><![CDATA[");
sb.append(getImportoSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>richiestaAttestazione</column-name><column-value><![CDATA[");
sb.append(getRichiestaAttestazione());
@ -1363,13 +1598,19 @@ public class FineLavoriClp extends BaseModelImpl<FineLavori>
private Date _dataEffettuazione;
private Date _dataFineLavori;
private boolean _normEsenteBollo;
private boolean _normEsenteSpese;
private boolean _normEsenteCollaudo;
private String _comunicazioneDirettoreLavori;
private long _pagamentoId;
private long _pagamentoSpeseId;
private String _codicePagamento;
private String _codicePagamentoSpese;
private String _causalePagamento;
private String _causalePagamentoSpese;
private String _mezzoPagamento;
private String _mezzoPagamentoSpese;
private String _importoBolli;
private String _importoSpese;
private boolean _richiestaAttestazione;
private BaseModel<?> _fineLavoriRemoteModel;
private Class<?> _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class;

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

@ -391,6 +391,27 @@ public interface FineLavoriModel extends BaseModel<FineLavori>,
*/
public void setNormEsenteBollo(boolean normEsenteBollo);
/**
* Returns the norm esente spese of this fine lavori.
*
* @return the norm esente spese of this fine lavori
*/
public boolean getNormEsenteSpese();
/**
* Returns <code>true</code> if this fine lavori is norm esente spese.
*
* @return <code>true</code> if this fine lavori is norm esente spese; <code>false</code> otherwise
*/
public boolean isNormEsenteSpese();
/**
* Sets whether this fine lavori is norm esente spese.
*
* @param normEsenteSpese the norm esente spese of this fine lavori
*/
public void setNormEsenteSpese(boolean normEsenteSpese);
/**
* Returns the norm esente collaudo of this fine lavori.
*
@ -442,6 +463,20 @@ public interface FineLavoriModel extends BaseModel<FineLavori>,
*/
public void setPagamentoId(long pagamentoId);
/**
* Returns the pagamento spese ID of this fine lavori.
*
* @return the pagamento spese ID of this fine lavori
*/
public long getPagamentoSpeseId();
/**
* Sets the pagamento spese ID of this fine lavori.
*
* @param pagamentoSpeseId the pagamento spese ID of this fine lavori
*/
public void setPagamentoSpeseId(long pagamentoSpeseId);
/**
* Returns the codice pagamento of this fine lavori.
*
@ -457,6 +492,21 @@ public interface FineLavoriModel extends BaseModel<FineLavori>,
*/
public void setCodicePagamento(String codicePagamento);
/**
* Returns the codice pagamento spese of this fine lavori.
*
* @return the codice pagamento spese of this fine lavori
*/
@AutoEscape
public String getCodicePagamentoSpese();
/**
* Sets the codice pagamento spese of this fine lavori.
*
* @param codicePagamentoSpese the codice pagamento spese of this fine lavori
*/
public void setCodicePagamentoSpese(String codicePagamentoSpese);
/**
* Returns the causale pagamento of this fine lavori.
*
@ -472,6 +522,21 @@ public interface FineLavoriModel extends BaseModel<FineLavori>,
*/
public void setCausalePagamento(String causalePagamento);
/**
* Returns the causale pagamento spese of this fine lavori.
*
* @return the causale pagamento spese of this fine lavori
*/
@AutoEscape
public String getCausalePagamentoSpese();
/**
* Sets the causale pagamento spese of this fine lavori.
*
* @param causalePagamentoSpese the causale pagamento spese of this fine lavori
*/
public void setCausalePagamentoSpese(String causalePagamentoSpese);
/**
* Returns the mezzo pagamento of this fine lavori.
*
@ -487,6 +552,21 @@ public interface FineLavoriModel extends BaseModel<FineLavori>,
*/
public void setMezzoPagamento(String mezzoPagamento);
/**
* Returns the mezzo pagamento spese of this fine lavori.
*
* @return the mezzo pagamento spese of this fine lavori
*/
@AutoEscape
public String getMezzoPagamentoSpese();
/**
* Sets the mezzo pagamento spese of this fine lavori.
*
* @param mezzoPagamentoSpese the mezzo pagamento spese of this fine lavori
*/
public void setMezzoPagamentoSpese(String mezzoPagamentoSpese);
/**
* Returns the importo bolli of this fine lavori.
*
@ -502,6 +582,21 @@ public interface FineLavoriModel extends BaseModel<FineLavori>,
*/
public void setImportoBolli(String importoBolli);
/**
* Returns the importo spese of this fine lavori.
*
* @return the importo spese of this fine lavori
*/
@AutoEscape
public String getImportoSpese();
/**
* Sets the importo spese of this fine lavori.
*
* @param importoSpese the importo spese of this fine lavori
*/
public void setImportoSpese(String importoSpese);
/**
* Returns the richiesta attestazione of this fine lavori.
*

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

@ -50,13 +50,19 @@ public class FineLavoriSoap implements Serializable {
soapModel.setDataEffettuazione(model.getDataEffettuazione());
soapModel.setDataFineLavori(model.getDataFineLavori());
soapModel.setNormEsenteBollo(model.getNormEsenteBollo());
soapModel.setNormEsenteSpese(model.getNormEsenteSpese());
soapModel.setNormEsenteCollaudo(model.getNormEsenteCollaudo());
soapModel.setComunicazioneDirettoreLavori(model.getComunicazioneDirettoreLavori());
soapModel.setPagamentoId(model.getPagamentoId());
soapModel.setPagamentoSpeseId(model.getPagamentoSpeseId());
soapModel.setCodicePagamento(model.getCodicePagamento());
soapModel.setCodicePagamentoSpese(model.getCodicePagamentoSpese());
soapModel.setCausalePagamento(model.getCausalePagamento());
soapModel.setCausalePagamentoSpese(model.getCausalePagamentoSpese());
soapModel.setMezzoPagamento(model.getMezzoPagamento());
soapModel.setMezzoPagamentoSpese(model.getMezzoPagamentoSpese());
soapModel.setImportoBolli(model.getImportoBolli());
soapModel.setImportoSpese(model.getImportoSpese());
soapModel.setRichiestaAttestazione(model.getRichiestaAttestazione());
return soapModel;
@ -278,6 +284,18 @@ public class FineLavoriSoap implements Serializable {
_normEsenteBollo = normEsenteBollo;
}
public boolean getNormEsenteSpese() {
return _normEsenteSpese;
}
public boolean isNormEsenteSpese() {
return _normEsenteSpese;
}
public void setNormEsenteSpese(boolean normEsenteSpese) {
_normEsenteSpese = normEsenteSpese;
}
public boolean getNormEsenteCollaudo() {
return _normEsenteCollaudo;
}
@ -307,6 +325,14 @@ public class FineLavoriSoap implements Serializable {
_pagamentoId = pagamentoId;
}
public long getPagamentoSpeseId() {
return _pagamentoSpeseId;
}
public void setPagamentoSpeseId(long pagamentoSpeseId) {
_pagamentoSpeseId = pagamentoSpeseId;
}
public String getCodicePagamento() {
return _codicePagamento;
}
@ -315,6 +341,14 @@ public class FineLavoriSoap implements Serializable {
_codicePagamento = codicePagamento;
}
public String getCodicePagamentoSpese() {
return _codicePagamentoSpese;
}
public void setCodicePagamentoSpese(String codicePagamentoSpese) {
_codicePagamentoSpese = codicePagamentoSpese;
}
public String getCausalePagamento() {
return _causalePagamento;
}
@ -323,6 +357,14 @@ public class FineLavoriSoap implements Serializable {
_causalePagamento = causalePagamento;
}
public String getCausalePagamentoSpese() {
return _causalePagamentoSpese;
}
public void setCausalePagamentoSpese(String causalePagamentoSpese) {
_causalePagamentoSpese = causalePagamentoSpese;
}
public String getMezzoPagamento() {
return _mezzoPagamento;
}
@ -331,6 +373,14 @@ public class FineLavoriSoap implements Serializable {
_mezzoPagamento = mezzoPagamento;
}
public String getMezzoPagamentoSpese() {
return _mezzoPagamentoSpese;
}
public void setMezzoPagamentoSpese(String mezzoPagamentoSpese) {
_mezzoPagamentoSpese = mezzoPagamentoSpese;
}
public String getImportoBolli() {
return _importoBolli;
}
@ -339,6 +389,14 @@ public class FineLavoriSoap implements Serializable {
_importoBolli = importoBolli;
}
public String getImportoSpese() {
return _importoSpese;
}
public void setImportoSpese(String importoSpese) {
_importoSpese = importoSpese;
}
public boolean getRichiestaAttestazione() {
return _richiestaAttestazione;
}
@ -370,12 +428,18 @@ public class FineLavoriSoap implements Serializable {
private Date _dataEffettuazione;
private Date _dataFineLavori;
private boolean _normEsenteBollo;
private boolean _normEsenteSpese;
private boolean _normEsenteCollaudo;
private String _comunicazioneDirettoreLavori;
private long _pagamentoId;
private long _pagamentoSpeseId;
private String _codicePagamento;
private String _codicePagamentoSpese;
private String _causalePagamento;
private String _causalePagamentoSpese;
private String _mezzoPagamento;
private String _mezzoPagamentoSpese;
private String _importoBolli;
private String _importoSpese;
private boolean _richiestaAttestazione;
}

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

@ -69,14 +69,20 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
attributes.put("dataEffettuazione", getDataEffettuazione());
attributes.put("dataFineLavori", getDataFineLavori());
attributes.put("normEsenteBollo", getNormEsenteBollo());
attributes.put("normEsenteSpese", getNormEsenteSpese());
attributes.put("normEsenteCollaudo", getNormEsenteCollaudo());
attributes.put("comunicazioneDirettoreLavori",
getComunicazioneDirettoreLavori());
attributes.put("pagamentoId", getPagamentoId());
attributes.put("pagamentoSpeseId", getPagamentoSpeseId());
attributes.put("codicePagamento", getCodicePagamento());
attributes.put("codicePagamentoSpese", getCodicePagamentoSpese());
attributes.put("causalePagamento", getCausalePagamento());
attributes.put("causalePagamentoSpese", getCausalePagamentoSpese());
attributes.put("mezzoPagamento", getMezzoPagamento());
attributes.put("mezzoPagamentoSpese", getMezzoPagamentoSpese());
attributes.put("importoBolli", getImportoBolli());
attributes.put("importoSpese", getImportoSpese());
attributes.put("richiestaAttestazione", getRichiestaAttestazione());
return attributes;
@ -199,6 +205,12 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
setNormEsenteBollo(normEsenteBollo);
}
Boolean normEsenteSpese = (Boolean)attributes.get("normEsenteSpese");
if (normEsenteSpese != null) {
setNormEsenteSpese(normEsenteSpese);
}
Boolean normEsenteCollaudo = (Boolean)attributes.get(
"normEsenteCollaudo");
@ -219,30 +231,63 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
setPagamentoId(pagamentoId);
}
Long pagamentoSpeseId = (Long)attributes.get("pagamentoSpeseId");
if (pagamentoSpeseId != null) {
setPagamentoSpeseId(pagamentoSpeseId);
}
String codicePagamento = (String)attributes.get("codicePagamento");
if (codicePagamento != null) {
setCodicePagamento(codicePagamento);
}
String codicePagamentoSpese = (String)attributes.get(
"codicePagamentoSpese");
if (codicePagamentoSpese != null) {
setCodicePagamentoSpese(codicePagamentoSpese);
}
String causalePagamento = (String)attributes.get("causalePagamento");
if (causalePagamento != null) {
setCausalePagamento(causalePagamento);
}
String causalePagamentoSpese = (String)attributes.get(
"causalePagamentoSpese");
if (causalePagamentoSpese != null) {
setCausalePagamentoSpese(causalePagamentoSpese);
}
String mezzoPagamento = (String)attributes.get("mezzoPagamento");
if (mezzoPagamento != null) {
setMezzoPagamento(mezzoPagamento);
}
String mezzoPagamentoSpese = (String)attributes.get(
"mezzoPagamentoSpese");
if (mezzoPagamentoSpese != null) {
setMezzoPagamentoSpese(mezzoPagamentoSpese);
}
String importoBolli = (String)attributes.get("importoBolli");
if (importoBolli != null) {
setImportoBolli(importoBolli);
}
String importoSpese = (String)attributes.get("importoSpese");
if (importoSpese != null) {
setImportoSpese(importoSpese);
}
Boolean richiestaAttestazione = (Boolean)attributes.get(
"richiestaAttestazione");
@ -713,6 +758,36 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
_fineLavori.setNormEsenteBollo(normEsenteBollo);
}
/**
* Returns the norm esente spese of this fine lavori.
*
* @return the norm esente spese of this fine lavori
*/
@Override
public boolean getNormEsenteSpese() {
return _fineLavori.getNormEsenteSpese();
}
/**
* Returns <code>true</code> if this fine lavori is norm esente spese.
*
* @return <code>true</code> if this fine lavori is norm esente spese; <code>false</code> otherwise
*/
@Override
public boolean isNormEsenteSpese() {
return _fineLavori.isNormEsenteSpese();
}
/**
* Sets whether this fine lavori is norm esente spese.
*
* @param normEsenteSpese the norm esente spese of this fine lavori
*/
@Override
public void setNormEsenteSpese(boolean normEsenteSpese) {
_fineLavori.setNormEsenteSpese(normEsenteSpese);
}
/**
* Returns the norm esente collaudo of this fine lavori.
*
@ -784,6 +859,26 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
_fineLavori.setPagamentoId(pagamentoId);
}
/**
* Returns the pagamento spese ID of this fine lavori.
*
* @return the pagamento spese ID of this fine lavori
*/
@Override
public long getPagamentoSpeseId() {
return _fineLavori.getPagamentoSpeseId();
}
/**
* Sets the pagamento spese ID of this fine lavori.
*
* @param pagamentoSpeseId the pagamento spese ID of this fine lavori
*/
@Override
public void setPagamentoSpeseId(long pagamentoSpeseId) {
_fineLavori.setPagamentoSpeseId(pagamentoSpeseId);
}
/**
* Returns the codice pagamento of this fine lavori.
*
@ -804,6 +899,26 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
_fineLavori.setCodicePagamento(codicePagamento);
}
/**
* Returns the codice pagamento spese of this fine lavori.
*
* @return the codice pagamento spese of this fine lavori
*/
@Override
public java.lang.String getCodicePagamentoSpese() {
return _fineLavori.getCodicePagamentoSpese();
}
/**
* Sets the codice pagamento spese of this fine lavori.
*
* @param codicePagamentoSpese the codice pagamento spese of this fine lavori
*/
@Override
public void setCodicePagamentoSpese(java.lang.String codicePagamentoSpese) {
_fineLavori.setCodicePagamentoSpese(codicePagamentoSpese);
}
/**
* Returns the causale pagamento of this fine lavori.
*
@ -824,6 +939,26 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
_fineLavori.setCausalePagamento(causalePagamento);
}
/**
* Returns the causale pagamento spese of this fine lavori.
*
* @return the causale pagamento spese of this fine lavori
*/
@Override
public java.lang.String getCausalePagamentoSpese() {
return _fineLavori.getCausalePagamentoSpese();
}
/**
* Sets the causale pagamento spese of this fine lavori.
*
* @param causalePagamentoSpese the causale pagamento spese of this fine lavori
*/
@Override
public void setCausalePagamentoSpese(java.lang.String causalePagamentoSpese) {
_fineLavori.setCausalePagamentoSpese(causalePagamentoSpese);
}
/**
* Returns the mezzo pagamento of this fine lavori.
*
@ -844,6 +979,26 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
_fineLavori.setMezzoPagamento(mezzoPagamento);
}
/**
* Returns the mezzo pagamento spese of this fine lavori.
*
* @return the mezzo pagamento spese of this fine lavori
*/
@Override
public java.lang.String getMezzoPagamentoSpese() {
return _fineLavori.getMezzoPagamentoSpese();
}
/**
* Sets the mezzo pagamento spese of this fine lavori.
*
* @param mezzoPagamentoSpese the mezzo pagamento spese of this fine lavori
*/
@Override
public void setMezzoPagamentoSpese(java.lang.String mezzoPagamentoSpese) {
_fineLavori.setMezzoPagamentoSpese(mezzoPagamentoSpese);
}
/**
* Returns the importo bolli of this fine lavori.
*
@ -864,6 +1019,26 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper<FineLavori> {
_fineLavori.setImportoBolli(importoBolli);
}
/**
* Returns the importo spese of this fine lavori.
*
* @return the importo spese of this fine lavori
*/
@Override
public java.lang.String getImportoSpese() {
return _fineLavori.getImportoSpese();
}
/**
* Sets the importo spese of this fine lavori.
*
* @param importoSpese the importo spese of this fine lavori
*/
@Override
public void setImportoSpese(java.lang.String importoSpese) {
_fineLavori.setImportoSpese(importoSpese);
}
/**
* Returns the richiesta attestazione of this fine lavori.
*

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

@ -324,7 +324,7 @@ public interface FineLavoriLocalService extends BaseLocalService,
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
java.lang.String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo,
boolean normEsenteSpese, boolean normEsenteCollaudo,
java.lang.String comunicazioneDirettoreLavori,
boolean richiestaAttestazione)
throws com.liferay.portal.kernel.exception.SystemException,
@ -342,6 +342,7 @@ public interface FineLavoriLocalService extends BaseLocalService,
public it.tref.liferay.portos.bo.model.FineLavori pagaInvia(
long fineLavoriId, java.lang.String codiceFiscaleCommittente,
java.lang.String importoBolli, java.lang.String importoSpese,
java.lang.String currentURL,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,

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

@ -141,8 +141,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
_methodParameterTypes24 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "java.lang.String",
"boolean"
"java.lang.String", "boolean", "boolean", "boolean",
"java.lang.String", "boolean"
};
_methodName25 = "getLastEditable";
@ -157,6 +157,7 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
_methodParameterTypes27 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
@ -1028,7 +1029,7 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
java.lang.String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo,
boolean normEsenteSpese, boolean normEsenteCollaudo,
java.lang.String comunicazioneDirettoreLavori,
boolean richiestaAttestazione)
throws com.liferay.portal.kernel.exception.SystemException,
@ -1055,6 +1056,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
normEsenteBollo,
normEsenteSpese,
normEsenteCollaudo,
ClpSerializer.translateInput(comunicazioneDirettoreLavori),
@ -1146,6 +1149,7 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
@Override
public it.tref.liferay.portos.bo.model.FineLavori pagaInvia(
long fineLavoriId, java.lang.String codiceFiscaleCommittente,
java.lang.String importoBolli, java.lang.String importoSpese,
java.lang.String currentURL,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
@ -1160,6 +1164,10 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
ClpSerializer.translateInput(codiceFiscaleCommittente),
ClpSerializer.translateInput(importoBolli),
ClpSerializer.translateInput(importoSpese),
ClpSerializer.translateInput(currentURL),
ClpSerializer.translateInput(serviceContext)

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

@ -349,7 +349,7 @@ public class FineLavoriLocalServiceUtil {
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
java.lang.String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo,
boolean normEsenteSpese, boolean normEsenteCollaudo,
java.lang.String comunicazioneDirettoreLavori,
boolean richiestaAttestazione)
throws com.liferay.portal.kernel.exception.SystemException,
@ -357,8 +357,8 @@ public class FineLavoriLocalServiceUtil {
return getService()
.updateFineLavori(userId, fineLavoriId, intPraticaId,
parziale, completata, dataFineLavori, codiceFiscaleDelegato,
normEsenteBollo, normEsenteCollaudo, comunicazioneDirettoreLavori,
richiestaAttestazione);
normEsenteBollo, normEsenteSpese, normEsenteCollaudo,
comunicazioneDirettoreLavori, richiestaAttestazione);
}
public static it.tref.liferay.portos.bo.model.FineLavori getLastEditable(
@ -375,13 +375,14 @@ public class FineLavoriLocalServiceUtil {
public static it.tref.liferay.portos.bo.model.FineLavori pagaInvia(
long fineLavoriId, java.lang.String codiceFiscaleCommittente,
java.lang.String importoBolli, java.lang.String importoSpese,
java.lang.String currentURL,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService()
.pagaInvia(fineLavoriId, codiceFiscaleCommittente,
currentURL, serviceContext);
importoBolli, importoSpese, currentURL, serviceContext);
}
public static void updateEsitoPagamento(long pagamentoId,

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

@ -372,15 +372,16 @@ public class FineLavoriLocalServiceWrapper implements FineLavoriLocalService,
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
java.lang.String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo,
boolean normEsenteSpese, boolean normEsenteCollaudo,
java.lang.String comunicazioneDirettoreLavori,
boolean richiestaAttestazione)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchFineLavoriException {
return _fineLavoriLocalService.updateFineLavori(userId, fineLavoriId,
intPraticaId, parziale, completata, dataFineLavori,
codiceFiscaleDelegato, normEsenteBollo, normEsenteCollaudo,
comunicazioneDirettoreLavori, richiestaAttestazione);
codiceFiscaleDelegato, normEsenteBollo, normEsenteSpese,
normEsenteCollaudo, comunicazioneDirettoreLavori,
richiestaAttestazione);
}
@Override
@ -400,12 +401,14 @@ public class FineLavoriLocalServiceWrapper implements FineLavoriLocalService,
@Override
public it.tref.liferay.portos.bo.model.FineLavori pagaInvia(
long fineLavoriId, java.lang.String codiceFiscaleCommittente,
java.lang.String importoBolli, java.lang.String importoSpese,
java.lang.String currentURL,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fineLavoriLocalService.pagaInvia(fineLavoriId,
codiceFiscaleCommittente, currentURL, serviceContext);
codiceFiscaleCommittente, importoBolli, importoSpese, currentURL,
serviceContext);
}
@Override

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

@ -95,7 +95,7 @@ public interface FineLavoriService extends BaseService, InvokableService {
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
java.lang.String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo,
boolean normEsenteSpese, boolean normEsenteCollaudo,
java.lang.String comunicazioneDirettoreLavori,
boolean richiestaAttestazione)
throws com.liferay.portal.kernel.exception.PortalException,
@ -121,6 +121,7 @@ public interface FineLavoriService extends BaseService, InvokableService {
public it.tref.liferay.portos.bo.model.FineLavori pagaInvia(
long fineLavoriId, java.lang.String codiceFiscaleCommittente,
java.lang.String importoBolli, java.lang.String importoSpese,
java.lang.String currentURL,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,

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

@ -62,8 +62,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
_methodParameterTypes8 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "java.lang.String",
"boolean"
"java.lang.String", "boolean", "boolean", "boolean",
"java.lang.String", "boolean"
};
_methodName9 = "getLastEditable";
@ -89,6 +89,7 @@ public class FineLavoriServiceClp implements FineLavoriService {
_methodParameterTypes13 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
@ -347,7 +348,7 @@ public class FineLavoriServiceClp implements FineLavoriService {
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
java.lang.String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo,
boolean normEsenteSpese, boolean normEsenteCollaudo,
java.lang.String comunicazioneDirettoreLavori,
boolean richiestaAttestazione)
throws com.liferay.portal.kernel.exception.PortalException,
@ -374,6 +375,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
normEsenteBollo,
normEsenteSpese,
normEsenteCollaudo,
ClpSerializer.translateInput(comunicazioneDirettoreLavori),
@ -535,6 +538,7 @@ public class FineLavoriServiceClp implements FineLavoriService {
@Override
public it.tref.liferay.portos.bo.model.FineLavori pagaInvia(
long fineLavoriId, java.lang.String codiceFiscaleCommittente,
java.lang.String importoBolli, java.lang.String importoSpese,
java.lang.String currentURL,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
@ -549,6 +553,10 @@ public class FineLavoriServiceClp implements FineLavoriService {
ClpSerializer.translateInput(codiceFiscaleCommittente),
ClpSerializer.translateInput(importoBolli),
ClpSerializer.translateInput(importoSpese),
ClpSerializer.translateInput(currentURL),
ClpSerializer.translateInput(serviceContext)

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

@ -102,7 +102,7 @@ public class FineLavoriServiceUtil {
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
java.lang.String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo,
boolean normEsenteSpese, boolean normEsenteCollaudo,
java.lang.String comunicazioneDirettoreLavori,
boolean richiestaAttestazione)
throws com.liferay.portal.kernel.exception.PortalException,
@ -110,8 +110,8 @@ public class FineLavoriServiceUtil {
return getService()
.updateFineLavori(userId, fineLavoriId, intPraticaId,
parziale, completata, dataFineLavori, codiceFiscaleDelegato,
normEsenteBollo, normEsenteCollaudo, comunicazioneDirettoreLavori,
richiestaAttestazione);
normEsenteBollo, normEsenteSpese, normEsenteCollaudo,
comunicazioneDirettoreLavori, richiestaAttestazione);
}
public static it.tref.liferay.portos.bo.model.FineLavori getLastEditable(
@ -143,13 +143,14 @@ public class FineLavoriServiceUtil {
public static it.tref.liferay.portos.bo.model.FineLavori pagaInvia(
long fineLavoriId, java.lang.String codiceFiscaleCommittente,
java.lang.String importoBolli, java.lang.String importoSpese,
java.lang.String currentURL,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService()
.pagaInvia(fineLavoriId, codiceFiscaleCommittente,
currentURL, serviceContext);
importoBolli, importoSpese, currentURL, serviceContext);
}
public static it.tref.liferay.portos.bo.model.FineLavori updateEsito(

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

@ -101,15 +101,16 @@ public class FineLavoriServiceWrapper implements FineLavoriService,
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
java.lang.String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo,
boolean normEsenteSpese, boolean normEsenteCollaudo,
java.lang.String comunicazioneDirettoreLavori,
boolean richiestaAttestazione)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fineLavoriService.updateFineLavori(userId, fineLavoriId,
intPraticaId, parziale, completata, dataFineLavori,
codiceFiscaleDelegato, normEsenteBollo, normEsenteCollaudo,
comunicazioneDirettoreLavori, richiestaAttestazione);
codiceFiscaleDelegato, normEsenteBollo, normEsenteSpese,
normEsenteCollaudo, comunicazioneDirettoreLavori,
richiestaAttestazione);
}
@Override
@ -145,12 +146,14 @@ public class FineLavoriServiceWrapper implements FineLavoriService,
@Override
public it.tref.liferay.portos.bo.model.FineLavori pagaInvia(
long fineLavoriId, java.lang.String codiceFiscaleCommittente,
java.lang.String importoBolli, java.lang.String importoSpese,
java.lang.String currentURL,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fineLavoriService.pagaInvia(fineLavoriId,
codiceFiscaleCommittente, currentURL, serviceContext);
codiceFiscaleCommittente, importoBolli, importoSpese, currentURL,
serviceContext);
}
@Override

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

@ -372,11 +372,6 @@ public interface PagamentoLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Pagamento annullaPagamento(
long pagamentoId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Pagamento> findByCommittente_Mezzo(
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
int start, int end)
@ -461,13 +456,6 @@ public interface PagamentoLocalService extends BaseLocalService,
public int countByIntPratica_Visible(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException;
public void sostituisciPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public void updatePagamentoManuale(long pagamentoId, byte[] content,
java.lang.String sourceFileName,
com.liferay.portal.service.ServiceContext serviceContext)

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

@ -186,145 +186,134 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
_methodParameterTypes30 = new String[] { "long", "java.lang.String" };
_methodName31 = "annullaPagamento";
_methodName31 = "findByCommittente_Mezzo";
_methodParameterTypes31 = new String[] { "long" };
_methodName32 = "findByCommittente_Mezzo";
_methodParameterTypes32 = new String[] {
_methodParameterTypes31 = new String[] {
"java.lang.String", "java.lang.String", "int", "int"
};
_methodName33 = "countByCommittente_Mezzo";
_methodName32 = "countByCommittente_Mezzo";
_methodParameterTypes33 = new String[] {
_methodParameterTypes32 = new String[] {
"java.lang.String", "java.lang.String"
};
_methodName34 = "findByCommittente_Mezzo_Utilizzata";
_methodName33 = "findByCommittente_Mezzo_Utilizzata";
_methodParameterTypes34 = new String[] {
_methodParameterTypes33 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String",
"int", "int"
};
_methodName35 = "countByCommittente_Mezzo_Utilizzata";
_methodName34 = "countByCommittente_Mezzo_Utilizzata";
_methodParameterTypes35 = new String[] {
_methodParameterTypes34 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String"
};
_methodName36 = "findByMezzo_Utilizzata";
_methodName35 = "findByMezzo_Utilizzata";
_methodParameterTypes36 = new String[] {
_methodParameterTypes35 = new String[] {
"java.lang.String", "java.lang.String", "int", "int"
};
_methodName37 = "findByOldPagamentoId";
_methodName36 = "findByOldPagamentoId";
_methodParameterTypes37 = new String[] { "long" };
_methodParameterTypes36 = new String[] { "long" };
_methodName38 = "countByMezzo_Utilizzata";
_methodName37 = "countByMezzo_Utilizzata";
_methodParameterTypes38 = new String[] {
_methodParameterTypes37 = new String[] {
"java.lang.String", "java.lang.String"
};
_methodName39 = "findByMezzo_Utilizzata_CreateDate";
_methodName38 = "findByMezzo_Utilizzata_CreateDate";
_methodParameterTypes39 = new String[] {
_methodParameterTypes38 = new String[] {
"java.lang.String", "java.lang.String", "java.util.Date", "int",
"int"
};
_methodName40 = "countByMezzo_Utilizzata_EmailPending_CreateDate";
_methodName39 = "countByMezzo_Utilizzata_EmailPending_CreateDate";
_methodParameterTypes40 = new String[] {
_methodParameterTypes39 = new String[] {
"java.lang.String", "java.lang.String", "boolean",
"java.util.Date"
};
_methodName41 = "findByMezzo_Utilizzata_EmailPending_CreateDate";
_methodName40 = "findByMezzo_Utilizzata_EmailPending_CreateDate";
_methodParameterTypes41 = new String[] {
_methodParameterTypes40 = new String[] {
"java.lang.String", "java.lang.String", "boolean",
"java.util.Date", "int", "int"
};
_methodName42 = "findInPending";
_methodName41 = "findInPending";
_methodParameterTypes42 = new String[] {
_methodParameterTypes41 = new String[] {
"java.util.Date", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName43 = "countInPending";
_methodName42 = "countInPending";
_methodParameterTypes43 = new String[] { "java.util.Date" };
_methodParameterTypes42 = new String[] { "java.util.Date" };
_methodName44 = "countByMezzo_Utilizzata_CreateDate";
_methodName43 = "countByMezzo_Utilizzata_CreateDate";
_methodParameterTypes44 = new String[] {
_methodParameterTypes43 = new String[] {
"java.lang.String", "java.lang.String", "java.util.Date"
};
_methodName45 = "updateEmailPendingPagamento";
_methodName44 = "updateEmailPendingPagamento";
_methodParameterTypes44 = new String[] { "long", "boolean" };
_methodName45 = "countByClassPk";
_methodParameterTypes45 = new String[] { "long", "boolean" };
_methodParameterTypes45 = new String[] { "long" };
_methodName46 = "countByClassPk";
_methodName46 = "findByClassPk";
_methodParameterTypes46 = new String[] { "long" };
_methodName47 = "findByClassPk";
_methodName47 = "findByIntPratica";
_methodParameterTypes47 = new String[] { "long" };
_methodName48 = "findByIntPratica";
_methodName48 = "countByIntPratica";
_methodParameterTypes48 = new String[] { "long" };
_methodName49 = "countByIntPratica";
_methodName49 = "findByIntPratica_Visible";
_methodParameterTypes49 = new String[] { "long" };
_methodName50 = "findByIntPratica_Visible";
_methodName50 = "countByIntPratica_Visible";
_methodParameterTypes50 = new String[] { "long" };
_methodName51 = "countByIntPratica_Visible";
_methodParameterTypes51 = new String[] { "long" };
_methodName52 = "sostituisciPagamento";
_methodName51 = "updatePagamentoManuale";
_methodParameterTypes52 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "com.liferay.portal.service.ServiceContext"
};
_methodName53 = "updatePagamentoManuale";
_methodParameterTypes53 = new String[] {
_methodParameterTypes51 = new String[] {
"long", "byte[][]", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName54 = "updatePagamentoManualeFromImport";
_methodName52 = "updatePagamentoManualeFromImport";
_methodParameterTypes54 = new String[] {
_methodParameterTypes52 = new String[] {
"long", "byte[][]", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName55 = "fetchByOldPagamentoId";
_methodName53 = "fetchByOldPagamentoId";
_methodParameterTypes55 = new String[] { "long" };
_methodParameterTypes53 = new String[] { "long" };
_methodName56 = "updateOtf";
_methodName54 = "updateOtf";
_methodParameterTypes56 = new String[] { "long", "boolean" };
_methodParameterTypes54 = new String[] { "long", "boolean" };
}
@Override
@ -1417,40 +1406,6 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
return (it.tref.liferay.portos.bo.model.Pagamento)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.bo.model.Pagamento annullaPagamento(
long pagamentoId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes31, new Object[] { pagamentoId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.bo.model.Pagamento)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Pagamento> findByCommittente_Mezzo(
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
@ -1459,8 +1414,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName32,
_methodParameterTypes32,
returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes31,
new Object[] {
ClpSerializer.translateInput(codiceFiscaleCommittente),
@ -1497,8 +1452,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName33,
_methodParameterTypes33,
returnObj = _invokableLocalService.invokeMethod(_methodName32,
_methodParameterTypes32,
new Object[] {
ClpSerializer.translateInput(codiceFiscaleCommittente),
@ -1532,8 +1487,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes34,
returnObj = _invokableLocalService.invokeMethod(_methodName33,
_methodParameterTypes33,
new Object[] {
ClpSerializer.translateInput(codiceFiscaleCommittente),
@ -1573,8 +1528,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes35,
returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes34,
new Object[] {
ClpSerializer.translateInput(codiceFiscaleCommittente),
@ -1609,8 +1564,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes36,
returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes35,
new Object[] {
ClpSerializer.translateInput(mezzo),
@ -1647,8 +1602,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37, new Object[] { oldPagamentoId });
returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes36, new Object[] { oldPagamentoId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1676,8 +1631,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38,
returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37,
new Object[] {
ClpSerializer.translateInput(mezzo),
@ -1711,8 +1666,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39,
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38,
new Object[] {
ClpSerializer.translateInput(mezzo),
@ -1752,8 +1707,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes40,
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39,
new Object[] {
ClpSerializer.translateInput(mezzo),
@ -1791,8 +1746,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41,
returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes40,
new Object[] {
ClpSerializer.translateInput(mezzo),
@ -1834,8 +1789,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41,
new Object[] {
ClpSerializer.translateInput(date),
@ -1871,8 +1826,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
new Object[] { ClpSerializer.translateInput(date) });
}
catch (Throwable t) {
@ -1901,8 +1856,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
new Object[] {
ClpSerializer.translateInput(mezzo),
@ -1938,8 +1893,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
new Object[] { pagamentoId, emailPending });
}
catch (Throwable t) {
@ -1971,8 +1926,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46, new Object[] { classPk });
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45, new Object[] { classPk });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2000,8 +1955,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47, new Object[] { classPk });
returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46, new Object[] { classPk });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2029,8 +1984,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2057,8 +2012,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2086,8 +2041,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2114,8 +2069,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2136,49 +2091,6 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
return ((Integer)returnObj).intValue();
}
@Override
public void sostituisciPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
new Object[] {
pagamentoId,
ClpSerializer.translateInput(codiceFiscaleCommittente),
ClpSerializer.translateInput(mezzo),
ClpSerializer.translateInput(url),
ClpSerializer.translateInput(serviceContext)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
}
@Override
public void updatePagamentoManuale(long pagamentoId, byte[] content,
java.lang.String sourceFileName,
@ -2187,8 +2099,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
com.liferay.portal.kernel.exception.SystemException,
java.io.IOException {
try {
_invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
_invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
new Object[] {
pagamentoId,
@ -2231,8 +2143,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
_invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
new Object[] {
pagamentoId,
@ -2271,8 +2183,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55, new Object[] { oldPagamentoId });
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53, new Object[] { oldPagamentoId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2301,8 +2213,8 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56, new Object[] { pagamentoId, otf });
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54, new Object[] { pagamentoId, otf });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2436,8 +2348,4 @@ public class PagamentoLocalServiceClp implements PagamentoLocalService {
private String[] _methodParameterTypes53;
private String _methodName54;
private String[] _methodParameterTypes54;
private String _methodName55;
private String[] _methodParameterTypes55;
private String _methodName56;
private String[] _methodParameterTypes56;
}

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

@ -427,13 +427,6 @@ public class PagamentoLocalServiceUtil {
return getService().updatePagamentoUtilizzata(pagamentoId, utilizzata);
}
public static it.tref.liferay.portos.bo.model.Pagamento annullaPagamento(
long pagamentoId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().annullaPagamento(pagamentoId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.Pagamento> findByCommittente_Mezzo(
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
int start, int end)
@ -573,17 +566,6 @@ public class PagamentoLocalServiceUtil {
return getService().countByIntPratica_Visible(intPraticaId);
}
public static void sostituisciPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
getService()
.sostituisciPagamento(pagamentoId, codiceFiscaleCommittente, mezzo,
url, serviceContext);
}
public static void updatePagamentoManuale(long pagamentoId, byte[] content,
java.lang.String sourceFileName,
com.liferay.portal.service.ServiceContext serviceContext)

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

@ -451,14 +451,6 @@ public class PagamentoLocalServiceWrapper implements PagamentoLocalService,
utilizzata);
}
@Override
public it.tref.liferay.portos.bo.model.Pagamento annullaPagamento(
long pagamentoId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _pagamentoLocalService.annullaPagamento(pagamentoId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Pagamento> findByCommittente_Mezzo(
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
@ -613,17 +605,6 @@ public class PagamentoLocalServiceWrapper implements PagamentoLocalService,
return _pagamentoLocalService.countByIntPratica_Visible(intPraticaId);
}
@Override
public void sostituisciPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
_pagamentoLocalService.sostituisciPagamento(pagamentoId,
codiceFiscaleCommittente, mezzo, url, serviceContext);
}
@Override
public void updatePagamentoManuale(long pagamentoId, byte[] content,
java.lang.String sourceFileName,

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

@ -64,25 +64,6 @@ public interface PagamentoService extends BaseService, InvokableService {
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
public void sostituisciPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public void rigeneraPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public void annullaPagamento(long pagamentoId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public void updatePagamentoManuale(long pagamentoId, byte[] content,
java.lang.String sourceFileName,
com.liferay.portal.service.ServiceContext serviceContext)

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

@ -32,29 +32,9 @@ public class PagamentoServiceClp implements PagamentoService {
_methodParameterTypes1 = new String[] { "java.lang.String" };
_methodName3 = "sostituisciPagamento";
_methodName3 = "updatePagamentoManuale";
_methodParameterTypes3 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "com.liferay.portal.service.ServiceContext"
};
_methodName4 = "rigeneraPagamento";
_methodParameterTypes4 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "com.liferay.portal.service.ServiceContext"
};
_methodName5 = "annullaPagamento";
_methodParameterTypes5 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName6 = "updatePagamentoManuale";
_methodParameterTypes6 = new String[] {
"long", "byte[][]", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
@ -110,127 +90,6 @@ public class PagamentoServiceClp implements PagamentoService {
throw new UnsupportedOperationException();
}
@Override
public void sostituisciPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableService.invokeMethod(_methodName3,
_methodParameterTypes3,
new Object[] {
pagamentoId,
ClpSerializer.translateInput(codiceFiscaleCommittente),
ClpSerializer.translateInput(mezzo),
ClpSerializer.translateInput(url),
ClpSerializer.translateInput(serviceContext)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
}
@Override
public void rigeneraPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableService.invokeMethod(_methodName4,
_methodParameterTypes4,
new Object[] {
pagamentoId,
ClpSerializer.translateInput(codiceFiscaleCommittente),
ClpSerializer.translateInput(mezzo),
ClpSerializer.translateInput(url),
ClpSerializer.translateInput(serviceContext)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
}
@Override
public void annullaPagamento(long pagamentoId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableService.invokeMethod(_methodName5,
_methodParameterTypes5,
new Object[] {
pagamentoId,
ClpSerializer.translateInput(serviceContext)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
}
@Override
public void updatePagamentoManuale(long pagamentoId, byte[] content,
java.lang.String sourceFileName,
@ -239,8 +98,8 @@ public class PagamentoServiceClp implements PagamentoService {
com.liferay.portal.kernel.exception.SystemException,
java.io.IOException {
try {
_invokableService.invokeMethod(_methodName6,
_methodParameterTypes6,
_invokableService.invokeMethod(_methodName3,
_methodParameterTypes3,
new Object[] {
pagamentoId,
@ -283,10 +142,4 @@ public class PagamentoServiceClp implements PagamentoService {
private String[] _methodParameterTypes1;
private String _methodName3;
private String[] _methodParameterTypes3;
private String _methodName4;
private String[] _methodParameterTypes4;
private String _methodName5;
private String[] _methodParameterTypes5;
private String _methodName6;
private String[] _methodParameterTypes6;
}

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

@ -63,35 +63,6 @@ public class PagamentoServiceUtil {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static void sostituisciPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
getService()
.sostituisciPagamento(pagamentoId, codiceFiscaleCommittente, mezzo,
url, serviceContext);
}
public static void rigeneraPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
getService()
.rigeneraPagamento(pagamentoId, codiceFiscaleCommittente, mezzo,
url, serviceContext);
}
public static void annullaPagamento(long pagamentoId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
getService().annullaPagamento(pagamentoId, serviceContext);
}
public static void updatePagamentoManuale(long pagamentoId, byte[] content,
java.lang.String sourceFileName,
com.liferay.portal.service.ServiceContext serviceContext)

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

@ -56,36 +56,6 @@ public class PagamentoServiceWrapper implements PagamentoService,
return _pagamentoService.invokeMethod(name, parameterTypes, arguments);
}
@Override
public void sostituisciPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
_pagamentoService.sostituisciPagamento(pagamentoId,
codiceFiscaleCommittente, mezzo, url, serviceContext);
}
@Override
public void rigeneraPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
_pagamentoService.rigeneraPagamento(pagamentoId,
codiceFiscaleCommittente, mezzo, url, serviceContext);
}
@Override
public void annullaPagamento(long pagamentoId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
_pagamentoService.annullaPagamento(pagamentoId, serviceContext);
}
@Override
public void updatePagamentoManuale(long pagamentoId, byte[] content,
java.lang.String sourceFileName,

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

@ -26,7 +26,6 @@ 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.GetterUtil;
import com.liferay.portal.kernel.util.Validator;
public abstract class PagamentiCommonUtil {
@ -117,18 +116,10 @@ public abstract class PagamentiCommonUtil {
public static boolean existsSpeseIstruttoria(String tipoIntegrazione) {
return !TipoIntegrazioneUtil.FINE_LAVORI_PARZIALE.equals(tipoIntegrazione)
&& !TipoIntegrazioneUtil.FINE_LAVORI.equals(tipoIntegrazione)
&& !TipoIntegrazioneUtil.COLLAUDO_PARZIALE.equals(tipoIntegrazione)
return !TipoIntegrazioneUtil.COLLAUDO_PARZIALE.equals(tipoIntegrazione)
&& !TipoIntegrazioneUtil.COLLAUDO.equals(tipoIntegrazione);
}
public static boolean irisIsEnable(long companyId) throws SystemException {
return GetterUtil.getBoolean(ConfigurazioneLocalServiceUtil.findByC_ChiaveString(companyId,
ConfigurazioneConstants.SCHEDULER_IRIS));
}
public static boolean pagamentiInitialized(long classPK, String className) throws PortalException, SystemException {
boolean normEsenteSpese = false;
@ -143,9 +134,9 @@ public abstract class PagamentiCommonUtil {
pagamentoIdBolli = dettPratica.getPagamentoIdBolli();
} else if (FineLavori.class.getName().equals(className)) {
FineLavori fineLavori = FineLavoriLocalServiceUtil.getFineLavori(classPK);
normEsenteSpese = true;
normEsenteSpese = fineLavori.isNormEsenteSpese();
normEsenteBollo = fineLavori.isNormEsenteBollo();
pagamentoIdSpese = 0L;
pagamentoIdSpese = fineLavori.getPagamentoSpeseId();
pagamentoIdBolli = fineLavori.getPagamentoId();
} else if (Collaudo.class.getName().equals(className)) {
Collaudo collaudo = CollaudoLocalServiceUtil.getCollaudo(classPK);
@ -166,31 +157,31 @@ public abstract class PagamentiCommonUtil {
public static boolean pagamentiCompleted(long classPK, String className) throws PortalException, SystemException {
boolean normEsenteSpese = false;
boolean normEsenteBollo = false;
boolean esenteSpese = false;
boolean esenteBollo = false;
long pagamentoIdSpese = 0L;
long pagamentoIdBolli = 0L;
if (DettPratica.class.getName().equals(className)) {
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(classPK);
normEsenteSpese = dettPratica.isNormEsenteSpese();
normEsenteBollo = dettPratica.isNormEsenteBollo();
esenteSpese = dettPratica.isNormEsenteSpese();
esenteBollo = dettPratica.isNormEsenteBollo();
pagamentoIdSpese = dettPratica.getPagamentoIdOneri();
pagamentoIdBolli = dettPratica.getPagamentoIdBolli();
} else if (FineLavori.class.getName().equals(className)) {
FineLavori fineLavori = FineLavoriLocalServiceUtil.getFineLavori(classPK);
normEsenteSpese = true;
normEsenteBollo = fineLavori.isNormEsenteBollo();
pagamentoIdSpese = 0L;
esenteSpese = fineLavori.isNormEsenteSpese();
esenteBollo = fineLavori.isNormEsenteBollo();
pagamentoIdSpese = fineLavori.getPagamentoSpeseId();
pagamentoIdBolli = fineLavori.getPagamentoId();
} else if (Collaudo.class.getName().equals(className)) {
Collaudo collaudo = CollaudoLocalServiceUtil.getCollaudo(classPK);
normEsenteSpese = true;
normEsenteBollo = collaudo.isNormEsenteBollo();
esenteSpese = true;
esenteBollo = collaudo.isNormEsenteBollo();
pagamentoIdSpese = 0L;
pagamentoIdBolli = collaudo.getPagamentoId();
}
boolean completed = false;
if (!normEsenteBollo && !normEsenteSpese) {
if (!esenteBollo && !esenteSpese) {
if (Validator.isNull(pagamentoIdBolli) || Validator.isNull(pagamentoIdSpese)) {
return false;
}
@ -199,10 +190,10 @@ public abstract class PagamentiCommonUtil {
completed = PagamentoConstants.UTILIZZATA_PAGATA.equalsIgnoreCase(pagamentoBolli.getUtilizzata())
&& PagamentoConstants.UTILIZZATA_PAGATA.equalsIgnoreCase(pagamentoSpese.getUtilizzata());
} else {
if (normEsenteBollo && Validator.isNotNull(pagamentoIdSpese)) {
if (esenteBollo && Validator.isNotNull(pagamentoIdSpese)) {
Pagamento pagamentoSpese = PagamentoLocalServiceUtil.getPagamento(pagamentoIdSpese);
completed = PagamentoConstants.UTILIZZATA_PAGATA.equalsIgnoreCase(pagamentoSpese.getUtilizzata());
} else if (normEsenteSpese && Validator.isNotNull(pagamentoIdBolli)) {
} else if (esenteSpese && Validator.isNotNull(pagamentoIdBolli)) {
Pagamento pagamentoBolli = PagamentoLocalServiceUtil.getPagamento(pagamentoIdBolli);
completed = PagamentoConstants.UTILIZZATA_PAGATA.equalsIgnoreCase(pagamentoBolli.getUtilizzata());
}

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

@ -502,13 +502,19 @@ create table portos_bo_FineLavori (
dataEffettuazione DATE null,
dataFineLavori DATE null,
normEsenteBollo BOOLEAN,
normEsenteSpese BOOLEAN,
normEsenteCollaudo BOOLEAN,
comunicazioneDirettoreLavori STRING null,
pagamentoId LONG,
pagamentoSpeseId LONG,
codicePagamento VARCHAR(75) null,
codicePagamentoSpese VARCHAR(75) null,
causalePagamento VARCHAR(75) null,
causalePagamentoSpese VARCHAR(75) null,
mezzoPagamento VARCHAR(75) null,
mezzoPagamentoSpese VARCHAR(75) null,
importoBolli VARCHAR(75) null,
importoSpese VARCHAR(75) null,
richiestaAttestazione BOOLEAN
);

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

@ -555,13 +555,19 @@
<property name="dataEffettuazione" type="org.hibernate.type.TimestampType" />
<property name="dataFineLavori" type="org.hibernate.type.TimestampType" />
<property name="normEsenteBollo" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="normEsenteSpese" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="normEsenteCollaudo" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="comunicazioneDirettoreLavori" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="pagamentoId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="pagamentoSpeseId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="codicePagamento" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="codicePagamentoSpese" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="causalePagamento" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="causalePagamentoSpese" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="mezzoPagamento" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="mezzoPagamentoSpese" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="importoBolli" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="importoSpese" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="richiestaAttestazione" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
</class>
<class name="it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionImpl" table="portos_bo_HistoryWorkflowAction">

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

@ -607,15 +607,21 @@
<field name="dataEffettuazione" type="Date" />
<field name="dataFineLavori" type="Date" />
<field name="normEsenteBollo" type="boolean" />
<field name="normEsenteSpese" type="boolean" />
<field name="normEsenteCollaudo" type="boolean" />
<field name="comunicazioneDirettoreLavori" type="String">
<hint name="max-length">4000</hint>
</field>
<field name="pagamentoId" type="long" />
<field name="pagamentoSpeseId" type="long" />
<field name="codicePagamento" type="String" />
<field name="codicePagamentoSpese" type="String" />
<field name="causalePagamento" type="String" />
<field name="causalePagamentoSpese" type="String" />
<field name="mezzoPagamento" type="String" />
<field name="mezzoPagamentoSpese" type="String" />
<field name="importoBolli" type="String" />
<field name="importoSpese" type="String" />
<field name="richiestaAttestazione" type="boolean" />
</model>
<model name="it.tref.liferay.portos.bo.model.HistoryWorkflowAction">

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

@ -704,13 +704,19 @@
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="normEsenteBollo" />
<basic name="normEsenteSpese" />
<basic name="normEsenteCollaudo" />
<basic name="comunicazioneDirettoreLavori" />
<basic name="pagamentoId" />
<basic name="pagamentoSpeseId" />
<basic name="codicePagamento" />
<basic name="codicePagamentoSpese" />
<basic name="causalePagamento" />
<basic name="causalePagamentoSpese" />
<basic name="mezzoPagamento" />
<basic name="mezzoPagamentoSpese" />
<basic name="importoBolli" />
<basic name="importoSpese" />
<basic name="richiestaAttestazione" />
<transient name="modelAttributes" />
<transient name="primaryKey" />

7
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties

@ -242,6 +242,7 @@ norm-lavori-in-proprio = il committente esegue i lavori in proprio (IN ECONOMIA)
lavori-pubblici = lavori pubblici
norm-esente-bollo = esente da bollo ai sensi di <strong>D.P.R. 26/10/1972 n. 642 e s.m.i.</strong>
norm-esente-spese = esente da spese istruttoria
norm-esente-diritti = esente dal pagamento dei diritti fissi
collaudo-statico = Trattandosi di opere di riparazione o intervento locale eseguibile su un edificio esistente ai sensi del D.M. 17/01/2018, punto 8.4, non si effettuerà il collaudo statico
norm-art3com3 = Possono essere omessi i seguenti allegati
@ -915,6 +916,7 @@ pagamento-utilizzata-07 = Sostituito
label-pagamenti-spese-istruttoria = Spese Istruttoria
label-pagamenti-spese-bolli = Bolli
label-pagamenti-diritti = Diritti fissi
label-pagamenti-nuove-costruzioni = Nuove costruzioni
label-pagamenti-adeguamento-sismico = Nuove costruzioni / Adeguamento sismico
label-pagamenti-miglioramento-sismico = Intervento di miglioramento sismico
@ -937,9 +939,10 @@ label-payment-otf-rigeneration = Solo nel caso in cui si è sicuri che il pagame
label-pagamento = Pagamento
label-pagamento-spese = Pagamento Spese Istruttoria
label-pagamento-bolli = Pagamento Bolli
label-pagamento-diritti = Pagamento diritti fissi
text-pagamento-iris = Il pagamento è stato correttamente inizializzato. Cliccare sul pulsante per procedere al saldo dell'importo
text-pagamento-manuale-oneri = text-pagamento-manuale-iris
text-pagamento-manuale-bolli = text-pagamento-manuale-bolli
text-pagamento-manuale-oneri = Allegare file comprovante il pagamento
text-pagamento-manuale-bolli = Allegare file comprovante il pagamento
sostituisci-pagamento-oneri = Cambia modalità pagamento Spese Istruttoria
sostituisci-pagamento-bolli = Cambia modalità pagamento Bolli

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

@ -104,7 +104,12 @@ public class DatabaseUpdateAction extends SimpleAction {
if (!hasColumn(FineLavoriImpl.TABLE_NAME, "richiestaAttestazione")) {
_log.info("Aggiornamento a v3 di " + FineLavoriImpl.TABLE_NAME);
s.executeUpdate("ALTER TABLE " + FineLavoriImpl.TABLE_NAME + " ADD COLUMN richiestaAttestazione BOOL");
s.executeUpdate("ALTER TABLE " + FineLavoriImpl.TABLE_NAME + " ADD COLUMN normEsenteSpese BOOL,"
+ "ADD COLUMN pagamentoSpeseId BIGINT,"
+ "ADD COLUMN codicePagamentoSpese VARCHAR(75) NULL,"
+ "ADD COLUMN causalePagamentoSpese VARCHAR(75) NULL,"
+ "ADD COLUMN mezzoPagamentoSpese VARCHAR(75) NULL,"
+ "ADD COLUMN importoSpese VARCHAR(75) NULL,ADD COLUMN richiestaAttestazione BOOL");
}
if (hasColumn(CollaudoImpl.TABLE_NAME, "oldDettPraticaId")) {

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

@ -38,7 +38,7 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(55);
StringBundler sb = new StringBundler(67);
sb.append("{uuid=");
sb.append(uuid);
@ -78,20 +78,32 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
sb.append(dataFineLavori);
sb.append(", normEsenteBollo=");
sb.append(normEsenteBollo);
sb.append(", normEsenteSpese=");
sb.append(normEsenteSpese);
sb.append(", normEsenteCollaudo=");
sb.append(normEsenteCollaudo);
sb.append(", comunicazioneDirettoreLavori=");
sb.append(comunicazioneDirettoreLavori);
sb.append(", pagamentoId=");
sb.append(pagamentoId);
sb.append(", pagamentoSpeseId=");
sb.append(pagamentoSpeseId);
sb.append(", codicePagamento=");
sb.append(codicePagamento);
sb.append(", codicePagamentoSpese=");
sb.append(codicePagamentoSpese);
sb.append(", causalePagamento=");
sb.append(causalePagamento);
sb.append(", causalePagamentoSpese=");
sb.append(causalePagamentoSpese);
sb.append(", mezzoPagamento=");
sb.append(mezzoPagamento);
sb.append(", mezzoPagamentoSpese=");
sb.append(mezzoPagamentoSpese);
sb.append(", importoBolli=");
sb.append(importoBolli);
sb.append(", importoSpese=");
sb.append(importoSpese);
sb.append(", richiestaAttestazione=");
sb.append(richiestaAttestazione);
sb.append("}");
@ -179,6 +191,7 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
}
fineLavoriImpl.setNormEsenteBollo(normEsenteBollo);
fineLavoriImpl.setNormEsenteSpese(normEsenteSpese);
fineLavoriImpl.setNormEsenteCollaudo(normEsenteCollaudo);
if (comunicazioneDirettoreLavori == null) {
@ -189,6 +202,7 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
}
fineLavoriImpl.setPagamentoId(pagamentoId);
fineLavoriImpl.setPagamentoSpeseId(pagamentoSpeseId);
if (codicePagamento == null) {
fineLavoriImpl.setCodicePagamento(StringPool.BLANK);
@ -197,6 +211,13 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
fineLavoriImpl.setCodicePagamento(codicePagamento);
}
if (codicePagamentoSpese == null) {
fineLavoriImpl.setCodicePagamentoSpese(StringPool.BLANK);
}
else {
fineLavoriImpl.setCodicePagamentoSpese(codicePagamentoSpese);
}
if (causalePagamento == null) {
fineLavoriImpl.setCausalePagamento(StringPool.BLANK);
}
@ -204,6 +225,13 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
fineLavoriImpl.setCausalePagamento(causalePagamento);
}
if (causalePagamentoSpese == null) {
fineLavoriImpl.setCausalePagamentoSpese(StringPool.BLANK);
}
else {
fineLavoriImpl.setCausalePagamentoSpese(causalePagamentoSpese);
}
if (mezzoPagamento == null) {
fineLavoriImpl.setMezzoPagamento(StringPool.BLANK);
}
@ -211,6 +239,13 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
fineLavoriImpl.setMezzoPagamento(mezzoPagamento);
}
if (mezzoPagamentoSpese == null) {
fineLavoriImpl.setMezzoPagamentoSpese(StringPool.BLANK);
}
else {
fineLavoriImpl.setMezzoPagamentoSpese(mezzoPagamentoSpese);
}
if (importoBolli == null) {
fineLavoriImpl.setImportoBolli(StringPool.BLANK);
}
@ -218,6 +253,13 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
fineLavoriImpl.setImportoBolli(importoBolli);
}
if (importoSpese == null) {
fineLavoriImpl.setImportoSpese(StringPool.BLANK);
}
else {
fineLavoriImpl.setImportoSpese(importoSpese);
}
fineLavoriImpl.setRichiestaAttestazione(richiestaAttestazione);
fineLavoriImpl.resetOriginalValues();
@ -246,13 +288,19 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
dataEffettuazione = objectInput.readLong();
dataFineLavori = objectInput.readLong();
normEsenteBollo = objectInput.readBoolean();
normEsenteSpese = objectInput.readBoolean();
normEsenteCollaudo = objectInput.readBoolean();
comunicazioneDirettoreLavori = objectInput.readUTF();
pagamentoId = objectInput.readLong();
pagamentoSpeseId = objectInput.readLong();
codicePagamento = objectInput.readUTF();
codicePagamentoSpese = objectInput.readUTF();
causalePagamento = objectInput.readUTF();
causalePagamentoSpese = objectInput.readUTF();
mezzoPagamento = objectInput.readUTF();
mezzoPagamentoSpese = objectInput.readUTF();
importoBolli = objectInput.readUTF();
importoSpese = objectInput.readUTF();
richiestaAttestazione = objectInput.readBoolean();
}
@ -305,6 +353,7 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
objectOutput.writeLong(dataEffettuazione);
objectOutput.writeLong(dataFineLavori);
objectOutput.writeBoolean(normEsenteBollo);
objectOutput.writeBoolean(normEsenteSpese);
objectOutput.writeBoolean(normEsenteCollaudo);
if (comunicazioneDirettoreLavori == null) {
@ -315,6 +364,7 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
}
objectOutput.writeLong(pagamentoId);
objectOutput.writeLong(pagamentoSpeseId);
if (codicePagamento == null) {
objectOutput.writeUTF(StringPool.BLANK);
@ -323,6 +373,13 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
objectOutput.writeUTF(codicePagamento);
}
if (codicePagamentoSpese == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(codicePagamentoSpese);
}
if (causalePagamento == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
@ -330,6 +387,13 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
objectOutput.writeUTF(causalePagamento);
}
if (causalePagamentoSpese == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(causalePagamentoSpese);
}
if (mezzoPagamento == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
@ -337,6 +401,13 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
objectOutput.writeUTF(mezzoPagamento);
}
if (mezzoPagamentoSpese == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(mezzoPagamentoSpese);
}
if (importoBolli == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
@ -344,6 +415,13 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
objectOutput.writeUTF(importoBolli);
}
if (importoSpese == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(importoSpese);
}
objectOutput.writeBoolean(richiestaAttestazione);
}
@ -366,12 +444,18 @@ public class FineLavoriCacheModel implements CacheModel<FineLavori>,
public long dataEffettuazione;
public long dataFineLavori;
public boolean normEsenteBollo;
public boolean normEsenteSpese;
public boolean normEsenteCollaudo;
public String comunicazioneDirettoreLavori;
public long pagamentoId;
public long pagamentoSpeseId;
public String codicePagamento;
public String codicePagamentoSpese;
public String causalePagamento;
public String causalePagamentoSpese;
public String mezzoPagamento;
public String mezzoPagamentoSpese;
public String importoBolli;
public String importoSpese;
public boolean richiestaAttestazione;
}

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

@ -86,16 +86,22 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
{ "dataEffettuazione", Types.TIMESTAMP },
{ "dataFineLavori", Types.TIMESTAMP },
{ "normEsenteBollo", Types.BOOLEAN },
{ "normEsenteSpese", Types.BOOLEAN },
{ "normEsenteCollaudo", Types.BOOLEAN },
{ "comunicazioneDirettoreLavori", Types.VARCHAR },
{ "pagamentoId", Types.BIGINT },
{ "pagamentoSpeseId", Types.BIGINT },
{ "codicePagamento", Types.VARCHAR },
{ "codicePagamentoSpese", Types.VARCHAR },
{ "causalePagamento", Types.VARCHAR },
{ "causalePagamentoSpese", Types.VARCHAR },
{ "mezzoPagamento", Types.VARCHAR },
{ "mezzoPagamentoSpese", Types.VARCHAR },
{ "importoBolli", Types.VARCHAR },
{ "importoSpese", Types.VARCHAR },
{ "richiestaAttestazione", Types.BOOLEAN }
};
public static final String TABLE_SQL_CREATE = "create table portos_bo_FineLavori (uuid_ VARCHAR(75) null,fineLavoriId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataFineLavori DATE null,normEsenteBollo BOOLEAN,normEsenteCollaudo BOOLEAN,comunicazioneDirettoreLavori STRING null,pagamentoId LONG,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,importoBolli VARCHAR(75) null,richiestaAttestazione BOOLEAN)";
public static final String TABLE_SQL_CREATE = "create table portos_bo_FineLavori (uuid_ VARCHAR(75) null,fineLavoriId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataFineLavori DATE null,normEsenteBollo BOOLEAN,normEsenteSpese BOOLEAN,normEsenteCollaudo BOOLEAN,comunicazioneDirettoreLavori STRING null,pagamentoId LONG,pagamentoSpeseId LONG,codicePagamento VARCHAR(75) null,codicePagamentoSpese VARCHAR(75) null,causalePagamento VARCHAR(75) null,causalePagamentoSpese VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,mezzoPagamentoSpese VARCHAR(75) null,importoBolli VARCHAR(75) null,importoSpese VARCHAR(75) null,richiestaAttestazione BOOLEAN)";
public static final String TABLE_SQL_DROP = "drop table portos_bo_FineLavori";
public static final String ORDER_BY_JPQL = " ORDER BY fineLavori.fineLavoriId ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_FineLavori.fineLavoriId ASC";
@ -153,13 +159,19 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
model.setDataEffettuazione(soapModel.getDataEffettuazione());
model.setDataFineLavori(soapModel.getDataFineLavori());
model.setNormEsenteBollo(soapModel.getNormEsenteBollo());
model.setNormEsenteSpese(soapModel.getNormEsenteSpese());
model.setNormEsenteCollaudo(soapModel.getNormEsenteCollaudo());
model.setComunicazioneDirettoreLavori(soapModel.getComunicazioneDirettoreLavori());
model.setPagamentoId(soapModel.getPagamentoId());
model.setPagamentoSpeseId(soapModel.getPagamentoSpeseId());
model.setCodicePagamento(soapModel.getCodicePagamento());
model.setCodicePagamentoSpese(soapModel.getCodicePagamentoSpese());
model.setCausalePagamento(soapModel.getCausalePagamento());
model.setCausalePagamentoSpese(soapModel.getCausalePagamentoSpese());
model.setMezzoPagamento(soapModel.getMezzoPagamento());
model.setMezzoPagamentoSpese(soapModel.getMezzoPagamentoSpese());
model.setImportoBolli(soapModel.getImportoBolli());
model.setImportoSpese(soapModel.getImportoSpese());
model.setRichiestaAttestazione(soapModel.getRichiestaAttestazione());
return model;
@ -244,14 +256,20 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
attributes.put("dataEffettuazione", getDataEffettuazione());
attributes.put("dataFineLavori", getDataFineLavori());
attributes.put("normEsenteBollo", getNormEsenteBollo());
attributes.put("normEsenteSpese", getNormEsenteSpese());
attributes.put("normEsenteCollaudo", getNormEsenteCollaudo());
attributes.put("comunicazioneDirettoreLavori",
getComunicazioneDirettoreLavori());
attributes.put("pagamentoId", getPagamentoId());
attributes.put("pagamentoSpeseId", getPagamentoSpeseId());
attributes.put("codicePagamento", getCodicePagamento());
attributes.put("codicePagamentoSpese", getCodicePagamentoSpese());
attributes.put("causalePagamento", getCausalePagamento());
attributes.put("causalePagamentoSpese", getCausalePagamentoSpese());
attributes.put("mezzoPagamento", getMezzoPagamento());
attributes.put("mezzoPagamentoSpese", getMezzoPagamentoSpese());
attributes.put("importoBolli", getImportoBolli());
attributes.put("importoSpese", getImportoSpese());
attributes.put("richiestaAttestazione", getRichiestaAttestazione());
return attributes;
@ -374,6 +392,12 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
setNormEsenteBollo(normEsenteBollo);
}
Boolean normEsenteSpese = (Boolean)attributes.get("normEsenteSpese");
if (normEsenteSpese != null) {
setNormEsenteSpese(normEsenteSpese);
}
Boolean normEsenteCollaudo = (Boolean)attributes.get(
"normEsenteCollaudo");
@ -394,30 +418,63 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
setPagamentoId(pagamentoId);
}
Long pagamentoSpeseId = (Long)attributes.get("pagamentoSpeseId");
if (pagamentoSpeseId != null) {
setPagamentoSpeseId(pagamentoSpeseId);
}
String codicePagamento = (String)attributes.get("codicePagamento");
if (codicePagamento != null) {
setCodicePagamento(codicePagamento);
}
String codicePagamentoSpese = (String)attributes.get(
"codicePagamentoSpese");
if (codicePagamentoSpese != null) {
setCodicePagamentoSpese(codicePagamentoSpese);
}
String causalePagamento = (String)attributes.get("causalePagamento");
if (causalePagamento != null) {
setCausalePagamento(causalePagamento);
}
String causalePagamentoSpese = (String)attributes.get(
"causalePagamentoSpese");
if (causalePagamentoSpese != null) {
setCausalePagamentoSpese(causalePagamentoSpese);
}
String mezzoPagamento = (String)attributes.get("mezzoPagamento");
if (mezzoPagamento != null) {
setMezzoPagamento(mezzoPagamento);
}
String mezzoPagamentoSpese = (String)attributes.get(
"mezzoPagamentoSpese");
if (mezzoPagamentoSpese != null) {
setMezzoPagamentoSpese(mezzoPagamentoSpese);
}
String importoBolli = (String)attributes.get("importoBolli");
if (importoBolli != null) {
setImportoBolli(importoBolli);
}
String importoSpese = (String)attributes.get("importoSpese");
if (importoSpese != null) {
setImportoSpese(importoSpese);
}
Boolean richiestaAttestazione = (Boolean)attributes.get(
"richiestaAttestazione");
@ -773,6 +830,22 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
_normEsenteBollo = normEsenteBollo;
}
@JSON
@Override
public boolean getNormEsenteSpese() {
return _normEsenteSpese;
}
@Override
public boolean isNormEsenteSpese() {
return _normEsenteSpese;
}
@Override
public void setNormEsenteSpese(boolean normEsenteSpese) {
_normEsenteSpese = normEsenteSpese;
}
@JSON
@Override
public boolean getNormEsenteCollaudo() {
@ -817,6 +890,17 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
_pagamentoId = pagamentoId;
}
@JSON
@Override
public long getPagamentoSpeseId() {
return _pagamentoSpeseId;
}
@Override
public void setPagamentoSpeseId(long pagamentoSpeseId) {
_pagamentoSpeseId = pagamentoSpeseId;
}
@JSON
@Override
public String getCodicePagamento() {
@ -833,6 +917,22 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
_codicePagamento = codicePagamento;
}
@JSON
@Override
public String getCodicePagamentoSpese() {
if (_codicePagamentoSpese == null) {
return StringPool.BLANK;
}
else {
return _codicePagamentoSpese;
}
}
@Override
public void setCodicePagamentoSpese(String codicePagamentoSpese) {
_codicePagamentoSpese = codicePagamentoSpese;
}
@JSON
@Override
public String getCausalePagamento() {
@ -849,6 +949,22 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
_causalePagamento = causalePagamento;
}
@JSON
@Override
public String getCausalePagamentoSpese() {
if (_causalePagamentoSpese == null) {
return StringPool.BLANK;
}
else {
return _causalePagamentoSpese;
}
}
@Override
public void setCausalePagamentoSpese(String causalePagamentoSpese) {
_causalePagamentoSpese = causalePagamentoSpese;
}
@JSON
@Override
public String getMezzoPagamento() {
@ -865,6 +981,22 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
_mezzoPagamento = mezzoPagamento;
}
@JSON
@Override
public String getMezzoPagamentoSpese() {
if (_mezzoPagamentoSpese == null) {
return StringPool.BLANK;
}
else {
return _mezzoPagamentoSpese;
}
}
@Override
public void setMezzoPagamentoSpese(String mezzoPagamentoSpese) {
_mezzoPagamentoSpese = mezzoPagamentoSpese;
}
@JSON
@Override
public String getImportoBolli() {
@ -881,6 +1013,22 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
_importoBolli = importoBolli;
}
@JSON
@Override
public String getImportoSpese() {
if (_importoSpese == null) {
return StringPool.BLANK;
}
else {
return _importoSpese;
}
}
@Override
public void setImportoSpese(String importoSpese) {
_importoSpese = importoSpese;
}
@JSON
@Override
public boolean getRichiestaAttestazione() {
@ -953,13 +1101,19 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriImpl.setDataEffettuazione(getDataEffettuazione());
fineLavoriImpl.setDataFineLavori(getDataFineLavori());
fineLavoriImpl.setNormEsenteBollo(getNormEsenteBollo());
fineLavoriImpl.setNormEsenteSpese(getNormEsenteSpese());
fineLavoriImpl.setNormEsenteCollaudo(getNormEsenteCollaudo());
fineLavoriImpl.setComunicazioneDirettoreLavori(getComunicazioneDirettoreLavori());
fineLavoriImpl.setPagamentoId(getPagamentoId());
fineLavoriImpl.setPagamentoSpeseId(getPagamentoSpeseId());
fineLavoriImpl.setCodicePagamento(getCodicePagamento());
fineLavoriImpl.setCodicePagamentoSpese(getCodicePagamentoSpese());
fineLavoriImpl.setCausalePagamento(getCausalePagamento());
fineLavoriImpl.setCausalePagamentoSpese(getCausalePagamentoSpese());
fineLavoriImpl.setMezzoPagamento(getMezzoPagamento());
fineLavoriImpl.setMezzoPagamentoSpese(getMezzoPagamentoSpese());
fineLavoriImpl.setImportoBolli(getImportoBolli());
fineLavoriImpl.setImportoSpese(getImportoSpese());
fineLavoriImpl.setRichiestaAttestazione(getRichiestaAttestazione());
fineLavoriImpl.resetOriginalValues();
@ -1144,6 +1298,8 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriCacheModel.normEsenteBollo = getNormEsenteBollo();
fineLavoriCacheModel.normEsenteSpese = getNormEsenteSpese();
fineLavoriCacheModel.normEsenteCollaudo = getNormEsenteCollaudo();
fineLavoriCacheModel.comunicazioneDirettoreLavori = getComunicazioneDirettoreLavori();
@ -1157,6 +1313,8 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriCacheModel.pagamentoId = getPagamentoId();
fineLavoriCacheModel.pagamentoSpeseId = getPagamentoSpeseId();
fineLavoriCacheModel.codicePagamento = getCodicePagamento();
String codicePagamento = fineLavoriCacheModel.codicePagamento;
@ -1165,6 +1323,15 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriCacheModel.codicePagamento = null;
}
fineLavoriCacheModel.codicePagamentoSpese = getCodicePagamentoSpese();
String codicePagamentoSpese = fineLavoriCacheModel.codicePagamentoSpese;
if ((codicePagamentoSpese != null) &&
(codicePagamentoSpese.length() == 0)) {
fineLavoriCacheModel.codicePagamentoSpese = null;
}
fineLavoriCacheModel.causalePagamento = getCausalePagamento();
String causalePagamento = fineLavoriCacheModel.causalePagamento;
@ -1173,6 +1340,15 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriCacheModel.causalePagamento = null;
}
fineLavoriCacheModel.causalePagamentoSpese = getCausalePagamentoSpese();
String causalePagamentoSpese = fineLavoriCacheModel.causalePagamentoSpese;
if ((causalePagamentoSpese != null) &&
(causalePagamentoSpese.length() == 0)) {
fineLavoriCacheModel.causalePagamentoSpese = null;
}
fineLavoriCacheModel.mezzoPagamento = getMezzoPagamento();
String mezzoPagamento = fineLavoriCacheModel.mezzoPagamento;
@ -1181,6 +1357,15 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriCacheModel.mezzoPagamento = null;
}
fineLavoriCacheModel.mezzoPagamentoSpese = getMezzoPagamentoSpese();
String mezzoPagamentoSpese = fineLavoriCacheModel.mezzoPagamentoSpese;
if ((mezzoPagamentoSpese != null) &&
(mezzoPagamentoSpese.length() == 0)) {
fineLavoriCacheModel.mezzoPagamentoSpese = null;
}
fineLavoriCacheModel.importoBolli = getImportoBolli();
String importoBolli = fineLavoriCacheModel.importoBolli;
@ -1189,6 +1374,14 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
fineLavoriCacheModel.importoBolli = null;
}
fineLavoriCacheModel.importoSpese = getImportoSpese();
String importoSpese = fineLavoriCacheModel.importoSpese;
if ((importoSpese != null) && (importoSpese.length() == 0)) {
fineLavoriCacheModel.importoSpese = null;
}
fineLavoriCacheModel.richiestaAttestazione = getRichiestaAttestazione();
return fineLavoriCacheModel;
@ -1196,7 +1389,7 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
@Override
public String toString() {
StringBundler sb = new StringBundler(55);
StringBundler sb = new StringBundler(67);
sb.append("{uuid=");
sb.append(getUuid());
@ -1236,20 +1429,32 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
sb.append(getDataFineLavori());
sb.append(", normEsenteBollo=");
sb.append(getNormEsenteBollo());
sb.append(", normEsenteSpese=");
sb.append(getNormEsenteSpese());
sb.append(", normEsenteCollaudo=");
sb.append(getNormEsenteCollaudo());
sb.append(", comunicazioneDirettoreLavori=");
sb.append(getComunicazioneDirettoreLavori());
sb.append(", pagamentoId=");
sb.append(getPagamentoId());
sb.append(", pagamentoSpeseId=");
sb.append(getPagamentoSpeseId());
sb.append(", codicePagamento=");
sb.append(getCodicePagamento());
sb.append(", codicePagamentoSpese=");
sb.append(getCodicePagamentoSpese());
sb.append(", causalePagamento=");
sb.append(getCausalePagamento());
sb.append(", causalePagamentoSpese=");
sb.append(getCausalePagamentoSpese());
sb.append(", mezzoPagamento=");
sb.append(getMezzoPagamento());
sb.append(", mezzoPagamentoSpese=");
sb.append(getMezzoPagamentoSpese());
sb.append(", importoBolli=");
sb.append(getImportoBolli());
sb.append(", importoSpese=");
sb.append(getImportoSpese());
sb.append(", richiestaAttestazione=");
sb.append(getRichiestaAttestazione());
sb.append("}");
@ -1259,7 +1464,7 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(85);
StringBundler sb = new StringBundler(103);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.FineLavori");
@ -1341,6 +1546,10 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
"<column><column-name>normEsenteBollo</column-name><column-value><![CDATA[");
sb.append(getNormEsenteBollo());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>normEsenteSpese</column-name><column-value><![CDATA[");
sb.append(getNormEsenteSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>normEsenteCollaudo</column-name><column-value><![CDATA[");
sb.append(getNormEsenteCollaudo());
@ -1353,22 +1562,42 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
"<column><column-name>pagamentoId</column-name><column-value><![CDATA[");
sb.append(getPagamentoId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>pagamentoSpeseId</column-name><column-value><![CDATA[");
sb.append(getPagamentoSpeseId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>codicePagamento</column-name><column-value><![CDATA[");
sb.append(getCodicePagamento());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>codicePagamentoSpese</column-name><column-value><![CDATA[");
sb.append(getCodicePagamentoSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>causalePagamento</column-name><column-value><![CDATA[");
sb.append(getCausalePagamento());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>causalePagamentoSpese</column-name><column-value><![CDATA[");
sb.append(getCausalePagamentoSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>mezzoPagamento</column-name><column-value><![CDATA[");
sb.append(getMezzoPagamento());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>mezzoPagamentoSpese</column-name><column-value><![CDATA[");
sb.append(getMezzoPagamentoSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>importoBolli</column-name><column-value><![CDATA[");
sb.append(getImportoBolli());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>importoSpese</column-name><column-value><![CDATA[");
sb.append(getImportoSpese());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>richiestaAttestazione</column-name><column-value><![CDATA[");
sb.append(getRichiestaAttestazione());
@ -1416,13 +1645,19 @@ public class FineLavoriModelImpl extends BaseModelImpl<FineLavori>
private Date _dataEffettuazione;
private Date _dataFineLavori;
private boolean _normEsenteBollo;
private boolean _normEsenteSpese;
private boolean _normEsenteCollaudo;
private String _comunicazioneDirettoreLavori;
private long _pagamentoId;
private long _pagamentoSpeseId;
private String _codicePagamento;
private String _codicePagamentoSpese;
private String _causalePagamento;
private String _causalePagamentoSpese;
private String _mezzoPagamento;
private String _mezzoPagamentoSpese;
private String _importoBolli;
private String _importoSpese;
private boolean _richiestaAttestazione;
private long _columnBitmask;
private FineLavori _escapedModel;

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

@ -1,63 +1,5 @@
package it.tref.liferay.portos.bo.portlet;
import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.PagamentoServiceUtil;
import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
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.ParamUtil;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portal.service.ServiceContextFactory;
import com.liferay.portal.util.PortalUtil;
import com.liferay.util.bridges.mvc.MVCPortlet;
public class PagamentiPendingPortlet extends MVCPortlet {
private static final Log _log = LogFactoryUtil.getLog(PagamentiPendingPortlet.class);
public void rigeneraPagamento(ActionRequest actionRequest, ActionResponse actionResponse) throws PortalException,
SystemException {
try {
ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest);
long pagamentoId = ParamUtil.getLong(actionRequest, "pagamentoId");
String url = ParamUtil.getString(actionRequest, "redirect");
Pagamento pagamento = PagamentoLocalServiceUtil.fetchPagamento(pagamentoId);
if (Validator.isNotNull(pagamento)) {
PagamentoServiceUtil.rigeneraPagamento(pagamentoId, pagamento.getCodiceFiscaleCommittente(),
pagamento.getMezzo(), url, serviceContext);
}
} catch (Exception e) {
PortalUtil.copyRequestParameters(actionRequest, actionResponse);
_log.error("Error", e);
throw new SystemException(e);
}
}
public void annullaPagamento(ActionRequest actionRequest, ActionResponse actionResponse) throws PortalException,
SystemException {
try {
ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest);
long pagamentoId = ParamUtil.getLong(actionRequest, "pagamentoId");
PagamentoServiceUtil.annullaPagamento(pagamentoId, serviceContext);
} catch (Exception e) {
PortalUtil.copyRequestParameters(actionRequest, actionResponse);
_log.error("Error", e);
throw new SystemException(e);
}
}
}
public class PagamentiPendingPortlet extends MVCPortlet {}

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

@ -162,17 +162,13 @@ public class SchedulerInvioDocumento implements MessageListener {
for (int cursor = 0; cursor <= count; cursor += SIZE) {
List<Avviso> avvisi = AvvisoLocalServiceUtil.getAvvisiInvioSignal(cursor, cursor + SIZE);
for (Avviso avviso : avvisi) {
long controlloPraticaId = avviso.getControlloPraticaId();
if (controlloPraticaId != 0) {
try {
ControlloPratica controlloPratica = ControlloPraticaLocalServiceUtil
.getControlloPratica(avviso.getControlloPraticaId());
ControlloPratica controlloPratica = ControlloPraticaLocalServiceUtil.getControlloPratica(avviso
.getControlloPraticaId());
invioSignal(avviso, controlloPratica);
} catch (Exception e) {
_log.info(e.getMessage() + StringPool.SPACE + avviso.getAvvisoId() + StringPool.SPACE
+ avviso.getControlloPraticaId());
_log.debug("Error", e);
}
}
}
}
@ -221,17 +217,13 @@ public class SchedulerInvioDocumento implements MessageListener {
for (int cursor = 0; cursor <= count; cursor += SIZE) {
List<Avviso> avvisi = AvvisoLocalServiceUtil.getAvvisiTempistica(cursor, cursor + SIZE);
for (Avviso avviso : avvisi) {
long controlloPraticaId = avviso.getControlloPraticaId();
if (controlloPraticaId > 0) {
try {
ControlloPratica controlloPratica = ControlloPraticaLocalServiceUtil
.getControlloPratica(controlloPraticaId);
ControlloPratica controlloPratica = ControlloPraticaLocalServiceUtil.getControlloPratica(avviso
.getControlloPraticaId());
gestioneTempistica(avviso, controlloPratica);
} catch (Exception e) {
_log.debug(e.getMessage() + StringPool.SPACE + avviso.getAvvisoId() + StringPool.SPACE
_log.info(e.getMessage() + StringPool.SPACE + avviso.getAvvisoId() + StringPool.SPACE
+ avviso.getControlloPraticaId());
_log.debug("Error", e);
}
}
}
}
@ -466,11 +458,7 @@ public class SchedulerInvioDocumento implements MessageListener {
if (tipoDocumento.equals(StatoPraticaConstants.SOTTOPOSTA_A_PARERE)) {
long intPraticaId = controlloPratica.getIntPraticaId();
IntPratica intPratica = null;
try {
intPratica = IntPraticaLocalServiceUtil.getIntPratica(controlloPratica.getIntPraticaId());
} catch (PortalException e) {
_log.error(e, e);
}
intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(controlloPratica.getIntPraticaId());
// FIX prendo la data di vidimazione e non quella di sottoposto a parere per avvio dei tempi
Avviso avvisoExtra = null;
if (Validator.isNotNull(intPratica.getDtSorteggio())) {
@ -478,9 +466,11 @@ public class SchedulerInvioDocumento implements MessageListener {
} else {
List<Avviso> documentiVid = AvvisoLocalServiceUtil.findByIntPraticaId_tipoDocumento(intPraticaId,
StatoPraticaConstants.VIDIMATA);
if (documentiVid.size() > 0) {
avvisoExtra = documentiVid.get(0);
dtInvio = avvisoExtra.getDtInvio();
}
}
// fino qui
Date now = new Date();
// FIX come sopra

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

@ -1,81 +0,0 @@
package it.tref.liferay.portos.bo.scheduler;
import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.PagamentoConstants;
import it.tref.liferay.portos.bo.util.PagamentiCommonUtil;
import it.tref.liferay.portos.bo.util.PagamentiUtil;
import java.io.IOException;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
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.messaging.Message;
import com.liferay.portal.kernel.messaging.MessageListener;
import com.liferay.portal.kernel.messaging.MessageListenerException;
import com.liferay.portal.model.Company;
import com.liferay.portal.service.CompanyLocalServiceUtil;
public class VerificaPagamentiScheduler implements MessageListener {
private static final Log _log = LogFactoryUtil.getLog(VerificaPagamentiScheduler.class);
private static final Lock lock = new ReentrantLock();
private final int SIZE = 10;
// parametro per recupero dei pagamenti IRIS avviati dopo XX minuti
private final int DELAY_IN_MINUTE = 5;
@Override
public void receive(Message message) throws MessageListenerException {
if (lock.tryLock()) {
try {
for (Company company : CompanyLocalServiceUtil.getCompanies()) {
boolean irisDisabled = !PagamentiCommonUtil.irisIsEnable(company.getCompanyId());
if (!irisDisabled) {
Calendar calendar = Calendar.getInstance();
calendar.add(Calendar.MINUTE, -DELAY_IN_MINUTE);
calendar.set(Calendar.SECOND, 0);
calendar.set(Calendar.MILLISECOND, 0);
Date date = calendar.getTime();
int count = PagamentoLocalServiceUtil.countByMezzo_Utilizzata_CreateDate(
PagamentoConstants.MEZZO_IRIS, PagamentoConstants.UTILIZZATA_IN_CORSO, date);
if (count > 0) {
for (int cursor = 0; cursor <= count; cursor += SIZE) {
List<Pagamento> pagamenti = PagamentoLocalServiceUtil
.findByMezzo_Utilizzata_CreateDate(PagamentoConstants.MEZZO_IRIS,
PagamentoConstants.UTILIZZATA_IN_CORSO, date, cursor, cursor
+ SIZE);
for (Pagamento pagamento : pagamenti) {
process(pagamento);
}
}
}
}
}
} catch (SystemException e) {
_log.error("Errore", e);
} finally {
lock.unlock();
}
}
}
private void process(Pagamento pagamento) {
try {
PagamentiUtil.verificaPagamentoIRIS(pagamento);
} catch (IOException | PortalException | SystemException e) {
_log.error("Errore", e);
}
}
}

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

@ -150,8 +150,8 @@ public class FineLavoriLocalServiceClpInvoker {
_methodParameterTypes186 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "java.lang.String",
"boolean"
"java.lang.String", "boolean", "boolean", "boolean",
"java.lang.String", "boolean"
};
_methodName187 = "getLastEditable";
@ -166,6 +166,7 @@ public class FineLavoriLocalServiceClpInvoker {
_methodParameterTypes189 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
@ -458,8 +459,9 @@ public class FineLavoriLocalServiceClpInvoker {
(java.util.Date)arguments[5], (java.lang.String)arguments[6],
((Boolean)arguments[7]).booleanValue(),
((Boolean)arguments[8]).booleanValue(),
(java.lang.String)arguments[9],
((Boolean)arguments[10]).booleanValue());
((Boolean)arguments[9]).booleanValue(),
(java.lang.String)arguments[10],
((Boolean)arguments[11]).booleanValue());
}
if (_methodName187.equals(name) &&
@ -476,7 +478,8 @@ public class FineLavoriLocalServiceClpInvoker {
Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
return FineLavoriLocalServiceUtil.pagaInvia(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(com.liferay.portal.service.ServiceContext)arguments[3]);
(java.lang.String)arguments[3], (java.lang.String)arguments[4],
(com.liferay.portal.service.ServiceContext)arguments[5]);
}
if (_methodName190.equals(name) &&

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

@ -62,8 +62,8 @@ public class FineLavoriServiceClpInvoker {
_methodParameterTypes167 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "java.lang.String",
"boolean"
"java.lang.String", "boolean", "boolean", "boolean",
"java.lang.String", "boolean"
};
_methodName168 = "getLastEditable";
@ -89,6 +89,7 @@ public class FineLavoriServiceClpInvoker {
_methodParameterTypes172 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
@ -169,8 +170,9 @@ public class FineLavoriServiceClpInvoker {
(java.util.Date)arguments[5], (java.lang.String)arguments[6],
((Boolean)arguments[7]).booleanValue(),
((Boolean)arguments[8]).booleanValue(),
(java.lang.String)arguments[9],
((Boolean)arguments[10]).booleanValue());
((Boolean)arguments[9]).booleanValue(),
(java.lang.String)arguments[10],
((Boolean)arguments[11]).booleanValue());
}
if (_methodName168.equals(name) &&
@ -202,7 +204,8 @@ public class FineLavoriServiceClpInvoker {
Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) {
return FineLavoriServiceUtil.pagaInvia(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(com.liferay.portal.service.ServiceContext)arguments[3]);
(java.lang.String)arguments[3], (java.lang.String)arguments[4],
(com.liferay.portal.service.ServiceContext)arguments[5]);
}
if (_methodName173.equals(name) &&

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

@ -186,155 +186,144 @@ public class PagamentoLocalServiceClpInvoker {
_methodParameterTypes194 = new String[] { "long", "java.lang.String" };
_methodName195 = "annullaPagamento";
_methodName195 = "findByCommittente_Mezzo";
_methodParameterTypes195 = new String[] { "long" };
_methodName196 = "findByCommittente_Mezzo";
_methodParameterTypes196 = new String[] {
_methodParameterTypes195 = new String[] {
"java.lang.String", "java.lang.String", "int", "int"
};
_methodName197 = "countByCommittente_Mezzo";
_methodName196 = "countByCommittente_Mezzo";
_methodParameterTypes197 = new String[] {
_methodParameterTypes196 = new String[] {
"java.lang.String", "java.lang.String"
};
_methodName198 = "findByCommittente_Mezzo_Utilizzata";
_methodName197 = "findByCommittente_Mezzo_Utilizzata";
_methodParameterTypes198 = new String[] {
_methodParameterTypes197 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String",
"int", "int"
};
_methodName199 = "countByCommittente_Mezzo_Utilizzata";
_methodName198 = "countByCommittente_Mezzo_Utilizzata";
_methodParameterTypes199 = new String[] {
_methodParameterTypes198 = new String[] {
"java.lang.String", "java.lang.String", "java.lang.String"
};
_methodName200 = "findByMezzo_Utilizzata";
_methodName199 = "findByMezzo_Utilizzata";
_methodParameterTypes200 = new String[] {
_methodParameterTypes199 = new String[] {
"java.lang.String", "java.lang.String", "int", "int"
};
_methodName201 = "findByOldPagamentoId";
_methodName200 = "findByOldPagamentoId";
_methodParameterTypes201 = new String[] { "long" };
_methodParameterTypes200 = new String[] { "long" };
_methodName202 = "countByMezzo_Utilizzata";
_methodName201 = "countByMezzo_Utilizzata";
_methodParameterTypes202 = new String[] {
_methodParameterTypes201 = new String[] {
"java.lang.String", "java.lang.String"
};
_methodName203 = "findByMezzo_Utilizzata_CreateDate";
_methodName202 = "findByMezzo_Utilizzata_CreateDate";
_methodParameterTypes203 = new String[] {
_methodParameterTypes202 = new String[] {
"java.lang.String", "java.lang.String", "java.util.Date", "int",
"int"
};
_methodName204 = "countByMezzo_Utilizzata_EmailPending_CreateDate";
_methodName203 = "countByMezzo_Utilizzata_EmailPending_CreateDate";
_methodParameterTypes204 = new String[] {
_methodParameterTypes203 = new String[] {
"java.lang.String", "java.lang.String", "boolean",
"java.util.Date"
};
_methodName205 = "findByMezzo_Utilizzata_EmailPending_CreateDate";
_methodName204 = "findByMezzo_Utilizzata_EmailPending_CreateDate";
_methodParameterTypes205 = new String[] {
_methodParameterTypes204 = new String[] {
"java.lang.String", "java.lang.String", "boolean",
"java.util.Date", "int", "int"
};
_methodName206 = "findInPending";
_methodName205 = "findInPending";
_methodParameterTypes206 = new String[] {
_methodParameterTypes205 = new String[] {
"java.util.Date", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName207 = "countInPending";
_methodName206 = "countInPending";
_methodParameterTypes207 = new String[] { "java.util.Date" };
_methodParameterTypes206 = new String[] { "java.util.Date" };
_methodName209 = "countByMezzo_Utilizzata_CreateDate";
_methodName208 = "countByMezzo_Utilizzata_CreateDate";
_methodParameterTypes209 = new String[] {
_methodParameterTypes208 = new String[] {
"java.lang.String", "java.lang.String", "java.util.Date"
};
_methodName210 = "deletePagamento";
_methodName209 = "deletePagamento";
_methodParameterTypes210 = new String[] { "long" };
_methodParameterTypes209 = new String[] { "long" };
_methodName211 = "deletePagamento";
_methodName210 = "deletePagamento";
_methodParameterTypes211 = new String[] {
_methodParameterTypes210 = new String[] {
"it.tref.liferay.portos.bo.model.Pagamento"
};
_methodName212 = "updateEmailPendingPagamento";
_methodName211 = "updateEmailPendingPagamento";
_methodParameterTypes211 = new String[] { "long", "boolean" };
_methodParameterTypes212 = new String[] { "long", "boolean" };
_methodName214 = "countByClassPk";
_methodName215 = "countByClassPk";
_methodParameterTypes214 = new String[] { "long" };
_methodName215 = "findByClassPk";
_methodParameterTypes215 = new String[] { "long" };
_methodName216 = "findByClassPk";
_methodName216 = "findByIntPratica";
_methodParameterTypes216 = new String[] { "long" };
_methodName217 = "findByIntPratica";
_methodName217 = "countByIntPratica";
_methodParameterTypes217 = new String[] { "long" };
_methodName218 = "countByIntPratica";
_methodName218 = "findByIntPratica_Visible";
_methodParameterTypes218 = new String[] { "long" };
_methodName219 = "findByIntPratica_Visible";
_methodName219 = "countByIntPratica_Visible";
_methodParameterTypes219 = new String[] { "long" };
_methodName220 = "countByIntPratica_Visible";
_methodParameterTypes220 = new String[] { "long" };
_methodName221 = "updatePagamentoManuale";
_methodName222 = "sostituisciPagamento";
_methodParameterTypes222 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "com.liferay.portal.service.ServiceContext"
};
_methodName223 = "updatePagamentoManuale";
_methodParameterTypes223 = new String[] {
_methodParameterTypes221 = new String[] {
"long", "byte[][]", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName224 = "updatePagamentoManualeFromImport";
_methodName222 = "updatePagamentoManualeFromImport";
_methodParameterTypes224 = new String[] {
_methodParameterTypes222 = new String[] {
"long", "byte[][]", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName225 = "fetchByOldPagamentoId";
_methodName223 = "fetchByOldPagamentoId";
_methodParameterTypes225 = new String[] { "long" };
_methodParameterTypes223 = new String[] { "long" };
_methodName226 = "updateOtf";
_methodName224 = "updateOtf";
_methodParameterTypes226 = new String[] { "long", "boolean" };
_methodParameterTypes224 = new String[] { "long", "boolean" };
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -539,74 +528,69 @@ public class PagamentoLocalServiceClpInvoker {
if (_methodName195.equals(name) &&
Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) {
return PagamentoLocalServiceUtil.annullaPagamento(((Long)arguments[0]).longValue());
}
if (_methodName196.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
return PagamentoLocalServiceUtil.findByCommittente_Mezzo((java.lang.String)arguments[0],
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
if (_methodName196.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
return PagamentoLocalServiceUtil.countByCommittente_Mezzo((java.lang.String)arguments[0],
(java.lang.String)arguments[1]);
}
if (_methodName198.equals(name) &&
Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
return PagamentoLocalServiceUtil.findByCommittente_Mezzo_Utilizzata((java.lang.String)arguments[0],
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue());
}
if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
if (_methodName198.equals(name) &&
Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
return PagamentoLocalServiceUtil.countByCommittente_Mezzo_Utilizzata((java.lang.String)arguments[0],
(java.lang.String)arguments[1], (java.lang.String)arguments[2]);
}
if (_methodName200.equals(name) &&
Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
return PagamentoLocalServiceUtil.findByMezzo_Utilizzata((java.lang.String)arguments[0],
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
if (_methodName200.equals(name) &&
Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
return PagamentoLocalServiceUtil.findByOldPagamentoId(((Long)arguments[0]).longValue());
}
if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
return PagamentoLocalServiceUtil.countByMezzo_Utilizzata((java.lang.String)arguments[0],
(java.lang.String)arguments[1]);
}
if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
return PagamentoLocalServiceUtil.findByMezzo_Utilizzata_CreateDate((java.lang.String)arguments[0],
(java.lang.String)arguments[1], (java.util.Date)arguments[2],
((Integer)arguments[3]).intValue(),
((Integer)arguments[4]).intValue());
}
if (_methodName204.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
return PagamentoLocalServiceUtil.countByMezzo_Utilizzata_EmailPending_CreateDate((java.lang.String)arguments[0],
(java.lang.String)arguments[1],
((Boolean)arguments[2]).booleanValue(),
(java.util.Date)arguments[3]);
}
if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
if (_methodName204.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
return PagamentoLocalServiceUtil.findByMezzo_Utilizzata_EmailPending_CreateDate((java.lang.String)arguments[0],
(java.lang.String)arguments[1],
((Boolean)arguments[2]).booleanValue(),
@ -615,83 +599,73 @@ public class PagamentoLocalServiceClpInvoker {
((Integer)arguments[5]).intValue());
}
if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
return PagamentoLocalServiceUtil.findInPending((java.util.Date)arguments[0],
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[3]);
}
if (_methodName207.equals(name) &&
Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) {
if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
return PagamentoLocalServiceUtil.countInPending((java.util.Date)arguments[0]);
}
if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
if (_methodName208.equals(name) &&
Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
return PagamentoLocalServiceUtil.countByMezzo_Utilizzata_CreateDate((java.lang.String)arguments[0],
(java.lang.String)arguments[1], (java.util.Date)arguments[2]);
}
if (_methodName210.equals(name) &&
Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) {
if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
return PagamentoLocalServiceUtil.deletePagamento(((Long)arguments[0]).longValue());
}
if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
if (_methodName210.equals(name) &&
Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) {
return PagamentoLocalServiceUtil.deletePagamento((it.tref.liferay.portos.bo.model.Pagamento)arguments[0]);
}
if (_methodName212.equals(name) &&
Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
return PagamentoLocalServiceUtil.updateEmailPendingPagamento(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue());
}
if (_methodName214.equals(name) &&
Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
return PagamentoLocalServiceUtil.countByClassPk(((Long)arguments[0]).longValue());
}
if (_methodName215.equals(name) &&
Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) {
return PagamentoLocalServiceUtil.countByClassPk(((Long)arguments[0]).longValue());
return PagamentoLocalServiceUtil.findByClassPk(((Long)arguments[0]).longValue());
}
if (_methodName216.equals(name) &&
Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) {
return PagamentoLocalServiceUtil.findByClassPk(((Long)arguments[0]).longValue());
return PagamentoLocalServiceUtil.findByIntPratica(((Long)arguments[0]).longValue());
}
if (_methodName217.equals(name) &&
Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) {
return PagamentoLocalServiceUtil.findByIntPratica(((Long)arguments[0]).longValue());
return PagamentoLocalServiceUtil.countByIntPratica(((Long)arguments[0]).longValue());
}
if (_methodName218.equals(name) &&
Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
return PagamentoLocalServiceUtil.countByIntPratica(((Long)arguments[0]).longValue());
return PagamentoLocalServiceUtil.findByIntPratica_Visible(((Long)arguments[0]).longValue());
}
if (_methodName219.equals(name) &&
Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
return PagamentoLocalServiceUtil.findByIntPratica_Visible(((Long)arguments[0]).longValue());
}
if (_methodName220.equals(name) &&
Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) {
return PagamentoLocalServiceUtil.countByIntPratica_Visible(((Long)arguments[0]).longValue());
}
if (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
PagamentoLocalServiceUtil.sostituisciPagamento(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]);
return null;
}
if (_methodName223.equals(name) &&
Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) {
if (_methodName221.equals(name) &&
Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
PagamentoLocalServiceUtil.updatePagamentoManuale(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2],
(com.liferay.portal.service.ServiceContext)arguments[3]);
@ -699,8 +673,8 @@ public class PagamentoLocalServiceClpInvoker {
return null;
}
if (_methodName224.equals(name) &&
Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) {
if (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
PagamentoLocalServiceUtil.updatePagamentoManualeFromImport(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2],
(com.liferay.portal.service.ServiceContext)arguments[3]);
@ -708,13 +682,13 @@ public class PagamentoLocalServiceClpInvoker {
return null;
}
if (_methodName225.equals(name) &&
Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) {
if (_methodName223.equals(name) &&
Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) {
return PagamentoLocalServiceUtil.fetchByOldPagamentoId(((Long)arguments[0]).longValue());
}
if (_methodName226.equals(name) &&
Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) {
if (_methodName224.equals(name) &&
Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) {
return PagamentoLocalServiceUtil.updateOtf(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue());
}
@ -806,16 +780,16 @@ public class PagamentoLocalServiceClpInvoker {
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;
private String _methodName212;
private String[] _methodParameterTypes212;
private String _methodName214;
private String[] _methodParameterTypes214;
private String _methodName215;
private String[] _methodParameterTypes215;
private String _methodName216;
@ -826,16 +800,12 @@ public class PagamentoLocalServiceClpInvoker {
private String[] _methodParameterTypes218;
private String _methodName219;
private String[] _methodParameterTypes219;
private String _methodName220;
private String[] _methodParameterTypes220;
private String _methodName221;
private String[] _methodParameterTypes221;
private String _methodName222;
private String[] _methodParameterTypes222;
private String _methodName223;
private String[] _methodParameterTypes223;
private String _methodName224;
private String[] _methodParameterTypes224;
private String _methodName225;
private String[] _methodParameterTypes225;
private String _methodName226;
private String[] _methodParameterTypes226;
}

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

@ -32,29 +32,9 @@ public class PagamentoServiceClpInvoker {
_methodParameterTypes161 = new String[] { "java.lang.String" };
_methodName166 = "sostituisciPagamento";
_methodName166 = "updatePagamentoManuale";
_methodParameterTypes166 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "com.liferay.portal.service.ServiceContext"
};
_methodName167 = "rigeneraPagamento";
_methodParameterTypes167 = new String[] {
"long", "java.lang.String", "java.lang.String",
"java.lang.String", "com.liferay.portal.service.ServiceContext"
};
_methodName168 = "annullaPagamento";
_methodParameterTypes168 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName169 = "updatePagamentoManuale";
_methodParameterTypes169 = new String[] {
"long", "byte[][]", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
@ -76,34 +56,6 @@ public class PagamentoServiceClpInvoker {
if (_methodName166.equals(name) &&
Arrays.deepEquals(_methodParameterTypes166, parameterTypes)) {
PagamentoServiceUtil.sostituisciPagamento(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]);
return null;
}
if (_methodName167.equals(name) &&
Arrays.deepEquals(_methodParameterTypes167, parameterTypes)) {
PagamentoServiceUtil.rigeneraPagamento(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]);
return null;
}
if (_methodName168.equals(name) &&
Arrays.deepEquals(_methodParameterTypes168, parameterTypes)) {
PagamentoServiceUtil.annullaPagamento(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]);
return null;
}
if (_methodName169.equals(name) &&
Arrays.deepEquals(_methodParameterTypes169, parameterTypes)) {
PagamentoServiceUtil.updatePagamentoManuale(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2],
(com.liferay.portal.service.ServiceContext)arguments[3]);
@ -120,10 +72,4 @@ public class PagamentoServiceClpInvoker {
private String[] _methodParameterTypes161;
private String _methodName166;
private String[] _methodParameterTypes166;
private String _methodName167;
private String[] _methodParameterTypes167;
private String _methodName168;
private String[] _methodParameterTypes168;
private String _methodName169;
private String[] _methodParameterTypes169;
}

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

@ -143,15 +143,15 @@ public class FineLavoriServiceSoap {
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
java.lang.String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo,
boolean normEsenteSpese, boolean normEsenteCollaudo,
java.lang.String comunicazioneDirettoreLavori,
boolean richiestaAttestazione) throws RemoteException {
try {
it.tref.liferay.portos.bo.model.FineLavori returnValue = FineLavoriServiceUtil.updateFineLavori(userId,
fineLavoriId, intPraticaId, parziale, completata,
dataFineLavori, codiceFiscaleDelegato, normEsenteBollo,
normEsenteCollaudo, comunicazioneDirettoreLavori,
richiestaAttestazione);
normEsenteSpese, normEsenteCollaudo,
comunicazioneDirettoreLavori, richiestaAttestazione);
return it.tref.liferay.portos.bo.model.FineLavoriSoap.toSoapModel(returnValue);
}
@ -225,12 +225,14 @@ public class FineLavoriServiceSoap {
public static it.tref.liferay.portos.bo.model.FineLavoriSoap pagaInvia(
long fineLavoriId, java.lang.String codiceFiscaleCommittente,
java.lang.String importoBolli, java.lang.String importoSpese,
java.lang.String currentURL,
com.liferay.portal.service.ServiceContext serviceContext)
throws RemoteException {
try {
it.tref.liferay.portos.bo.model.FineLavori returnValue = FineLavoriServiceUtil.pagaInvia(fineLavoriId,
codiceFiscaleCommittente, currentURL, serviceContext);
codiceFiscaleCommittente, importoBolli, importoSpese,
currentURL, serviceContext);
return it.tref.liferay.portos.bo.model.FineLavoriSoap.toSoapModel(returnValue);
}

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

@ -62,51 +62,6 @@ import java.rmi.RemoteException;
* @generated
*/
public class PagamentoServiceSoap {
public static void sostituisciPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws RemoteException {
try {
PagamentoServiceUtil.sostituisciPagamento(pagamentoId,
codiceFiscaleCommittente, mezzo, url, serviceContext);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static void rigeneraPagamento(long pagamentoId,
java.lang.String codiceFiscaleCommittente, java.lang.String mezzo,
java.lang.String url,
com.liferay.portal.service.ServiceContext serviceContext)
throws RemoteException {
try {
PagamentoServiceUtil.rigeneraPagamento(pagamentoId,
codiceFiscaleCommittente, mezzo, url, serviceContext);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static void annullaPagamento(long pagamentoId,
com.liferay.portal.service.ServiceContext serviceContext)
throws RemoteException {
try {
PagamentoServiceUtil.annullaPagamento(pagamentoId, serviceContext);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static void updatePagamentoManuale(long pagamentoId, byte[] content,
java.lang.String sourceFileName,
com.liferay.portal.service.ServiceContext serviceContext)

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

@ -603,6 +603,7 @@ public class AvvisoLocalServiceImpl extends AvvisoLocalServiceBaseImpl {
dynamicQuery.add(PropertyFactoryUtil.forName("dtInvioSignal").isNull());
dynamicQuery.add(PropertyFactoryUtil.forName("errore").eq(false));
dynamicQuery.add(PropertyFactoryUtil.forName("annullato").eq(false));
dynamicQuery.add(PropertyFactoryUtil.forName("controlloPraticaId").ne(0L));
Disjunction disjunction = RestrictionsFactoryUtil.disjunction();
disjunction.add(PropertyFactoryUtil.forName("inviato").eq(AvvisoUtil.DOCUMENTO_INVIATO));
disjunction.add(PropertyFactoryUtil.forName("rifiutato").eq(true));
@ -647,6 +648,7 @@ public class AvvisoLocalServiceImpl extends AvvisoLocalServiceBaseImpl {
dynamicQuery.add(PropertyFactoryUtil.forName("dtTempistica").isNull());
dynamicQuery.add(PropertyFactoryUtil.forName("errore").eq(false));
dynamicQuery.add(PropertyFactoryUtil.forName("annullato").eq(false));
dynamicQuery.add(PropertyFactoryUtil.forName("controlloPraticaId").ne(0L));
if (Validator.isNotNull(avvisoId)) {
dynamicQuery.add(PropertyFactoryUtil.forName("avvisoId").eq(avvisoId));
}
@ -1106,6 +1108,7 @@ public class AvvisoLocalServiceImpl extends AvvisoLocalServiceBaseImpl {
return avviso;
}
@Override
public Avviso simulaFirma(long avvisoId, ServiceContext serviceContext) throws Exception {
if (configurazioneLocalService.isDeveloper(serviceContext.getUserId())) {

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

@ -194,10 +194,6 @@ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl {
inviaMailnotifica(collaudoId, intPratica.getStatusByUserId(), now);
}
pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato);
} else if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)
|| stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)
|| stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO)) {
pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato);
}
}

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

@ -1152,11 +1152,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
}
pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato);
delegaLocalService.concludiDeleghePagamento(dettPraticaId);
} else if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)
|| stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)
|| stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO)) {
pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato);
}
}

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

@ -16,14 +16,11 @@ import it.tref.liferay.portos.bo.model.IntPratica;
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;
import it.tref.liferay.portos.bo.util.WorkflowUtil;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@ -38,6 +35,8 @@ import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.json.JSONObject;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.search.Indexable;
import com.liferay.portal.kernel.search.IndexableType;
import com.liferay.portal.kernel.util.FastDateFormatFactoryUtil;
@ -68,6 +67,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
* it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil} to access the fine lavori local service.
*/
private static final Log _log = LogFactoryUtil.getLog(FineLavoriLocalServiceImpl.class);
private FineLavori initFineLavori(ServiceContext serviceContext) throws PortalException, SystemException {
User user = userLocalService.getUser(serviceContext.getUserId());
@ -132,8 +133,8 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
@Indexable(type = IndexableType.REINDEX)
public FineLavori updateFineLavori(long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, Date dataFineLavori, String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo, String comunicazioneDirettoreLavori, boolean richiestaAttestazione)
throws NoSuchFineLavoriException, SystemException {
boolean normEsenteSpese, boolean normEsenteCollaudo, String comunicazioneDirettoreLavori,
boolean richiestaAttestazione) throws NoSuchFineLavoriException, SystemException {
FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId);
fineLavori.setParziale(parziale);
@ -141,6 +142,7 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
fineLavori.setDataFineLavori(dataFineLavori);
fineLavori.setCodiceFiscaleDelegato(codiceFiscaleDelegato);
fineLavori.setNormEsenteBollo(normEsenteBollo);
fineLavori.setNormEsenteSpese(normEsenteSpese);
fineLavori.setNormEsenteCollaudo(normEsenteCollaudo);
fineLavori.setComunicazioneDirettoreLavori(comunicazioneDirettoreLavori);
fineLavori.setRichiestaAttestazione(richiestaAttestazione);
@ -173,16 +175,18 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
}
@Override
public FineLavori pagaInvia(long fineLavoriId, String codiceFiscaleCommittente, String currentURL,
ServiceContext serviceContext) throws SystemException, PortalException {
public FineLavori pagaInvia(long fineLavoriId, String codiceFiscaleCommittente, String importoBolli,
String importoSpese, String currentURL, ServiceContext serviceContext) throws SystemException,
PortalException {
FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId);
BigDecimal importoBolli = PagamentiCommonUtil.getImportoBolli(fineLavori.getCompanyId(),
fineLavori.getFineLavoriId(), FineLavori.class.getName(), TipoIntegrazioneUtil.FINE_LAVORI);
fineLavori.setImportoBolli(importoBolli.toString());
fineLavori.setImportoBolli(importoBolli);
fineLavori.setImportoSpese(importoSpese);
fineLavori = updateFineLavori(fineLavori);
PagamentiUtil.nuovoPagamento(currentURL, fineLavori.getFineLavoriId(), FineLavori.class.getName(),
PagamentoConstants.PAGAMENTO_BOLLI, importoBolli.toString(), codiceFiscaleCommittente, serviceContext);
PagamentiUtil.nuovoPagamento(currentURL, fineLavoriId, FineLavori.class.getName(),
PagamentoConstants.PAGAMENTO_BOLLI, importoBolli, codiceFiscaleCommittente, serviceContext);
PagamentiUtil.nuovoPagamento(currentURL, fineLavoriId, FineLavori.class.getName(),
PagamentoConstants.PAGAMENTO_ONERI, importoSpese, codiceFiscaleCommittente, serviceContext);
return fineLavori;
}
@ -214,10 +218,6 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
this.inviaMailnotifica(fineLavoriId, intPratica.getStatusByUserId(), now);
}
pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato);
} else if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)
|| stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)
|| stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO)) {
pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato);
}
}

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

@ -73,14 +73,14 @@ public class FineLavoriServiceImpl extends FineLavoriServiceBaseImpl {
@Override
public FineLavori updateFineLavori(long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, Date dataFineLavori, String codiceFiscaleDelegato, boolean normEsenteBollo,
boolean normEsenteCollaudo, String comunicazioneDirettoreLavori, boolean richiestaAttestazione)
throws PortalException, SystemException {
boolean normEsenteSpese, boolean normEsenteCollaudo, String comunicazioneDirettoreLavori,
boolean richiestaAttestazione) throws PortalException, SystemException {
FineLavori fineLavori = getFineLavori(fineLavoriId);
if (fineLavori.getUserId() == userId) {
fineLavori = fineLavoriLocalService.updateFineLavori(userId, fineLavoriId, intPraticaId, parziale,
completata, dataFineLavori, codiceFiscaleDelegato, normEsenteBollo, normEsenteCollaudo,
comunicazioneDirettoreLavori, richiestaAttestazione);
completata, dataFineLavori, codiceFiscaleDelegato, normEsenteBollo, normEsenteSpese,
normEsenteCollaudo, comunicazioneDirettoreLavori, richiestaAttestazione);
}
return fineLavori;
}
@ -112,10 +112,12 @@ public class FineLavoriServiceImpl extends FineLavoriServiceBaseImpl {
}
@Override
public FineLavori pagaInvia(long fineLavoriId, String codiceFiscaleCommittente, String currentURL,
ServiceContext serviceContext) throws SystemException, PortalException {
public FineLavori pagaInvia(long fineLavoriId, String codiceFiscaleCommittente, String importoBolli,
String importoSpese, String currentURL, ServiceContext serviceContext) throws SystemException,
PortalException {
return fineLavoriLocalService.pagaInvia(fineLavoriId, codiceFiscaleCommittente, currentURL, serviceContext);
return fineLavoriLocalService.pagaInvia(fineLavoriId, codiceFiscaleCommittente, importoBolli, importoSpese,
currentURL, serviceContext);
}
@Override

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

@ -17,8 +17,6 @@ import it.tref.liferay.portos.bo.model.impl.PagamentoModelImpl;
import it.tref.liferay.portos.bo.service.base.PagamentoLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants;
import it.tref.liferay.portos.bo.shared.util.PagamentoConstants;
import it.tref.liferay.portos.bo.util.PagamentiCommonUtil;
import it.tref.liferay.portos.bo.util.PagamentiUtil;
import it.tref.liferay.portos.bo.util.PraticaUtil;
import java.io.IOException;
@ -161,7 +159,11 @@ public class PagamentoLocalServiceImpl extends PagamentoLocalServiceBaseImpl {
if (updateReference) {
switch (tipoPagamento) {
case PagamentoConstants.PAGAMENTO_ONERI:
throw new SystemException("error.fields.fineLavori.pagamento.classPk.invalid");
fineLavori.setPagamentoSpeseId(pagamento.getPagamentoId());
fineLavori.setCodicePagamentoSpese(pagamento.getCodice());
fineLavori.setCausalePagamento(pagamento.getCausale());
fineLavori.setMezzoPagamento(mezzo);
break;
case PagamentoConstants.PAGAMENTO_BOLLI:
fineLavori.setPagamentoId(pagamento.getPagamentoId());
fineLavori.setCodicePagamento(pagamento.getCodice());
@ -220,14 +222,6 @@ public class PagamentoLocalServiceImpl extends PagamentoLocalServiceBaseImpl {
return updatePagamento(pagamento);
}
@Override
public Pagamento annullaPagamento(long pagamentoId) throws PortalException, SystemException {
Pagamento pagamento = pagamentoPersistence.findByPrimaryKey(pagamentoId);
pagamento.setUtilizzata(PagamentoConstants.UTILIZZATA_ANNULLATO);
return updatePagamento(pagamento);
}
@SuppressWarnings("unchecked")
@Override
public List<Pagamento> findByCommittente_Mezzo(String codiceFiscaleCommittente, String mezzo, int start, int end)
@ -331,8 +325,8 @@ public class PagamentoLocalServiceImpl extends PagamentoLocalServiceBaseImpl {
private DynamicQuery createPendingQuery(Date date) {
DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.in("utilizzata", new String[] {
PagamentoConstants.UTILIZZATA_IN_CORSO, PagamentoConstants.UTILIZZATA_ANNULLATO }));
dynamicQuery.add(RestrictionsFactoryUtil.in("utilizzata",
new String[] { PagamentoConstants.UTILIZZATA_IN_CORSO }));
dynamicQuery.add(RestrictionsFactoryUtil.le("createDate", date));
return dynamicQuery;
}
@ -445,90 +439,6 @@ public class PagamentoLocalServiceImpl extends PagamentoLocalServiceBaseImpl {
return dynamicQuery;
}
@Override
public void sostituisciPagamento(long pagamentoId, String codiceFiscaleCommittente, String mezzo, String url,
ServiceContext serviceContext) throws PortalException, SystemException {
Pagamento pagamento = getPagamento(pagamentoId);
long intPraticaId = pagamento.getIntPraticaId();
String currentUtilizzata = pagamento.getUtilizzata();
String currentMezzo = pagamento.getMezzo();
String tipoPagamento = pagamento.getTipoPagamento();
boolean irisEnable = PagamentiCommonUtil.irisIsEnable(pagamento.getCompanyId());
if (mezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)) {
if (irisEnable) {
throw new PortalException("Creazione pagamento manuale con iris enable non possibile");
} else if (currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)
|| currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)
|| currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO)) {
if (DettPratica.class.getName().equals(pagamento.getClassName())) {
DettPratica dettPratica = dettPraticaLocalService.getDettPratica(pagamento.getClassPk());
if (PagamentoConstants.PAGAMENTO_ONERI.equals(tipoPagamento)) {
dettPratica.setPagamentoIdOneri(0L);
} else {
dettPratica.setPagamentoIdBolli(0L);
}
dettPratica = dettPraticaLocalService.updateDettPratica(dettPratica);
} else if (FineLavori.class.getName().equals(pagamento.getClassName())) {
FineLavori fineLavori = fineLavoriLocalService.getFineLavori(pagamento.getClassPk());
fineLavori.setPagamentoId(0L);
fineLavori = fineLavoriLocalService.updateFineLavori(fineLavori);
} else if (Collaudo.class.getName().equals(pagamento.getClassName())) {
Collaudo collaudo = collaudoLocalService.getCollaudo(pagamento.getClassPk());
collaudo.setPagamentoId(0L);
collaudo = collaudoLocalService.updateCollaudo(collaudo);
} else {
throw new RuntimeException("unable to replace pagamento for entity type "
+ pagamento.getClassName() + " with id " + pagamento.getClassPk());
}
pagamento.setUtilizzata(PagamentoConstants.UTILIZZATA_SOSTITUITA);
pagamento.setUtilizzataSostituita(currentUtilizzata);
updatePagamento(pagamento);
PagamentiUtil.nuovoPagamento(url, pagamento.getClassPk(), pagamento.getClassName(), tipoPagamento,
pagamento.getImporto(), codiceFiscaleCommittente, serviceContext);
} else {
throw new PortalException("Creazione pagamento manuale con stato " + currentUtilizzata
+ " non possibile");
}
} else if (mezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS)) {
if (irisEnable
&& (currentMezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) || (currentUtilizzata
.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)
|| currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA) || currentUtilizzata
.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO)))) {
if (DettPratica.class.getName().equals(pagamento.getClassName())) {
DettPratica dettPratica = dettPraticaLocalService.getDettPratica(pagamento.getClassPk());
if (PagamentoConstants.PAGAMENTO_ONERI.equals(tipoPagamento)) {
dettPratica.setPagamentoIdOneri(0L);
} else {
dettPratica.setPagamentoIdBolli(0L);
}
dettPratica = dettPraticaLocalService.updateDettPratica(dettPratica);
} else if (FineLavori.class.getName().equals(pagamento.getClassName())) {
FineLavori fineLavori = fineLavoriLocalService.getFineLavori(pagamento.getClassPk());
fineLavori.setPagamentoId(0L);
fineLavori = fineLavoriLocalService.updateFineLavori(fineLavori);
} else if (Collaudo.class.getName().equals(pagamento.getClassName())) {
Collaudo collaudo = collaudoLocalService.getCollaudo(pagamento.getClassPk());
collaudo.setPagamentoId(0L);
collaudo = collaudoLocalService.updateCollaudo(collaudo);
} else {
throw new RuntimeException("unable to replace pagamento for entity type "
+ pagamento.getClassName() + " with id " + pagamento.getClassPk());
}
pagamento.setUtilizzata(PagamentoConstants.UTILIZZATA_SOSTITUITA);
pagamento.setUtilizzataSostituita(currentUtilizzata);
updatePagamento(pagamento);
PagamentiUtil.nuovoPagamento(url, pagamento.getClassPk(), pagamento.getClassName(),
pagamento.getTipoPagamento(), pagamento.getImporto(), codiceFiscaleCommittente, serviceContext);
} else {
throw new PortalException("Pagamento IRIS non sostituibile per intPratica " + intPraticaId);
}
} else {
throw new PortalException("Mezzo non presente");
}
}
@Override
public void updatePagamentoManuale(long pagamentoId, byte[] content, String sourceFileName,
ServiceContext serviceContext) throws IOException, PortalException, SystemException {

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

@ -13,8 +13,6 @@ import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.FineLavori;
import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.service.base.PagamentoServiceBaseImpl;
import it.tref.liferay.portos.bo.service.permission.PendingPagamentiPermission;
import it.tref.liferay.portos.bo.shared.util.ActionKeys;
import it.tref.liferay.portos.bo.util.DelegheUtil;
import java.io.IOException;
@ -43,46 +41,6 @@ public class PagamentoServiceImpl extends PagamentoServiceBaseImpl {
* it.tref.liferay.portos.bo.service.PagamentoServiceUtil} to access the pagamento remote service.
*/
@Override
public void sostituisciPagamento(long pagamentoId, String codiceFiscaleCommittente, String mezzo, String url,
ServiceContext serviceContext) throws PortalException, SystemException {
Pagamento pagamento = pagamentoLocalService.getPagamento(pagamentoId);
long userId = findTitolare(pagamentoId);
if (getUserId() == userId || DelegheUtil.hasDelegaPagamento(userId, pagamento.getClassPk())) {
pagamentoLocalService.sostituisciPagamento(pagamentoId, codiceFiscaleCommittente, mezzo, url,
serviceContext);
} else {
throw new SystemException("pagamento aggiornabile solo da titolare digitale del "
+ pagamento.getClassName());
}
}
@Override
public void rigeneraPagamento(long pagamentoId, String codiceFiscaleCommittente, String mezzo, String url,
ServiceContext serviceContext) throws PortalException, SystemException {
if (PendingPagamentiPermission.contains(getPermissionChecker(), serviceContext.getScopeGroupId(),
ActionKeys.PAGAMENTI_PENDING)) {
pagamentoLocalService.sostituisciPagamento(pagamentoId, codiceFiscaleCommittente, mezzo, url,
serviceContext);
} else {
throw new SystemException("pagamento rigenerabile solo da personale autorizzato");
}
}
@Override
public void annullaPagamento(long pagamentoId, ServiceContext serviceContext) throws PortalException,
SystemException {
if (PendingPagamentiPermission.contains(getPermissionChecker(), serviceContext.getScopeGroupId(),
ActionKeys.PAGAMENTI_PENDING)) {
pagamentoLocalService.annullaPagamento(pagamentoId);
} else {
throw new SystemException("pagamento annullabile solo da personale autorizzato");
}
}
@Override
public void updatePagamentoManuale(long pagamentoId, byte[] content, String sourceFileName,
ServiceContext serviceContext) throws IOException, PortalException, SystemException {

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

@ -1359,7 +1359,6 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
String nome;
String comuneNascita;
String dataNascita;
Comune comune;
String residenzaCommittente;
String via;
String civico;
@ -1368,7 +1367,8 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
comuneNascita = HtmlUtil.escape(committente.getComuneNascita() + " (" + committente.getProvinciaNascita()
+ ')');
dataNascita = SDF.format(committente.getDataNascita());
comune = comuneLocalService.fetchComune(Long.parseLong(committente.getComune()));
residenzaCommittente = getDenominazione(committente.getProvincia(), committente.getComune(),
committente.getComuneEstero());
via = HtmlUtil.escape(committente.getVia());
civico = HtmlUtil.escape(committente.getNumeroCivico());
} else {
@ -1376,24 +1376,13 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
comuneNascita = HtmlUtil.escape(committente.getComuneNascitaRap() + " ("
+ committente.getProvinciaNascitaRap() + ')');
dataNascita = SDF.format(committente.getDataNascitaRap());
comune = comuneLocalService.fetchComune(Long.parseLong(committente.getComuneRap()));
residenzaCommittente = getDenominazione(committente.getProvinciaRap(), committente.getComuneRap(),
committente.getComuneRapEstero());
via = HtmlUtil.escape(committente.getViaRap());
civico = HtmlUtil.escape(committente.getNumeroCivicoRap());
}
try {
Provincia provincia = provinciaLocalService.findByC_C(comune.getCompanyId(), comune.getCodiceProvincia());
residenzaCommittente = comune.getDenominazione() + " (" + provincia.getSigla() + ')';
} catch (NoSuchProvinciaException e) {
residenzaCommittente = comune.getDenominazione();
}
comune = comuneLocalService.fetchComune(Long.parseLong(titolare.getComune()));
String residenzaTitolare;
try {
Provincia provincia = provinciaLocalService.findByC_C(comune.getCompanyId(), comune.getCodiceProvincia());
residenzaTitolare = comune.getDenominazione() + " (" + provincia.getSigla() + ')';
} catch (NoSuchProvinciaException e) {
residenzaTitolare = comune.getDenominazione();
}
String residenzaTitolare = getDenominazione(titolare.getProvincia(), titolare.getComune(),
titolare.getComuneEstero());
String diCommittente = Validator.isNull(ParamUtil.getString(request, "dicommittente")) ? getDelegaPlaceholder()
: HtmlUtil.escape(ParamUtil.getString(request, "dicommittente"));
String niCommittente = Validator.isNull(ParamUtil.getString(request, "nicommittente")) ? getDelegaPlaceholder()
@ -1476,4 +1465,20 @@ public class SoggettoLocalServiceImpl extends SoggettoLocalServiceBaseImpl {
delega = delega.replace("{{professionisti}}", professionisti);
return delega;
}
private String getDenominazione(String codiceProvincia, String comuneId, String comuneEstero)
throws SystemException {
if ("ee".equalsIgnoreCase(codiceProvincia)) {
return comuneEstero;
} else {
Comune comune = comuneLocalService.fetchComune(Long.parseLong(comuneId));
try {
Provincia provincia = provinciaLocalService.findByC_C(comune.getCompanyId(), codiceProvincia);
return comune.getDenominazione() + " (" + provincia.getSigla() + ')';
} catch (NoSuchProvinciaException e) {
return comune.getDenominazione();
}
}
}
}

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

@ -5947,13 +5947,19 @@ public class FineLavoriPersistenceImpl extends BasePersistenceImpl<FineLavori>
fineLavoriImpl.setDataEffettuazione(fineLavori.getDataEffettuazione());
fineLavoriImpl.setDataFineLavori(fineLavori.getDataFineLavori());
fineLavoriImpl.setNormEsenteBollo(fineLavori.isNormEsenteBollo());
fineLavoriImpl.setNormEsenteSpese(fineLavori.isNormEsenteSpese());
fineLavoriImpl.setNormEsenteCollaudo(fineLavori.isNormEsenteCollaudo());
fineLavoriImpl.setComunicazioneDirettoreLavori(fineLavori.getComunicazioneDirettoreLavori());
fineLavoriImpl.setPagamentoId(fineLavori.getPagamentoId());
fineLavoriImpl.setPagamentoSpeseId(fineLavori.getPagamentoSpeseId());
fineLavoriImpl.setCodicePagamento(fineLavori.getCodicePagamento());
fineLavoriImpl.setCodicePagamentoSpese(fineLavori.getCodicePagamentoSpese());
fineLavoriImpl.setCausalePagamento(fineLavori.getCausalePagamento());
fineLavoriImpl.setCausalePagamentoSpese(fineLavori.getCausalePagamentoSpese());
fineLavoriImpl.setMezzoPagamento(fineLavori.getMezzoPagamento());
fineLavoriImpl.setMezzoPagamentoSpese(fineLavori.getMezzoPagamentoSpese());
fineLavoriImpl.setImportoBolli(fineLavori.getImportoBolli());
fineLavoriImpl.setImportoSpese(fineLavori.getImportoSpese());
fineLavoriImpl.setRichiestaAttestazione(fineLavori.isRichiestaAttestazione());
return fineLavoriImpl;

100
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/util/PagamentiUtil.java

@ -1,8 +1,5 @@
package it.tref.liferay.portos.bo.util;
import it.toscana.rete.cart.www.servizi.iris_1_1.IdpEsito.InformazioniPagamentoType;
import it.toscana.rete.cart.www.servizi.iris_1_1.IdpEsito.VerificaStatoPagamentoDettagliato;
import it.tref.liferay.portos.bo.iris.IrisVerificaPagamenti;
import it.tref.liferay.portos.bo.model.Collaudo;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.FineLavori;
@ -14,17 +11,12 @@ import it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil;
import it.tref.liferay.portos.bo.shared.util.PagamentoConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
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.CalendarFactoryUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
@ -32,82 +24,6 @@ import com.liferay.portal.service.ServiceContext;
public abstract class PagamentiUtil {
private static final Log _log = LogFactoryUtil.getLog(PagamentiUtil.class);
public static void verificaPagamentoIRIS(Pagamento pagamento) throws IOException, SystemException, PortalException {
String statoPagamento = callVerificaPagamenti(pagamento);
if (Validator.isNotNull(statoPagamento)) {
if (DettPratica.class.getName().equals(pagamento.getClassName())) {
DettPraticaLocalServiceUtil.updateEsitoPagamento(pagamento.getPagamentoId(), pagamento.getClassPk(),
statoPagamento);
} else if (FineLavori.class.getName().equals(pagamento.getClassName())) {
FineLavoriLocalServiceUtil.updateEsitoPagamento(pagamento.getPagamentoId(), pagamento.getClassPk(),
statoPagamento);
} else if (Collaudo.class.getName().equals(pagamento.getClassName())) {
CollaudoLocalServiceUtil.updateEsitoPagamento(pagamento.getPagamentoId(), pagamento.getClassPk(),
statoPagamento);
} else {
throw new RuntimeException("unable to update pagamento esito for entity type "
+ pagamento.getClassName() + " with id " + pagamento.getClassPk());
}
}
}
private static String callVerificaPagamenti(Pagamento pagamento) throws SystemException {
long companyId = pagamento.getCompanyId();
long groupId = pagamento.getGroupId();
if (PagamentoConstants.PAGAMENTO_ONERI.equals(pagamento.getTipoPagamento())) {
InformazioniPagamentoType[] statoPagamentiType = IrisVerificaPagamenti.verificaPagamenti(companyId,
groupId, pagamento.getCodice(), pagamento.getTipoPagamento());
return checkStatoPagamento(statoPagamentiType);
} else if (PagamentoConstants.PAGAMENTO_BOLLI.equals(pagamento.getTipoPagamento())) {
List<String> statiPagamento = new ArrayList<String>();
if (statiPagamento.size() > 1) {
return StringPool.BLANK;
}
return statiPagamento.get(0);
}
throw new SystemException("error.geniocivile.tipopagamento.notexist");
}
private static String checkStatoPagamento(InformazioniPagamentoType[] statoPagamentiType) {
if (statoPagamentiType == null) {
return null;
}
InformazioniPagamentoType statoPagamentoType = statoPagamentiType[0];
String statoPendenza = statoPagamentoType.getStato().getValue();
String statoPagamento = StringPool.BLANK;
if (statoPendenza.equals(VerificaStatoPagamentoDettagliato._POSIZIONE_NON_PAGATA)) {
if (statoPagamentoType.getDescrizioneStato().equalsIgnoreCase(
VerificaStatoPagamentoDettagliato._POSIZIONE_NON_PAGATA)) {
// "Posizione non presente" -> si riprova successivamente
return StringPool.BLANK;
} else if (statoPagamentoType.getDescrizioneStato().equalsIgnoreCase("PAG_NON_ESEGUITO")) {
statoPagamento = PagamentoConstants.UTILIZZATA_RIFIUTATA;
} else if (statoPagamentoType.getDescrizioneStato().equalsIgnoreCase("PAG_IN_ERRORE")) {
statoPagamento = PagamentoConstants.UTILIZZATA_NON_PAGABILE;
}
_log.debug(statoPagamento);
} else if (statoPendenza.equals(VerificaStatoPagamentoDettagliato._POSIZIONE_NON_PAGABILE)) {
// "Posizione non pagabile" -> esito negativo
statoPagamento = PagamentoConstants.UTILIZZATA_NON_PAGABILE;
_log.debug(statoPagamento);
} else if (statoPendenza.equals(VerificaStatoPagamentoDettagliato._POSIZIONE_PAGATA)
|| statoPendenza.equals(VerificaStatoPagamentoDettagliato._POSIZIONE_PAGATA_SBF)) {
// "Pagamento eseguito" -> esito positivo
statoPagamento = PagamentoConstants.UTILIZZATA_PAGATA;
_log.debug(statoPagamento);
} else if (statoPendenza.equalsIgnoreCase(VerificaStatoPagamentoDettagliato._POSIZIONE_CON_PAG_IN_CORSO)) {
// "Pagamento non eseguito" -> esito in corso
statoPagamento = PagamentoConstants.UTILIZZATA_IN_CORSO;
return StringPool.BLANK;
}
return statoPagamento;
}
public static BigDecimal getImportoBolli(long companyId, long dettPraticaId, String tipoIntegrazione)
throws PortalException, SystemException {
@ -148,10 +64,10 @@ public abstract class PagamentiUtil {
} else if (FineLavori.class.getName().equals(className)) {
FineLavori fineLavori = FineLavoriLocalServiceUtil.getFineLavori(classPk);
esenzioneBolli = fineLavori.isNormEsenteBollo();
esenzioneSpeseIstruttoria = true;
esenzioneSpeseIstruttoria = fineLavori.isNormEsenteSpese();
tipoIntegrazione = TipoIntegrazioneUtil.FINE_LAVORI;
if (PagamentoConstants.PAGAMENTO_ONERI.equals(tipoPagamento)) {
throw new SystemException("error.fields.fineLavori.pagamento.classPk.invalid");
pagamentoId = fineLavori.getPagamentoSpeseId();
} else if (PagamentoConstants.PAGAMENTO_BOLLI.equals(tipoPagamento)) {
pagamentoId = fineLavori.getPagamentoId();
}
@ -168,7 +84,6 @@ public abstract class PagamentiUtil {
} else {
throw new SystemException("error.fields.pratica.pagamento.classPk.invalid");
}
List<String> importi = new ArrayList<>();
if (esenzioneSpeseIstruttoria && esenzioneBolli) {
throw new SystemException("error.fields.pratica.pagamento.esente.oneri.bolli");
} else {
@ -179,15 +94,6 @@ public abstract class PagamentiUtil {
try {
BigDecimal importoVal = new BigDecimal(importo);
importo = importoVal.toPlainString();
if (PagamentoConstants.PAGAMENTO_BOLLI.equals(tipoPagamento)) {
int numeroBolli = PagamentiCommonUtil.getNumeroBolli(tipoIntegrazione);
BigDecimal singoloImporto = importoVal.divide(new BigDecimal(numeroBolli));
for (int i = 0; i < numeroBolli; i++) {
importi.add(singoloImporto.toPlainString());
}
} else if (PagamentoConstants.PAGAMENTO_ONERI.equals(tipoPagamento)) {
importi.add(importo);
}
} catch (NumberFormatException e) {
throw new SystemException("error.fields.pratica.pagamento."
+ (PagamentoConstants.PAGAMENTO_BOLLI.equals(tipoPagamento) ? "bolli"
@ -217,7 +123,7 @@ public abstract class PagamentiUtil {
if (add) {
return PagamentoLocalServiceUtil.addPagamentoAndUpdate(StringPool.BLANK, StringPool.BLANK,
PagamentoConstants.MEZZO_MANUALE, codiceFiscaleCommittente, tipoPagamento, importo,
PagamentoConstants.UTILIZZATA_IN_CORSO, classPk, className, 0l, serviceContext);
PagamentoConstants.UTILIZZATA_IN_CORSO, classPk, className, 0L, serviceContext);
}
return null;
}

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=2837
build.date=1658222378941
build.number=2849
build.date=1659108769615
build.auto.upgrade=true
##

13
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view.jsp

@ -42,7 +42,7 @@
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Stato" value='<%= LanguageUtil.get(pageContext, "pagamento-utilizzata-"+pagamento.getUtilizzata()) %>'/>
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Spese Istruttoria" >
<c:if test="<%= PagamentoConstants.PAGAMENTO_ONERI.equalsIgnoreCase(pagamento.getTipoPagamento()) || PagamentoConstants.PAGAMENTO_ONERI_BOLLI.equals(pagamento.getTipoPagamento()) %>">
<c:if test="<%= PagamentoConstants.PAGAMENTO_ONERI.equalsIgnoreCase(pagamento.getTipoPagamento()) %>">
<%
String result = "";
if(dettPratica.isNormEsenteSpese()){
@ -82,10 +82,7 @@
<liferay-ui:search-container-column-text>
<%
String[] notAllowed = new String[]{PagamentoConstants.UTILIZZATA_SOSTITUITA, PagamentoConstants.UTILIZZATA_RIFIUTATA, PagamentoConstants.UTILIZZATA_NON_PAGABILE};
%>
<c:if test="<%= !Arrays.asList(notAllowed).contains(pagamento.getUtilizzata()) %>">
<%
String[] notAllowed = new String[]{};
String buttonId = "pagamentoButton_"+index;
String contentId = "pagamentoContent_"+index;
%>
@ -109,11 +106,6 @@
<liferay-util:param name="dettPraticaId" value="<%= String.valueOf(pagamento.getClassPk()) %>"/>
</liferay-util:include>
</c:if>
<c:if test="<%= PagamentoConstants.PAGAMENTO_ONERI_BOLLI.equalsIgnoreCase(pagamento.getTipoPagamento()) %>">
<liferay-util:include page="/html/pagamenti/view_panel_pagamenti_spese.jsp" servletContext='<%= application %>'>
<liferay-util:param name="dettPraticaId" value="<%= String.valueOf(pagamento.getClassPk()) %>"/>
</liferay-util:include>
</c:if>
</div>
<liferay-util:include page="/html/common/confirm_window.jsp" servletContext="<%= application %>" >
<liferay-util:param name="titolo" value="Dettaglio Pagamento"></liferay-util:param>
@ -121,7 +113,6 @@
<liferay-util:param name="contentDiv" value="<%=contentId%>"></liferay-util:param>
<liferay-util:param name="width" value="750"></liferay-util:param>
</liferay-util:include>
</c:if>
</liferay-ui:search-container-column-text>
</c:if>

40
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_pagamenti_pending.jsp

@ -64,44 +64,6 @@
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Mezzo" value='<%= LanguageUtil.get(pageContext, "mezzo-pagamento-"+pagamento.getMezzo()) %>'/>
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Importo" value='<%= pagamento.getImportoString() %>'/>
<liferay-ui:search-container-column-text name="actions" cssClass="text-nowrap">
<c:if test="<%= isAllowed %>">
<c:if test="<%= PagamentoConstants.UTILIZZATA_ANNULLATO.equalsIgnoreCase(pagamento.getUtilizzata()) %>">
<liferay-portlet:actionURL name="rigeneraPagamento" var="rigeneraPagamentoURL">
<liferay-portlet:param name="mvcPath" value="/html/pagamenti/view_pagamenti_pending.jsp"/>
<liferay-portlet:param name="pagamentoId" value="<%= String.valueOf(pagamento.getPagamentoId()) %>"/>
<liferay-portlet:param name="redirect" value="<%= PortalUtil.getCurrentCompleteURL(request) %>"/>
</liferay-portlet:actionURL>
<aui:form name="rigeneraPagamentoForm" method="post" action="<%= rigeneraPagamentoURL %>">
<c:if test="<%= PagamentiCommonUtil.irisIsEnable(company.getCompanyId())%>">
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_IRIS %>" />
</c:if>
<c:if test="<%= !PagamentiCommonUtil.irisIsEnable(company.getCompanyId())%>">
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_MANUALE %>" />
</c:if>
<aui:button type="submit" value="text-rigenera-pagamento-admin" icon="icon-retweet" iconAlign="left"/>
</aui:form>
</c:if>
<c:if test="<%= PagamentoConstants.UTILIZZATA_IN_CORSO.equalsIgnoreCase(pagamento.getUtilizzata()) %>">
<liferay-portlet:actionURL name="annullaPagamento" var="annullaPagamentoURL">
<liferay-portlet:param name="mvcPath" value="/html/pagamenti/view_pagamenti_pending.jsp"/>
<liferay-portlet:param name="pagamentoId" value="<%= String.valueOf(pagamento.getPagamentoId()) %>"/>
<liferay-portlet:param name="redirect" value="<%= PortalUtil.getCurrentCompleteURL(request) %>"/>
</liferay-portlet:actionURL>
<aui:form name="annullaPagamentoForm" method="post" action="<%= annullaPagamentoURL %>">
<aui:button type="submit" value="text-annulla-pagamento-admin" icon="icon-remove-sign" iconAlign="left" cssClass="btn-danger"/>
</aui:form>
</c:if>
</c:if>
<c:if test="<%= !isAllowed %>">
<span><i class=" icon-remove" style="color:red"></i> Azione non consentita</span>
</c:if>
</liferay-ui:search-container-column-text>
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="<%= false %>" />
<liferay-ui:search-iterator paginate="false" />
</liferay-ui:search-container>

8
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_generic.jsp

@ -60,14 +60,6 @@
<span><strong class="text-success"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-04") %></strong></span>
<% } else if(pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_IN_CORSO)) {%>
<span><strong class="text-warning"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-03") %></strong></span>
<% } else if(pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)) {%>
<span><strong class="text-danger"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-05") %></strong></span>
<% } else if(pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)) {%>
<span><strong class="text-danger"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-06") %></strong></span>
<% } else if(pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_SOSTITUITA)) {%>
<span><strong class="text-info"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-07") %></strong></span>
<% } else if(pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_SI)) {%>
<span><strong class="text-success"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-04") %></strong></span>
<% } else {%>
<span><strong class="text-warning"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-00") %></strong></span>
<% } %>

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_pagamenti_bolli.jsp

@ -35,12 +35,6 @@
<span><strong class="text-success"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-04") %></strong></span>
<% } else if(pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_IN_CORSO)) {%>
<span><strong class="text-warning"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-03") %></strong></span>
<% } else if(pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)) {%>
<span><strong class="text-danger"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-05") %></strong></span>
<% } else if(pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)) {%>
<span><strong class="text-danger"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-06") %></strong></span>
<% } else if(pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_SOSTITUITA)) {%>
<span><strong class="text-success"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-07") %></strong></span>
<% } else {%>
<span><strong class="text-warning"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-00") %></strong></span>
<% } %>

8
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/pagamenti/view_panel_pagamenti_spese.jsp

@ -35,14 +35,6 @@
<span><strong class="text-success"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-04") %></strong></span>
<% } else if(pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_IN_CORSO)) {%>
<span><strong class="text-warning"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-03") %></strong></span>
<% } else if(pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE)) {%>
<span><strong class="text-danger"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-05") %></strong></span>
<% } else if(pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)) {%>
<span><strong class="text-danger"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-06") %></strong></span>
<% } else if(pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_SOSTITUITA)) {%>
<span><strong class="text-info"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-07") %></strong></span>
<% } else if(pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_SI)) {%>
<span><strong class="text-success"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-04") %></strong></span>
<% } else {%>
<span><strong class="text-warning"><%= LanguageUtil.get(pageContext, "pagamento-utilizzata-00") %></strong></span>
<% } %>

51
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java

@ -781,6 +781,7 @@ public class FascicoloFePortlet extends MVCPortlet {
DateFormatFactoryUtil.getDate(request.getLocale()), null);
String codiceFiscaleDelegato = ParamUtil.getString(request, "direttoreLavori");
boolean normEsenteBollo = ParamUtil.getBoolean(request, "normEsenteBollo");
boolean normEsenteSpese = ParamUtil.getBoolean(request, "normEsenteSpese");
boolean normEsenteCollaudo = ParamUtil.getBoolean(request, "normEsenteCollaudo");
boolean isCheckedAltro = ParamUtil.getBoolean(request, "altro_checkbox");
String comunicazioneDirettoreLavori = isCheckedAltro ? ParamUtil.getString(request,
@ -792,7 +793,8 @@ public class FascicoloFePortlet extends MVCPortlet {
if (!fineLavori.isCompletata()) {
FineLavoriServiceUtil.updateFineLavori(userId, fineLavori.getFineLavoriId(),
fineLavori.getIntPraticaId(), parziale, false, dataFineLavori, codiceFiscaleDelegato,
normEsenteBollo, normEsenteCollaudo, comunicazioneDirettoreLavori, richiestaAttestazione);
normEsenteBollo, normEsenteSpese, normEsenteCollaudo, comunicazioneDirettoreLavori,
richiestaAttestazione);
}
String redirect = ParamUtil.getString(request, "redirect");
if (Validator.isNull(redirect)) {
@ -2002,6 +2004,9 @@ public class FascicoloFePortlet extends MVCPortlet {
} else if (fineLavoriId != 0) {
fineLavori = FineLavoriLocalServiceUtil.getFineLavori(fineLavoriId);
pagamento = PagamentoLocalServiceUtil.fetchPagamento(fineLavori.getPagamentoId());
if (Validator.isNull(pagamento)) {
pagamento = PagamentoLocalServiceUtil.fetchPagamento(fineLavori.getPagamentoSpeseId());
}
} else if (collaudoId != 0) {
collaudo = CollaudoLocalServiceUtil.getCollaudo(collaudoId);
pagamento = PagamentoLocalServiceUtil.fetchPagamento(collaudo.getPagamentoId());
@ -2090,8 +2095,10 @@ public class FascicoloFePortlet extends MVCPortlet {
}
} else if (Validator.isNotNull(fineLavori)) {
if (ValidazionePraticaUtil.pagamentoFineLavoriIsEnable(fineLavoriId)) {
_log.debug("pagamento inizializzato per fineLavori" + fineLavoriId);
FineLavoriServiceUtil.pagaInvia(fineLavoriId, codiceFiscaleCommittente, url, serviceContext);
String importoBolli = ParamUtil.getString(request, "importoBolli");
String importoSpese = ParamUtil.getString(request, "importoSpese");
FineLavoriServiceUtil.pagaInvia(fineLavoriId, codiceFiscaleCommittente, importoBolli, importoSpese,
url, serviceContext);
} else {
throw new PortalException("You have not permission to create the payment for Fine Lavori "
+ fineLavoriId);
@ -2107,24 +2114,6 @@ public class FascicoloFePortlet extends MVCPortlet {
}
}
public void sostituisciPagamento(ActionRequest request, ActionResponse response) throws PortalException,
SystemException {
try {
ServiceContext serviceContext = ServiceContextFactory.getInstance(request);
long pagamentoId = ParamUtil.getLong(request, "pagamentoId");
String mezzo = ParamUtil.getString(request, "mezzo");
String codiceFiscaleCommittente = ParamUtil.getString(request, "codiceFiscaleCommittente");
String url = ParamUtil.getString(request, "url");
PagamentoServiceUtil
.sostituisciPagamento(pagamentoId, codiceFiscaleCommittente, mezzo, url, serviceContext);
} catch (Exception e) {
PortalUtil.copyRequestParameters(request, response);
_log.error(e, e);
throw new SystemException(e);
}
}
public void invioMailDelega(ActionRequest request, ActionResponse response) throws PortalException, SystemException {
try {
@ -2323,24 +2312,4 @@ public class FascicoloFePortlet extends MVCPortlet {
SessionErrors.add(request, "clone-fascicolo-not-possible");
}
}
public void rigeneraPagamento(ActionRequest request, ActionResponse response) throws PortalException,
SystemException, InterruptedException {
ThemeDisplay themeDisplay = (ThemeDisplay) request.getAttribute(WebKeys.THEME_DISPLAY);
ServiceContext serviceContext = ServiceContextFactory.getInstance(request);
serviceContext.setCompanyId(themeDisplay.getCompanyId());
HttpServletRequest httpRequest = PortalUtil.getHttpServletRequest(request);
String url = PortalUtil.getCurrentCompleteURL(httpRequest);
long pagamentoId = ParamUtil.getLong(request, "pagamentoId", 0L);
if (pagamentoId != 0L) {
PagamentoLocalServiceUtil.annullaPagamento(pagamentoId);
Thread.sleep(2000);
Pagamento pagamento = PagamentoLocalServiceUtil.fetchPagamento(pagamentoId);
if (Validator.isNotNull(pagamento)) {
PagamentoLocalServiceUtil.sostituisciPagamento(pagamentoId, pagamento.getCodiceFiscaleCommittente(),
pagamento.getMezzo(), url, serviceContext);
}
}
}
}

12
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/edit_fine-lavori.jsp

@ -91,6 +91,7 @@ request.setAttribute("bean.fineLavori", fineLavori);
<div class="row">
<div class="col-md-12">
<div class="module-group">
<c:if test="<%= Validator.isNotNull(dettPratica.getDataInizioLavoriOpera()) %>">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="Inizio lavori">
<div class="container-fluid">
<div class="row">
@ -100,6 +101,7 @@ request.setAttribute("bean.fineLavori", fineLavori);
</div>
</div>
</liferay-ui:panel>
</c:if>
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="fl">
<div class="container-fluid">
<div class="row">
@ -237,14 +239,20 @@ request.setAttribute("bean.fineLavori", fineLavori);
<hr>
<div class="row">
<div class="col-xs-12">
<aui:input name="richiestaAttestazione" label="fl-attestazione" />
<aui:input name="richiestaAttestazione" label="fl-attestazione"
disabled="<%= disabledEditing %>" />
* <%= LanguageUtil.get(pageContext, "fl-attestazione-note") %>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm-12 col-md-12">
<aui:input name="normEsenteBollo" label="fl-esente-bollo" disabled="<%= disabledEditing %>"/>
<aui:input name="normEsenteBollo" label="fl-esente-bollo"
disabled="<%= disabledEditing %>"/>
</div>
<div class="col-sm-12 col-md-12">
<aui:input name="normEsenteSpese" label="norm-esente-diritti"
disabled="<%= disabledEditing %>"/>
</div>
</div>
<hr>

29
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/edit_inizio_lavori.jsp

@ -1,8 +1,11 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="it.tref.liferay.portos.bo.model.DettPratica"%>
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil"%>
<%@include file="/html/fascicolofe/init.jsp"%>
<%
String backURL = ParamUtil.getString(request, "backURL");
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId");
DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(dettPraticaId);
String fmName = "fmInizioLavori";
%>
<liferay-portlet:actionURL name="salvaInizioLavori" var="salvaInizioLavoriURL" >
@ -12,16 +15,12 @@ String fmName = "fmInizioLavori";
</liferay-portlet:actionURL>
<aui:form name="<%= fmName %>" action="<%= salvaInizioLavoriURL %>">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12">
<div style="display:inline-block">
Data inizio lavori
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%= application %>">
<liferay-util:param name="field" value="dataInizioLavoriOpera" />
<liferay-util:param name="fmName" value="<%= fmName %>" />
</liferay-util:include>
<div class="col-xs-9">
<liferay-ui:header title='<%= "Comunica inizio lavori #" + dettPratica.getTitle() %>'
localizeTitle="false" backURL="<%= backURL %>" />
</div>
<div style="display:inline-block">
<div class="col-xs-3">
<div class="pull-right" >
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true"
cssClass="inline_toolbar" >
<liferay-ui:icon iconCssClass="fa fa-check-square" message="salva-conferma"
@ -30,6 +29,18 @@ String fmName = "fmInizioLavori";
</div>
</div>
</div>
<div class="container-fluid">
<div class="col-xs-12">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="Inizio lavori">
Data inizio lavori
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%= application %>">
<liferay-util:param name="field" value="dataInizioLavoriOpera" />
<liferay-util:param name="fmName" value="<%= fmName %>" />
</liferay-util:include>
</liferay-ui:panel>
</div>
</div>
</div>
</aui:form>
<aui:script use="aui-base">

217
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/pagamenti/confirm_iris.jsp

@ -1,217 +0,0 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PagamentoConstants"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="java.util.Calendar"%>
<%@page import="java.util.Date"%>
<%@page import="java.util.UUID"%>
<%@page import="it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.Pagamento"%>
<%@ include file="/html/init.jsp" %>
<%
long pagamentoId = ParamUtil.getLong(request, "pagamentoId");
Pagamento pagamento = PagamentoLocalServiceUtil.getPagamento(pagamentoId);
String random = UUID.randomUUID().toString();
%>
<c:if test="<%= !pagamento.getOtf() %>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%= LanguageUtil.get(pageContext, "text-pagamento-iris") %></span>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15 total-row">
<%-- <c:set var="pagamentoOneriUrl" value="<%=pagamentoOneri.getUrl()%>"/>
<aui:button value="go-to-iris" cssClass="btn btn-primary" onClick="window.open('${pagamentoOneriUrl}','_blank')"/> --%>
<%
String buttonOtf = "btnOtf_"+random;
String contentOtf = "saveAndCloseDiv_otf_"+random;
%>
<liferay-ui:icon-menu icon="" showExpanded="<%=false %>" showWhenSingleIcon="<%=false%>">
<liferay-ui:icon
id="<%= buttonOtf %>"
iconCssClass="fa fa-arrow-circle-o-right"
url="javascript:void(0)"
linkCssClass="btn btn-primary"
message="go-to-iris"
/>
</liferay-ui:icon-menu>
<liferay-portlet:resourceURL id="confirmOtf" var="confirmOtfUrl">
<liferay-portlet:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/>
</liferay-portlet:resourceURL>
<liferay-portlet:resourceURL id="resetOtf" var="resetOtfUrl">
<liferay-portlet:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/>
</liferay-portlet:resourceURL>
<%
String functionOtf =
"var newWin = window.open('"+pagamento.getUrl()+"','_blank');"+
"if(!newWin || newWin.closed || typeof newWin.closed=='undefined'){"+
"A.io.request('"+resetOtfUrl+"',{"+
"dataType: 'json',on: {"+
"complete: function(event, id, obj) {"+
"modalIrisPopupDisabled.show();"+
"}"+
"}"+
"});"+
"} else {"+
"A.io.request('"+confirmOtfUrl+"',{"+
"dataType: 'json',on: {"+
"success: function(event, id, obj) {"+
"var response = this.get('responseData');"+
"if(response.isCompleted){"+
"window.location.reload();"+
"}"+
"}"+
"}"+
"});"+
"}";
%>
<div id='<%=renderResponse.getNamespace()+contentOtf %>' class="hide" >
<span><%= LanguageUtil.get(pageContext, "label-confirm-payment-otf") %></span>
</div>
<liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>" >
<liferay-util:param name="contentDiv" value='<%= contentOtf %>'></liferay-util:param>
<liferay-util:param name="titolo" value="Attenzione"></liferay-util:param>
<liferay-util:param name="headerCss" value="text-center"></liferay-util:param>
<liferay-util:param name="buttonId" value="<%= buttonOtf %>"></liferay-util:param>
<liferay-util:param name="buttonConferma" value="Conferma"></liferay-util:param>
<liferay-util:param name="onClick" value="<%= functionOtf %>"></liferay-util:param>
<liferay-util:param name="width" value="500"></liferay-util:param>
<liferay-util:param name="height" value="280"></liferay-util:param>
</liferay-util:include>
</div>
</c:if>
<!-- DEVO AGIRE QUI PER IL BOTTONE -->
<c:if test="<%= pagamento.getOtf() %>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%= LanguageUtil.get(pageContext, "label-payment-otf-initialized") %></span>
</div>
<c:if test="<%=pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_IN_CORSO) && pagamento.getOtfCreateDate() != null %>">
<%
Calendar calDataPagamento = Calendar.getInstance();
calDataPagamento.setTime(pagamento.getOtfCreateDate());
calDataPagamento.add(Calendar.MINUTE, 15);
Date dataPagamento = calDataPagamento.getTime();
Date nowDate = new Date();
%>
<c:if test="<%=nowDate.after(dataPagamento) %>">
<portlet:renderURL var="rigeneraPagamentoURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>" >
<portlet:param name="mvcPath" value="/html/fascicolofe/pagamenti/rigenera_pagamento.jsp"/>
<portlet:param name="pagamentoId" value='<%=pagamentoId + "" %>'/>
</portlet:renderURL>
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%= LanguageUtil.get(pageContext, "label-payment-otf-rigeneration") %></span>
<%
String buttonId = "pagamentoButton_" + pagamento.getPagamentoId();
%>
<aui:button type="button" id="<%=buttonId%>" value="text-rigenera-pagamento-admin" icon="icon-retweet" iconAlign="left" href="#" />
</div>
<script type="text/javascript">
AUI().ready('aui-node', function(A) {
A.one('#pagamentoButton_<%=pagamento.getPagamentoId() %>').on('click', function(e) {
Liferay.Util.openWindow(
{
dialog: {
modal: true,
cache: false,
centered: true,
resizable: false,
destroyOnClose: true,
width: 500,
height: 250
},
id: 'dialogRigeneraPagamentoId_<%=pagamento.getPagamentoId()%>',
title: 'Rigenera Pagamento',
uri: '<%=rigeneraPagamentoURL%>'
}
);
});
});
</script>
<aui:script>
Liferay.provide(window, 'refreshPortlet', function() {
var curPortlet = '#p_p_id<portlet:namespace/>';
Liferay.Portlet.refresh(curPortlet);
},
['aui-dialog','aui-dialog-iframe']
);
</aui:script>
<aui:script>
Liferay.provide(window, 'closePopup', function(dialogId) {
var A = AUI();
var dialog = Liferay.Util.getWindow(dialogId);
dialog.destroy();
},
['liferay-util-window']
);
</aui:script>
</c:if>
</c:if>
</c:if>
<div id='<%=renderResponse.getNamespace()+"help_message_iris_popup"%>' class="confirmModal"></div>
<%
String msgIris = LanguageUtil.get(pageContext, "help_message_iris_popup");
%>
<aui:script >
var modalIrisPopupDisabled = null;
AUI().ready(
'aui-modal',
function(A) {
modalIrisPopupDisabled = new A.Modal(
{
bodyContent: '<%= msgIris %>',
centered: true,
destroyOnHide: false,
headerContent: '<h3 class="modal_title">Attenzione</h3>',
modal: true,
render: '#<portlet:namespace />help_message_iris_popup',
visible: false,
close: true,
resizable: {
handles: ''
}
}).render();
modalIrisPopupDisabled.addToolbar(
[
{
label: 'Chiudi',
on: {
click: function() {
modalIrisPopupDisabled.hide();
window.location.reload();
}
}
}
]
);
}
);
</aui:script>

45
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/pagamenti/replace_payment.jsp

@ -1,45 +0,0 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PagamentoConstants"%>
<%@page import="it.tref.liferay.portos.bo.util.PagamentiCommonUtil"%>
<%@page import="java.util.UUID"%>
<%@page import="it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.Pagamento"%>
<%@ include file="/html/init.jsp" %>
<%
long companyId = company.getCompanyId();
long pagamentoId = ParamUtil.getLong(request, "pagamentoId");
String verifyPagamentoURL = ParamUtil.getString(request, "verifyPagamentoURL");
Pagamento pagamento = PagamentoLocalServiceUtil.getPagamento(pagamentoId);
String random = UUID.randomUUID().toString();
String formSostituisciPagamento = "fmSostituisci_"+random;
String buttonSubmit = "buttonSubmit_"+random;
String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
%>
<liferay-portlet:actionURL name="sostituisciPagamento" var="sostituisciPagamentoURL">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fascicolo_calcolo.jsp"/>
<liferay-portlet:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/>
<liferay-portlet:param name="codiceFiscaleCommittente" value='<%= pagamento.getCodiceFiscaleCommittente() %>'/>
<liferay-portlet:param name="url" value="<%= currentCompleteUrl %>"/>
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/>
</liferay-portlet:actionURL>
<aui:form name='<%= formSostituisciPagamento %>' method="post" action="<%= sostituisciPagamentoURL %>">
<c:if test="<%= PagamentiCommonUtil.irisIsEnable(companyId)%>">
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_IRIS %>" />
</c:if>
<c:if test="<%= !PagamentiCommonUtil.irisIsEnable(companyId)%>">
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_MANUALE %>" />
</c:if>
<aui:button id='<%= renderResponse.getNamespace()+buttonSubmit %>' type="submit" value="text-rigenera-pagamento" icon="icon-retweet" iconAlign="left"></aui:button>
<%-- <aui:script use="aui-base">
A.one('<%= "#"+renderResponse.getNamespace()+buttonSubmit %>').on(
'click',
function(event) {
event.preventDefault();
submitForm('#<%= renderResponse.getNamespace()+formSostituisciPagamento %>');
}
);
</aui:script> --%>
</aui:form>

73
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/pagamenti/rigenera_pagamento.jsp

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

122
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_cambio_soggetti.jsp

@ -1,35 +1,15 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.workflow.WorkflowConstants"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.SezioniUtil"%>
<%@page import="com.liferay.portal.kernel.util.UniqueList"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.FirmeUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.bean.FirmeBean"%>
<%@page import="it.tref.liferay.portos.bo.model.Soggetto"%>
<%@page import="it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil"%>
<%@page import="java.util.ArrayList"%>
<%@page import="it.tref.liferay.portos.bo.model.Asseverazione"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.AsseverazioniUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.AsseverazioneLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.ValidazionePraticaUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.DettPratica"%>
<%@page import="it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.DocPratica"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.DocumentiPraticaUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="it.tref.liferay.portos.bo.util.SezioniUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.ValidazionePraticaUtil"%>
<%@ include file="/html/fascicolofe/init.jsp" %>
<%
long intPraticaId = ParamUtil.getLong(request, "intPraticaId",0l);
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId",0l);
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId);
long intPraticaId = ParamUtil.getLong(request, "intPraticaId");
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId");
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
DettPratica dettPratica = DettPraticaServiceUtil.fetchDettPratica(dettPraticaId);
if (dettPratica == null) {
dettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId);
if (dettPratica == null) {
@ -37,63 +17,48 @@
}
}
%>
<liferay-portlet:renderURL var="verifyURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_cambio_soggetti.jsp"/>
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>" />
<liferay-portlet:param name="dettPraticaId" value="<%= String.valueOf(dettPraticaId) %>" />
</liferay-portlet:renderURL>
<liferay-portlet:renderURL var="viewVerifyOkURL" >
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/navigator/common/verify_ok.jsp"/>
<liferay-portlet:param name="dettPraticaId" value="<%= String.valueOf(dettPraticaId) %>" />
<liferay-portlet:param name="label" value="cambio-soggetti-ok" />
</liferay-portlet:renderURL>
<liferay-portlet:actionURL name="completeCambioSoggetti" var="completeCambioSoggettiURL">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_cambio_soggetti.jsp"/>
<liferay-portlet:param name="dettPraticaId" value="<%= String.valueOf(dettPraticaId) %>" />
<liferay-portlet:param name="redirect" value="<%= viewVerifyOkURL %>" />
</liferay-portlet:actionURL>
<liferay-util:include page="/html/common/help_message.jsp" servletContext="<%= application %>">
<liferay-util:param name="message" value="help_message_cambio_soggetti"></liferay-util:param>
<liferay-util:param name="message" value="help_message_cambio_soggetti" />
</liferay-util:include>
<div class="container-fluid clearfix">
<div class="container-btn-fascicolo pull-right" >
<liferay-ui:icon-menu showWhenSingleIcon="<%= false %>" extended="false" showExpanded="true" cssClass="inline_toolbar" >
<liferay-ui:icon
iconCssClass="fa fa-refresh"
message="refresh"
url="<%=verifyURL %>"
linkCssClass="btn"
/>
<liferay-ui:icon
linkCssClass='<%= ValidazionePraticaUtil.canCompleteUserEditing(dettPraticaId) ?"btn btn-primary":"btn btn-primary disabled" %>'
iconCssClass="fa fa-check"
message="Concludi Cambio Soggetti"
url="<%= completeCambioSoggettiURL %>"
/>
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true"
cssClass="inline_toolbar">
<liferay-ui:icon iconCssClass="fa fa-refresh" message="refresh" url="<%= verifyURL %>"
linkCssClass="btn" />
<liferay-ui:icon linkCssClass='<%= ValidazionePraticaUtil.canCompleteUserEditing(dettPraticaId)
? "btn btn-primary" : "btn btn-primary disabled" %>' iconCssClass="fa fa-check"
message="Concludi Cambio Soggetti" url="<%= completeCambioSoggettiURL %>" />
</liferay-ui:icon-menu>
</div>
</div>
<div class="container-fluid clearfix compilazione-domanda" id="<portlet:namespace/>_section-completed">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 asseverazioni tab-error">
<div class="col-xs-12 asseverazioni tab-error">
<div class="row asseverazioni-header">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="col-xs-12">
<div class="row" style="padding-top: 10px;">
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
<div class="col-xs-8">
Sezione
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 asserazioni-header-title">
<div class="col-xs-2 asserazioni-header-title">
Completata
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2"></div>
<div class="col-xs-2"></div>
</div>
</div>
</div>
@ -101,66 +66,59 @@
String section = SezioniUtil.SEZIONE_ANAGRAFE_SOGGETTI;
%>
<div class="row asseverazioni-title">
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
<div class="col-xs-8">
<%= LanguageUtil.get(pageContext, "sezione-" + section) %>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center">
<div class="col-xs-2 text-center">
<%
boolean isSectionCompleted = ValidazionePraticaUtil.notCompletedSection(section, dettPraticaId).isEmpty();
StringBuilder tooltipSection = new StringBuilder();
if(!isSectionCompleted){
List<String> notCompleted = ValidazionePraticaUtil.notCompletedSection(section, dettPraticaId);
StringBuilder tooltipSection = new StringBuilder();
if (!notCompleted.isEmpty()) {
tooltipSection.append("<ul class='list-body-modal'>");
for (String incomplete : notCompleted) {
tooltipSection.append("<li class='item-body-modal'>"+LanguageUtil.get(pageContext, incomplete)+"</li>");
tooltipSection.append("<li class='item-body-modal'>"
+ LanguageUtil.get(pageContext, incomplete) + "</li>");
}
tooltipSection.append("</ul>");
}
}
%>
<span class='icon-asseverazioni fa <%= isSectionCompleted ? "fa-check txt-green" : "fa-close txt-red"%>'>
<span class='icon-asseverazioni fa <%= notCompleted.isEmpty() ? "fa-check txt-green"
: "fa-close txt-red"%>'>
</span>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center">
<div class="col-xs-2 text-center">
<c:if test="<%= tooltipSection.length() > 0 %>">
<button id="<portlet:namespace /><%= section %>_button" class="btn btn-primary">Dettagli</button>
<div id="<portlet:namespace /><%= section %>_div" class="hide"><%= tooltipSection.toString() %></div>
<div id="<portlet:namespace /><%= section %>_div"
class="hide"><%= tooltipSection.toString() %></div>
<%
String title = "Riepilogo Errori Sezione " + LanguageUtil.get(pageContext, "sezione-" + section);
String buttonId = section + "_button";
String contentId = section + "_div";
%>
<liferay-util:include page="/html/common/confirm_window.jsp" servletContext="<%= application %>" >
<liferay-util:param name="titolo" value="<%= title%>"></liferay-util:param>
<liferay-util:param name="buttonId" value="<%=buttonId%>"></liferay-util:param>
<liferay-util:param name="contentDiv" value="<%=contentId%>"></liferay-util:param>
<liferay-util:param name="width" value="750"></liferay-util:param>
<liferay-util:param name="externalForm" value="true"></liferay-util:param>
<liferay-util:param name="titolo" value="<%= title %>" />
<liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="contentDiv" value="<%= contentId %>" />
<liferay-util:param name="width" value="750" />
<liferay-util:param name="externalForm" value="true" />
</liferay-util:include>
</c:if>
</div>
</div>
</div>
</div>
<script type="text/javascript">
YUI().use(
'aui-tooltip',
function(Y) {
new Y.TooltipDelegate(
{
YUI().use('aui-tooltip', function (Y) {
new Y.TooltipDelegate({
trigger: '.tooltip-info',
position: 'top',
cssClass: 'tooltip-help',
html: true,
opacity: 1
}
);
}
);
opacity: 1,
});
});
</script>
<aui:script use="aui-base">
window.parent.Liferay.fire('verifyPopup-ready');
</aui:script>

97
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_collaudo_calcolo.jsp

@ -38,17 +38,11 @@
boolean pagamentoIsPagato = false;
boolean pagamentoIsPending = false;
boolean pagamentoNonPagabile = false;
boolean pagamentoRifiutato = false;
boolean pagamentoAnnullato = false;
Pagamento pagamento = null;
if( Validator.isNotNull(collaudo.getPagamentoId()) ){
pagamento = PagamentoLocalServiceUtil.getPagamento(collaudo.getPagamentoId());
pagamentoIsPagato = pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA);
pagamentoIsPending = pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_IN_CORSO);
pagamentoNonPagabile = pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE);
pagamentoRifiutato = pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA);
pagamentoAnnullato = pagamento.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO);
}
String formRicevutaPagamento = "fmRicevuta";
@ -123,39 +117,9 @@
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/>
</liferay-portlet:actionURL>
<c:if test="<%= !PagamentiCommonUtil.irisIsEnable(companyId) || pagamento.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) %>">
<c:if test="<%= pagamento.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) %>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %></span>
<c:if test="<%= (pagamentoIsPending && pagamento.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) &&
PagamentiCommonUtil.irisIsEnable(companyId) ) %>">
<liferay-util:include page="/html/fascicolofe/pagamenti/replace_payment.jsp" servletContext="<%= application %>" >
<liferay-util:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'></liferay-util:param>
<liferay-util:param name="verifyPagamentoURL" value='<%= verifyPagamentoURL %>'></liferay-util:param>
</liferay-util:include>
<%-- <liferay-portlet:actionURL name="sostituisciPagamento" var="sostituisciPagamentoBolliURL">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fascicolo_calcolo.jsp"/>
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="collaudoId" value="<%= String.valueOf(collaudoId) %>" />
<liferay-portlet:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/>
<liferay-portlet:param name="codiceFiscaleCommittente" value='<%= pagamento.getCodiceFiscaleCommittente() %>'/>
<liferay-portlet:param name="url" value="<%= currentCompleteUrl %>"/>
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/>
</liferay-portlet:actionURL>
<div>
<aui:form name='<%= formSostituisciPagamento+"_bolli" %>' enctype="multipart/form-data" method="post" action="<%= sostituisciPagamentoBolliURL %>">
<c:if test="<%= PagamentiCommonUtil.irisIsEnable(companyId)%>">
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_IRIS %>" />
</c:if>
<c:if test="<%= !PagamentiCommonUtil.irisIsEnable(companyId)%>">
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_MANUALE %>" />
</c:if>
<aui:button-row>
<aui:button type="submit" value="sostituisci-pagamento-bolli" icon="icon-retweet" iconAlign="left"/>
</aui:button-row>
</aui:form>
</div> --%>
</c:if>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15 total-row">
<aui:form name="<%= formRicevutaPagamento %>" enctype="multipart/form-data" method="post" action="<%= allegatoFilePagamentoURL %>">
@ -172,62 +136,7 @@
</aui:form>
</div>
</c:if>
<c:if test="<%= PagamentiCommonUtil.irisIsEnable(companyId) && pagamento.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS) && Validator.isNotNull(pagamento.getUrl())%>">
<liferay-util:include page="/html/fascicolofe/pagamenti/confirm_iris.jsp" servletContext="<%= application %>" >
<liferay-util:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'></liferay-util:param>
</liferay-util:include>
<%-- <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%= LanguageUtil.get(pageContext, "text-pagamento-iris") %></span>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15 total-row">
<c:set var="pagamentoBolliUrl" value="<%=pagamento.getUrl()%>"/>
<aui:button value="go-to-iris" cssClass="btn btn-primary" onClick="window.open('${pagamentoBolliUrl}','_blank')"/>
</div> --%>
</c:if>
</c:if>
</c:if>
<c:if test="<%= pagamentoNonPagabile || pagamentoRifiutato %>">
<c:if test="<%= pagamentoNonPagabile %>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%= LanguageUtil.get(pageContext, "text-pagamento-nonpagabile-bolli") %></span>
</div>
</c:if>
<c:if test="<%= pagamentoRifiutato %>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%= LanguageUtil.get(pageContext, "text-pagamento-rifiutato-bolli") %></span>
</div>
</c:if>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15">
<liferay-util:include page="/html/fascicolofe/pagamenti/replace_payment.jsp" servletContext="<%= application %>" >
<liferay-util:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'></liferay-util:param>
<liferay-util:param name="verifyPagamentoURL" value='<%= verifyPagamentoURL %>'></liferay-util:param>
</liferay-util:include>
</div>
<%-- <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 col-lg-4 padding_15">
<liferay-portlet:actionURL name="sostituisciPagamento" var="sostituisciPagamentoBolliRifiutatoURL">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fascicolo_calcolo.jsp"/>
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="collaudoId" value="<%= String.valueOf(collaudoId) %>" />
<liferay-portlet:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/>
<liferay-portlet:param name="codiceFiscaleCommittente" value='<%= pagamento.getCodiceFiscaleCommittente() %>'/>
<liferay-portlet:param name="url" value="<%= currentCompleteUrl %>"/>
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/>
</liferay-portlet:actionURL>
<aui:form name='<%= formSostituisciPagamento+"_bolli_rifiutato" %>' method="post" action="<%= sostituisciPagamentoBolliRifiutatoURL %>">
<c:if test="<%= PagamentiCommonUtil.irisIsEnable(companyId)%>">
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_IRIS %>" />
</c:if>
<c:if test="<%= !PagamentiCommonUtil.irisIsEnable(companyId)%>">
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_MANUALE %>" />
</c:if>
<aui:button-row>
<aui:button type="submit" value="sostituisci-pagamento-bolli" icon="icon-retweet" iconAlign="left"/>
</aui:button-row>
</aui:form>
</div> --%>
</c:if>
<c:if test="<%= pagamentoAnnullato %>">
<span><%= LanguageUtil.get(pageContext, "text-pagamento-annullato-bolli") %></span>
</c:if>
</div>
</div>
@ -345,11 +254,7 @@
<div id='<%=renderResponse.getNamespace()+"saveAndCloseDiv" %>' class="hide" >
<%
String paymentConfirmText = "";
if( PagamentiCommonUtil.irisIsEnable(companyId) ){
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-iris");
} else{
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-manual");
}
%>
<span style="min-height:70px"><%= paymentConfirmText %></span>
</div>

29
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp

@ -1,6 +1,3 @@
<%@page import="it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants"%>
<%@page import="java.util.HashSet"%>
<%@page import="java.util.Set"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.util.UniqueList"%>
<%@page import="it.tref.liferay.portos.bo.model.Asseverazione"%>
@ -19,6 +16,7 @@
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.SezioniUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.ValidazionePraticaUtil"%>
<%@page import="java.util.Set"%>
<%@ include file="/html/fascicolofe/init.jsp" %>
<%
long intPraticaId = ParamUtil.getLong(request, "intPraticaId", 0L);
@ -32,6 +30,11 @@ if (dettPratica == null) {
}
dettPraticaId = dettPratica.getDettPraticaId();
}
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
boolean avvisoSP = (!Constants.TIPO_PRATICA_AUTORIZZAZIONE.equalsIgnoreCase(intPratica.getTipoPratica()))
&& ((Constants.ZONA_1.equals(territorio.getZona()) || (Constants.ZONA_2.equals(territorio.getZona())
&& (dettPratica.getAg().replace(',', '.').compareTo("0.2") >= 0)))
&& (dettPratica.isTcAdeguamentoSismico() || dettPratica.isTcMiglioramentoSismico()));
%>
<liferay-portlet:renderURL var="verifyURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fascicolo.jsp" />
@ -151,6 +154,26 @@ List<String> tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatori();
List<String> tipologiaSoggetti = Arrays.asList(TipoSoggettoUtil.COMMITTENTE, TipoSoggettoUtil.DITTA, TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DIRETTORE_LAVORI, TipoSoggettoUtil.GEOLOGO, TipoSoggettoUtil.COLLAUDATORE);
%>
<div class="container-fluid clearfix compilazione-domanda" id="<portlet:namespace />_section-completed">
<c:if test="<%= avvisoSP %>">
<div class="col-xs-12" style="background-color: #ffebcd; padding: 8px; margin: 22px 0; font-size: 16px;">
<span style="color: red;"><b><u>ATTENZIONE!</u></b></span> Questa istanza sarà <b>SOTTOPOSTA A PARERE</b> e
non sarà considerata un deposito.<br />
L’inizio dei lavori rimane subordinato al successivo rilascio del <b><u>PROVVEDIMENTO DI
AUTORIZZAZIONE</u></b>, che sarà emesso dall’Ufficio ai sensi dell’art. 94 DPR 380/2001 (art. 18 L.64/74) e
nel rispetto del DDG 344/2020 del Dirigente Generale del DRT.<br />
<br />
Si sono verificate le seguenti condizioni:<br />
- Intervento in <b>zona
<%= Constants.ZONA_1.equalsIgnoreCase(territorio.getZona()) ? "1" : "2" %></b><br />
- Valore di AG: <b><%= dettPratica.getAg() %></b><br />
<c:if test="<%= dettPratica.isTcAdeguamentoSismico() %>">
- Tipo di intervento: <b><%= LanguageUtil.get(pageContext, "tc-adeguamento-sismico") %></b><br />
</c:if>
<c:if test="<%= dettPratica.isTcMiglioramentoSismico() %>">
- Tipo di intervento: <b><%= LanguageUtil.get(pageContext, "tc-miglioramento-sismico") %></b><br />
</c:if>
</div>
</c:if>
<div class="col-xs-12 asseverazioni tab-error">
<div class="row asseverazioni-header">
<div class="col-xs-12 text-center asseverazioni-header__title">

104
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo_calcolo.jsp

@ -43,32 +43,20 @@
boolean pagamentoOneriIsPagato = false;
boolean pagamentoOneriIsPending = false;
boolean pagamentoOneriNonPagabile = false;
boolean pagamentoOneriRifiutato = false;
boolean pagamentoOneriAnnullato = false;
Pagamento pagamentoOneri = null;
if( Validator.isNotNull(dettPratica.getPagamentoIdOneri()) ){
pagamentoOneri = PagamentoLocalServiceUtil.getPagamento(dettPratica.getPagamentoIdOneri());
pagamentoOneriIsPagato = pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA);
pagamentoOneriIsPending = pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_IN_CORSO);
pagamentoOneriNonPagabile = pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE);
pagamentoOneriRifiutato = pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA);
pagamentoOneriAnnullato = pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO);
}
boolean pagamentoBolliIsPagato = false;
boolean pagamentoBolliIsPending = false;
boolean pagamentoBolliNonPagabile = false;
boolean pagamentoBolliRifiutato = false;
boolean pagamentoBolliAnnullato = false;
Pagamento pagamentoBolli = null;
if( Validator.isNotNull(dettPratica.getPagamentoIdBolli()) ){
pagamentoBolli = PagamentoLocalServiceUtil.getPagamento(dettPratica.getPagamentoIdBolli());
pagamentoBolliIsPagato = pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA);
pagamentoBolliIsPending = pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_IN_CORSO);
pagamentoBolliNonPagabile = pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE);
pagamentoBolliRifiutato = pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA);
pagamentoBolliAnnullato = pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO);
}
String formRicevutaPagamento = "fmRicevuta";
@ -147,18 +135,9 @@
</liferay-portlet:actionURL>
<c:if
test="<%=!PagamentiCommonUtil.irisIsEnable(companyId) || pagamentoOneri.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)%>">
test="<%= pagamentoOneri.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)%>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%=LanguageUtil.get(pageContext, "text-pagamento-manuale-spese")%></span>
<c:if
test="<%=(pagamentoOneriIsPending && pagamentoOneri.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) && PagamentiCommonUtil.irisIsEnable(companyId) )%>">
<liferay-util:include page="/html/fascicolofe/pagamenti/replace_payment.jsp"
servletContext="<%=application%>">
<liferay-util:param name="pagamentoId"
value='<%=String.valueOf(pagamentoOneri.getPagamentoId())%>'></liferay-util:param>
<liferay-util:param name="verifyPagamentoURL" value='<%=verifyPagamentoURL%>'></liferay-util:param>
</liferay-util:include>
</c:if>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15 total-row">
<aui:form name="<%=formRicevutaPagamento%>" enctype="multipart/form-data" method="post"
@ -176,40 +155,8 @@
</aui:form>
</div>
</c:if>
<c:if
test="<%=PagamentiCommonUtil.irisIsEnable(companyId) && pagamentoOneri.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS)
&& Validator.isNotNull(pagamentoOneri.getUrl())%>">
<liferay-util:include page="/html/fascicolofe/pagamenti/confirm_iris.jsp"
servletContext="<%=application%>">
<liferay-util:param name="pagamentoId"
value='<%=String.valueOf(pagamentoOneri.getPagamentoId())%>'></liferay-util:param>
</liferay-util:include>
</c:if>
</c:if>
</c:if>
<c:if test="<%=pagamentoOneriNonPagabile || pagamentoOneriRifiutato%>">
<c:if test="<%=pagamentoOneriNonPagabile%>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%=LanguageUtil.get(pageContext, "text-pagamento-nonpagabile-spese")%></span>
</div>
</c:if>
<c:if test="<%=pagamentoOneriRifiutato%>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%=LanguageUtil.get(pageContext, "text-pagamento-rifiutato-spese")%></span>
</div>
</c:if>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15">
<liferay-util:include page="/html/fascicolofe/pagamenti/replace_payment.jsp"
servletContext="<%=application%>">
<liferay-util:param name="pagamentoId" value='<%=String.valueOf(pagamentoOneri.getPagamentoId())%>'></liferay-util:param>
<liferay-util:param name="verifyPagamentoURL" value='<%=verifyPagamentoURL%>'></liferay-util:param>
</liferay-util:include>
</div>
</c:if>
<c:if test="<%=pagamentoOneriAnnullato%>">
<span><%=LanguageUtil.get(pageContext, "text-pagamento-annullato-spese")%></span>
</c:if>
</div>
</div>
</liferay-ui:panel>
@ -244,19 +191,9 @@
</liferay-portlet:actionURL>
<c:if
test="<%=!PagamentiCommonUtil.irisIsEnable(companyId) || pagamentoBolli.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)%>">
test="<%= pagamentoBolli.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)%>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%=LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli")%></span>
<c:if
test="<%=(pagamentoBolliIsPending && pagamentoBolli.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) &&
PagamentiCommonUtil.irisIsEnable(companyId) )%>">
<liferay-util:include page="/html/fascicolofe/pagamenti/replace_payment.jsp"
servletContext="<%=application%>">
<liferay-util:param name="pagamentoId"
value='<%=String.valueOf(pagamentoBolli.getPagamentoId())%>'></liferay-util:param>
<liferay-util:param name="verifyPagamentoURL" value='<%=verifyPagamentoURL%>'></liferay-util:param>
</liferay-util:include>
</c:if>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15 total-row">
<aui:form name="<%=formRicevutaPagamento%>" enctype="multipart/form-data" method="post"
@ -274,40 +211,7 @@
</aui:form>
</div>
</c:if>
<c:if
test="<%=PagamentiCommonUtil.irisIsEnable(companyId) && pagamentoBolli.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS) &&
Validator.isNotNull(pagamentoBolli.getUrl())%>">
<liferay-util:include page="/html/fascicolofe/pagamenti/confirm_iris.jsp"
servletContext="<%=application%>">
<liferay-util:param name="pagamentoId"
value='<%=String.valueOf(pagamentoBolli.getPagamentoId())%>'></liferay-util:param>
</liferay-util:include>
</c:if>
</c:if>
</c:if>
<c:if test="<%=pagamentoBolliNonPagabile || pagamentoBolliRifiutato%>">
<c:if test="<%=pagamentoBolliNonPagabile%>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%=LanguageUtil.get(pageContext, "text-pagamento-nonpagabile-bolli")%></span>
</div>
</c:if>
<c:if test="<%=pagamentoBolliRifiutato%>">
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15">
<span><%=LanguageUtil.get(pageContext, "text-pagamento-rifiutato-bolli")%></span>
</div>
</c:if>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15">
<liferay-util:include page="/html/fascicolofe/pagamenti/replace_payment.jsp"
servletContext="<%=application%>">
<liferay-util:param name="pagamentoId" value='<%=String.valueOf(pagamentoBolli.getPagamentoId())%>'></liferay-util:param>
<liferay-util:param name="verifyPagamentoURL" value='<%=verifyPagamentoURL%>'></liferay-util:param>
</liferay-util:include>
</div>
</c:if>
<c:if test="<%=pagamentoBolliAnnullato%>">
<span><%=LanguageUtil.get(pageContext, "text-pagamento-annullato-bolli")%></span>
</c:if>
</div>
</div>
@ -543,11 +447,7 @@
<div id='<%=renderResponse.getNamespace()+"saveAndCloseDiv"%>' class="hide">
<%
String paymentConfirmText = "";
if( PagamentiCommonUtil.irisIsEnable(companyId) ){
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-iris");
} else{
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-manual");
}
%>
<span style="min-height: 70px"><%=paymentConfirmText%></span>
</div>

189
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo.jsp

@ -24,19 +24,21 @@ String formName = "fmpaga";
String buttonId = "fmbutton";
long companyId = company.getCompanyId();
boolean disabledInput = Validator.isNotNull(fineLavori.getPagamentoId());
boolean pagamentoIsPagato = false;
boolean pagamentoIsPending = false;
boolean pagamentoNonPagabile = false;
boolean pagamentoRifiutato = false;
boolean pagamentoAnnullato = false;
Pagamento pagamento = null;
if (Validator.isNotNull(fineLavori.getPagamentoId())) {
pagamento = PagamentoLocalServiceUtil.getPagamento(fineLavori.getPagamentoId());
pagamentoIsPagato = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_PAGATA);
pagamentoIsPending = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_IN_CORSO);
pagamentoNonPagabile = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_NON_PAGABILE);
pagamentoRifiutato = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_RIFIUTATA);
pagamentoAnnullato = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_ANNULLATO);
Pagamento pagamento = PagamentoLocalServiceUtil.fetchPagamento(fineLavori.getPagamentoId());
boolean pagamentoIsPagato = Validator.isNotNull(pagamento)
&& pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_PAGATA);
boolean pagamentoIsPending = Validator.isNotNull(pagamento)
&& pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_IN_CORSO);
Pagamento pagamentoSpese = PagamentoLocalServiceUtil.fetchPagamento(fineLavori.getPagamentoSpeseId());
boolean pagamentoSpeseIsPagato = Validator.isNotNull(pagamentoSpese)
&& pagamentoSpese.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_PAGATA);
boolean pagamentoSpeseIsPending = Validator.isNotNull(pagamentoSpese)
&& pagamentoSpese.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_IN_CORSO);
String codiceFiscaleCommittente = StringPool.BLANK;
if (Validator.isNotNull(pagamento)) {
codiceFiscaleCommittente = pagamento.getCodiceFiscaleCommittente();
} else if (Validator.isNotNull(pagamentoSpese)) {
codiceFiscaleCommittente = pagamentoSpese.getCodiceFiscaleCommittente();
}
String formRicevutaPagamento = "fmRicevuta";
String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
@ -105,23 +107,11 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/>
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/>
</liferay-portlet:actionURL>
<c:if test="<%= !PagamentiCommonUtil.irisIsEnable(companyId)
|| pagamento.getMezzo().equalsIgnoreCase(
<c:if test="<%= pagamento.getMezzo().equals(
PagamentoConstants.MEZZO_MANUALE) %>">
<div class="col-xs-10 padding_15"><span>
<%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %>
</span>
<c:if test="<%= (pagamentoIsPending && pagamento.getMezzo()
.equals(PagamentoConstants.MEZZO_MANUALE) &&
PagamentiCommonUtil.irisIsEnable(companyId) ) %>">
<liferay-util:include servletContext="<%= application %>"
page="/html/fascicolofe/pagamenti/replace_payment.jsp" >
<liferay-util:param name="pagamentoId"
value='<%= String.valueOf(pagamento.getPagamentoId()) %>' />
<liferay-util:param name="verifyPagamentoURL"
value='<%= verifyPagamentoURL %>' />
</liferay-util:include>
</c:if>
</div>
<div class="col-xs-2 padding_15 total-row">
<aui:form name="<%= formRicevutaPagamento %>"
@ -142,42 +132,64 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
</aui:form>
</div>
</c:if>
<c:if test="<%= PagamentiCommonUtil.irisIsEnable(companyId)
&& pagamento.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS)
&& Validator.isNotNull(pagamento.getUrl())%>">
<liferay-util:include page="/html/fascicolofe/pagamenti/confirm_iris.jsp"
servletContext="<%= application %>" >
<liferay-util:param name="pagamentoId"
value='<%= String.valueOf(pagamento.getPagamentoId()) %>' />
</liferay-util:include>
</c:if>
</c:if>
</c:if>
<c:if test="<%= pagamentoNonPagabile || pagamentoRifiutato %>">
<c:if test="<%= pagamentoNonPagabile %>">
<div class="col-xs-10 padding_15">
<span><%= LanguageUtil.get(pageContext,
"text-pagamento-nonpagabile-bolli") %></span>
</div>
</c:if>
<c:if test="<%= pagamentoRifiutato %>">
<div class="col-xs-10 padding_15">
<span><%= LanguageUtil.get(pageContext,
"text-pagamento-rifiutato-bolli") %></span>
</div>
</liferay-ui:panel>
</div>
</div>
<div class="col-xs-12 padding_15">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false"
title="label-pagamento-diritti">
<div class="container-fluid">
<div class="row">
<c:if test="<%= pagamentoSpeseIsPagato %>">
<div class="col-xs-12 padding_15">
<span>
Pagamento diritti fissi completato
</span>
</div>
</c:if>
<div class="col-xs-2 padding_15">
<liferay-util:include page="/html/fascicolofe/pagamenti/replace_payment.jsp"
servletContext="<%= application %>" >
<liferay-util:param name="pagamentoId"
value='<%= String.valueOf(pagamento.getPagamentoId()) %>' />
<liferay-util:param name="verifyPagamentoURL"
value='<%= verifyPagamentoURL %>' />
</liferay-util:include>
<c:if test="<%= pagamentoSpeseIsPending %>">
<liferay-portlet:actionURL name="allegatoFilePagamento"
var="allegatoFilePagamentoURL">
<liferay-portlet:param name="mvcPath"
value="/html/fascicolofe/verify_fine-lavori_calcolo.jsp" />
<liferay-portlet:param name="intPraticaId"
value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="fineLavoriId"
value="<%= String.valueOf(fineLavoriId) %>" />
<liferay-portlet:param name="pagamentoId"
value='<%= String.valueOf(pagamentoSpese.getPagamentoId()) %>'/>
<liferay-portlet:param name="redirect" value="<%= verifyPagamentoURL %>"/>
</liferay-portlet:actionURL>
<c:if test="<%= pagamentoSpese.getMezzo().equals(
PagamentoConstants.MEZZO_MANUALE) %>">
<div class="col-xs-10 padding_15"><span>
<%= LanguageUtil.get(pageContext, "text-pagamento-manuale-oneri") %>
</span>
</div>
<div class="col-xs-2 padding_15 total-row">
<aui:form name="<%= formRicevutaPagamento %>"
enctype="multipart/form-data" method="post"
action="<%= allegatoFilePagamentoURL %>">
<div>
<aui:input type="file" name="docFile"
label="Ricevuta Pagamento">
<aui:validator name="required"
errorMessage="File Richiesto" />
<aui:validator name="acceptFiles"
errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator>
</aui:input>
</div>
<aui:button-row>
<aui:button type="submit" value="upload-file" />
</aui:button-row>
</aui:form>
</div>
</c:if>
<c:if test="<%= pagamentoAnnullato %>">
<span><%= LanguageUtil.get(pageContext, "text-pagamento-annullato-bolli") %></span>
</c:if>
</div>
</div>
@ -209,7 +221,8 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
<div class="row">
<div class="col-sm-6 col-xs-12">
<aui:select label="gc-soggetto-02" name="codiceFiscaleCommittente" showEmptyOption="true"
required="true" showRequiredLabel="true" disabled="<%= disabledInput %>" >
required="true" showRequiredLabel="true"
disabled="<%= !codiceFiscaleCommittente.isEmpty() %>" >
<%
List<Soggetto> committenti = SoggettoLocalServiceUtil.getValidByIntPratica_TipologiaSoggetto(
intPraticaId, TipoSoggettoUtil.COMMITTENTE);
@ -217,9 +230,8 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
%>
<aui:option label='<%= committente.getDescrizioneCompleta() %>'
value="<%= committente.getCodiceFiscale() %>"
selected="<%= (committenti.size() == 1) || (Validator.isNotNull(pagamento)
&& committente.getCodiceFiscale().equalsIgnoreCase(
pagamento.getCodiceFiscaleCommittente())) %>" />
selected="<%= (committenti.size() == 1)
|| codiceFiscaleCommittente.equalsIgnoreCase(committente.getCodiceFiscale()) %>" />
<%
}
%>
@ -252,18 +264,63 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
<div class="col-xs-2 padding_15 total-row">
<div class="total-row__label">Totale importo</div>
<%
BigDecimal importoBollo = null;
BigDecimal importoBolli = null;
if (Validator.isNotNull(pagamento)) {
importoBollo = new BigDecimal(pagamento.getImporto());
importoBolli = new BigDecimal(pagamento.getImporto());
} else {
importoBollo = fineLavori.isNormEsenteBollo() ? new BigDecimal("0.00")
importoBolli = fineLavori.isNormEsenteBollo() ? new BigDecimal("0.00")
: PagamentiCommonUtil.getImportoBolli(companyId,
fineLavori.getFineLavoriId(), FineLavori.class.getName(),
TipoIntegrazioneUtil.FINE_LAVORI);
}
%>
<aui:input type="hidden" name="importoBolli"
value="<%= importoBolli.toString() %>" />
<div class="total-row__value"><strong> <%= NumberFormat.getCurrencyInstance(
LocaleUtil.getSiteDefault()).format(importoBolli) %></strong></div>
</div>
</div>
</div>
</liferay-ui:panel>
</div>
</div>
<div class="col-xs-12 padding_15">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false"
title="label-pagamenti-diritti">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 container-norm_esente_bollo">
<aui:input cssClass="refresh-input" disabled="true"
name="normEsenteSpese" label="norm-esente-diritti"
bean="<%= fineLavori %>" model="<%= FineLavori.class %>" />
</div>
<div class="col-xs-10 padding_15">
<div class="row container-price__row">
<c:if test="<%= fineLavori.isNormEsenteSpese() %>">
<ol style="list-style-type: none; width:100%">
<li>
<strong>Esente Diritti fissi</strong>
</li>
</ol>
</c:if>
</div>
</div>
<div class="col-xs-2 padding_15 total-row">
<div class="total-row__label">Totale importo</div>
<%
BigDecimal importoSpese = null;
if (Validator.isNotNull(pagamentoSpese)) {
importoSpese = new BigDecimal(pagamentoSpese.getImporto());
} else {
importoSpese = fineLavori.isNormEsenteSpese() ? new BigDecimal("0.00")
: new BigDecimal("25.00");
}
%>
<aui:input type="hidden" name="importoSpese"
value="<%= importoSpese.toString() %>" />
<div class="total-row__value"><strong> <%= NumberFormat.getCurrencyInstance(
LocaleUtil.getSiteDefault()).format(importoBollo) %></strong></div>
LocaleUtil.getSiteDefault()).format(importoSpese) %></strong></div>
</div>
</div>
</div>
@ -271,7 +328,7 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
</div>
</div>
</div>
<c:if test="<%= Validator.isNull(pagamento) %>">
<c:if test="<%= Validator.isNull(pagamento) || Validator.isNull(pagamentoSpese) %>">
<div class="row">
<div class="col-md-12">
<div class="pull-right">
@ -288,11 +345,7 @@ String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
<div id='<%= renderResponse.getNamespace() + "saveAndCloseDiv" %>' class="hide" >
<%
String paymentConfirmText = StringPool.BLANK;
if (PagamentiCommonUtil.irisIsEnable(companyId)) {
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-iris");
} else {
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-manual");
}
%>
<span style="min-height:70px"><%= paymentConfirmText %></span>
</div>

312
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori_calcolo_old.jsp

@ -1,312 +0,0 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="it.tref.liferay.portos.bo.model.FineLavori"%>
<%@page import="it.tref.liferay.portos.bo.model.Pagamento"%>
<%@page import="it.tref.liferay.portos.bo.service.FineLavoriServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PagamentoConstants"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil"%>
<%@page import="it.tref.liferay.portos.bo.util.PagamentiCommonUtil"%>
<%@page import="java.math.BigDecimal"%>
<%@page import="java.text.NumberFormat"%>
<%@ include file="/html/fascicolofe/init.jsp" %>
<%
long intPraticaId = ParamUtil.getLong(request, "intPraticaId", 0L);
long fineLavoriId = ParamUtil.getLong(request, "fineLavoriId", 0L);
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId);
if (fineLavori == null) {
fineLavori = FineLavoriServiceUtil.getLastEditable(intPraticaId);
}
String formName = "fmpaga";
String buttonId = "fmbutton";
long companyId = company.getCompanyId();
boolean disabledInput = Validator.isNotNull(fineLavori.getPagamentoId());
boolean pagamentoIsPagato = false;
boolean pagamentoIsPending = false;
boolean pagamentoNonPagabile = false;
boolean pagamentoRifiutato = false;
boolean pagamentoAnnullato = false;
Pagamento pagamento = null;
if (Validator.isNotNull(fineLavori.getPagamentoId())) {
pagamento = PagamentoLocalServiceUtil.getPagamento(fineLavori.getPagamentoId());
pagamentoIsPagato = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_PAGATA);
pagamentoIsPending = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_IN_CORSO);
pagamentoNonPagabile = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_NON_PAGABILE);
pagamentoRifiutato = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_RIFIUTATA);
pagamentoAnnullato = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_ANNULLATO);
}
String formRicevutaPagamento = "fmRicevuta";
String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request);
%>
<liferay-portlet:renderURL var="verifyURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fine-lavori.jsp"/>
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="fineLavoriId" value="<%= String.valueOf(fineLavoriId) %>" />
</liferay-portlet:renderURL>
<liferay-portlet:renderURL var="verifyPagamentoURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fine-lavori_calcolo.jsp"/>
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="fineLavoriId" value="<%= String.valueOf(fineLavoriId) %>" />
</liferay-portlet:renderURL>
<div class="container-fluid clearfix root-calc">
<h2 class="title-fascicolo pull-left">Calcolo importo</h2>
<div class="pull-right" >
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true"
cssClass="inline_toolbar" >
<c:if test="<%= !PagamentiCommonUtil.pagamentiCompleted(fineLavori.getFineLavoriId(),
FineLavori.class.getName()) %>">
<liferay-ui:icon iconCssClass="fa fa-chevron-left" message="go-back" url="<%= verifyURL %>"
linkCssClass="btn" />
</c:if>
</liferay-ui:icon-menu>
</div>
</div>
<liferay-util:include page="/html/common/help_message.jsp" servletContext="<%= application %>">
<liferay-util:param name="message" value="help_message_calcolo_importo" />
</liferay-util:include>
<div class="container-fluid">
<div class="row header-calcolo">
<div class="col-xs-12 padding_15">
<%= intPratica.getTitle(false) %>
<strong>
<%= Validator.isNull(intPratica) ? StringPool.BLANK
: " - " + LanguageUtil.get(pageContext, "tipo-pratica-" + intPratica.getTipoPratica()) %>
</strong>
</div>
</div>
</div>
<c:if test="<%= Validator.isNotNull(pagamento) && !fineLavori.getNormEsenteBollo() %>">
<div class="container-fluid clearfix calcolo-importo">
<div class="row">
<div class="col-xs-12 padding_15">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false"
title="label-pagamento-bolli">
<div class="container-fluid">
<div class="row">
<c:if test="<%= pagamentoIsPagato || pagamentoIsPending %>">
<c:if test="<%= pagamentoIsPagato %>">
<div class="col-xs-12 padding_15"><span>
<%= LanguageUtil.get(pageContext, "text-pagamento-completato-bolli") %>
</span></div>
</c:if>
<c:if test="<%= pagamentoIsPending %>">
<liferay-portlet:actionURL name="allegatoFilePagamento"
var="allegatoFilePagamentoURL">
<liferay-portlet:param name="mvcPath"
value="/html/fascicolofe/verify_fine-lavori_calcolo.jsp" />
<liferay-portlet:param name="intPraticaId"
value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="fineLavoriId"
value="<%= String.valueOf(fineLavoriId) %>" />
<liferay-portlet:param name="pagamentoId"
value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/>
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/>
</liferay-portlet:actionURL>
<c:if test="<%= !PagamentiCommonUtil.irisIsEnable(companyId)
|| pagamento.getMezzo().equalsIgnoreCase(
PagamentoConstants.MEZZO_MANUALE) %>">
<div class="col-xs-10 padding_15"><span>
<%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %>
</span>
<c:if test="<%= (pagamentoIsPending && pagamento.getMezzo()
.equals(PagamentoConstants.MEZZO_MANUALE) &&
PagamentiCommonUtil.irisIsEnable(companyId) ) %>">
<liferay-util:include servletContext="<%= application %>"
page="/html/fascicolofe/pagamenti/replace_payment.jsp" >
<liferay-util:param name="pagamentoId"
value='<%= String.valueOf(pagamento.getPagamentoId()) %>' />
<liferay-util:param name="verifyPagamentoURL"
value='<%= verifyPagamentoURL %>' />
</liferay-util:include>
</c:if>
</div>
<div class="col-xs-2 padding_15 total-row">
<aui:form name="<%= formRicevutaPagamento %>"
enctype="multipart/form-data" method="post"
action="<%= allegatoFilePagamentoURL %>">
<div>
<aui:input type="file" name="docFile"
label="Ricevuta Pagamento">
<aui:validator name="required"
errorMessage="File Richiesto" />
<aui:validator name="acceptFiles"
errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator>
</aui:input>
</div>
<aui:button-row>
<aui:button type="submit" value="upload-file" />
</aui:button-row>
</aui:form>
</div>
</c:if>
<c:if test="<%= PagamentiCommonUtil.irisIsEnable(companyId)
&& pagamento.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS)
&& Validator.isNotNull(pagamento.getUrl())%>">
<liferay-util:include page="/html/fascicolofe/pagamenti/confirm_iris.jsp"
servletContext="<%= application %>" >
<liferay-util:param name="pagamentoId"
value='<%= String.valueOf(pagamento.getPagamentoId()) %>' />
</liferay-util:include>
</c:if>
</c:if>
</c:if>
<c:if test="<%= pagamentoNonPagabile || pagamentoRifiutato %>">
<c:if test="<%= pagamentoNonPagabile %>">
<div class="col-xs-10 padding_15">
<span><%= LanguageUtil.get(pageContext,
"text-pagamento-nonpagabile-bolli") %></span>
</div>
</c:if>
<c:if test="<%= pagamentoRifiutato %>">
<div class="col-xs-10 padding_15">
<span><%= LanguageUtil.get(pageContext,
"text-pagamento-rifiutato-bolli") %></span>
</div>
</c:if>
<div class="col-xs-2 padding_15">
<liferay-util:include page="/html/fascicolofe/pagamenti/replace_payment.jsp"
servletContext="<%= application %>" >
<liferay-util:param name="pagamentoId"
value='<%= String.valueOf(pagamento.getPagamentoId()) %>' />
<liferay-util:param name="verifyPagamentoURL"
value='<%= verifyPagamentoURL %>' />
</liferay-util:include>
</div>
</c:if>
<c:if test="<%= pagamentoAnnullato %>">
<span><%= LanguageUtil.get(pageContext, "text-pagamento-annullato-bolli") %></span>
</c:if>
</div>
</div>
</liferay-ui:panel>
</div>
</div>
</div>
</div>
</c:if>
<c:if test="<%= PagamentiCommonUtil.pagamentiCompleted(fineLavori.getFineLavoriId(), FineLavori.class.getName()) %>">
<liferay-util:include page="/html/fascicolofe/completed_fascicolo.jsp" servletContext="<%= application %>" >
<liferay-util:param name="classPk" value="<%=String.valueOf(fineLavori.getFineLavoriId())%>" />
<liferay-util:param name="className" value="<%=FineLavori.class.getName()%>" />
</liferay-util:include>
<div class="separator" style="margin: 30px 0 40px 0"></div>
</c:if>
<c:if test="<%= PagamentiCommonUtil.pagamentiInitialized(fineLavori.getFineLavoriId(), FineLavori.class.getName()) %>">
<h2 class="pagamento_riepilogo text-center txt-bold">Riepilogo</h2>
</c:if>
<liferay-portlet:actionURL name="pagaInvia" var="pagaInviaURL" >
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fine-lavori_calcolo.jsp"/>
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="fineLavoriId" value="<%= String.valueOf(fineLavoriId) %>" />
<liferay-portlet:param name="url" value="<%= currentCompleteUrl %>"/>
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/>
</liferay-portlet:actionURL>
<aui:form name="<%= formName %>" enctype="multipart/form-data" method="post" action="<%= pagaInviaURL %>">
<div class="container-fluid clearfix calcolo-importo">
<div class="row">
<div class="col-sm-6 col-xs-12">
<aui:select label="gc-soggetto-02" name="codiceFiscaleCommittente" showEmptyOption="true"
required="true" showRequiredLabel="true" disabled="<%= disabledInput %>" >
<%
List<Soggetto> committenti = SoggettoLocalServiceUtil.getValidByIntPratica_TipologiaSoggetto(
intPraticaId, TipoSoggettoUtil.COMMITTENTE);
for (Soggetto committente : committenti) {
%>
<aui:option label='<%= committente.getDescrizioneCompleta() %>'
value="<%= committente.getCodiceFiscale() %>"
selected="<%= (committenti.size() == 1) || (Validator.isNotNull(pagamento)
&& committente.getCodiceFiscale().equalsIgnoreCase(
pagamento.getCodiceFiscaleCommittente())) %>" />
<%
}
%>
</aui:select>
</div>
</div>
<div class="row">
<div class="col-xs-12 padding_15">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false"
title="label-pagamenti-spese-bolli">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 container-norm_esente_bollo">
<aui:input cssClass="refresh-input" disabled="true"
name="normEsenteBollo" label="norm-esente-bollo"
bean="<%= fineLavori %>" model="<%= FineLavori.class %>" />
</div>
<div class="col-xs-10 padding_15">
<div class="row container-price__row">
<c:if test="<%= fineLavori.isNormEsenteBollo() %>">
<ol style="list-style-type: none; width:100%">
<li>
<strong>Esente Bollo</strong>
</li>
</ol>
</c:if>
</div>
</div>
<div class="col-xs-2 padding_15 total-row">
<div class="total-row__label">Totale importo</div>
<%
BigDecimal importoBollo = null;
if (Validator.isNotNull(pagamento)) {
importoBollo = new BigDecimal(pagamento.getImporto());
} else {
importoBollo = fineLavori.isNormEsenteBollo() ? new BigDecimal("0.00")
: PagamentiCommonUtil.getImportoBolli(companyId,
fineLavori.getFineLavoriId(), FineLavori.class.getName(),
TipoIntegrazioneUtil.FINE_LAVORI);
}
%>
<div class="total-row__value"><strong> <%= NumberFormat.getCurrencyInstance(
LocaleUtil.getSiteDefault()).format(importoBollo) %></strong></div>
</div>
</div>
</div>
</liferay-ui:panel>
</div>
</div>
</div>
<c:if test="<%= Validator.isNull(pagamento) %>">
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true"
cssClass="inline_toolbar" >
<liferay-ui:icon iconCssClass="fa fa-close" message="cancel" url="<%= verifyURL %>"
linkCssClass="btn" />
<liferay-ui:icon id="<%=buttonId %>" iconCssClass="fa fa-credit-card"
message="Paga e invia" url="#" linkCssClass="btn btn-primary" />
</liferay-ui:icon-menu>
</div>
</div>
</div>
<div id='<%= renderResponse.getNamespace() + "saveAndCloseDiv" %>' class="hide" >
<%
String paymentConfirmText = StringPool.BLANK;
if (PagamentiCommonUtil.irisIsEnable(companyId)) {
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-iris");
} else {
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-manual");
}
%>
<span style="min-height:70px"><%= paymentConfirmText %></span>
</div>
<liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>" >
<liferay-util:param name="formName" value="<%= formName %>" />
<liferay-util:param name="titolo" value="Attenzione" />
<liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="buttonConferma" value="Conferma" />
<liferay-util:param name="width" value="500" />
<liferay-util:param name="height" value="280" />
<liferay-util:param name="externalForm" value="true" />
</liferay-util:include>
</c:if>
</div>
</aui:form>

22
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.classpath

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="docroot/WEB-INF/src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_80">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/com.liferay.ide.eclipse.server.tomcat.runtimeClasspathProvider/Liferay v6.2 CE (Tomcat 7)">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="con" path="com.liferay.ide.eclipse.server.plugin.container/portlet">
<attributes>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="docroot/WEB-INF/classes"/>
</classpath>

36
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.project

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>portos-mapit-plugin-portlet</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>

12
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/.jsdtscope

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="docroot"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>

7
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.jdt.core.prefs

@ -1,7 +0,0 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7

3
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.jst.jsp.core.prefs

@ -1,3 +0,0 @@
eclipse.preferences.version=1
validateFragments=false
validation.use-project-settings=true

8
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.common.component

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="portos-mapit-plugin-portlet">
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/>
<property name="context-root" value="portos-mapit-plugin-portlet"/>
<property name="java-output-path" value="/portos-mapit-plugin-portlet/docroot/WEB-INF/classes"/>
</wb-module>
</project-modules>

7
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml

@ -1,7 +0,0 @@
<root>
<facet id="liferay.portlet">
<node name="libprov">
<attribute name="provider-id" value="com.liferay.ide.eclipse.plugin.portlet.libraryProvider"/>
</node>
</facet>
</root>

11
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Liferay v6.2 CE (Tomcat 7)"/>
<fixed facet="jst.web"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="java"/>
<installed facet="java" version="1.7"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="liferay.portlet" version="6.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>

1
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container

@ -1 +0,0 @@
org.eclipse.wst.jsdt.launching.baseBrowserLibrary

1
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name

@ -1 +0,0 @@
Window

1
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.tern-project

@ -1 +0,0 @@
{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]}

6
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/build.xml

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

3
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/META-INF/MANIFEST.MF

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

BIN
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/lib/tref-mapit-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/lib/util-java.jar

File binario non mostrato.

9
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/liferay-display.xml

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

15
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/liferay-plugin-package.properties

@ -1,15 +0,0 @@
name=Portos Mapit Plugin
module-group-id=liferay
module-incremental-version=1
tags=
short-description=
change-log=
page-url=http://www.liferay.com
author=Liferay, Inc.
licenses=LGPL
portal-dependency-jars=\
jstl-api.jar,\
jstl-impl.jar
portal-dependency-tlds=c.tld
long-description=
liferay-versions=6.2.0+

31
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/liferay-portlet.xml

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

38
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/portlet.xml

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

2
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/src/content/Language.properties

@ -1,2 +0,0 @@
fascicolo = it.tref.liferay.portos.fascicolofe
comuni = Comuni Layer

53
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/plugin/FascicoloPlugin.java

@ -1,53 +0,0 @@
package it.tref.liferay.portos.plugin;
import java.util.Set;
import it.tref.liferay.mapit.plugin.MapItPlugin;
import it.tref.liferay.mapit.plugin.action.MapItPluginAction;
import it.tref.liferay.mapit.plugin.event.MapItPluginEvent;
public class FascicoloPlugin implements MapItPlugin{
@Override
public String getBottomJspPage() {
// TODO Auto-generated method stub
return null;
}
@Override
public Set<Class<? extends MapItPluginAction>> getMapItPluginActions() {
// TODO Auto-generated method stub
return null;
}
@Override
public Set<Class<? extends MapItPluginEvent>> getMapItPluginEvents() {
// TODO Auto-generated method stub
return null;
}
@Override
public String getPortalConfigurationPortletId() {
// TODO Auto-generated method stub
return null;
}
@Override
public String getPortletConfigurationJsp() {
// TODO Auto-generated method stub
return null;
}
@Override
public String getSiteConfigurationPortletId() {
// TODO Auto-generated method stub
return null;
}
@Override
public String getTopJspPage() {
return "/html/plugin/top.jsp";
}
}

11
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/plugin/portlet/FascicoloMapPortlet.java

@ -1,11 +0,0 @@
package it.tref.liferay.portos.plugin.portlet;
import com.liferay.util.bridges.mvc.MVCPortlet;
/**
* Portlet implementation class FascicoloMapPortlet
*/
public class FascicoloMapPortlet extends MVCPortlet {
}

7
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/src/portlet.properties

@ -1,7 +0,0 @@
##
## MapIt
##
mapit.plugin=it.tref.liferay.portos.plugin.FascicoloPlugin
mapit.version = 6.2.0.101+

2568
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/aui.tld

File diff soppresso perché troppo grande Load Diff

538
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld

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

158
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-portlet.tld

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

106
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-security.tld

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

65
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-theme.tld

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

4691
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-ui.tld

File diff soppresso perché troppo grande Load Diff

141
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/tld/liferay-util.tld

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

3
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/WEB-INF/web.xml

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

0
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/docroot/css/main.css

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

Caricamento…
Annulla
Salva