Sfoglia il codice sorgente

gestione avvisi

feature/pannello-pratiche
marcoalderighi 2 anni fa
parent
commit
5730219eed
  1. BIN
      liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar
  2. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs
  3. 15
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component
  4. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  5. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  6. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  7. 47
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java
  8. 15
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java
  9. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java
  10. 30
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java
  11. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java
  12. 52
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java
  13. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java
  14. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java
  15. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java
  16. 300
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java
  17. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java
  18. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java
  19. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java
  20. 164
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java
  21. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceUtil.java
  22. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java
  23. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AvvisoUtil.java
  24. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql
  25. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
  26. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
  27. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
  28. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java
  29. 46
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java
  30. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/bean/ReportAvvisoBean.java
  31. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java
  32. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java
  33. 291
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java
  34. 117
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java
  35. 18
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/FineLavoriServiceSoap.java
  36. 35
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java
  37. 36
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java
  38. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java
  39. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java
  40. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  41. 6
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component
  42. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  43. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  44. 16
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java

BIN
liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar vendored

File binario non mostrato.

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs

@ -1,10 +0,0 @@
eclipse.preferences.version=1
encoding//docroot/html/amministrazione/tabs/territori/view.jsp=UTF-8
encoding//docroot/html/common/import_all_window.jsp=UTF-8
encoding//docroot/html/common/import_window.jsp=UTF-8
encoding//docroot/html/fascicolo/actions/action_toggle_sospensione.jsp=UTF-8
encoding//docroot/html/fascicolo/navigator/header.jsp=UTF-8
encoding//docroot/html/fascicolo/soggetto_details.jsp=UTF-8
encoding//docroot/html/gestioneattivita/advanced_search.jsp=UTF-8
encoding//docroot/html/sismica_administration/init.jsp=UTF-8
encoding//docroot/html/sismica_administration/view.jsp=UTF-8

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

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="portos-bo-portlet">
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/service"/>
<dependent-module archiveName="portos-kaleo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-kaleo-portlet/docroot/WEB-INF/lib/portos-kaleo-portlet-service.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="portos-mail-manager-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-mail-manager-portlet/docroot/WEB-INF/lib/portos-mail-manager-portlet-service.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="portos-bo-portlet"/>
<property name="java-output-path" value="/portos-bo-portlet/docroot/WEB-INF/classes"/>
</wb-module>
</project-modules>

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

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

File binario non mostrato.

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

@ -465,6 +465,8 @@
<column name="dataFineEsecuzioneOpera" type="Date" /> <column name="dataFineEsecuzioneOpera" type="Date" />
<column name="metratura" type="String" /> <column name="metratura" type="String" />
<column name="lavoriPubblici" type="boolean" /> <column name="lavoriPubblici" type="boolean" />
<!-- Campo aggiunto per evolutive al fine lavori -->
<column name="dataInserimentoInizioLavoriOpera" type="Date" />
<!-- Campi aggiuntivi solo per Portos 2 --> <!-- Campi aggiuntivi solo per Portos 2 -->
<column name="pagamentoIdOneri" type="long" /> <column name="pagamentoIdOneri" type="long" />
<column name="pagamentoIdBolli" type="long" /> <column name="pagamentoIdBolli" type="long" />

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

@ -156,6 +156,8 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera()); attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera());
attributes.put("metratura", getMetratura()); attributes.put("metratura", getMetratura());
attributes.put("lavoriPubblici", getLavoriPubblici()); attributes.put("lavoriPubblici", getLavoriPubblici());
attributes.put("dataInserimentoInizioLavoriOpera",
getDataInserimentoInizioLavoriOpera());
attributes.put("pagamentoIdOneri", getPagamentoIdOneri()); attributes.put("pagamentoIdOneri", getPagamentoIdOneri());
attributes.put("pagamentoIdBolli", getPagamentoIdBolli()); attributes.put("pagamentoIdBolli", getPagamentoIdBolli());
attributes.put("lavoriPubbliciPercentuale", attributes.put("lavoriPubbliciPercentuale",
@ -803,6 +805,13 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
setLavoriPubblici(lavoriPubblici); setLavoriPubblici(lavoriPubblici);
} }
Date dataInserimentoInizioLavoriOpera = (Date)attributes.get(
"dataInserimentoInizioLavoriOpera");
if (dataInserimentoInizioLavoriOpera != null) {
setDataInserimentoInizioLavoriOpera(dataInserimentoInizioLavoriOpera);
}
Long pagamentoIdOneri = (Long)attributes.get("pagamentoIdOneri"); Long pagamentoIdOneri = (Long)attributes.get("pagamentoIdOneri");
if (pagamentoIdOneri != null) { if (pagamentoIdOneri != null) {
@ -3597,6 +3606,32 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
} }
} }
@Override
public Date getDataInserimentoInizioLavoriOpera() {
return _dataInserimentoInizioLavoriOpera;
}
@Override
public void setDataInserimentoInizioLavoriOpera(
Date dataInserimentoInizioLavoriOpera) {
_dataInserimentoInizioLavoriOpera = dataInserimentoInizioLavoriOpera;
if (_dettPraticaRemoteModel != null) {
try {
Class<?> clazz = _dettPraticaRemoteModel.getClass();
Method method = clazz.getMethod("setDataInserimentoInizioLavoriOpera",
Date.class);
method.invoke(_dettPraticaRemoteModel,
dataInserimentoInizioLavoriOpera);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override @Override
public long getPagamentoIdOneri() { public long getPagamentoIdOneri() {
return _pagamentoIdOneri; return _pagamentoIdOneri;
@ -8652,6 +8687,7 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
clone.setDataFineEsecuzioneOpera(getDataFineEsecuzioneOpera()); clone.setDataFineEsecuzioneOpera(getDataFineEsecuzioneOpera());
clone.setMetratura(getMetratura()); clone.setMetratura(getMetratura());
clone.setLavoriPubblici(getLavoriPubblici()); clone.setLavoriPubblici(getLavoriPubblici());
clone.setDataInserimentoInizioLavoriOpera(getDataInserimentoInizioLavoriOpera());
clone.setPagamentoIdOneri(getPagamentoIdOneri()); clone.setPagamentoIdOneri(getPagamentoIdOneri());
clone.setPagamentoIdBolli(getPagamentoIdBolli()); clone.setPagamentoIdBolli(getPagamentoIdBolli());
clone.setLavoriPubbliciPercentuale(getLavoriPubbliciPercentuale()); clone.setLavoriPubbliciPercentuale(getLavoriPubbliciPercentuale());
@ -8875,7 +8911,7 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
@Override @Override
public String toString() { public String toString() {
StringBundler sb = new StringBundler(477); StringBundler sb = new StringBundler(479);
sb.append("{uuid="); sb.append("{uuid=");
sb.append(getUuid()); sb.append(getUuid());
@ -9011,6 +9047,8 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
sb.append(getMetratura()); sb.append(getMetratura());
sb.append(", lavoriPubblici="); sb.append(", lavoriPubblici=");
sb.append(getLavoriPubblici()); sb.append(getLavoriPubblici());
sb.append(", dataInserimentoInizioLavoriOpera=");
sb.append(getDataInserimentoInizioLavoriOpera());
sb.append(", pagamentoIdOneri="); sb.append(", pagamentoIdOneri=");
sb.append(getPagamentoIdOneri()); sb.append(getPagamentoIdOneri());
sb.append(", pagamentoIdBolli="); sb.append(", pagamentoIdBolli=");
@ -9360,7 +9398,7 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
@Override @Override
public String toXmlString() { public String toXmlString() {
StringBundler sb = new StringBundler(718); StringBundler sb = new StringBundler(721);
sb.append("<model><model-name>"); sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.DettPratica"); sb.append("it.tref.liferay.portos.bo.model.DettPratica");
@ -9634,6 +9672,10 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
"<column><column-name>lavoriPubblici</column-name><column-value><![CDATA["); "<column><column-name>lavoriPubblici</column-name><column-value><![CDATA[");
sb.append(getLavoriPubblici()); sb.append(getLavoriPubblici());
sb.append("]]></column-value></column>"); sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>dataInserimentoInizioLavoriOpera</column-name><column-value><![CDATA[");
sb.append(getDataInserimentoInizioLavoriOpera());
sb.append("]]></column-value></column>");
sb.append( sb.append(
"<column><column-name>pagamentoIdOneri</column-name><column-value><![CDATA["); "<column><column-name>pagamentoIdOneri</column-name><column-value><![CDATA[");
sb.append(getPagamentoIdOneri()); sb.append(getPagamentoIdOneri());
@ -10393,6 +10435,7 @@ public class DettPraticaClp extends BaseModelImpl<DettPratica>
private Date _dataFineEsecuzioneOpera; private Date _dataFineEsecuzioneOpera;
private String _metratura; private String _metratura;
private boolean _lavoriPubblici; private boolean _lavoriPubblici;
private Date _dataInserimentoInizioLavoriOpera;
private long _pagamentoIdOneri; private long _pagamentoIdOneri;
private long _pagamentoIdBolli; private long _pagamentoIdBolli;
private int _lavoriPubbliciPercentuale; private int _lavoriPubbliciPercentuale;

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

@ -1173,6 +1173,21 @@ public interface DettPraticaModel extends BaseModel<DettPratica>,
*/ */
public void setLavoriPubblici(boolean lavoriPubblici); public void setLavoriPubblici(boolean lavoriPubblici);
/**
* Returns the data inserimento inizio lavori opera of this dett pratica.
*
* @return the data inserimento inizio lavori opera of this dett pratica
*/
public Date getDataInserimentoInizioLavoriOpera();
/**
* Sets the data inserimento inizio lavori opera of this dett pratica.
*
* @param dataInserimentoInizioLavoriOpera the data inserimento inizio lavori opera of this dett pratica
*/
public void setDataInserimentoInizioLavoriOpera(
Date dataInserimentoInizioLavoriOpera);
/** /**
* Returns the pagamento ID oneri of this dett pratica. * Returns the pagamento ID oneri of this dett pratica.
* *

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

@ -98,6 +98,7 @@ public class DettPraticaSoap implements Serializable {
soapModel.setDataFineEsecuzioneOpera(model.getDataFineEsecuzioneOpera()); soapModel.setDataFineEsecuzioneOpera(model.getDataFineEsecuzioneOpera());
soapModel.setMetratura(model.getMetratura()); soapModel.setMetratura(model.getMetratura());
soapModel.setLavoriPubblici(model.getLavoriPubblici()); soapModel.setLavoriPubblici(model.getLavoriPubblici());
soapModel.setDataInserimentoInizioLavoriOpera(model.getDataInserimentoInizioLavoriOpera());
soapModel.setPagamentoIdOneri(model.getPagamentoIdOneri()); soapModel.setPagamentoIdOneri(model.getPagamentoIdOneri());
soapModel.setPagamentoIdBolli(model.getPagamentoIdBolli()); soapModel.setPagamentoIdBolli(model.getPagamentoIdBolli());
soapModel.setLavoriPubbliciPercentuale(model.getLavoriPubbliciPercentuale()); soapModel.setLavoriPubbliciPercentuale(model.getLavoriPubbliciPercentuale());
@ -908,6 +909,15 @@ public class DettPraticaSoap implements Serializable {
_lavoriPubblici = lavoriPubblici; _lavoriPubblici = lavoriPubblici;
} }
public Date getDataInserimentoInizioLavoriOpera() {
return _dataInserimentoInizioLavoriOpera;
}
public void setDataInserimentoInizioLavoriOpera(
Date dataInserimentoInizioLavoriOpera) {
_dataInserimentoInizioLavoriOpera = dataInserimentoInizioLavoriOpera;
}
public long getPagamentoIdOneri() { public long getPagamentoIdOneri() {
return _pagamentoIdOneri; return _pagamentoIdOneri;
} }
@ -2778,6 +2788,7 @@ public class DettPraticaSoap implements Serializable {
private Date _dataFineEsecuzioneOpera; private Date _dataFineEsecuzioneOpera;
private String _metratura; private String _metratura;
private boolean _lavoriPubblici; private boolean _lavoriPubblici;
private Date _dataInserimentoInizioLavoriOpera;
private long _pagamentoIdOneri; private long _pagamentoIdOneri;
private long _pagamentoIdBolli; private long _pagamentoIdBolli;
private int _lavoriPubbliciPercentuale; private int _lavoriPubbliciPercentuale;

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

@ -130,6 +130,8 @@ public class DettPraticaWrapper implements DettPratica,
attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera()); attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera());
attributes.put("metratura", getMetratura()); attributes.put("metratura", getMetratura());
attributes.put("lavoriPubblici", getLavoriPubblici()); attributes.put("lavoriPubblici", getLavoriPubblici());
attributes.put("dataInserimentoInizioLavoriOpera",
getDataInserimentoInizioLavoriOpera());
attributes.put("pagamentoIdOneri", getPagamentoIdOneri()); attributes.put("pagamentoIdOneri", getPagamentoIdOneri());
attributes.put("pagamentoIdBolli", getPagamentoIdBolli()); attributes.put("pagamentoIdBolli", getPagamentoIdBolli());
attributes.put("lavoriPubbliciPercentuale", attributes.put("lavoriPubbliciPercentuale",
@ -777,6 +779,13 @@ public class DettPraticaWrapper implements DettPratica,
setLavoriPubblici(lavoriPubblici); setLavoriPubblici(lavoriPubblici);
} }
Date dataInserimentoInizioLavoriOpera = (Date)attributes.get(
"dataInserimentoInizioLavoriOpera");
if (dataInserimentoInizioLavoriOpera != null) {
setDataInserimentoInizioLavoriOpera(dataInserimentoInizioLavoriOpera);
}
Long pagamentoIdOneri = (Long)attributes.get("pagamentoIdOneri"); Long pagamentoIdOneri = (Long)attributes.get("pagamentoIdOneri");
if (pagamentoIdOneri != null) { if (pagamentoIdOneri != null) {
@ -3418,6 +3427,27 @@ public class DettPraticaWrapper implements DettPratica,
_dettPratica.setLavoriPubblici(lavoriPubblici); _dettPratica.setLavoriPubblici(lavoriPubblici);
} }
/**
* Returns the data inserimento inizio lavori opera of this dett pratica.
*
* @return the data inserimento inizio lavori opera of this dett pratica
*/
@Override
public java.util.Date getDataInserimentoInizioLavoriOpera() {
return _dettPratica.getDataInserimentoInizioLavoriOpera();
}
/**
* Sets the data inserimento inizio lavori opera of this dett pratica.
*
* @param dataInserimentoInizioLavoriOpera the data inserimento inizio lavori opera of this dett pratica
*/
@Override
public void setDataInserimentoInizioLavoriOpera(
java.util.Date dataInserimentoInizioLavoriOpera) {
_dettPratica.setDataInserimentoInizioLavoriOpera(dataInserimentoInizioLavoriOpera);
}
/** /**
* Returns the pagamento ID oneri of this dett pratica. * Returns the pagamento ID oneri of this dett pratica.
* *

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

@ -882,4 +882,11 @@ public interface DettPraticaLocalService extends BaseLocalService,
public it.tref.liferay.portos.bo.model.DettPratica getFirstCompletedByIntPratica( public it.tref.liferay.portos.bo.model.DettPratica getFirstCompletedByIntPratica(
long intPraticaId) long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.DettPratica setDataInizioLavori(
it.tref.liferay.portos.bo.model.DettPratica dettPratica,
java.util.Date dataInizioLavoriOpera,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
} }

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

@ -525,6 +525,13 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
_methodName83 = "getFirstCompletedByIntPratica"; _methodName83 = "getFirstCompletedByIntPratica";
_methodParameterTypes83 = new String[] { "long" }; _methodParameterTypes83 = new String[] { "long" };
_methodName84 = "setDataInizioLavori";
_methodParameterTypes84 = new String[] {
"it.tref.liferay.portos.bo.model.DettPratica", "java.util.Date",
"com.liferay.portal.service.ServiceContext"
};
} }
@Override @Override
@ -4412,6 +4419,49 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
return (it.tref.liferay.portos.bo.model.DettPratica)ClpSerializer.translateOutput(returnObj); return (it.tref.liferay.portos.bo.model.DettPratica)ClpSerializer.translateOutput(returnObj);
} }
@Override
public it.tref.liferay.portos.bo.model.DettPratica setDataInizioLavori(
it.tref.liferay.portos.bo.model.DettPratica dettPratica,
java.util.Date dataInizioLavoriOpera,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName84,
_methodParameterTypes84,
new Object[] {
ClpSerializer.translateInput(dettPratica),
ClpSerializer.translateInput(dataInizioLavoriOpera),
ClpSerializer.translateInput(serviceContext)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.bo.model.DettPratica)ClpSerializer.translateOutput(returnObj);
}
private InvokableLocalService _invokableLocalService; private InvokableLocalService _invokableLocalService;
private String _methodName0; private String _methodName0;
private String[] _methodParameterTypes0; private String[] _methodParameterTypes0;
@ -4579,4 +4629,6 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
private String[] _methodParameterTypes82; private String[] _methodParameterTypes82;
private String _methodName83; private String _methodName83;
private String[] _methodParameterTypes83; private String[] _methodParameterTypes83;
private String _methodName84;
private String[] _methodParameterTypes84;
} }

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

@ -1193,6 +1193,17 @@ public class DettPraticaLocalServiceUtil {
return getService().getFirstCompletedByIntPratica(intPraticaId); return getService().getFirstCompletedByIntPratica(intPraticaId);
} }
public static it.tref.liferay.portos.bo.model.DettPratica setDataInizioLavori(
it.tref.liferay.portos.bo.model.DettPratica dettPratica,
java.util.Date dataInizioLavoriOpera,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService()
.setDataInizioLavori(dettPratica, dataInizioLavoriOpera,
serviceContext);
}
public static void clearService() { public static void clearService() {
_service = null; _service = null;
} }

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

@ -1268,6 +1268,17 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService,
return _dettPraticaLocalService.getFirstCompletedByIntPratica(intPraticaId); return _dettPraticaLocalService.getFirstCompletedByIntPratica(intPraticaId);
} }
@Override
public it.tref.liferay.portos.bo.model.DettPratica setDataInizioLavori(
it.tref.liferay.portos.bo.model.DettPratica dettPratica,
java.util.Date dataInizioLavoriOpera,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _dettPraticaLocalService.setDataInizioLavori(dettPratica,
dataInizioLavoriOpera, serviceContext);
}
/** /**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService} * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/ */

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

@ -319,6 +319,14 @@ public interface FineLavoriLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException; com.liferay.portal.kernel.exception.SystemException;
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.tref.liferay.portos.bo.model.FineLavori addFineLavori(
long intPraticaId, boolean richiestaAttestazione,
boolean normEsenteCollaudo,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori(
long userId, long fineLavoriId, long intPraticaId, boolean parziale, long userId, long fineLavoriId, long intPraticaId, boolean parziale,

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

@ -137,166 +137,173 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName24 = "updateFineLavori"; _methodName24 = "addFineLavori";
_methodParameterTypes24 = new String[] { _methodParameterTypes24 = new String[] {
"long", "boolean", "boolean",
"com.liferay.portal.service.ServiceContext"
};
_methodName25 = "updateFineLavori";
_methodParameterTypes25 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date", "long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "boolean", "boolean",
"java.lang.String", "boolean" "java.lang.String", "boolean"
}; };
_methodName25 = "getLastEditable"; _methodName26 = "getLastEditable";
_methodParameterTypes25 = new String[] { "long" }; _methodParameterTypes26 = new String[] { "long" };
_methodName26 = "getLastCompleted"; _methodName27 = "getLastCompleted";
_methodParameterTypes26 = new String[] { "long" }; _methodParameterTypes27 = new String[] { "long" };
_methodName27 = "pagaInvia"; _methodName28 = "pagaInvia";
_methodParameterTypes27 = new String[] { _methodParameterTypes28 = new String[] {
"long", "java.lang.String", "java.lang.String", "long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName28 = "updateEsitoPagamento"; _methodName29 = "updateEsitoPagamento";
_methodParameterTypes28 = new String[] { _methodParameterTypes29 = new String[] {
"long", "long", "java.lang.String" "long", "long", "java.lang.String"
}; };
_methodName29 = "updateEsitoPagamento"; _methodName30 = "updateEsitoPagamento";
_methodParameterTypes29 = new String[] { _methodParameterTypes30 = new String[] {
"long", "long", "long", "java.lang.String" "long", "long", "long", "java.lang.String"
}; };
_methodName30 = "updateEsito"; _methodName31 = "updateEsito";
_methodParameterTypes30 = new String[] { "long", "int" }; _methodParameterTypes31 = new String[] { "long", "int" };
_methodName31 = "updateFineLavoriProtocollo"; _methodName32 = "updateFineLavoriProtocollo";
_methodParameterTypes31 = new String[] { "long", "java.lang.String" }; _methodParameterTypes32 = new String[] { "long", "java.lang.String" };
_methodName32 = "findByProtocollo"; _methodName33 = "findByProtocollo";
_methodParameterTypes32 = new String[] { _methodParameterTypes33 = new String[] {
"long", "long", "java.lang.String" "long", "long", "java.lang.String"
}; };
_methodName33 = "fetchByProtocollo"; _methodName34 = "fetchByProtocollo";
_methodParameterTypes33 = new String[] { _methodParameterTypes34 = new String[] {
"long", "long", "java.lang.String" "long", "long", "java.lang.String"
}; };
_methodName34 = "fetchByProtocollo"; _methodName35 = "fetchByProtocollo";
_methodParameterTypes34 = new String[] { "java.lang.String" }; _methodParameterTypes35 = new String[] { "java.lang.String" };
_methodName35 = "findByIntPraticaId"; _methodName36 = "findByIntPraticaId";
_methodParameterTypes35 = new String[] { _methodParameterTypes36 = new String[] {
"long", "int", "int", "long", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName36 = "countByIntPraticaId"; _methodName37 = "countByIntPraticaId";
_methodParameterTypes36 = new String[] { "long" }; _methodParameterTypes37 = new String[] { "long" };
_methodName37 = "findByIntPraticaId_Parziale"; _methodName38 = "findByIntPraticaId_Parziale";
_methodParameterTypes37 = new String[] { _methodParameterTypes38 = new String[] {
"long", "boolean", "int", "int", "long", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName38 = "countByIntPraticaId_Parziale"; _methodName39 = "countByIntPraticaId_Parziale";
_methodParameterTypes38 = new String[] { "long", "boolean" }; _methodParameterTypes39 = new String[] { "long", "boolean" };
_methodName39 = "findByIntPraticaId_Completata"; _methodName40 = "findByIntPraticaId_Completata";
_methodParameterTypes39 = new String[] { _methodParameterTypes40 = new String[] {
"long", "boolean", "int", "int", "long", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName40 = "countByIntPraticaId_Completata"; _methodName41 = "countByIntPraticaId_Completata";
_methodParameterTypes40 = new String[] { "long", "boolean" }; _methodParameterTypes41 = new String[] { "long", "boolean" };
_methodName41 = "findByIntPraticaId_CodiceFiscale"; _methodName42 = "findByIntPraticaId_CodiceFiscale";
_methodParameterTypes41 = new String[] { _methodParameterTypes42 = new String[] {
"long", "java.lang.String", "int", "int", "long", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName42 = "countByIntPraticaId_CodiceFiscale"; _methodName43 = "countByIntPraticaId_CodiceFiscale";
_methodParameterTypes42 = new String[] { "long", "java.lang.String" }; _methodParameterTypes43 = new String[] { "long", "java.lang.String" };
_methodName43 = "findByCodiceFiscale_Completata"; _methodName44 = "findByCodiceFiscale_Completata";
_methodParameterTypes43 = new String[] { _methodParameterTypes44 = new String[] {
"java.lang.String", "boolean", "int", "int", "java.lang.String", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName44 = "countByCodiceFiscale_Completata"; _methodName45 = "countByCodiceFiscale_Completata";
_methodParameterTypes44 = new String[] { "java.lang.String", "boolean" }; _methodParameterTypes45 = new String[] { "java.lang.String", "boolean" };
_methodName45 = "findByIntPraticaId_Parziale_Completata"; _methodName46 = "findByIntPraticaId_Parziale_Completata";
_methodParameterTypes45 = new String[] { _methodParameterTypes46 = new String[] {
"long", "boolean", "boolean", "int", "int", "long", "boolean", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName46 = "countByIntPraticaId_Parziale_Completata"; _methodName47 = "countByIntPraticaId_Parziale_Completata";
_methodParameterTypes46 = new String[] { "long", "boolean", "boolean" }; _methodParameterTypes47 = new String[] { "long", "boolean", "boolean" };
_methodName47 = "findByIntPraticaId_Parziale_leFineLavoriId"; _methodName48 = "findByIntPraticaId_Parziale_leFineLavoriId";
_methodParameterTypes47 = new String[] { _methodParameterTypes48 = new String[] {
"long", "long", "boolean", "int", "int", "long", "long", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName48 = "countByIntPraticaId_Parziale_leFineLavoriId"; _methodName49 = "countByIntPraticaId_Parziale_leFineLavoriId";
_methodParameterTypes48 = new String[] { "long", "long", "boolean" };
_methodName49 = "findFineLavoriCompleteNotProtocollo";
_methodParameterTypes49 = new String[] { "int", "int" }; _methodParameterTypes49 = new String[] { "long", "long", "boolean" };
_methodName50 = "countFineLavoriCompleteNotProtocollo"; _methodName50 = "findFineLavoriCompleteNotProtocollo";
_methodParameterTypes50 = new String[] { }; _methodParameterTypes50 = new String[] { "int", "int" };
_methodName51 = "findFineLavoriCompleteNotGestite"; _methodName51 = "countFineLavoriCompleteNotProtocollo";
_methodParameterTypes51 = new String[] { "int", "int" }; _methodParameterTypes51 = new String[] { };
_methodName52 = "countFineLavoriCompleteNotGestite"; _methodName52 = "findFineLavoriCompleteNotGestite";
_methodParameterTypes52 = new String[] { }; _methodParameterTypes52 = new String[] { "int", "int" };
_methodName53 = "findIntPraticaByFineLavori"; _methodName53 = "countFineLavoriCompleteNotGestite";
_methodParameterTypes53 = new String[] { }; _methodParameterTypes53 = new String[] { };
_methodName54 = "findIntPraticaByFineLavori"; _methodName54 = "findIntPraticaByFineLavori";
_methodParameterTypes54 = new String[] { "java.lang.String" }; _methodParameterTypes54 = new String[] { };
_methodName55 = "findIntPraticaByFineLavori";
_methodParameterTypes55 = new String[] { "java.lang.String" };
} }
@Override @Override
@ -1024,6 +1031,51 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
return (it.tref.liferay.portos.bo.model.FineLavori)ClpSerializer.translateOutput(returnObj); return (it.tref.liferay.portos.bo.model.FineLavori)ClpSerializer.translateOutput(returnObj);
} }
@Override
public it.tref.liferay.portos.bo.model.FineLavori addFineLavori(
long intPraticaId, boolean richiestaAttestazione,
boolean normEsenteCollaudo,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes24,
new Object[] {
intPraticaId,
richiestaAttestazione,
normEsenteCollaudo,
ClpSerializer.translateInput(serviceContext)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.bo.model.FineLavori)ClpSerializer.translateOutput(returnObj);
}
@Override @Override
public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori(
long userId, long fineLavoriId, long intPraticaId, boolean parziale, long userId, long fineLavoriId, long intPraticaId, boolean parziale,
@ -1037,8 +1089,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName24, returnObj = _invokableLocalService.invokeMethod(_methodName25,
_methodParameterTypes24, _methodParameterTypes25,
new Object[] { new Object[] {
userId, userId,
@ -1095,8 +1147,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName25, returnObj = _invokableLocalService.invokeMethod(_methodName26,
_methodParameterTypes25, new Object[] { intPraticaId }); _methodParameterTypes26, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1124,8 +1176,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName26, returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes26, new Object[] { intPraticaId }); _methodParameterTypes27, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1157,8 +1209,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName27, returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes27, _methodParameterTypes28,
new Object[] { new Object[] {
fineLavoriId, fineLavoriId,
@ -1202,8 +1254,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName28, _invokableLocalService.invokeMethod(_methodName29,
_methodParameterTypes28, _methodParameterTypes29,
new Object[] { new Object[] {
pagamentoId, pagamentoId,
@ -1239,8 +1291,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName29, _invokableLocalService.invokeMethod(_methodName30,
_methodParameterTypes29, _methodParameterTypes30,
new Object[] { new Object[] {
pagamentoId, pagamentoId,
@ -1280,8 +1332,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName30, returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes30, _methodParameterTypes31,
new Object[] { fineLavoriId, stato }); new Object[] { fineLavoriId, stato });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1315,8 +1367,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName31, returnObj = _invokableLocalService.invokeMethod(_methodName32,
_methodParameterTypes31, _methodParameterTypes32,
new Object[] { new Object[] {
fineLavoriId, fineLavoriId,
@ -1354,8 +1406,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName32, returnObj = _invokableLocalService.invokeMethod(_methodName33,
_methodParameterTypes32, _methodParameterTypes33,
new Object[] { new Object[] {
companyId, companyId,
@ -1395,8 +1447,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName33, returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes33, _methodParameterTypes34,
new Object[] { new Object[] {
companyId, companyId,
@ -1436,8 +1488,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName34, returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes34, _methodParameterTypes35,
new Object[] { ClpSerializer.translateInput(protocollo) }); new Object[] { ClpSerializer.translateInput(protocollo) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1471,8 +1523,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName35, returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes35, _methodParameterTypes36,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1508,8 +1560,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName36, returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes36, new Object[] { intPraticaId }); _methodParameterTypes37, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1538,8 +1590,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName37, returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes37, _methodParameterTypes38,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1577,8 +1629,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName38, returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes38, _methodParameterTypes39,
new Object[] { intPraticaId, parziale }); new Object[] { intPraticaId, parziale });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1608,8 +1660,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName39, returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes39, _methodParameterTypes40,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1648,8 +1700,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName40, returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes40, _methodParameterTypes41,
new Object[] { intPraticaId, completata }); new Object[] { intPraticaId, completata });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1680,8 +1732,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName41, returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes41, _methodParameterTypes42,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1720,8 +1772,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName42, returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes42, _methodParameterTypes43,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1756,8 +1808,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName43, returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes43, _methodParameterTypes44,
new Object[] { new Object[] {
ClpSerializer.translateInput(codiceFiscaleDelegato), ClpSerializer.translateInput(codiceFiscaleDelegato),
@ -1796,8 +1848,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName44, returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes44, _methodParameterTypes45,
new Object[] { new Object[] {
ClpSerializer.translateInput(codiceFiscaleDelegato), ClpSerializer.translateInput(codiceFiscaleDelegato),
@ -1832,8 +1884,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName45, returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes45, _methodParameterTypes46,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1874,8 +1926,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName46, returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes46, _methodParameterTypes47,
new Object[] { intPraticaId, parziale, completata }); new Object[] { intPraticaId, parziale, completata });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1906,8 +1958,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName47, returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes47, _methodParameterTypes48,
new Object[] { new Object[] {
fineLavoriId, fineLavoriId,
@ -1948,8 +2000,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName48, returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes48, _methodParameterTypes49,
new Object[] { fineLavoriId, intPraticaId, parziale }); new Object[] { fineLavoriId, intPraticaId, parziale });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1978,8 +2030,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName49, returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes49, new Object[] { start, end }); _methodParameterTypes50, new Object[] { start, end });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2006,8 +2058,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName50, returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes50, new Object[] { }); _methodParameterTypes51, new Object[] { });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2035,8 +2087,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName51, returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes51, new Object[] { start, end }); _methodParameterTypes52, new Object[] { start, end });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2063,8 +2115,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName52, returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes52, new Object[] { }); _methodParameterTypes53, new Object[] { });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2092,8 +2144,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName53, returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes53, new Object[] { }); _methodParameterTypes54, new Object[] { });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2126,8 +2178,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName54, returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes54, _methodParameterTypes55,
new Object[] { new Object[] {
ClpSerializer.translateInput( ClpSerializer.translateInput(
codiceFiscaleDelegatoCollaudo) codiceFiscaleDelegatoCollaudo)
@ -2265,4 +2317,6 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
private String[] _methodParameterTypes53; private String[] _methodParameterTypes53;
private String _methodName54; private String _methodName54;
private String[] _methodParameterTypes54; private String[] _methodParameterTypes54;
private String _methodName55;
private String[] _methodParameterTypes55;
} }

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

@ -345,6 +345,17 @@ public class FineLavoriLocalServiceUtil {
return getService().addFineLavori(intPraticaId, serviceContext); return getService().addFineLavori(intPraticaId, serviceContext);
} }
public static it.tref.liferay.portos.bo.model.FineLavori addFineLavori(
long intPraticaId, boolean richiestaAttestazione,
boolean normEsenteCollaudo,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService()
.addFineLavori(intPraticaId, richiestaAttestazione,
normEsenteCollaudo, serviceContext);
}
public static it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( public static it.tref.liferay.portos.bo.model.FineLavori updateFineLavori(
long userId, long fineLavoriId, long intPraticaId, boolean parziale, long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori, boolean completata, java.util.Date dataFineLavori,

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

@ -367,6 +367,17 @@ public class FineLavoriLocalServiceWrapper implements FineLavoriLocalService,
serviceContext); serviceContext);
} }
@Override
public it.tref.liferay.portos.bo.model.FineLavori addFineLavori(
long intPraticaId, boolean richiestaAttestazione,
boolean normEsenteCollaudo,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fineLavoriLocalService.addFineLavori(intPraticaId,
richiestaAttestazione, normEsenteCollaudo, serviceContext);
}
@Override @Override
public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori( public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori(
long userId, long fineLavoriId, long intPraticaId, boolean parziale, long userId, long fineLavoriId, long intPraticaId, boolean parziale,

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

@ -77,6 +77,13 @@ public interface FineLavoriService extends BaseService, InvokableService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException; com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.FineLavori addFineLavori(
long intPraticaId, boolean richiestaAttestazione,
boolean normEsenteCollaudo,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori( public it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori(
it.tref.liferay.portos.bo.model.FineLavori fineLavori) it.tref.liferay.portos.bo.model.FineLavori fineLavori)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,

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

@ -42,82 +42,89 @@ public class FineLavoriServiceClp implements FineLavoriService {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName5 = "deleteFineLavori"; _methodName5 = "addFineLavori";
_methodParameterTypes5 = new String[] { _methodParameterTypes5 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori" "long", "boolean", "boolean",
"com.liferay.portal.service.ServiceContext"
}; };
_methodName6 = "deleteFineLavori"; _methodName6 = "deleteFineLavori";
_methodParameterTypes6 = new String[] { "long" }; _methodParameterTypes6 = new String[] {
_methodName7 = "updateFineLavori";
_methodParameterTypes7 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori" "it.tref.liferay.portos.bo.model.FineLavori"
}; };
_methodName7 = "deleteFineLavori";
_methodParameterTypes7 = new String[] { "long" };
_methodName8 = "updateFineLavori"; _methodName8 = "updateFineLavori";
_methodParameterTypes8 = new String[] { _methodParameterTypes8 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori"
};
_methodName9 = "updateFineLavori";
_methodParameterTypes9 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date", "long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "boolean", "boolean",
"java.lang.String", "boolean" "java.lang.String", "boolean"
}; };
_methodName9 = "getLastEditable"; _methodName10 = "getLastEditable";
_methodParameterTypes9 = new String[] { "long" }; _methodParameterTypes10 = new String[] { "long" };
_methodName10 = "getLastCompleted"; _methodName11 = "getLastCompleted";
_methodParameterTypes10 = new String[] { "long" }; _methodParameterTypes11 = new String[] { "long" };
_methodName11 = "findByIntPraticaId_Parziale"; _methodName12 = "findByIntPraticaId_Parziale";
_methodParameterTypes11 = new String[] { _methodParameterTypes12 = new String[] {
"long", "boolean", "int", "int", "long", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName12 = "countByIntPraticaId_Parziale"; _methodName13 = "countByIntPraticaId_Parziale";
_methodParameterTypes12 = new String[] { "long", "boolean" }; _methodParameterTypes13 = new String[] { "long", "boolean" };
_methodName13 = "pagaInvia"; _methodName14 = "pagaInvia";
_methodParameterTypes13 = new String[] { _methodParameterTypes14 = new String[] {
"long", "java.lang.String", "java.lang.String", "long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName14 = "updateEsito"; _methodName15 = "updateEsito";
_methodParameterTypes14 = new String[] { "long", "int" }; _methodParameterTypes15 = new String[] { "long", "int" };
_methodName15 = "findByIntPraticaId_CodiceFiscale"; _methodName16 = "findByIntPraticaId_CodiceFiscale";
_methodParameterTypes15 = new String[] { _methodParameterTypes16 = new String[] {
"long", "java.lang.String", "int", "int", "long", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName16 = "countByIntPraticaId_CodiceFiscale"; _methodName17 = "countByIntPraticaId_CodiceFiscale";
_methodParameterTypes16 = new String[] { "long", "java.lang.String" }; _methodParameterTypes17 = new String[] { "long", "java.lang.String" };
_methodName17 = "findByCodiceFiscale_Completata"; _methodName18 = "findByCodiceFiscale_Completata";
_methodParameterTypes17 = new String[] { _methodParameterTypes18 = new String[] {
"java.lang.String", "boolean", "int", "int", "java.lang.String", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName18 = "countByCodiceFiscale_Completata"; _methodName19 = "countByCodiceFiscale_Completata";
_methodParameterTypes18 = new String[] { "java.lang.String", "boolean" }; _methodParameterTypes19 = new String[] { "java.lang.String", "boolean" };
} }
@Override @Override
@ -245,8 +252,10 @@ public class FineLavoriServiceClp implements FineLavoriService {
} }
@Override @Override
public it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori( public it.tref.liferay.portos.bo.model.FineLavori addFineLavori(
it.tref.liferay.portos.bo.model.FineLavori fineLavori) long intPraticaId, boolean richiestaAttestazione,
boolean normEsenteCollaudo,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null; Object returnObj = null;
@ -254,6 +263,49 @@ public class FineLavoriServiceClp implements FineLavoriService {
try { try {
returnObj = _invokableService.invokeMethod(_methodName5, returnObj = _invokableService.invokeMethod(_methodName5,
_methodParameterTypes5, _methodParameterTypes5,
new Object[] {
intPraticaId,
richiestaAttestazione,
normEsenteCollaudo,
ClpSerializer.translateInput(serviceContext)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.bo.model.FineLavori)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori(
it.tref.liferay.portos.bo.model.FineLavori fineLavori)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableService.invokeMethod(_methodName6,
_methodParameterTypes6,
new Object[] { ClpSerializer.translateInput(fineLavori) }); new Object[] { ClpSerializer.translateInput(fineLavori) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -287,8 +339,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName6, returnObj = _invokableService.invokeMethod(_methodName7,
_methodParameterTypes6, new Object[] { fineLavoriId }); _methodParameterTypes7, new Object[] { fineLavoriId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -320,8 +372,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName7, returnObj = _invokableService.invokeMethod(_methodName8,
_methodParameterTypes7, _methodParameterTypes8,
new Object[] { ClpSerializer.translateInput(fineLavori) }); new Object[] { ClpSerializer.translateInput(fineLavori) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -356,8 +408,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName8, returnObj = _invokableService.invokeMethod(_methodName9,
_methodParameterTypes8, _methodParameterTypes9,
new Object[] { new Object[] {
userId, userId,
@ -414,8 +466,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName9, returnObj = _invokableService.invokeMethod(_methodName10,
_methodParameterTypes9, new Object[] { intPraticaId }); _methodParameterTypes10, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -443,8 +495,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName10, returnObj = _invokableService.invokeMethod(_methodName11,
_methodParameterTypes10, new Object[] { intPraticaId }); _methodParameterTypes11, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -473,8 +525,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName11, returnObj = _invokableService.invokeMethod(_methodName12,
_methodParameterTypes11, _methodParameterTypes12,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -512,8 +564,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName12, returnObj = _invokableService.invokeMethod(_methodName13,
_methodParameterTypes12, _methodParameterTypes13,
new Object[] { intPraticaId, parziale }); new Object[] { intPraticaId, parziale });
} }
catch (Throwable t) { catch (Throwable t) {
@ -546,8 +598,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName13, returnObj = _invokableService.invokeMethod(_methodName14,
_methodParameterTypes13, _methodParameterTypes14,
new Object[] { new Object[] {
fineLavoriId, fineLavoriId,
@ -593,8 +645,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName14, returnObj = _invokableService.invokeMethod(_methodName15,
_methodParameterTypes14, _methodParameterTypes15,
new Object[] { fineLavoriId, stato }); new Object[] { fineLavoriId, stato });
} }
catch (Throwable t) { catch (Throwable t) {
@ -629,8 +681,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName15, returnObj = _invokableService.invokeMethod(_methodName16,
_methodParameterTypes15, _methodParameterTypes16,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -669,8 +721,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName16, returnObj = _invokableService.invokeMethod(_methodName17,
_methodParameterTypes16, _methodParameterTypes17,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -705,8 +757,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName17, returnObj = _invokableService.invokeMethod(_methodName18,
_methodParameterTypes17, _methodParameterTypes18,
new Object[] { new Object[] {
ClpSerializer.translateInput(codiceFiscaleDelegato), ClpSerializer.translateInput(codiceFiscaleDelegato),
@ -745,8 +797,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableService.invokeMethod(_methodName18, returnObj = _invokableService.invokeMethod(_methodName19,
_methodParameterTypes18, _methodParameterTypes19,
new Object[] { new Object[] {
ClpSerializer.translateInput(codiceFiscaleDelegato), ClpSerializer.translateInput(codiceFiscaleDelegato),
@ -809,4 +861,6 @@ public class FineLavoriServiceClp implements FineLavoriService {
private String[] _methodParameterTypes17; private String[] _methodParameterTypes17;
private String _methodName18; private String _methodName18;
private String[] _methodParameterTypes18; private String[] _methodParameterTypes18;
private String _methodName19;
private String[] _methodParameterTypes19;
} }

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

@ -78,6 +78,17 @@ public class FineLavoriServiceUtil {
return getService().addFineLavori(intPraticaId, serviceContext); return getService().addFineLavori(intPraticaId, serviceContext);
} }
public static it.tref.liferay.portos.bo.model.FineLavori addFineLavori(
long intPraticaId, boolean richiestaAttestazione,
boolean normEsenteCollaudo,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService()
.addFineLavori(intPraticaId, richiestaAttestazione,
normEsenteCollaudo, serviceContext);
}
public static it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori( public static it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori(
it.tref.liferay.portos.bo.model.FineLavori fineLavori) it.tref.liferay.portos.bo.model.FineLavori fineLavori)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,

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

@ -73,6 +73,17 @@ public class FineLavoriServiceWrapper implements FineLavoriService,
return _fineLavoriService.addFineLavori(intPraticaId, serviceContext); return _fineLavoriService.addFineLavori(intPraticaId, serviceContext);
} }
@Override
public it.tref.liferay.portos.bo.model.FineLavori addFineLavori(
long intPraticaId, boolean richiestaAttestazione,
boolean normEsenteCollaudo,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fineLavoriService.addFineLavori(intPraticaId,
richiestaAttestazione, normEsenteCollaudo, serviceContext);
}
@Override @Override
public it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori( public it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori(
it.tref.liferay.portos.bo.model.FineLavori fineLavori) it.tref.liferay.portos.bo.model.FineLavori fineLavori)

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

@ -26,6 +26,9 @@ public class AvvisoUtil {
public final static String TIPO_AVVISO_DIRETTO = "D"; public final static String TIPO_AVVISO_DIRETTO = "D";
public final static String TIPO_AVVISO_FIRMA = "S"; public final static String TIPO_AVVISO_FIRMA = "S";
public final static String FINE_LAVORI_AVVISO_INIZIO_LAVORI = "FL1";
public final static String FINE_LAVORI_AVVISO_FINE_LAVORI = "FL2";
@SuppressWarnings("serial") @SuppressWarnings("serial")
private final static Map<String, String> allTipoAvviso = new LinkedHashMap<String, String>(2) { private final static Map<String, String> allTipoAvviso = new LinkedHashMap<String, String>(2) {
{ {
@ -111,6 +114,9 @@ public class AvvisoUtil {
put("DPC", "conf.geniocivile.avviso.template.id.deposito.C"); put("DPC", "conf.geniocivile.avviso.template.id.deposito.C");
put("DPPS", "conf.geniocivile.avviso.template.id.deposito.PS"); put("DPPS", "conf.geniocivile.avviso.template.id.deposito.PS");
put("DPS", "conf.geniocivile.avviso.template.id.deposito.S"); put("DPS", "conf.geniocivile.avviso.template.id.deposito.S");
put("FL1", "conf.geniocivile.avviso.template.id.finelavori.FL1");
put("FL2", "conf.geniocivile.avviso.template.id.finelavori.FL2");
} }
}; };

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

@ -262,6 +262,7 @@ create table portos_bo_DettPratica (
dataFineEsecuzioneOpera DATE null, dataFineEsecuzioneOpera DATE null,
metratura VARCHAR(75) null, metratura VARCHAR(75) null,
lavoriPubblici BOOLEAN, lavoriPubblici BOOLEAN,
dataInserimentoInizioLavoriOpera DATE null,
pagamentoIdOneri LONG, pagamentoIdOneri LONG,
pagamentoIdBolli LONG, pagamentoIdBolli LONG,
lavoriPubbliciPercentuale INTEGER, lavoriPubbliciPercentuale INTEGER,

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

@ -309,6 +309,7 @@
<property name="dataFineEsecuzioneOpera" type="org.hibernate.type.TimestampType" /> <property name="dataFineEsecuzioneOpera" type="org.hibernate.type.TimestampType" />
<property name="metratura" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="metratura" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="lavoriPubblici" type="com.liferay.portal.dao.orm.hibernate.BooleanType" /> <property name="lavoriPubblici" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="dataInserimentoInizioLavoriOpera" type="org.hibernate.type.TimestampType" />
<property name="pagamentoIdOneri" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="pagamentoIdOneri" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="pagamentoIdBolli" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="pagamentoIdBolli" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="lavoriPubbliciPercentuale" type="com.liferay.portal.dao.orm.hibernate.IntegerType" /> <property name="lavoriPubbliciPercentuale" type="com.liferay.portal.dao.orm.hibernate.IntegerType" />

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

@ -312,6 +312,7 @@
<field name="dataFineEsecuzioneOpera" type="Date" /> <field name="dataFineEsecuzioneOpera" type="Date" />
<field name="metratura" type="String" /> <field name="metratura" type="String" />
<field name="lavoriPubblici" type="boolean" /> <field name="lavoriPubblici" type="boolean" />
<field name="dataInserimentoInizioLavoriOpera" type="Date" />
<field name="pagamentoIdOneri" type="long" /> <field name="pagamentoIdOneri" type="long" />
<field name="pagamentoIdBolli" type="long" /> <field name="pagamentoIdBolli" type="long" />
<field name="lavoriPubbliciPercentuale" type="int" /> <field name="lavoriPubbliciPercentuale" type="int" />

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

@ -420,6 +420,9 @@
</basic> </basic>
<basic name="metratura" /> <basic name="metratura" />
<basic name="lavoriPubblici" /> <basic name="lavoriPubblici" />
<basic name="dataInserimentoInizioLavoriOpera">
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="pagamentoIdOneri" /> <basic name="pagamentoIdOneri" />
<basic name="pagamentoIdBolli" /> <basic name="pagamentoIdBolli" />
<basic name="lavoriPubbliciPercentuale" /> <basic name="lavoriPubbliciPercentuale" />

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

@ -38,7 +38,7 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
Externalizable { Externalizable {
@Override @Override
public String toString() { public String toString() {
StringBundler sb = new StringBundler(477); StringBundler sb = new StringBundler(479);
sb.append("{uuid="); sb.append("{uuid=");
sb.append(uuid); sb.append(uuid);
@ -174,6 +174,8 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
sb.append(metratura); sb.append(metratura);
sb.append(", lavoriPubblici="); sb.append(", lavoriPubblici=");
sb.append(lavoriPubblici); sb.append(lavoriPubblici);
sb.append(", dataInserimentoInizioLavoriOpera=");
sb.append(dataInserimentoInizioLavoriOpera);
sb.append(", pagamentoIdOneri="); sb.append(", pagamentoIdOneri=");
sb.append(pagamentoIdOneri); sb.append(pagamentoIdOneri);
sb.append(", pagamentoIdBolli="); sb.append(", pagamentoIdBolli=");
@ -866,6 +868,15 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
} }
dettPraticaImpl.setLavoriPubblici(lavoriPubblici); dettPraticaImpl.setLavoriPubblici(lavoriPubblici);
if (dataInserimentoInizioLavoriOpera == Long.MIN_VALUE) {
dettPraticaImpl.setDataInserimentoInizioLavoriOpera(null);
}
else {
dettPraticaImpl.setDataInserimentoInizioLavoriOpera(new Date(
dataInserimentoInizioLavoriOpera));
}
dettPraticaImpl.setPagamentoIdOneri(pagamentoIdOneri); dettPraticaImpl.setPagamentoIdOneri(pagamentoIdOneri);
dettPraticaImpl.setPagamentoIdBolli(pagamentoIdBolli); dettPraticaImpl.setPagamentoIdBolli(pagamentoIdBolli);
dettPraticaImpl.setLavoriPubbliciPercentuale(lavoriPubbliciPercentuale); dettPraticaImpl.setLavoriPubbliciPercentuale(lavoriPubbliciPercentuale);
@ -1514,6 +1525,7 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
dataFineEsecuzioneOpera = objectInput.readLong(); dataFineEsecuzioneOpera = objectInput.readLong();
metratura = objectInput.readUTF(); metratura = objectInput.readUTF();
lavoriPubblici = objectInput.readBoolean(); lavoriPubblici = objectInput.readBoolean();
dataInserimentoInizioLavoriOpera = objectInput.readLong();
pagamentoIdOneri = objectInput.readLong(); pagamentoIdOneri = objectInput.readLong();
pagamentoIdBolli = objectInput.readLong(); pagamentoIdBolli = objectInput.readLong();
lavoriPubbliciPercentuale = objectInput.readInt(); lavoriPubbliciPercentuale = objectInput.readInt();
@ -1975,6 +1987,7 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
} }
objectOutput.writeBoolean(lavoriPubblici); objectOutput.writeBoolean(lavoriPubblici);
objectOutput.writeLong(dataInserimentoInizioLavoriOpera);
objectOutput.writeLong(pagamentoIdOneri); objectOutput.writeLong(pagamentoIdOneri);
objectOutput.writeLong(pagamentoIdBolli); objectOutput.writeLong(pagamentoIdBolli);
objectOutput.writeInt(lavoriPubbliciPercentuale); objectOutput.writeInt(lavoriPubbliciPercentuale);
@ -2611,6 +2624,7 @@ public class DettPraticaCacheModel implements CacheModel<DettPratica>,
public long dataFineEsecuzioneOpera; public long dataFineEsecuzioneOpera;
public String metratura; public String metratura;
public boolean lavoriPubblici; public boolean lavoriPubblici;
public long dataInserimentoInizioLavoriOpera;
public long pagamentoIdOneri; public long pagamentoIdOneri;
public long pagamentoIdBolli; public long pagamentoIdBolli;
public int lavoriPubbliciPercentuale; public int lavoriPubbliciPercentuale;

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

File diff suppressed because one or more lines are too long

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

@ -48,6 +48,15 @@ public class ReportAvvisoBean implements Serializable {
private String elencoNumeriProtocolloIntegrazione; private String elencoNumeriProtocolloIntegrazione;
private Boolean parziale; private Boolean parziale;
private String parzialeNumero; private String parzialeNumero;
private boolean richiestaAttestazione;
public boolean isRichiestaAttestazione() {
return richiestaAttestazione;
}
public void setRichiestaAttestazione(boolean richiestaAttestazione) {
this.richiestaAttestazione = richiestaAttestazione;
}
public String getTipo() { public String getTipo() {

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

@ -144,6 +144,7 @@ public class ReportAvvisoBeanBuilder {
bean.setNumeroProtocollo(fineLavori.getProtocollo()); bean.setNumeroProtocollo(fineLavori.getProtocollo());
bean.setParziale(fineLavori.isParziale()); bean.setParziale(fineLavori.isParziale());
bean.setParzialeNumero(String.valueOf(fineLavori.getNumero())); bean.setParzialeNumero(String.valueOf(fineLavori.getNumero()));
bean.setRichiestaAttestazione(fineLavori.isRichiestaAttestazione());
} else if (Collaudo.class.getName().equalsIgnoreCase(avviso.getClassName())) { } else if (Collaudo.class.getName().equalsIgnoreCase(avviso.getClassName())) {
Collaudo collaudo = CollaudoLocalServiceUtil.getCollaudo(avviso.getClassPk()); Collaudo collaudo = CollaudoLocalServiceUtil.getCollaudo(avviso.getClassPk());
dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPraticaId); dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPraticaId);

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

@ -534,6 +534,13 @@ public class DettPraticaLocalServiceClpInvoker {
_methodName285 = "getFirstCompletedByIntPratica"; _methodName285 = "getFirstCompletedByIntPratica";
_methodParameterTypes285 = new String[] { "long" }; _methodParameterTypes285 = new String[] { "long" };
_methodName286 = "setDataInizioLavori";
_methodParameterTypes286 = new String[] {
"it.tref.liferay.portos.bo.model.DettPratica", "java.util.Date",
"com.liferay.portal.service.ServiceContext"
};
} }
public Object invokeMethod(String name, String[] parameterTypes, public Object invokeMethod(String name, String[] parameterTypes,
@ -1443,6 +1450,13 @@ public class DettPraticaLocalServiceClpInvoker {
return DettPraticaLocalServiceUtil.getFirstCompletedByIntPratica(((Long)arguments[0]).longValue()); return DettPraticaLocalServiceUtil.getFirstCompletedByIntPratica(((Long)arguments[0]).longValue());
} }
if (_methodName286.equals(name) &&
Arrays.deepEquals(_methodParameterTypes286, parameterTypes)) {
return DettPraticaLocalServiceUtil.setDataInizioLavori((it.tref.liferay.portos.bo.model.DettPratica)arguments[0],
(java.util.Date)arguments[1],
(com.liferay.portal.service.ServiceContext)arguments[2]);
}
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
@ -1616,4 +1630,6 @@ public class DettPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes283; private String[] _methodParameterTypes283;
private String _methodName285; private String _methodName285;
private String[] _methodParameterTypes285; private String[] _methodParameterTypes285;
private String _methodName286;
private String[] _methodParameterTypes286;
} }

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

@ -136,176 +136,183 @@ public class FineLavoriLocalServiceClpInvoker {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName184 = "deleteFineLavori"; _methodName184 = "addFineLavori";
_methodParameterTypes184 = new String[] { _methodParameterTypes184 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori" "long", "boolean", "boolean",
"com.liferay.portal.service.ServiceContext"
}; };
_methodName185 = "deleteFineLavori"; _methodName185 = "deleteFineLavori";
_methodParameterTypes185 = new String[] { "long" }; _methodParameterTypes185 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori"
};
_methodName186 = "deleteFineLavori";
_methodName186 = "updateFineLavori"; _methodParameterTypes186 = new String[] { "long" };
_methodParameterTypes186 = new String[] { _methodName187 = "updateFineLavori";
_methodParameterTypes187 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date", "long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "boolean", "boolean",
"java.lang.String", "boolean" "java.lang.String", "boolean"
}; };
_methodName187 = "getLastEditable"; _methodName189 = "getLastEditable";
_methodParameterTypes187 = new String[] { "long" }; _methodParameterTypes189 = new String[] { "long" };
_methodName188 = "getLastCompleted"; _methodName190 = "getLastCompleted";
_methodParameterTypes188 = new String[] { "long" }; _methodParameterTypes190 = new String[] { "long" };
_methodName189 = "pagaInvia"; _methodName191 = "pagaInvia";
_methodParameterTypes189 = new String[] { _methodParameterTypes191 = new String[] {
"long", "java.lang.String", "java.lang.String", "long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName190 = "updateEsitoPagamento"; _methodName192 = "updateEsitoPagamento";
_methodParameterTypes190 = new String[] { _methodParameterTypes192 = new String[] {
"long", "long", "java.lang.String" "long", "long", "java.lang.String"
}; };
_methodName191 = "updateEsitoPagamento"; _methodName193 = "updateEsitoPagamento";
_methodParameterTypes191 = new String[] { _methodParameterTypes193 = new String[] {
"long", "long", "long", "java.lang.String" "long", "long", "long", "java.lang.String"
}; };
_methodName192 = "updateEsito"; _methodName194 = "updateEsito";
_methodParameterTypes192 = new String[] { "long", "int" }; _methodParameterTypes194 = new String[] { "long", "int" };
_methodName195 = "updateFineLavoriProtocollo"; _methodName197 = "updateFineLavoriProtocollo";
_methodParameterTypes195 = new String[] { "long", "java.lang.String" }; _methodParameterTypes197 = new String[] { "long", "java.lang.String" };
_methodName196 = "findByProtocollo"; _methodName198 = "findByProtocollo";
_methodParameterTypes196 = new String[] { _methodParameterTypes198 = new String[] {
"long", "long", "java.lang.String" "long", "long", "java.lang.String"
}; };
_methodName197 = "fetchByProtocollo"; _methodName199 = "fetchByProtocollo";
_methodParameterTypes197 = new String[] { _methodParameterTypes199 = new String[] {
"long", "long", "java.lang.String" "long", "long", "java.lang.String"
}; };
_methodName198 = "fetchByProtocollo"; _methodName200 = "fetchByProtocollo";
_methodParameterTypes198 = new String[] { "java.lang.String" }; _methodParameterTypes200 = new String[] { "java.lang.String" };
_methodName199 = "findByIntPraticaId"; _methodName201 = "findByIntPraticaId";
_methodParameterTypes199 = new String[] { _methodParameterTypes201 = new String[] {
"long", "int", "int", "long", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName200 = "countByIntPraticaId"; _methodName202 = "countByIntPraticaId";
_methodParameterTypes200 = new String[] { "long" }; _methodParameterTypes202 = new String[] { "long" };
_methodName201 = "findByIntPraticaId_Parziale"; _methodName203 = "findByIntPraticaId_Parziale";
_methodParameterTypes201 = new String[] { _methodParameterTypes203 = new String[] {
"long", "boolean", "int", "int", "long", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName202 = "countByIntPraticaId_Parziale"; _methodName204 = "countByIntPraticaId_Parziale";
_methodParameterTypes202 = new String[] { "long", "boolean" }; _methodParameterTypes204 = new String[] { "long", "boolean" };
_methodName203 = "findByIntPraticaId_Completata"; _methodName205 = "findByIntPraticaId_Completata";
_methodParameterTypes203 = new String[] { _methodParameterTypes205 = new String[] {
"long", "boolean", "int", "int", "long", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName204 = "countByIntPraticaId_Completata"; _methodName206 = "countByIntPraticaId_Completata";
_methodParameterTypes204 = new String[] { "long", "boolean" }; _methodParameterTypes206 = new String[] { "long", "boolean" };
_methodName205 = "findByIntPraticaId_CodiceFiscale"; _methodName207 = "findByIntPraticaId_CodiceFiscale";
_methodParameterTypes205 = new String[] { _methodParameterTypes207 = new String[] {
"long", "java.lang.String", "int", "int", "long", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName206 = "countByIntPraticaId_CodiceFiscale"; _methodName208 = "countByIntPraticaId_CodiceFiscale";
_methodParameterTypes206 = new String[] { "long", "java.lang.String" }; _methodParameterTypes208 = new String[] { "long", "java.lang.String" };
_methodName207 = "findByCodiceFiscale_Completata"; _methodName209 = "findByCodiceFiscale_Completata";
_methodParameterTypes207 = new String[] { _methodParameterTypes209 = new String[] {
"java.lang.String", "boolean", "int", "int", "java.lang.String", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName208 = "countByCodiceFiscale_Completata"; _methodName210 = "countByCodiceFiscale_Completata";
_methodParameterTypes208 = new String[] { "java.lang.String", "boolean" }; _methodParameterTypes210 = new String[] { "java.lang.String", "boolean" };
_methodName209 = "findByIntPraticaId_Parziale_Completata"; _methodName211 = "findByIntPraticaId_Parziale_Completata";
_methodParameterTypes209 = new String[] { _methodParameterTypes211 = new String[] {
"long", "boolean", "boolean", "int", "int", "long", "boolean", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName210 = "countByIntPraticaId_Parziale_Completata"; _methodName212 = "countByIntPraticaId_Parziale_Completata";
_methodParameterTypes210 = new String[] { "long", "boolean", "boolean" }; _methodParameterTypes212 = new String[] { "long", "boolean", "boolean" };
_methodName211 = "findByIntPraticaId_Parziale_leFineLavoriId"; _methodName213 = "findByIntPraticaId_Parziale_leFineLavoriId";
_methodParameterTypes211 = new String[] { _methodParameterTypes213 = new String[] {
"long", "long", "boolean", "int", "int", "long", "long", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName212 = "countByIntPraticaId_Parziale_leFineLavoriId"; _methodName214 = "countByIntPraticaId_Parziale_leFineLavoriId";
_methodParameterTypes212 = new String[] { "long", "long", "boolean" }; _methodParameterTypes214 = new String[] { "long", "long", "boolean" };
_methodName213 = "findFineLavoriCompleteNotProtocollo"; _methodName215 = "findFineLavoriCompleteNotProtocollo";
_methodParameterTypes213 = new String[] { "int", "int" }; _methodParameterTypes215 = new String[] { "int", "int" };
_methodName214 = "countFineLavoriCompleteNotProtocollo"; _methodName216 = "countFineLavoriCompleteNotProtocollo";
_methodParameterTypes214 = new String[] { }; _methodParameterTypes216 = new String[] { };
_methodName216 = "findFineLavoriCompleteNotGestite"; _methodName218 = "findFineLavoriCompleteNotGestite";
_methodParameterTypes216 = new String[] { "int", "int" }; _methodParameterTypes218 = new String[] { "int", "int" };
_methodName217 = "countFineLavoriCompleteNotGestite"; _methodName219 = "countFineLavoriCompleteNotGestite";
_methodParameterTypes217 = new String[] { }; _methodParameterTypes219 = new String[] { };
_methodName219 = "findIntPraticaByFineLavori"; _methodName221 = "findIntPraticaByFineLavori";
_methodParameterTypes219 = new String[] { }; _methodParameterTypes221 = new String[] { };
_methodName220 = "findIntPraticaByFineLavori"; _methodName222 = "findIntPraticaByFineLavori";
_methodParameterTypes220 = new String[] { "java.lang.String" }; _methodParameterTypes222 = new String[] { "java.lang.String" };
} }
public Object invokeMethod(String name, String[] parameterTypes, public Object invokeMethod(String name, String[] parameterTypes,
@ -441,16 +448,24 @@ public class FineLavoriLocalServiceClpInvoker {
if (_methodName184.equals(name) && if (_methodName184.equals(name) &&
Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) {
return FineLavoriLocalServiceUtil.deleteFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0]); return FineLavoriLocalServiceUtil.addFineLavori(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(),
((Boolean)arguments[2]).booleanValue(),
(com.liferay.portal.service.ServiceContext)arguments[3]);
} }
if (_methodName185.equals(name) && if (_methodName185.equals(name) &&
Arrays.deepEquals(_methodParameterTypes185, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes185, parameterTypes)) {
return FineLavoriLocalServiceUtil.deleteFineLavori(((Long)arguments[0]).longValue()); return FineLavoriLocalServiceUtil.deleteFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0]);
} }
if (_methodName186.equals(name) && if (_methodName186.equals(name) &&
Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) {
return FineLavoriLocalServiceUtil.deleteFineLavori(((Long)arguments[0]).longValue());
}
if (_methodName187.equals(name) &&
Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) {
return FineLavoriLocalServiceUtil.updateFineLavori(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.updateFineLavori(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue(), ((Long)arguments[2]).longValue(),
@ -464,34 +479,34 @@ public class FineLavoriLocalServiceClpInvoker {
((Boolean)arguments[11]).booleanValue()); ((Boolean)arguments[11]).booleanValue());
} }
if (_methodName187.equals(name) && if (_methodName189.equals(name) &&
Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
return FineLavoriLocalServiceUtil.getLastEditable(((Long)arguments[0]).longValue()); return FineLavoriLocalServiceUtil.getLastEditable(((Long)arguments[0]).longValue());
} }
if (_methodName188.equals(name) && if (_methodName190.equals(name) &&
Arrays.deepEquals(_methodParameterTypes188, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) {
return FineLavoriLocalServiceUtil.getLastCompleted(((Long)arguments[0]).longValue()); return FineLavoriLocalServiceUtil.getLastCompleted(((Long)arguments[0]).longValue());
} }
if (_methodName189.equals(name) && if (_methodName191.equals(name) &&
Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
return FineLavoriLocalServiceUtil.pagaInvia(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.pagaInvia(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2], (java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3], (java.lang.String)arguments[4], (java.lang.String)arguments[3], (java.lang.String)arguments[4],
(com.liferay.portal.service.ServiceContext)arguments[5]); (com.liferay.portal.service.ServiceContext)arguments[5]);
} }
if (_methodName190.equals(name) && if (_methodName192.equals(name) &&
Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
FineLavoriLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(), FineLavoriLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]);
return null; return null;
} }
if (_methodName191.equals(name) && if (_methodName193.equals(name) &&
Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) {
FineLavoriLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(), FineLavoriLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue(), (java.lang.String)arguments[3]); ((Long)arguments[2]).longValue(), (java.lang.String)arguments[3]);
@ -499,50 +514,50 @@ public class FineLavoriLocalServiceClpInvoker {
return null; return null;
} }
if (_methodName192.equals(name) && if (_methodName194.equals(name) &&
Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes194, parameterTypes)) {
return FineLavoriLocalServiceUtil.updateEsito(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.updateEsito(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue()); ((Integer)arguments[1]).intValue());
} }
if (_methodName195.equals(name) && if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
return FineLavoriLocalServiceUtil.updateFineLavoriProtocollo(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.updateFineLavoriProtocollo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]); (java.lang.String)arguments[1]);
} }
if (_methodName196.equals(name) && if (_methodName198.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByProtocollo(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.findByProtocollo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]);
} }
if (_methodName197.equals(name) && if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
return FineLavoriLocalServiceUtil.fetchByProtocollo(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.fetchByProtocollo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]);
} }
if (_methodName198.equals(name) && if (_methodName200.equals(name) &&
Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
return FineLavoriLocalServiceUtil.fetchByProtocollo((java.lang.String)arguments[0]); return FineLavoriLocalServiceUtil.fetchByProtocollo((java.lang.String)arguments[0]);
} }
if (_methodName199.equals(name) && if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.findByIntPraticaId(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(), ((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]);
} }
if (_methodName200.equals(name) && if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId(((Long)arguments[0]).longValue()); return FineLavoriLocalServiceUtil.countByIntPraticaId(((Long)arguments[0]).longValue());
} }
if (_methodName201.equals(name) && if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
@ -550,14 +565,14 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
} }
if (_methodName202.equals(name) && if (_methodName204.equals(name) &&
Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue()); ((Boolean)arguments[1]).booleanValue());
} }
if (_methodName203.equals(name) && if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
@ -565,14 +580,14 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
} }
if (_methodName204.equals(name) && if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue()); ((Boolean)arguments[1]).booleanValue());
} }
if (_methodName205.equals(name) && if (_methodName207.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.findByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
@ -580,14 +595,14 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
} }
if (_methodName206.equals(name) && if (_methodName208.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.countByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]); (java.lang.String)arguments[1]);
} }
if (_methodName207.equals(name) && if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByCodiceFiscale_Completata((java.lang.String)arguments[0], return FineLavoriLocalServiceUtil.findByCodiceFiscale_Completata((java.lang.String)arguments[0],
((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
@ -595,14 +610,14 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
} }
if (_methodName208.equals(name) && if (_methodName210.equals(name) &&
Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByCodiceFiscale_Completata((java.lang.String)arguments[0], return FineLavoriLocalServiceUtil.countByCodiceFiscale_Completata((java.lang.String)arguments[0],
((Boolean)arguments[1]).booleanValue()); ((Boolean)arguments[1]).booleanValue());
} }
if (_methodName209.equals(name) && if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale_Completata(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale_Completata(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[1]).booleanValue(),
((Boolean)arguments[2]).booleanValue(), ((Boolean)arguments[2]).booleanValue(),
@ -611,15 +626,15 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
} }
if (_methodName210.equals(name) && if (_methodName212.equals(name) &&
Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_Completata(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_Completata(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[1]).booleanValue(),
((Boolean)arguments[2]).booleanValue()); ((Boolean)arguments[2]).booleanValue());
} }
if (_methodName211.equals(name) && if (_methodName213.equals(name) &&
Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale_leFineLavoriId(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale_leFineLavoriId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Boolean)arguments[2]).booleanValue(), ((Boolean)arguments[2]).booleanValue(),
@ -628,42 +643,42 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
} }
if (_methodName212.equals(name) && if (_methodName214.equals(name) &&
Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_leFineLavoriId(((Long)arguments[0]).longValue(), return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_leFineLavoriId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Boolean)arguments[2]).booleanValue()); ((Boolean)arguments[2]).booleanValue());
} }
if (_methodName213.equals(name) && if (_methodName215.equals(name) &&
Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) {
return FineLavoriLocalServiceUtil.findFineLavoriCompleteNotProtocollo(((Integer)arguments[0]).intValue(), return FineLavoriLocalServiceUtil.findFineLavoriCompleteNotProtocollo(((Integer)arguments[0]).intValue(),
((Integer)arguments[1]).intValue()); ((Integer)arguments[1]).intValue());
} }
if (_methodName214.equals(name) && if (_methodName216.equals(name) &&
Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) {
return FineLavoriLocalServiceUtil.countFineLavoriCompleteNotProtocollo(); return FineLavoriLocalServiceUtil.countFineLavoriCompleteNotProtocollo();
} }
if (_methodName216.equals(name) && if (_methodName218.equals(name) &&
Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
return FineLavoriLocalServiceUtil.findFineLavoriCompleteNotGestite(((Integer)arguments[0]).intValue(), return FineLavoriLocalServiceUtil.findFineLavoriCompleteNotGestite(((Integer)arguments[0]).intValue(),
((Integer)arguments[1]).intValue()); ((Integer)arguments[1]).intValue());
} }
if (_methodName217.equals(name) && if (_methodName219.equals(name) &&
Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
return FineLavoriLocalServiceUtil.countFineLavoriCompleteNotGestite(); return FineLavoriLocalServiceUtil.countFineLavoriCompleteNotGestite();
} }
if (_methodName219.equals(name) && if (_methodName221.equals(name) &&
Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori(); return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori();
} }
if (_methodName220.equals(name) && if (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori((java.lang.String)arguments[0]); return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori((java.lang.String)arguments[0]);
} }
@ -724,8 +739,6 @@ public class FineLavoriLocalServiceClpInvoker {
private String[] _methodParameterTypes186; private String[] _methodParameterTypes186;
private String _methodName187; private String _methodName187;
private String[] _methodParameterTypes187; private String[] _methodParameterTypes187;
private String _methodName188;
private String[] _methodParameterTypes188;
private String _methodName189; private String _methodName189;
private String[] _methodParameterTypes189; private String[] _methodParameterTypes189;
private String _methodName190; private String _methodName190;
@ -734,10 +747,10 @@ public class FineLavoriLocalServiceClpInvoker {
private String[] _methodParameterTypes191; private String[] _methodParameterTypes191;
private String _methodName192; private String _methodName192;
private String[] _methodParameterTypes192; private String[] _methodParameterTypes192;
private String _methodName195; private String _methodName193;
private String[] _methodParameterTypes195; private String[] _methodParameterTypes193;
private String _methodName196; private String _methodName194;
private String[] _methodParameterTypes196; private String[] _methodParameterTypes194;
private String _methodName197; private String _methodName197;
private String[] _methodParameterTypes197; private String[] _methodParameterTypes197;
private String _methodName198; private String _methodName198;
@ -774,12 +787,16 @@ public class FineLavoriLocalServiceClpInvoker {
private String[] _methodParameterTypes213; private String[] _methodParameterTypes213;
private String _methodName214; private String _methodName214;
private String[] _methodParameterTypes214; private String[] _methodParameterTypes214;
private String _methodName215;
private String[] _methodParameterTypes215;
private String _methodName216; private String _methodName216;
private String[] _methodParameterTypes216; private String[] _methodParameterTypes216;
private String _methodName217; private String _methodName218;
private String[] _methodParameterTypes217; private String[] _methodParameterTypes218;
private String _methodName219; private String _methodName219;
private String[] _methodParameterTypes219; private String[] _methodParameterTypes219;
private String _methodName220; private String _methodName221;
private String[] _methodParameterTypes220; private String[] _methodParameterTypes221;
private String _methodName222;
private String[] _methodParameterTypes222;
} }

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

@ -42,82 +42,89 @@ public class FineLavoriServiceClpInvoker {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName164 = "deleteFineLavori"; _methodName164 = "addFineLavori";
_methodParameterTypes164 = new String[] { _methodParameterTypes164 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori" "long", "boolean", "boolean",
"com.liferay.portal.service.ServiceContext"
}; };
_methodName165 = "deleteFineLavori"; _methodName165 = "deleteFineLavori";
_methodParameterTypes165 = new String[] { "long" }; _methodParameterTypes165 = new String[] {
_methodName166 = "updateFineLavori";
_methodParameterTypes166 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori" "it.tref.liferay.portos.bo.model.FineLavori"
}; };
_methodName166 = "deleteFineLavori";
_methodParameterTypes166 = new String[] { "long" };
_methodName167 = "updateFineLavori"; _methodName167 = "updateFineLavori";
_methodParameterTypes167 = new String[] { _methodParameterTypes167 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori"
};
_methodName168 = "updateFineLavori";
_methodParameterTypes168 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date", "long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "boolean", "boolean",
"java.lang.String", "boolean" "java.lang.String", "boolean"
}; };
_methodName168 = "getLastEditable"; _methodName169 = "getLastEditable";
_methodParameterTypes168 = new String[] { "long" }; _methodParameterTypes169 = new String[] { "long" };
_methodName169 = "getLastCompleted"; _methodName170 = "getLastCompleted";
_methodParameterTypes169 = new String[] { "long" }; _methodParameterTypes170 = new String[] { "long" };
_methodName170 = "findByIntPraticaId_Parziale"; _methodName171 = "findByIntPraticaId_Parziale";
_methodParameterTypes170 = new String[] { _methodParameterTypes171 = new String[] {
"long", "boolean", "int", "int", "long", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName171 = "countByIntPraticaId_Parziale"; _methodName172 = "countByIntPraticaId_Parziale";
_methodParameterTypes171 = new String[] { "long", "boolean" }; _methodParameterTypes172 = new String[] { "long", "boolean" };
_methodName172 = "pagaInvia"; _methodName173 = "pagaInvia";
_methodParameterTypes172 = new String[] { _methodParameterTypes173 = new String[] {
"long", "java.lang.String", "java.lang.String", "long", "java.lang.String", "java.lang.String",
"java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName173 = "updateEsito"; _methodName174 = "updateEsito";
_methodParameterTypes173 = new String[] { "long", "int" }; _methodParameterTypes174 = new String[] { "long", "int" };
_methodName174 = "findByIntPraticaId_CodiceFiscale"; _methodName175 = "findByIntPraticaId_CodiceFiscale";
_methodParameterTypes174 = new String[] { _methodParameterTypes175 = new String[] {
"long", "java.lang.String", "int", "int", "long", "java.lang.String", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName175 = "countByIntPraticaId_CodiceFiscale"; _methodName176 = "countByIntPraticaId_CodiceFiscale";
_methodParameterTypes175 = new String[] { "long", "java.lang.String" }; _methodParameterTypes176 = new String[] { "long", "java.lang.String" };
_methodName176 = "findByCodiceFiscale_Completata"; _methodName177 = "findByCodiceFiscale_Completata";
_methodParameterTypes176 = new String[] { _methodParameterTypes177 = new String[] {
"java.lang.String", "boolean", "int", "int", "java.lang.String", "boolean", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator" "com.liferay.portal.kernel.util.OrderByComparator"
}; };
_methodName177 = "countByCodiceFiscale_Completata"; _methodName178 = "countByCodiceFiscale_Completata";
_methodParameterTypes177 = new String[] { "java.lang.String", "boolean" }; _methodParameterTypes178 = new String[] { "java.lang.String", "boolean" };
} }
public Object invokeMethod(String name, String[] parameterTypes, public Object invokeMethod(String name, String[] parameterTypes,
@ -147,21 +154,29 @@ public class FineLavoriServiceClpInvoker {
if (_methodName164.equals(name) && if (_methodName164.equals(name) &&
Arrays.deepEquals(_methodParameterTypes164, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes164, parameterTypes)) {
return FineLavoriServiceUtil.deleteFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0]); return FineLavoriServiceUtil.addFineLavori(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(),
((Boolean)arguments[2]).booleanValue(),
(com.liferay.portal.service.ServiceContext)arguments[3]);
} }
if (_methodName165.equals(name) && if (_methodName165.equals(name) &&
Arrays.deepEquals(_methodParameterTypes165, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes165, parameterTypes)) {
return FineLavoriServiceUtil.deleteFineLavori(((Long)arguments[0]).longValue()); return FineLavoriServiceUtil.deleteFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0]);
} }
if (_methodName166.equals(name) && if (_methodName166.equals(name) &&
Arrays.deepEquals(_methodParameterTypes166, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes166, parameterTypes)) {
return FineLavoriServiceUtil.updateFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0]); return FineLavoriServiceUtil.deleteFineLavori(((Long)arguments[0]).longValue());
} }
if (_methodName167.equals(name) && if (_methodName167.equals(name) &&
Arrays.deepEquals(_methodParameterTypes167, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes167, parameterTypes)) {
return FineLavoriServiceUtil.updateFineLavori((it.tref.liferay.portos.bo.model.FineLavori)arguments[0]);
}
if (_methodName168.equals(name) &&
Arrays.deepEquals(_methodParameterTypes168, parameterTypes)) {
return FineLavoriServiceUtil.updateFineLavori(((Long)arguments[0]).longValue(), return FineLavoriServiceUtil.updateFineLavori(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue(), ((Long)arguments[2]).longValue(),
@ -175,18 +190,18 @@ public class FineLavoriServiceClpInvoker {
((Boolean)arguments[11]).booleanValue()); ((Boolean)arguments[11]).booleanValue());
} }
if (_methodName168.equals(name) &&
Arrays.deepEquals(_methodParameterTypes168, parameterTypes)) {
return FineLavoriServiceUtil.getLastEditable(((Long)arguments[0]).longValue());
}
if (_methodName169.equals(name) && if (_methodName169.equals(name) &&
Arrays.deepEquals(_methodParameterTypes169, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes169, parameterTypes)) {
return FineLavoriServiceUtil.getLastCompleted(((Long)arguments[0]).longValue()); return FineLavoriServiceUtil.getLastEditable(((Long)arguments[0]).longValue());
} }
if (_methodName170.equals(name) && if (_methodName170.equals(name) &&
Arrays.deepEquals(_methodParameterTypes170, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes170, parameterTypes)) {
return FineLavoriServiceUtil.getLastCompleted(((Long)arguments[0]).longValue());
}
if (_methodName171.equals(name) &&
Arrays.deepEquals(_methodParameterTypes171, parameterTypes)) {
return FineLavoriServiceUtil.findByIntPraticaId_Parziale(((Long)arguments[0]).longValue(), return FineLavoriServiceUtil.findByIntPraticaId_Parziale(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
@ -194,28 +209,28 @@ public class FineLavoriServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
} }
if (_methodName171.equals(name) && if (_methodName172.equals(name) &&
Arrays.deepEquals(_methodParameterTypes171, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) {
return FineLavoriServiceUtil.countByIntPraticaId_Parziale(((Long)arguments[0]).longValue(), return FineLavoriServiceUtil.countByIntPraticaId_Parziale(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue()); ((Boolean)arguments[1]).booleanValue());
} }
if (_methodName172.equals(name) && if (_methodName173.equals(name) &&
Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes173, parameterTypes)) {
return FineLavoriServiceUtil.pagaInvia(((Long)arguments[0]).longValue(), return FineLavoriServiceUtil.pagaInvia(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2], (java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3], (java.lang.String)arguments[4], (java.lang.String)arguments[3], (java.lang.String)arguments[4],
(com.liferay.portal.service.ServiceContext)arguments[5]); (com.liferay.portal.service.ServiceContext)arguments[5]);
} }
if (_methodName173.equals(name) && if (_methodName174.equals(name) &&
Arrays.deepEquals(_methodParameterTypes173, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes174, parameterTypes)) {
return FineLavoriServiceUtil.updateEsito(((Long)arguments[0]).longValue(), return FineLavoriServiceUtil.updateEsito(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue()); ((Integer)arguments[1]).intValue());
} }
if (_methodName174.equals(name) && if (_methodName175.equals(name) &&
Arrays.deepEquals(_methodParameterTypes174, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes175, parameterTypes)) {
return FineLavoriServiceUtil.findByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(), return FineLavoriServiceUtil.findByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
@ -223,14 +238,14 @@ public class FineLavoriServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
} }
if (_methodName175.equals(name) && if (_methodName176.equals(name) &&
Arrays.deepEquals(_methodParameterTypes175, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes176, parameterTypes)) {
return FineLavoriServiceUtil.countByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(), return FineLavoriServiceUtil.countByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]); (java.lang.String)arguments[1]);
} }
if (_methodName176.equals(name) && if (_methodName177.equals(name) &&
Arrays.deepEquals(_methodParameterTypes176, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes177, parameterTypes)) {
return FineLavoriServiceUtil.findByCodiceFiscale_Completata((java.lang.String)arguments[0], return FineLavoriServiceUtil.findByCodiceFiscale_Completata((java.lang.String)arguments[0],
((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(), ((Integer)arguments[2]).intValue(),
@ -238,8 +253,8 @@ public class FineLavoriServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]); (com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
} }
if (_methodName177.equals(name) && if (_methodName178.equals(name) &&
Arrays.deepEquals(_methodParameterTypes177, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) {
return FineLavoriServiceUtil.countByCodiceFiscale_Completata((java.lang.String)arguments[0], return FineLavoriServiceUtil.countByCodiceFiscale_Completata((java.lang.String)arguments[0],
((Boolean)arguments[1]).booleanValue()); ((Boolean)arguments[1]).booleanValue());
} }
@ -283,4 +298,6 @@ public class FineLavoriServiceClpInvoker {
private String[] _methodParameterTypes176; private String[] _methodParameterTypes176;
private String _methodName177; private String _methodName177;
private String[] _methodParameterTypes177; private String[] _methodParameterTypes177;
private String _methodName178;
private String[] _methodParameterTypes178;
} }

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

@ -93,6 +93,24 @@ public class FineLavoriServiceSoap {
} }
} }
public static it.tref.liferay.portos.bo.model.FineLavoriSoap addFineLavori(
long intPraticaId, boolean richiestaAttestazione,
boolean normEsenteCollaudo,
com.liferay.portal.service.ServiceContext serviceContext)
throws RemoteException {
try {
it.tref.liferay.portos.bo.model.FineLavori returnValue = FineLavoriServiceUtil.addFineLavori(intPraticaId,
richiestaAttestazione, normEsenteCollaudo, serviceContext);
return it.tref.liferay.portos.bo.model.FineLavoriSoap.toSoapModel(returnValue);
}
catch (Exception e) {
_log.error(e, e);
throw new RemoteException(e.getMessage());
}
}
public static it.tref.liferay.portos.bo.model.FineLavoriSoap deleteFineLavori( public static it.tref.liferay.portos.bo.model.FineLavoriSoap deleteFineLavori(
it.tref.liferay.portos.bo.model.FineLavoriSoap fineLavori) it.tref.liferay.portos.bo.model.FineLavoriSoap fineLavori)
throws RemoteException { throws RemoteException {

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

@ -10,20 +10,26 @@ package it.tref.liferay.portos.bo.service.impl;
import it.tref.liferay.portos.bo.NoSuchDettPraticaException; import it.tref.liferay.portos.bo.NoSuchDettPraticaException;
import it.tref.liferay.portos.bo.model.Asseverazione; import it.tref.liferay.portos.bo.model.Asseverazione;
import it.tref.liferay.portos.bo.model.Collaudo;
import it.tref.liferay.portos.bo.model.ControlloPratica; import it.tref.liferay.portos.bo.model.ControlloPratica;
import it.tref.liferay.portos.bo.model.Delega; import it.tref.liferay.portos.bo.model.Delega;
import it.tref.liferay.portos.bo.model.DettPratica; import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.DocPratica; import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.FineLavori;
import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Pagamento; import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.model.Soggetto; import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.Tempistica; import it.tref.liferay.portos.bo.model.Tempistica;
import it.tref.liferay.portos.bo.model.impl.DettPraticaImpl; import it.tref.liferay.portos.bo.model.impl.DettPraticaImpl;
import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.base.DettPraticaLocalServiceBaseImpl; import it.tref.liferay.portos.bo.service.base.DettPraticaLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.shared.util.PagamentoConstants; import it.tref.liferay.portos.bo.shared.util.PagamentoConstants;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants; import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil; import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil; import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil; import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.MailUtil; import it.tref.liferay.portos.bo.util.MailUtil;
import it.tref.liferay.portos.bo.util.PagamentiUtil; import it.tref.liferay.portos.bo.util.PagamentiUtil;
@ -1812,4 +1818,33 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
return ritorno.get(0); return ritorno.get(0);
} }
} }
@Override
public DettPratica setDataInizioLavori(DettPratica dettPratica, Date dataInizioLavoriOpera, ServiceContext serviceContext) throws SystemException, PortalException{
dettPratica.setDataInizioLavoriOpera(dataInizioLavoriOpera);
dettPratica.setModifiedDate(serviceContext.getModifiedDate());
dettPratica.setDataInserimentoInizioLavoriOpera(serviceContext.getModifiedDate());
_creaAvvisoInizioLavori(dettPratica.getIntPraticaId(), dettPratica.getDettPraticaId(),
DettPratica.class.getName(), serviceContext);
return updateDettPratica(dettPratica);
}
private void _creaAvvisoInizioLavori(long intPraticaId, long classPk,
String className, ServiceContext serviceContext) throws SystemException, PortalException {
String descLong = StringPool.BLANK;
Date dtAvviso = serviceContext.getModifiedDate();
String tipoAvviso = AvvisoUtil.TIPO_AVVISO_DIRETTO;
String tipoDocumento = AvvisoUtil.FINE_LAVORI_AVVISO_INIZIO_LAVORI;
String propertiesTemplateType = AvvisoUtil.FINE_LAVORI_AVVISO_INIZIO_LAVORI;
String propertiesTemplate = AvvisoUtil.getAllTipoDocumentoFileTemplateProps().get(propertiesTemplateType);
long fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(serviceContext.getCompanyId(),
propertiesTemplate);
long controlloPraticaId = 0L;
AvvisoLocalServiceUtil.addAvviso(intPraticaId, descLong, dtAvviso, tipoAvviso, tipoDocumento,
fileEntryIdTemplate, classPk, className, controlloPraticaId, serviceContext);
}
} }

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

@ -14,8 +14,11 @@ import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.FineLavori; import it.tref.liferay.portos.bo.model.FineLavori;
import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Pagamento; import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.base.FineLavoriLocalServiceBaseImpl; 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.PagamentoConstants;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil; import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.MailUtil; import it.tref.liferay.portos.bo.util.MailUtil;
import it.tref.liferay.portos.bo.util.PagamentiUtil; import it.tref.liferay.portos.bo.util.PagamentiUtil;
@ -105,6 +108,24 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return fineLavori; return fineLavori;
} }
@Override
@Indexable(type = IndexableType.REINDEX)
public FineLavori addFineLavori(long intPraticaId, boolean richiestaAttestazione, boolean normEsenteCollaudo,
ServiceContext serviceContext) throws PortalException, SystemException {
IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId);
FineLavori fineLavori = initFineLavori(serviceContext);
fineLavori.setGroupId(intPratica.getGroupId());
fineLavori.setIntPraticaId(intPraticaId);
fineLavori.setNormEsenteCollaudo(normEsenteCollaudo);
fineLavori.setRichiestaAttestazione(richiestaAttestazione);
_creaAvviso(intPraticaId, fineLavori.getFineLavoriId(), FineLavori.class.getName(),
AvvisoUtil.FINE_LAVORI_AVVISO_FINE_LAVORI, serviceContext);
return fineLavoriPersistence.update(fineLavori);
}
@Override @Override
@Indexable(type = IndexableType.DELETE) @Indexable(type = IndexableType.DELETE)
public FineLavori deleteFineLavori(FineLavori fineLavori) throws SystemException, PortalException { public FineLavori deleteFineLavori(FineLavori fineLavori) throws SystemException, PortalException {
@ -150,6 +171,21 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
return fineLavori; return fineLavori;
} }
private void _creaAvviso(long intPraticaId, long classPk, String className,
String tipoDocumento,ServiceContext serviceContext) throws SystemException, PortalException {
String descLong = StringPool.BLANK;
Date dtAvviso = serviceContext.getModifiedDate();
String tipoAvviso = AvvisoUtil.TIPO_AVVISO_DIRETTO;
String propertiesTemplateType = tipoDocumento;
String propertiesTemplate = AvvisoUtil.getAllTipoDocumentoFileTemplateProps().get(propertiesTemplateType);
long fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(serviceContext.getCompanyId(),
propertiesTemplate);
long controlloPraticaId = 0L;
AvvisoLocalServiceUtil.addAvviso(intPraticaId, descLong, dtAvviso, tipoAvviso, tipoDocumento,
fileEntryIdTemplate, classPk, className, controlloPraticaId, serviceContext);
}
@Override @Override
public FineLavori getLastEditable(long intPraticaId) throws SystemException { public FineLavori getLastEditable(long intPraticaId) throws SystemException {

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

@ -16,6 +16,8 @@ import java.util.List;
import com.liferay.portal.kernel.exception.PortalException; import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException; import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.search.Indexable;
import com.liferay.portal.kernel.search.IndexableType;
import com.liferay.portal.kernel.util.OrderByComparator; import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.portal.service.ServiceContext; import com.liferay.portal.service.ServiceContext;
@ -52,6 +54,14 @@ public class FineLavoriServiceImpl extends FineLavoriServiceBaseImpl {
return fineLavoriLocalService.addFineLavori(intPraticaId, serviceContext); return fineLavoriLocalService.addFineLavori(intPraticaId, serviceContext);
} }
@Override
public FineLavori addFineLavori(long intPraticaId, boolean richiestaAttestazione, boolean normEsenteCollaudo,
ServiceContext serviceContext) throws PortalException, SystemException {
return fineLavoriLocalService.addFineLavori(intPraticaId, richiestaAttestazione, normEsenteCollaudo,
serviceContext);
}
@Override @Override
public FineLavori deleteFineLavori(FineLavori fineLavori) throws PortalException, SystemException { public FineLavori deleteFineLavori(FineLavori fineLavori) throws PortalException, SystemException {

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

@ -4301,6 +4301,7 @@ public class DettPraticaPersistenceImpl extends BasePersistenceImpl<DettPratica>
dettPraticaImpl.setDataFineEsecuzioneOpera(dettPratica.getDataFineEsecuzioneOpera()); dettPraticaImpl.setDataFineEsecuzioneOpera(dettPratica.getDataFineEsecuzioneOpera());
dettPraticaImpl.setMetratura(dettPratica.getMetratura()); dettPraticaImpl.setMetratura(dettPratica.getMetratura());
dettPraticaImpl.setLavoriPubblici(dettPratica.isLavoriPubblici()); dettPraticaImpl.setLavoriPubblici(dettPratica.isLavoriPubblici());
dettPraticaImpl.setDataInserimentoInizioLavoriOpera(dettPratica.getDataInserimentoInizioLavoriOpera());
dettPraticaImpl.setPagamentoIdOneri(dettPratica.getPagamentoIdOneri()); dettPraticaImpl.setPagamentoIdOneri(dettPratica.getPagamentoIdOneri());
dettPraticaImpl.setPagamentoIdBolli(dettPratica.getPagamentoIdBolli()); dettPraticaImpl.setPagamentoIdBolli(dettPratica.getPagamentoIdBolli());
dettPraticaImpl.setLavoriPubbliciPercentuale(dettPratica.getLavoriPubbliciPercentuale()); dettPraticaImpl.setLavoriPubbliciPercentuale(dettPratica.getLavoriPubbliciPercentuale());

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.namespace=portos_bo
build.number=2853 build.number=2857
build.date=1677764839016 build.date=1678097661105
build.auto.upgrade=true build.auto.upgrade=true
## ##

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

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

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar

File binario non mostrato.

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

@ -13,9 +13,11 @@ import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.Territorio; import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.AsseverazioneLocalServiceUtil; import it.tref.liferay.portos.bo.service.AsseverazioneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.AsseverazioneServiceUtil; import it.tref.liferay.portos.bo.service.AsseverazioneServiceUtil;
import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil; import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil;
import it.tref.liferay.portos.bo.service.CollaudoServiceUtil; import it.tref.liferay.portos.bo.service.CollaudoServiceUtil;
import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil; import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DelegaLocalServiceUtil; import it.tref.liferay.portos.bo.service.DelegaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DelegaServiceUtil; import it.tref.liferay.portos.bo.service.DelegaServiceUtil;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
@ -37,6 +39,7 @@ import it.tref.liferay.portos.bo.shared.util.FirmeUtil;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil; import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil; import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
import it.tref.liferay.portos.bo.util.AsseverazioniUtil; import it.tref.liferay.portos.bo.util.AsseverazioniUtil;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil; import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.DelegheUtil; import it.tref.liferay.portos.bo.util.DelegheUtil;
import it.tref.liferay.portos.bo.util.MailUtil; import it.tref.liferay.portos.bo.util.MailUtil;
@ -582,10 +585,8 @@ public class FascicoloFePortlet extends MVCPortlet {
dettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId); dettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId);
} }
try { try {
FineLavori fineLavori = FineLavoriServiceUtil.addFineLavori(intPraticaId, serviceContext); FineLavori fineLavori = FineLavoriServiceUtil
fineLavori.setNormEsenteCollaudo(dettPratica.getCollaudoStatico()); .addFineLavori(intPraticaId, true, dettPratica.getCollaudoStatico(), serviceContext);
fineLavori.setRichiestaAttestazione(true);
fineLavori = FineLavoriServiceUtil.updateFineLavori(fineLavori);
successURL = HttpUtil.addParameter(successURL, response.getNamespace() + "fineLavoriId", successURL = HttpUtil.addParameter(successURL, response.getNamespace() + "fineLavoriId",
String.valueOf(fineLavori.getFineLavoriId())); String.valueOf(fineLavori.getFineLavoriId()));
/* /*
@ -732,12 +733,13 @@ public class FascicoloFePortlet extends MVCPortlet {
DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(dettPraticaId); DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(dettPraticaId);
long intPraticaId = dettPratica.getIntPraticaId(); long intPraticaId = dettPratica.getIntPraticaId();
if (Validator.isNull(dettPratica.getDataInizioLavoriOpera()) && Validator.isNotNull(dataInizioLavoriOpera)) { if (Validator.isNull(dettPratica.getDataInizioLavoriOpera()) && Validator.isNotNull(dataInizioLavoriOpera)) {
dettPratica.setDataInizioLavoriOpera(dataInizioLavoriOpera); ServiceContext serviceContext = ServiceContextFactory.getInstance(request);
DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); // dettPratica.setDataInizioLavoriOpera(dataInizioLavoriOpera);
// DettPraticaLocalServiceUtil.updateDettPratica(dettPratica);
DettPraticaLocalServiceUtil.setDataInizioLavori(dettPratica, dataInizioLavoriOpera, serviceContext);
List<Soggetto> collaudatori = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto_Rimosso( List<Soggetto> collaudatori = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto_Rimosso(
intPraticaId, TipoSoggettoUtil.COLLAUDATORE, false); intPraticaId, TipoSoggettoUtil.COLLAUDATORE, false);
if (collaudatori.size() > 0) { if (collaudatori.size() > 0) {
ServiceContext serviceContext = ServiceContextFactory.getInstance(request);
Set<String> sTo = new HashSet<>(); Set<String> sTo = new HashSet<>();
for (Soggetto collaudatore : collaudatori) { for (Soggetto collaudatore : collaudatori) {
sTo.add(collaudatore.getEmail()); sTo.add(collaudatore.getEmail());

Caricamento…
Annulla
Salva