diff --git a/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar b/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar
index 604f6c56..17a80458 100644
Binary files a/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar and b/liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar differ
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index e93d97f4..00000000
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -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
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component
deleted file mode 100644
index 4ef5d41c..00000000
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
- uses
-
-
- uses
-
-
-
-
-
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
index 63d648af..2d4f2679 100644
Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar differ
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
index 604f6c56..c24f328a 100644
Binary files a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar differ
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
index 15447af1..06506dd0 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
@@ -465,6 +465,8 @@
+
+
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java
index 3d7cb8d0..9c368e95 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java
+++ b/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
attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera());
attributes.put("metratura", getMetratura());
attributes.put("lavoriPubblici", getLavoriPubblici());
+ attributes.put("dataInserimentoInizioLavoriOpera",
+ getDataInserimentoInizioLavoriOpera());
attributes.put("pagamentoIdOneri", getPagamentoIdOneri());
attributes.put("pagamentoIdBolli", getPagamentoIdBolli());
attributes.put("lavoriPubbliciPercentuale",
@@ -803,6 +805,13 @@ public class DettPraticaClp extends BaseModelImpl
setLavoriPubblici(lavoriPubblici);
}
+ Date dataInserimentoInizioLavoriOpera = (Date)attributes.get(
+ "dataInserimentoInizioLavoriOpera");
+
+ if (dataInserimentoInizioLavoriOpera != null) {
+ setDataInserimentoInizioLavoriOpera(dataInserimentoInizioLavoriOpera);
+ }
+
Long pagamentoIdOneri = (Long)attributes.get("pagamentoIdOneri");
if (pagamentoIdOneri != null) {
@@ -3597,6 +3606,32 @@ public class DettPraticaClp extends BaseModelImpl
}
}
+ @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
public long getPagamentoIdOneri() {
return _pagamentoIdOneri;
@@ -8652,6 +8687,7 @@ public class DettPraticaClp extends BaseModelImpl
clone.setDataFineEsecuzioneOpera(getDataFineEsecuzioneOpera());
clone.setMetratura(getMetratura());
clone.setLavoriPubblici(getLavoriPubblici());
+ clone.setDataInserimentoInizioLavoriOpera(getDataInserimentoInizioLavoriOpera());
clone.setPagamentoIdOneri(getPagamentoIdOneri());
clone.setPagamentoIdBolli(getPagamentoIdBolli());
clone.setLavoriPubbliciPercentuale(getLavoriPubbliciPercentuale());
@@ -8875,7 +8911,7 @@ public class DettPraticaClp extends BaseModelImpl
@Override
public String toString() {
- StringBundler sb = new StringBundler(477);
+ StringBundler sb = new StringBundler(479);
sb.append("{uuid=");
sb.append(getUuid());
@@ -9011,6 +9047,8 @@ public class DettPraticaClp extends BaseModelImpl
sb.append(getMetratura());
sb.append(", lavoriPubblici=");
sb.append(getLavoriPubblici());
+ sb.append(", dataInserimentoInizioLavoriOpera=");
+ sb.append(getDataInserimentoInizioLavoriOpera());
sb.append(", pagamentoIdOneri=");
sb.append(getPagamentoIdOneri());
sb.append(", pagamentoIdBolli=");
@@ -9360,7 +9398,7 @@ public class DettPraticaClp extends BaseModelImpl
@Override
public String toXmlString() {
- StringBundler sb = new StringBundler(718);
+ StringBundler sb = new StringBundler(721);
sb.append("");
sb.append("it.tref.liferay.portos.bo.model.DettPratica");
@@ -9634,6 +9672,10 @@ public class DettPraticaClp extends BaseModelImpl
"lavoriPubblici");
+ sb.append(
+ "dataInserimentoInizioLavoriOpera");
sb.append(
"pagamentoIdOneri
private Date _dataFineEsecuzioneOpera;
private String _metratura;
private boolean _lavoriPubblici;
+ private Date _dataInserimentoInizioLavoriOpera;
private long _pagamentoIdOneri;
private long _pagamentoIdBolli;
private int _lavoriPubbliciPercentuale;
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java
index a4b09b7b..06df9c8b 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java
+++ b/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,
*/
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.
*
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java
index 0fa2de2d..052098fe 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java
+++ b/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.setMetratura(model.getMetratura());
soapModel.setLavoriPubblici(model.getLavoriPubblici());
+ soapModel.setDataInserimentoInizioLavoriOpera(model.getDataInserimentoInizioLavoriOpera());
soapModel.setPagamentoIdOneri(model.getPagamentoIdOneri());
soapModel.setPagamentoIdBolli(model.getPagamentoIdBolli());
soapModel.setLavoriPubbliciPercentuale(model.getLavoriPubbliciPercentuale());
@@ -908,6 +909,15 @@ public class DettPraticaSoap implements Serializable {
_lavoriPubblici = lavoriPubblici;
}
+ public Date getDataInserimentoInizioLavoriOpera() {
+ return _dataInserimentoInizioLavoriOpera;
+ }
+
+ public void setDataInserimentoInizioLavoriOpera(
+ Date dataInserimentoInizioLavoriOpera) {
+ _dataInserimentoInizioLavoriOpera = dataInserimentoInizioLavoriOpera;
+ }
+
public long getPagamentoIdOneri() {
return _pagamentoIdOneri;
}
@@ -2778,6 +2788,7 @@ public class DettPraticaSoap implements Serializable {
private Date _dataFineEsecuzioneOpera;
private String _metratura;
private boolean _lavoriPubblici;
+ private Date _dataInserimentoInizioLavoriOpera;
private long _pagamentoIdOneri;
private long _pagamentoIdBolli;
private int _lavoriPubbliciPercentuale;
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java
index 58aef916..9e937db7 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java
+++ b/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("metratura", getMetratura());
attributes.put("lavoriPubblici", getLavoriPubblici());
+ attributes.put("dataInserimentoInizioLavoriOpera",
+ getDataInserimentoInizioLavoriOpera());
attributes.put("pagamentoIdOneri", getPagamentoIdOneri());
attributes.put("pagamentoIdBolli", getPagamentoIdBolli());
attributes.put("lavoriPubbliciPercentuale",
@@ -777,6 +779,13 @@ public class DettPraticaWrapper implements DettPratica,
setLavoriPubblici(lavoriPubblici);
}
+ Date dataInserimentoInizioLavoriOpera = (Date)attributes.get(
+ "dataInserimentoInizioLavoriOpera");
+
+ if (dataInserimentoInizioLavoriOpera != null) {
+ setDataInserimentoInizioLavoriOpera(dataInserimentoInizioLavoriOpera);
+ }
+
Long pagamentoIdOneri = (Long)attributes.get("pagamentoIdOneri");
if (pagamentoIdOneri != null) {
@@ -3418,6 +3427,27 @@ public class DettPraticaWrapper implements DettPratica,
_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.
*
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java
index cd2dec31..cfe69351 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java
+++ b/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(
long intPraticaId)
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;
}
\ No newline at end of file
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java
index 2f0c805e..844d5078 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java
+++ b/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";
_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
@@ -4412,6 +4419,49 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
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 String _methodName0;
private String[] _methodParameterTypes0;
@@ -4579,4 +4629,6 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
private String[] _methodParameterTypes82;
private String _methodName83;
private String[] _methodParameterTypes83;
+ private String _methodName84;
+ private String[] _methodParameterTypes84;
}
\ No newline at end of file
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java
index dcf5ea39..4ae266c5 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java
+++ b/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);
}
+ 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() {
_service = null;
}
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java
index 5485084d..12f9d67a 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java
+++ b/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);
}
+ @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}
*/
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java
index 4dce10a0..162448f7 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java
@@ -319,6 +319,14 @@ public interface FineLavoriLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.PortalException,
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)
public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori(
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java
index 3d9dee36..90403ef8 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java
@@ -137,166 +137,173 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
"long", "com.liferay.portal.service.ServiceContext"
};
- _methodName24 = "updateFineLavori";
+ _methodName24 = "addFineLavori";
_methodParameterTypes24 = new String[] {
+ "long", "boolean", "boolean",
+ "com.liferay.portal.service.ServiceContext"
+ };
+
+ _methodName25 = "updateFineLavori";
+
+ _methodParameterTypes25 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "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",
"java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
- _methodName28 = "updateEsitoPagamento";
+ _methodName29 = "updateEsitoPagamento";
- _methodParameterTypes28 = new String[] {
+ _methodParameterTypes29 = new String[] {
"long", "long", "java.lang.String"
};
- _methodName29 = "updateEsitoPagamento";
+ _methodName30 = "updateEsitoPagamento";
- _methodParameterTypes29 = new String[] {
+ _methodParameterTypes30 = new 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"
};
- _methodName33 = "fetchByProtocollo";
+ _methodName34 = "fetchByProtocollo";
- _methodParameterTypes33 = new String[] {
+ _methodParameterTypes34 = new 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",
"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",
"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",
"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",
"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",
"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",
"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",
"com.liferay.portal.kernel.util.OrderByComparator"
};
- _methodName48 = "countByIntPraticaId_Parziale_leFineLavoriId";
-
- _methodParameterTypes48 = new String[] { "long", "long", "boolean" };
-
- _methodName49 = "findFineLavoriCompleteNotProtocollo";
+ _methodName49 = "countByIntPraticaId_Parziale_leFineLavoriId";
- _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[] { };
_methodName54 = "findIntPraticaByFineLavori";
- _methodParameterTypes54 = new String[] { "java.lang.String" };
+ _methodParameterTypes54 = new String[] { };
+
+ _methodName55 = "findIntPraticaByFineLavori";
+
+ _methodParameterTypes55 = new String[] { "java.lang.String" };
}
@Override
@@ -1024,6 +1031,51 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
return (it.tref.liferay.portos.bo.model.FineLavori)ClpSerializer.translateOutput(returnObj);
}
+ @Override
+ public it.tref.liferay.portos.bo.model.FineLavori 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
public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori(
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
@@ -1037,8 +1089,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName24,
- _methodParameterTypes24,
+ returnObj = _invokableLocalService.invokeMethod(_methodName25,
+ _methodParameterTypes25,
new Object[] {
userId,
@@ -1095,8 +1147,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName25,
- _methodParameterTypes25, new Object[] { intPraticaId });
+ returnObj = _invokableLocalService.invokeMethod(_methodName26,
+ _methodParameterTypes26, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -1124,8 +1176,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName26,
- _methodParameterTypes26, new Object[] { intPraticaId });
+ returnObj = _invokableLocalService.invokeMethod(_methodName27,
+ _methodParameterTypes27, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -1157,8 +1209,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName27,
- _methodParameterTypes27,
+ returnObj = _invokableLocalService.invokeMethod(_methodName28,
+ _methodParameterTypes28,
new Object[] {
fineLavoriId,
@@ -1202,8 +1254,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
- _invokableLocalService.invokeMethod(_methodName28,
- _methodParameterTypes28,
+ _invokableLocalService.invokeMethod(_methodName29,
+ _methodParameterTypes29,
new Object[] {
pagamentoId,
@@ -1239,8 +1291,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
- _invokableLocalService.invokeMethod(_methodName29,
- _methodParameterTypes29,
+ _invokableLocalService.invokeMethod(_methodName30,
+ _methodParameterTypes30,
new Object[] {
pagamentoId,
@@ -1280,8 +1332,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName30,
- _methodParameterTypes30,
+ returnObj = _invokableLocalService.invokeMethod(_methodName31,
+ _methodParameterTypes31,
new Object[] { fineLavoriId, stato });
}
catch (Throwable t) {
@@ -1315,8 +1367,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName31,
- _methodParameterTypes31,
+ returnObj = _invokableLocalService.invokeMethod(_methodName32,
+ _methodParameterTypes32,
new Object[] {
fineLavoriId,
@@ -1354,8 +1406,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName32,
- _methodParameterTypes32,
+ returnObj = _invokableLocalService.invokeMethod(_methodName33,
+ _methodParameterTypes33,
new Object[] {
companyId,
@@ -1395,8 +1447,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName33,
- _methodParameterTypes33,
+ returnObj = _invokableLocalService.invokeMethod(_methodName34,
+ _methodParameterTypes34,
new Object[] {
companyId,
@@ -1436,8 +1488,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName34,
- _methodParameterTypes34,
+ returnObj = _invokableLocalService.invokeMethod(_methodName35,
+ _methodParameterTypes35,
new Object[] { ClpSerializer.translateInput(protocollo) });
}
catch (Throwable t) {
@@ -1471,8 +1523,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName35,
- _methodParameterTypes35,
+ returnObj = _invokableLocalService.invokeMethod(_methodName36,
+ _methodParameterTypes36,
new Object[] {
intPraticaId,
@@ -1508,8 +1560,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName36,
- _methodParameterTypes36, new Object[] { intPraticaId });
+ returnObj = _invokableLocalService.invokeMethod(_methodName37,
+ _methodParameterTypes37, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -1538,8 +1590,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName37,
- _methodParameterTypes37,
+ returnObj = _invokableLocalService.invokeMethod(_methodName38,
+ _methodParameterTypes38,
new Object[] {
intPraticaId,
@@ -1577,8 +1629,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName38,
- _methodParameterTypes38,
+ returnObj = _invokableLocalService.invokeMethod(_methodName39,
+ _methodParameterTypes39,
new Object[] { intPraticaId, parziale });
}
catch (Throwable t) {
@@ -1608,8 +1660,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName39,
- _methodParameterTypes39,
+ returnObj = _invokableLocalService.invokeMethod(_methodName40,
+ _methodParameterTypes40,
new Object[] {
intPraticaId,
@@ -1648,8 +1700,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName40,
- _methodParameterTypes40,
+ returnObj = _invokableLocalService.invokeMethod(_methodName41,
+ _methodParameterTypes41,
new Object[] { intPraticaId, completata });
}
catch (Throwable t) {
@@ -1680,8 +1732,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName41,
- _methodParameterTypes41,
+ returnObj = _invokableLocalService.invokeMethod(_methodName42,
+ _methodParameterTypes42,
new Object[] {
intPraticaId,
@@ -1720,8 +1772,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName42,
- _methodParameterTypes42,
+ returnObj = _invokableLocalService.invokeMethod(_methodName43,
+ _methodParameterTypes43,
new Object[] {
intPraticaId,
@@ -1756,8 +1808,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName43,
- _methodParameterTypes43,
+ returnObj = _invokableLocalService.invokeMethod(_methodName44,
+ _methodParameterTypes44,
new Object[] {
ClpSerializer.translateInput(codiceFiscaleDelegato),
@@ -1796,8 +1848,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName44,
- _methodParameterTypes44,
+ returnObj = _invokableLocalService.invokeMethod(_methodName45,
+ _methodParameterTypes45,
new Object[] {
ClpSerializer.translateInput(codiceFiscaleDelegato),
@@ -1832,8 +1884,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName45,
- _methodParameterTypes45,
+ returnObj = _invokableLocalService.invokeMethod(_methodName46,
+ _methodParameterTypes46,
new Object[] {
intPraticaId,
@@ -1874,8 +1926,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName46,
- _methodParameterTypes46,
+ returnObj = _invokableLocalService.invokeMethod(_methodName47,
+ _methodParameterTypes47,
new Object[] { intPraticaId, parziale, completata });
}
catch (Throwable t) {
@@ -1906,8 +1958,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName47,
- _methodParameterTypes47,
+ returnObj = _invokableLocalService.invokeMethod(_methodName48,
+ _methodParameterTypes48,
new Object[] {
fineLavoriId,
@@ -1948,8 +2000,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName48,
- _methodParameterTypes48,
+ returnObj = _invokableLocalService.invokeMethod(_methodName49,
+ _methodParameterTypes49,
new Object[] { fineLavoriId, intPraticaId, parziale });
}
catch (Throwable t) {
@@ -1978,8 +2030,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName49,
- _methodParameterTypes49, new Object[] { start, end });
+ returnObj = _invokableLocalService.invokeMethod(_methodName50,
+ _methodParameterTypes50, new Object[] { start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -2006,8 +2058,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName50,
- _methodParameterTypes50, new Object[] { });
+ returnObj = _invokableLocalService.invokeMethod(_methodName51,
+ _methodParameterTypes51, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -2035,8 +2087,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName51,
- _methodParameterTypes51, new Object[] { start, end });
+ returnObj = _invokableLocalService.invokeMethod(_methodName52,
+ _methodParameterTypes52, new Object[] { start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -2063,8 +2115,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName52,
- _methodParameterTypes52, new Object[] { });
+ returnObj = _invokableLocalService.invokeMethod(_methodName53,
+ _methodParameterTypes53, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -2092,8 +2144,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName53,
- _methodParameterTypes53, new Object[] { });
+ returnObj = _invokableLocalService.invokeMethod(_methodName54,
+ _methodParameterTypes54, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -2126,8 +2178,8 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
Object returnObj = null;
try {
- returnObj = _invokableLocalService.invokeMethod(_methodName54,
- _methodParameterTypes54,
+ returnObj = _invokableLocalService.invokeMethod(_methodName55,
+ _methodParameterTypes55,
new Object[] {
ClpSerializer.translateInput(
codiceFiscaleDelegatoCollaudo)
@@ -2265,4 +2317,6 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService {
private String[] _methodParameterTypes53;
private String _methodName54;
private String[] _methodParameterTypes54;
+ private String _methodName55;
+ private String[] _methodParameterTypes55;
}
\ No newline at end of file
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java
index 61bc6330..8e40e2ee 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java
@@ -345,6 +345,17 @@ public class FineLavoriLocalServiceUtil {
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(
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
boolean completata, java.util.Date dataFineLavori,
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java
index c7a6a24c..84d04eb7 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java
@@ -367,6 +367,17 @@ public class FineLavoriLocalServiceWrapper implements FineLavoriLocalService,
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
public it.tref.liferay.portos.bo.model.FineLavori updateFineLavori(
long userId, long fineLavoriId, long intPraticaId, boolean parziale,
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java
index f6c24139..e69223ad 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriService.java
@@ -77,6 +77,13 @@ public interface FineLavoriService extends BaseService, InvokableService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
+ public it.tref.liferay.portos.bo.model.FineLavori 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(
it.tref.liferay.portos.bo.model.FineLavori fineLavori)
throws com.liferay.portal.kernel.exception.PortalException,
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java
index beffc256..5abb1ab1 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceClp.java
@@ -42,82 +42,89 @@ public class FineLavoriServiceClp implements FineLavoriService {
"long", "com.liferay.portal.service.ServiceContext"
};
- _methodName5 = "deleteFineLavori";
+ _methodName5 = "addFineLavori";
_methodParameterTypes5 = new String[] {
- "it.tref.liferay.portos.bo.model.FineLavori"
+ "long", "boolean", "boolean",
+ "com.liferay.portal.service.ServiceContext"
};
_methodName6 = "deleteFineLavori";
- _methodParameterTypes6 = new String[] { "long" };
-
- _methodName7 = "updateFineLavori";
-
- _methodParameterTypes7 = new String[] {
+ _methodParameterTypes6 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori"
};
+ _methodName7 = "deleteFineLavori";
+
+ _methodParameterTypes7 = new String[] { "long" };
+
_methodName8 = "updateFineLavori";
_methodParameterTypes8 = new String[] {
+ "it.tref.liferay.portos.bo.model.FineLavori"
+ };
+
+ _methodName9 = "updateFineLavori";
+
+ _methodParameterTypes9 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "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",
"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",
"java.lang.String", "java.lang.String",
"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",
"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",
"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
@@ -245,8 +252,10 @@ public class FineLavoriServiceClp implements FineLavoriService {
}
@Override
- public it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori(
- it.tref.liferay.portos.bo.model.FineLavori fineLavori)
+ 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;
@@ -254,6 +263,49 @@ public class FineLavoriServiceClp implements FineLavoriService {
try {
returnObj = _invokableService.invokeMethod(_methodName5,
_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) });
}
catch (Throwable t) {
@@ -287,8 +339,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName6,
- _methodParameterTypes6, new Object[] { fineLavoriId });
+ returnObj = _invokableService.invokeMethod(_methodName7,
+ _methodParameterTypes7, new Object[] { fineLavoriId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -320,8 +372,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName7,
- _methodParameterTypes7,
+ returnObj = _invokableService.invokeMethod(_methodName8,
+ _methodParameterTypes8,
new Object[] { ClpSerializer.translateInput(fineLavori) });
}
catch (Throwable t) {
@@ -356,8 +408,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName8,
- _methodParameterTypes8,
+ returnObj = _invokableService.invokeMethod(_methodName9,
+ _methodParameterTypes9,
new Object[] {
userId,
@@ -414,8 +466,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName9,
- _methodParameterTypes9, new Object[] { intPraticaId });
+ returnObj = _invokableService.invokeMethod(_methodName10,
+ _methodParameterTypes10, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -443,8 +495,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName10,
- _methodParameterTypes10, new Object[] { intPraticaId });
+ returnObj = _invokableService.invokeMethod(_methodName11,
+ _methodParameterTypes11, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@@ -473,8 +525,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName11,
- _methodParameterTypes11,
+ returnObj = _invokableService.invokeMethod(_methodName12,
+ _methodParameterTypes12,
new Object[] {
intPraticaId,
@@ -512,8 +564,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName12,
- _methodParameterTypes12,
+ returnObj = _invokableService.invokeMethod(_methodName13,
+ _methodParameterTypes13,
new Object[] { intPraticaId, parziale });
}
catch (Throwable t) {
@@ -546,8 +598,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName13,
- _methodParameterTypes13,
+ returnObj = _invokableService.invokeMethod(_methodName14,
+ _methodParameterTypes14,
new Object[] {
fineLavoriId,
@@ -593,8 +645,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName14,
- _methodParameterTypes14,
+ returnObj = _invokableService.invokeMethod(_methodName15,
+ _methodParameterTypes15,
new Object[] { fineLavoriId, stato });
}
catch (Throwable t) {
@@ -629,8 +681,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName15,
- _methodParameterTypes15,
+ returnObj = _invokableService.invokeMethod(_methodName16,
+ _methodParameterTypes16,
new Object[] {
intPraticaId,
@@ -669,8 +721,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName16,
- _methodParameterTypes16,
+ returnObj = _invokableService.invokeMethod(_methodName17,
+ _methodParameterTypes17,
new Object[] {
intPraticaId,
@@ -705,8 +757,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName17,
- _methodParameterTypes17,
+ returnObj = _invokableService.invokeMethod(_methodName18,
+ _methodParameterTypes18,
new Object[] {
ClpSerializer.translateInput(codiceFiscaleDelegato),
@@ -745,8 +797,8 @@ public class FineLavoriServiceClp implements FineLavoriService {
Object returnObj = null;
try {
- returnObj = _invokableService.invokeMethod(_methodName18,
- _methodParameterTypes18,
+ returnObj = _invokableService.invokeMethod(_methodName19,
+ _methodParameterTypes19,
new Object[] {
ClpSerializer.translateInput(codiceFiscaleDelegato),
@@ -809,4 +861,6 @@ public class FineLavoriServiceClp implements FineLavoriService {
private String[] _methodParameterTypes17;
private String _methodName18;
private String[] _methodParameterTypes18;
+ private String _methodName19;
+ private String[] _methodParameterTypes19;
}
\ No newline at end of file
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceUtil.java
index be2b22e8..dfe2392d 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceUtil.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceUtil.java
@@ -78,6 +78,17 @@ public class FineLavoriServiceUtil {
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(
it.tref.liferay.portos.bo.model.FineLavori fineLavori)
throws com.liferay.portal.kernel.exception.PortalException,
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java
index ad906439..9dc1dd29 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriServiceWrapper.java
@@ -73,6 +73,17 @@ public class FineLavoriServiceWrapper implements FineLavoriService,
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
public it.tref.liferay.portos.bo.model.FineLavori deleteFineLavori(
it.tref.liferay.portos.bo.model.FineLavori fineLavori)
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AvvisoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AvvisoUtil.java
index 9d9f6cdf..9e45a856 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AvvisoUtil.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AvvisoUtil.java
@@ -25,6 +25,9 @@ public class AvvisoUtil {
public final static String TIPO_AVVISO_DIRETTO = "D";
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")
private final static Map allTipoAvviso = new LinkedHashMap(2) {
@@ -111,6 +114,9 @@ public class AvvisoUtil {
put("DPC", "conf.geniocivile.avviso.template.id.deposito.C");
put("DPPS", "conf.geniocivile.avviso.template.id.deposito.PS");
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");
}
};
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql
index dc992a69..e50a649b 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql
+++ b/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,
metratura VARCHAR(75) null,
lavoriPubblici BOOLEAN,
+ dataInserimentoInizioLavoriOpera DATE null,
pagamentoIdOneri LONG,
pagamentoIdBolli LONG,
lavoriPubbliciPercentuale INTEGER,
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
index 0b01cf48..40fd5e6f 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
@@ -309,6 +309,7 @@
+
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
index c5e369b2..8b8d6a58 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
@@ -312,6 +312,7 @@
+
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
index 9127926e..c604e9ba 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
@@ -420,6 +420,9 @@
+
+ TIMESTAMP
+
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java
index 462ba0c9..7cbb4ac3 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java
+++ b/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,
Externalizable {
@Override
public String toString() {
- StringBundler sb = new StringBundler(477);
+ StringBundler sb = new StringBundler(479);
sb.append("{uuid=");
sb.append(uuid);
@@ -174,6 +174,8 @@ public class DettPraticaCacheModel implements CacheModel,
sb.append(metratura);
sb.append(", lavoriPubblici=");
sb.append(lavoriPubblici);
+ sb.append(", dataInserimentoInizioLavoriOpera=");
+ sb.append(dataInserimentoInizioLavoriOpera);
sb.append(", pagamentoIdOneri=");
sb.append(pagamentoIdOneri);
sb.append(", pagamentoIdBolli=");
@@ -866,6 +868,15 @@ public class DettPraticaCacheModel implements CacheModel,
}
dettPraticaImpl.setLavoriPubblici(lavoriPubblici);
+
+ if (dataInserimentoInizioLavoriOpera == Long.MIN_VALUE) {
+ dettPraticaImpl.setDataInserimentoInizioLavoriOpera(null);
+ }
+ else {
+ dettPraticaImpl.setDataInserimentoInizioLavoriOpera(new Date(
+ dataInserimentoInizioLavoriOpera));
+ }
+
dettPraticaImpl.setPagamentoIdOneri(pagamentoIdOneri);
dettPraticaImpl.setPagamentoIdBolli(pagamentoIdBolli);
dettPraticaImpl.setLavoriPubbliciPercentuale(lavoriPubbliciPercentuale);
@@ -1514,6 +1525,7 @@ public class DettPraticaCacheModel implements CacheModel,
dataFineEsecuzioneOpera = objectInput.readLong();
metratura = objectInput.readUTF();
lavoriPubblici = objectInput.readBoolean();
+ dataInserimentoInizioLavoriOpera = objectInput.readLong();
pagamentoIdOneri = objectInput.readLong();
pagamentoIdBolli = objectInput.readLong();
lavoriPubbliciPercentuale = objectInput.readInt();
@@ -1975,6 +1987,7 @@ public class DettPraticaCacheModel implements CacheModel,
}
objectOutput.writeBoolean(lavoriPubblici);
+ objectOutput.writeLong(dataInserimentoInizioLavoriOpera);
objectOutput.writeLong(pagamentoIdOneri);
objectOutput.writeLong(pagamentoIdBolli);
objectOutput.writeInt(lavoriPubbliciPercentuale);
@@ -2611,6 +2624,7 @@ public class DettPraticaCacheModel implements CacheModel,
public long dataFineEsecuzioneOpera;
public String metratura;
public boolean lavoriPubblici;
+ public long dataInserimentoInizioLavoriOpera;
public long pagamentoIdOneri;
public long pagamentoIdBolli;
public int lavoriPubbliciPercentuale;
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java
index dbe03c1f..18647ecc 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java
@@ -135,6 +135,7 @@ public class DettPraticaModelImpl extends BaseModelImpl
{ "dataFineEsecuzioneOpera", Types.TIMESTAMP },
{ "metratura", Types.VARCHAR },
{ "lavoriPubblici", Types.BOOLEAN },
+ { "dataInserimentoInizioLavoriOpera", Types.TIMESTAMP },
{ "pagamentoIdOneri", Types.BIGINT },
{ "pagamentoIdBolli", Types.BIGINT },
{ "lavoriPubbliciPercentuale", Types.INTEGER },
@@ -307,7 +308,7 @@ public class DettPraticaModelImpl extends BaseModelImpl
{ "intervFinPubDesc", Types.VARCHAR },
{ "suap", Types.BOOLEAN }
};
- public static final String TABLE_SQL_CREATE = "create table portos_bo_DettPratica (uuid_ VARCHAR(75) null,dettPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,integrazione LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,tipoIntegrazione VARCHAR(10) null,completa BOOLEAN,gestita BOOLEAN,importoSpeseIstruttoria VARCHAR(75) null,codicePagamentoOneri VARCHAR(75) null,causalePagamentoOneri VARCHAR(75) null,mezzoPagamentoOneri VARCHAR(75) null,importoBolli VARCHAR(75) null,codicePagamentoBolli VARCHAR(75) null,causalePagamentoBolli VARCHAR(75) null,mezzoPagamentoBolli VARCHAR(75) null,dataEffettuazione DATE null,version INTEGER,versionata BOOLEAN,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null,statusTask INTEGER,workflowForzato BOOLEAN,soggettoSostituitoId LONG,dtInvioSignal DATE null,destinazione VARCHAR(10) null,ag VARCHAR(10) null,descLongIntervento STRING null,via VARCHAR(75) null,localita VARCHAR(75) null,estremiCatastali STRING null,estremiPratCom STRING null,contestoPaesaggistico STRING null,livelloDiTutela STRING null,vincoli STRING null,variataDa LONG,varianteNumero LONG,varianteSostanziale BOOLEAN,operaConforme BOOLEAN,collaudoStatico BOOLEAN,codiceFiscaleDelegato VARCHAR(16) null,codiceRuoloDelegato VARCHAR(75) null,codiceFiscaleDelegatoCommittente VARCHAR(75) null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,codiceFiscalePrincipaleCommittente VARCHAR(75) null,codiceFiscalePrincipaleCollaudatore VARCHAR(75) null,codiceFiscalePrincipaleProgettista VARCHAR(75) null,codiceFiscalePrincipaleDirettoreLavori VARCHAR(75) null,codiceFiscalePrincipaleDitta VARCHAR(75) null,codiceFiscalePrincipaleGeologo VARCHAR(75) null,lavoriInEconomiaCommittente BOOLEAN,inizioLavoriContestualeOpera BOOLEAN,dataInizioLavoriOpera DATE null,dataInizioEsecuzioneOpera DATE null,dataFineEsecuzioneOpera DATE null,metratura VARCHAR(75) null,lavoriPubblici BOOLEAN,pagamentoIdOneri LONG,pagamentoIdBolli LONG,lavoriPubbliciPercentuale INTEGER,numeroCivico VARCHAR(75) null,dcParticelle VARCHAR(75) null,dcFoglio VARCHAR(75) null,dcAllegato VARCHAR(75) null,dePiani VARCHAR(75) null,deAltezza VARCHAR(75) null,deInterrati VARCHAR(75) null,deSuperficie VARCHAR(75) null,deCostruzione VARCHAR(75) null,deRistrutturazione VARCHAR(75) null,deUso VARCHAR(75) null,dePubblica VARCHAR(75) null,dePrivata VARCHAR(75) null,deUtilizzazione VARCHAR(75) null,dePosizioneEdificio VARCHAR(75) null,deInfStradalePonte BOOLEAN,deInfStradaleStrada BOOLEAN,deInfStradaleAltro BOOLEAN,deInfIdraulicaLong BOOLEAN,deInfIdraulicaTrasv BOOLEAN,deInfIdraulicaAltro BOOLEAN,deInfOperaAccStradale BOOLEAN,deInfOperaAccIdraulica BOOLEAN,deInfOperaAccAltro BOOLEAN,deInfAltraInfrastruttura BOOLEAN,deInfAltro BOOLEAN,deInfAltroDesc STRING null,dccFondazioni VARCHAR(75) null,dccStruttureEleMuraturePietrame BOOLEAN,dccStruttureEleMuratureLaterizio BOOLEAN,dccStruttureEleMuratureMisto BOOLEAN,dccStruttureEleMuratureStoriche BOOLEAN,dccStruttureEleAcciaio VARCHAR(75) null,dccStruttureEleCA VARCHAR(75) null,dccStruttureEleLegno VARCHAR(75) null,dccStruttureEleMistoCA BOOLEAN,dccStruttureEleMistoAcciaio BOOLEAN,dccStruttureEleMistoMuratura BOOLEAN,dccStruttureEleMistoLegno BOOLEAN,dccStruttureElePrefabbricato BOOLEAN,dccStruttureEleAltro BOOLEAN,dccStruttureEleAltroDescrizione STRING null,dccOrizzontamentiCAAcciaio BOOLEAN,dccOrizzontamentiLegno BOOLEAN,dccOrizzontamentiLegnoCA BOOLEAN,dccOrizzontamentiLamieraGrecata BOOLEAN,dccOrizzontamentiVolte BOOLEAN,dccOrizzontamentiAltro BOOLEAN,dccOrizzontamentiAltroDescrizione STRING null,dccCopertura VARCHAR(75) null,dccCoperturaCAAcciaio BOOLEAN,dccCoperturaLegno BOOLEAN,dccCoperturaLegnoCA BOOLEAN,dccCoperturaLamieraGrecata BOOLEAN,dccCoperturaPannelli BOOLEAN,dccCoperturaPVCTelonati BOOLEAN,dccCoperturaLeggere BOOLEAN,dccCoperturaAltro BOOLEAN,dccCoperturaAltroDesrizione STRING null,dccElemNonStrutLaterizio BOOLEAN,dccElemNonStrutCartongesso BOOLEAN,dccElemNonStrutCalcestruzzo BOOLEAN,dccElemNonStrutLegno BOOLEAN,dccElemNonStrutAltro BOOLEAN,dccElemNonStrutAltroDescrizione STRING null,dccOpereDiRinforzoInsCatene BOOLEAN,dccOpereDiRinforzoInsCordoli BOOLEAN,dccOpereDiRinforzoIniArmate BOOLEAN,dccOpereDiRinforzoPlaccaggi BOOLEAN,dccOpereDiRinforzoIrrSolai BOOLEAN,dccOpereDiRinforzoRinforziFRP BOOLEAN,dccOpereDiRinforzoTelaiECerchiature BOOLEAN,dccOpereDiRinforzoInsRompitratta BOOLEAN,dccOpereDiRinforzoAltro BOOLEAN,dccOpereDiRinforzoAltroDescrizione STRING null,geoClasseIndagine VARCHAR(75) null,geoCategoriaSottosuolo VARCHAR(75) null,geoCategoriaTopografica VARCHAR(75) null,geoConsolidamento VARCHAR(75) null,geoPericolositaGeologica VARCHAR(75) null,geoPericolositaSismica VARCHAR(75) null,geoPericolositaIdraulica VARCHAR(75) null,geoPericolositaGeomorfica VARCHAR(75) null,geoRischioGeomorfologicoPai VARCHAR(75) null,geoPericolositaIdraulicaPai VARCHAR(75) null,geoRischioIdraulicoPai VARCHAR(75) null,geoFattibilitaGeologica VARCHAR(75) null,geoFattibilitaSismica VARCHAR(75) null,geoFattibilitaIdraulica VARCHAR(75) null,geoOperaRilevante VARCHAR(75) null,geoOpereDiSostegno VARCHAR(75) null,geoOpereInSotterranea VARCHAR(75) null,geoPresenzaPrescrizioni VARCHAR(75) null,geoNotePrescrizioni STRING null,geoNoteIndagini STRING null,geoEvidenzeGeomorfiche VARCHAR(75) null,geoEvidenzeGeologiche VARCHAR(75) null,geoDtRelazione DATE null,pagNuoveCostruzioni BOOLEAN,pagAdeguamentoSismico INTEGER,pagMiglioramentoSismico INTEGER,pagMiglioramentoSismicoSicilia BOOLEAN,pagRiparazioneInterventoLocale BOOLEAN,pagOperaNonQuantificabile BOOLEAN,pagNuovaCostruzione INTEGER,pagVarianti BOOLEAN,pagAltro INTEGER,pagCalcolatoAdeguamentoSismico VARCHAR(75) null,pagCalcolatoMiglioramentoSismico VARCHAR(75) null,pagCalcolatoRiparazioneInterventoLocale VARCHAR(75) null,pagCalcolatoOperaNonQuantificabile VARCHAR(75) null,pagEffettivoAdeguamentoSismico VARCHAR(75) null,pagEffettivoMiglioramentoSismico VARCHAR(75) null,pagEffettivoRiparazioneInterventoLocale VARCHAR(75) null,pagEffettivoOperaNonQuantificabile VARCHAR(75) null,pagNoteUtente TEXT null,note STRING null,noteUfficio STRING null,localizzazioneGeografica VARCHAR(75) null,tcNuovaCostruzione BOOLEAN,tcNuovaCostruzioneComplessa BOOLEAN,tcAdeguamentoSismico BOOLEAN,tcMiglioramentoSismico BOOLEAN,tcRiparazioneInterventoLocale BOOLEAN,tcInCA BOOLEAN,tcInOpera BOOLEAN,tcPrefabbricato BOOLEAN,tcInAcciaio BOOLEAN,tcMista BOOLEAN,tcInMuratura BOOLEAN,tcInMuraturaOrdinaria BOOLEAN,tcInMuraturaArmata BOOLEAN,tcInMuraturaMista BOOLEAN,tcInLegno BOOLEAN,tcAltro BOOLEAN,tcAltroDescrizione STRING null,tcConDispositivi BOOLEAN,normLavoriInProprio BOOLEAN,normEsenteBollo BOOLEAN,normEsenteSpese BOOLEAN,normDpr01Dep BOOLEAN,normDpr02Dep BOOLEAN,normDpr01Aut BOOLEAN,normDpr02Aut BOOLEAN,normDpr03 BOOLEAN,normDpr04 BOOLEAN,normDpr05 BOOLEAN,normDm01 BOOLEAN,normDm02 BOOLEAN,normDm03 BOOLEAN,normDm2018 BOOLEAN,normDm04 BOOLEAN,normDm05 BOOLEAN,normDprg01 BOOLEAN,normDprg02 BOOLEAN,normAnr BOOLEAN,normOrd01 BOOLEAN,normCI01 BOOLEAN,normLTC01 BOOLEAN,normArt3com3 BOOLEAN,normArt3com4 BOOLEAN,dpdc BOOLEAN,normSismaBonus BOOLEAN,clRischioPreInt VARCHAR(75) null,clRischioPostInt VARCHAR(75) null,intervFinPub BOOLEAN,intervFinPubDesc STRING null,suap BOOLEAN)";
+ public static final String TABLE_SQL_CREATE = "create table portos_bo_DettPratica (uuid_ VARCHAR(75) null,dettPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,integrazione LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,tipoIntegrazione VARCHAR(10) null,completa BOOLEAN,gestita BOOLEAN,importoSpeseIstruttoria VARCHAR(75) null,codicePagamentoOneri VARCHAR(75) null,causalePagamentoOneri VARCHAR(75) null,mezzoPagamentoOneri VARCHAR(75) null,importoBolli VARCHAR(75) null,codicePagamentoBolli VARCHAR(75) null,causalePagamentoBolli VARCHAR(75) null,mezzoPagamentoBolli VARCHAR(75) null,dataEffettuazione DATE null,version INTEGER,versionata BOOLEAN,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null,statusTask INTEGER,workflowForzato BOOLEAN,soggettoSostituitoId LONG,dtInvioSignal DATE null,destinazione VARCHAR(10) null,ag VARCHAR(10) null,descLongIntervento STRING null,via VARCHAR(75) null,localita VARCHAR(75) null,estremiCatastali STRING null,estremiPratCom STRING null,contestoPaesaggistico STRING null,livelloDiTutela STRING null,vincoli STRING null,variataDa LONG,varianteNumero LONG,varianteSostanziale BOOLEAN,operaConforme BOOLEAN,collaudoStatico BOOLEAN,codiceFiscaleDelegato VARCHAR(16) null,codiceRuoloDelegato VARCHAR(75) null,codiceFiscaleDelegatoCommittente VARCHAR(75) null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,codiceFiscalePrincipaleCommittente VARCHAR(75) null,codiceFiscalePrincipaleCollaudatore VARCHAR(75) null,codiceFiscalePrincipaleProgettista VARCHAR(75) null,codiceFiscalePrincipaleDirettoreLavori VARCHAR(75) null,codiceFiscalePrincipaleDitta VARCHAR(75) null,codiceFiscalePrincipaleGeologo VARCHAR(75) null,lavoriInEconomiaCommittente BOOLEAN,inizioLavoriContestualeOpera BOOLEAN,dataInizioLavoriOpera DATE null,dataInizioEsecuzioneOpera DATE null,dataFineEsecuzioneOpera DATE null,metratura VARCHAR(75) null,lavoriPubblici BOOLEAN,dataInserimentoInizioLavoriOpera DATE null,pagamentoIdOneri LONG,pagamentoIdBolli LONG,lavoriPubbliciPercentuale INTEGER,numeroCivico VARCHAR(75) null,dcParticelle VARCHAR(75) null,dcFoglio VARCHAR(75) null,dcAllegato VARCHAR(75) null,dePiani VARCHAR(75) null,deAltezza VARCHAR(75) null,deInterrati VARCHAR(75) null,deSuperficie VARCHAR(75) null,deCostruzione VARCHAR(75) null,deRistrutturazione VARCHAR(75) null,deUso VARCHAR(75) null,dePubblica VARCHAR(75) null,dePrivata VARCHAR(75) null,deUtilizzazione VARCHAR(75) null,dePosizioneEdificio VARCHAR(75) null,deInfStradalePonte BOOLEAN,deInfStradaleStrada BOOLEAN,deInfStradaleAltro BOOLEAN,deInfIdraulicaLong BOOLEAN,deInfIdraulicaTrasv BOOLEAN,deInfIdraulicaAltro BOOLEAN,deInfOperaAccStradale BOOLEAN,deInfOperaAccIdraulica BOOLEAN,deInfOperaAccAltro BOOLEAN,deInfAltraInfrastruttura BOOLEAN,deInfAltro BOOLEAN,deInfAltroDesc STRING null,dccFondazioni VARCHAR(75) null,dccStruttureEleMuraturePietrame BOOLEAN,dccStruttureEleMuratureLaterizio BOOLEAN,dccStruttureEleMuratureMisto BOOLEAN,dccStruttureEleMuratureStoriche BOOLEAN,dccStruttureEleAcciaio VARCHAR(75) null,dccStruttureEleCA VARCHAR(75) null,dccStruttureEleLegno VARCHAR(75) null,dccStruttureEleMistoCA BOOLEAN,dccStruttureEleMistoAcciaio BOOLEAN,dccStruttureEleMistoMuratura BOOLEAN,dccStruttureEleMistoLegno BOOLEAN,dccStruttureElePrefabbricato BOOLEAN,dccStruttureEleAltro BOOLEAN,dccStruttureEleAltroDescrizione STRING null,dccOrizzontamentiCAAcciaio BOOLEAN,dccOrizzontamentiLegno BOOLEAN,dccOrizzontamentiLegnoCA BOOLEAN,dccOrizzontamentiLamieraGrecata BOOLEAN,dccOrizzontamentiVolte BOOLEAN,dccOrizzontamentiAltro BOOLEAN,dccOrizzontamentiAltroDescrizione STRING null,dccCopertura VARCHAR(75) null,dccCoperturaCAAcciaio BOOLEAN,dccCoperturaLegno BOOLEAN,dccCoperturaLegnoCA BOOLEAN,dccCoperturaLamieraGrecata BOOLEAN,dccCoperturaPannelli BOOLEAN,dccCoperturaPVCTelonati BOOLEAN,dccCoperturaLeggere BOOLEAN,dccCoperturaAltro BOOLEAN,dccCoperturaAltroDesrizione STRING null,dccElemNonStrutLaterizio BOOLEAN,dccElemNonStrutCartongesso BOOLEAN,dccElemNonStrutCalcestruzzo BOOLEAN,dccElemNonStrutLegno BOOLEAN,dccElemNonStrutAltro BOOLEAN,dccElemNonStrutAltroDescrizione STRING null,dccOpereDiRinforzoInsCatene BOOLEAN,dccOpereDiRinforzoInsCordoli BOOLEAN,dccOpereDiRinforzoIniArmate BOOLEAN,dccOpereDiRinforzoPlaccaggi BOOLEAN,dccOpereDiRinforzoIrrSolai BOOLEAN,dccOpereDiRinforzoRinforziFRP BOOLEAN,dccOpereDiRinforzoTelaiECerchiature BOOLEAN,dccOpereDiRinforzoInsRompitratta BOOLEAN,dccOpereDiRinforzoAltro BOOLEAN,dccOpereDiRinforzoAltroDescrizione STRING null,geoClasseIndagine VARCHAR(75) null,geoCategoriaSottosuolo VARCHAR(75) null,geoCategoriaTopografica VARCHAR(75) null,geoConsolidamento VARCHAR(75) null,geoPericolositaGeologica VARCHAR(75) null,geoPericolositaSismica VARCHAR(75) null,geoPericolositaIdraulica VARCHAR(75) null,geoPericolositaGeomorfica VARCHAR(75) null,geoRischioGeomorfologicoPai VARCHAR(75) null,geoPericolositaIdraulicaPai VARCHAR(75) null,geoRischioIdraulicoPai VARCHAR(75) null,geoFattibilitaGeologica VARCHAR(75) null,geoFattibilitaSismica VARCHAR(75) null,geoFattibilitaIdraulica VARCHAR(75) null,geoOperaRilevante VARCHAR(75) null,geoOpereDiSostegno VARCHAR(75) null,geoOpereInSotterranea VARCHAR(75) null,geoPresenzaPrescrizioni VARCHAR(75) null,geoNotePrescrizioni STRING null,geoNoteIndagini STRING null,geoEvidenzeGeomorfiche VARCHAR(75) null,geoEvidenzeGeologiche VARCHAR(75) null,geoDtRelazione DATE null,pagNuoveCostruzioni BOOLEAN,pagAdeguamentoSismico INTEGER,pagMiglioramentoSismico INTEGER,pagMiglioramentoSismicoSicilia BOOLEAN,pagRiparazioneInterventoLocale BOOLEAN,pagOperaNonQuantificabile BOOLEAN,pagNuovaCostruzione INTEGER,pagVarianti BOOLEAN,pagAltro INTEGER,pagCalcolatoAdeguamentoSismico VARCHAR(75) null,pagCalcolatoMiglioramentoSismico VARCHAR(75) null,pagCalcolatoRiparazioneInterventoLocale VARCHAR(75) null,pagCalcolatoOperaNonQuantificabile VARCHAR(75) null,pagEffettivoAdeguamentoSismico VARCHAR(75) null,pagEffettivoMiglioramentoSismico VARCHAR(75) null,pagEffettivoRiparazioneInterventoLocale VARCHAR(75) null,pagEffettivoOperaNonQuantificabile VARCHAR(75) null,pagNoteUtente TEXT null,note STRING null,noteUfficio STRING null,localizzazioneGeografica VARCHAR(75) null,tcNuovaCostruzione BOOLEAN,tcNuovaCostruzioneComplessa BOOLEAN,tcAdeguamentoSismico BOOLEAN,tcMiglioramentoSismico BOOLEAN,tcRiparazioneInterventoLocale BOOLEAN,tcInCA BOOLEAN,tcInOpera BOOLEAN,tcPrefabbricato BOOLEAN,tcInAcciaio BOOLEAN,tcMista BOOLEAN,tcInMuratura BOOLEAN,tcInMuraturaOrdinaria BOOLEAN,tcInMuraturaArmata BOOLEAN,tcInMuraturaMista BOOLEAN,tcInLegno BOOLEAN,tcAltro BOOLEAN,tcAltroDescrizione STRING null,tcConDispositivi BOOLEAN,normLavoriInProprio BOOLEAN,normEsenteBollo BOOLEAN,normEsenteSpese BOOLEAN,normDpr01Dep BOOLEAN,normDpr02Dep BOOLEAN,normDpr01Aut BOOLEAN,normDpr02Aut BOOLEAN,normDpr03 BOOLEAN,normDpr04 BOOLEAN,normDpr05 BOOLEAN,normDm01 BOOLEAN,normDm02 BOOLEAN,normDm03 BOOLEAN,normDm2018 BOOLEAN,normDm04 BOOLEAN,normDm05 BOOLEAN,normDprg01 BOOLEAN,normDprg02 BOOLEAN,normAnr BOOLEAN,normOrd01 BOOLEAN,normCI01 BOOLEAN,normLTC01 BOOLEAN,normArt3com3 BOOLEAN,normArt3com4 BOOLEAN,dpdc BOOLEAN,normSismaBonus BOOLEAN,clRischioPreInt VARCHAR(75) null,clRischioPostInt VARCHAR(75) null,intervFinPub BOOLEAN,intervFinPubDesc STRING null,suap BOOLEAN)";
public static final String TABLE_SQL_DROP = "drop table portos_bo_DettPratica";
public static final String ORDER_BY_JPQL = " ORDER BY dettPratica.dettPraticaId ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_DettPratica.dettPraticaId ASC";
@@ -412,6 +413,7 @@ public class DettPraticaModelImpl extends BaseModelImpl
model.setDataFineEsecuzioneOpera(soapModel.getDataFineEsecuzioneOpera());
model.setMetratura(soapModel.getMetratura());
model.setLavoriPubblici(soapModel.getLavoriPubblici());
+ model.setDataInserimentoInizioLavoriOpera(soapModel.getDataInserimentoInizioLavoriOpera());
model.setPagamentoIdOneri(soapModel.getPagamentoIdOneri());
model.setPagamentoIdBolli(soapModel.getPagamentoIdBolli());
model.setLavoriPubbliciPercentuale(soapModel.getLavoriPubbliciPercentuale());
@@ -726,6 +728,8 @@ public class DettPraticaModelImpl extends BaseModelImpl
attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera());
attributes.put("metratura", getMetratura());
attributes.put("lavoriPubblici", getLavoriPubblici());
+ attributes.put("dataInserimentoInizioLavoriOpera",
+ getDataInserimentoInizioLavoriOpera());
attributes.put("pagamentoIdOneri", getPagamentoIdOneri());
attributes.put("pagamentoIdBolli", getPagamentoIdBolli());
attributes.put("lavoriPubbliciPercentuale",
@@ -1373,6 +1377,13 @@ public class DettPraticaModelImpl extends BaseModelImpl
setLavoriPubblici(lavoriPubblici);
}
+ Date dataInserimentoInizioLavoriOpera = (Date)attributes.get(
+ "dataInserimentoInizioLavoriOpera");
+
+ if (dataInserimentoInizioLavoriOpera != null) {
+ setDataInserimentoInizioLavoriOpera(dataInserimentoInizioLavoriOpera);
+ }
+
Long pagamentoIdOneri = (Long)attributes.get("pagamentoIdOneri");
if (pagamentoIdOneri != null) {
@@ -3566,6 +3577,18 @@ public class DettPraticaModelImpl extends BaseModelImpl
_lavoriPubblici = lavoriPubblici;
}
+ @JSON
+ @Override
+ public Date getDataInserimentoInizioLavoriOpera() {
+ return _dataInserimentoInizioLavoriOpera;
+ }
+
+ @Override
+ public void setDataInserimentoInizioLavoriOpera(
+ Date dataInserimentoInizioLavoriOpera) {
+ _dataInserimentoInizioLavoriOpera = dataInserimentoInizioLavoriOpera;
+ }
+
@JSON
@Override
public long getPagamentoIdOneri() {
@@ -6493,6 +6516,7 @@ public class DettPraticaModelImpl extends BaseModelImpl
dettPraticaImpl.setDataFineEsecuzioneOpera(getDataFineEsecuzioneOpera());
dettPraticaImpl.setMetratura(getMetratura());
dettPraticaImpl.setLavoriPubblici(getLavoriPubblici());
+ dettPraticaImpl.setDataInserimentoInizioLavoriOpera(getDataInserimentoInizioLavoriOpera());
dettPraticaImpl.setPagamentoIdOneri(getPagamentoIdOneri());
dettPraticaImpl.setPagamentoIdBolli(getPagamentoIdBolli());
dettPraticaImpl.setLavoriPubbliciPercentuale(getLavoriPubbliciPercentuale());
@@ -7171,6 +7195,15 @@ public class DettPraticaModelImpl extends BaseModelImpl
dettPraticaCacheModel.lavoriPubblici = getLavoriPubblici();
+ Date dataInserimentoInizioLavoriOpera = getDataInserimentoInizioLavoriOpera();
+
+ if (dataInserimentoInizioLavoriOpera != null) {
+ dettPraticaCacheModel.dataInserimentoInizioLavoriOpera = dataInserimentoInizioLavoriOpera.getTime();
+ }
+ else {
+ dettPraticaCacheModel.dataInserimentoInizioLavoriOpera = Long.MIN_VALUE;
+ }
+
dettPraticaCacheModel.pagamentoIdOneri = getPagamentoIdOneri();
dettPraticaCacheModel.pagamentoIdBolli = getPagamentoIdBolli();
@@ -7943,7 +7976,7 @@ public class DettPraticaModelImpl extends BaseModelImpl
@Override
public String toString() {
- StringBundler sb = new StringBundler(477);
+ StringBundler sb = new StringBundler(479);
sb.append("{uuid=");
sb.append(getUuid());
@@ -8079,6 +8112,8 @@ public class DettPraticaModelImpl extends BaseModelImpl
sb.append(getMetratura());
sb.append(", lavoriPubblici=");
sb.append(getLavoriPubblici());
+ sb.append(", dataInserimentoInizioLavoriOpera=");
+ sb.append(getDataInserimentoInizioLavoriOpera());
sb.append(", pagamentoIdOneri=");
sb.append(getPagamentoIdOneri());
sb.append(", pagamentoIdBolli=");
@@ -8428,7 +8463,7 @@ public class DettPraticaModelImpl extends BaseModelImpl
@Override
public String toXmlString() {
- StringBundler sb = new StringBundler(718);
+ StringBundler sb = new StringBundler(721);
sb.append("");
sb.append("it.tref.liferay.portos.bo.model.DettPratica");
@@ -8702,6 +8737,10 @@ public class DettPraticaModelImpl extends BaseModelImpl
"lavoriPubblici");
+ sb.append(
+ "dataInserimentoInizioLavoriOpera");
sb.append(
"pagamentoIdOneri
private Date _dataFineEsecuzioneOpera;
private String _metratura;
private boolean _lavoriPubblici;
+ private Date _dataInserimentoInizioLavoriOpera;
private long _pagamentoIdOneri;
private long _pagamentoIdBolli;
private int _lavoriPubbliciPercentuale;
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/bean/ReportAvvisoBean.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/bean/ReportAvvisoBean.java
index a7ff08bb..5c2150aa 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/bean/ReportAvvisoBean.java
+++ b/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 Boolean parziale;
private String parzialeNumero;
+ private boolean richiestaAttestazione;
+
+ public boolean isRichiestaAttestazione() {
+ return richiestaAttestazione;
+ }
+
+ public void setRichiestaAttestazione(boolean richiestaAttestazione) {
+ this.richiestaAttestazione = richiestaAttestazione;
+ }
public String getTipo() {
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java
index 2835da7b..123b8665 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java
+++ b/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.setParziale(fineLavori.isParziale());
bean.setParzialeNumero(String.valueOf(fineLavori.getNumero()));
+ bean.setRichiestaAttestazione(fineLavori.isRichiestaAttestazione());
} else if (Collaudo.class.getName().equalsIgnoreCase(avviso.getClassName())) {
Collaudo collaudo = CollaudoLocalServiceUtil.getCollaudo(avviso.getClassPk());
dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPraticaId);
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java
index 54395f7f..d1988589 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java
+++ b/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";
_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,
@@ -1443,6 +1450,13 @@ public class DettPraticaLocalServiceClpInvoker {
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();
}
@@ -1616,4 +1630,6 @@ public class DettPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes283;
private String _methodName285;
private String[] _methodParameterTypes285;
+ private String _methodName286;
+ private String[] _methodParameterTypes286;
}
\ No newline at end of file
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java
index d315e5af..44812c09 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java
@@ -136,176 +136,183 @@ public class FineLavoriLocalServiceClpInvoker {
"long", "com.liferay.portal.service.ServiceContext"
};
- _methodName184 = "deleteFineLavori";
+ _methodName184 = "addFineLavori";
_methodParameterTypes184 = new String[] {
- "it.tref.liferay.portos.bo.model.FineLavori"
+ "long", "boolean", "boolean",
+ "com.liferay.portal.service.ServiceContext"
};
_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",
"java.lang.String", "boolean", "boolean", "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",
"java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
- _methodName190 = "updateEsitoPagamento";
+ _methodName192 = "updateEsitoPagamento";
- _methodParameterTypes190 = new String[] {
+ _methodParameterTypes192 = new String[] {
"long", "long", "java.lang.String"
};
- _methodName191 = "updateEsitoPagamento";
+ _methodName193 = "updateEsitoPagamento";
- _methodParameterTypes191 = new String[] {
+ _methodParameterTypes193 = new 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"
};
- _methodName197 = "fetchByProtocollo";
+ _methodName199 = "fetchByProtocollo";
- _methodParameterTypes197 = new String[] {
+ _methodParameterTypes199 = new 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",
"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",
"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",
"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",
"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",
"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",
"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",
"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,
@@ -441,16 +448,24 @@ public class FineLavoriLocalServiceClpInvoker {
if (_methodName184.equals(name) &&
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) &&
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) &&
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(),
((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue(),
@@ -464,34 +479,34 @@ public class FineLavoriLocalServiceClpInvoker {
((Boolean)arguments[11]).booleanValue());
}
- if (_methodName187.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) {
+ if (_methodName189.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
return FineLavoriLocalServiceUtil.getLastEditable(((Long)arguments[0]).longValue());
}
- if (_methodName188.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes188, parameterTypes)) {
+ if (_methodName190.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) {
return FineLavoriLocalServiceUtil.getLastCompleted(((Long)arguments[0]).longValue());
}
- if (_methodName189.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
+ if (_methodName191.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
return FineLavoriLocalServiceUtil.pagaInvia(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3], (java.lang.String)arguments[4],
(com.liferay.portal.service.ServiceContext)arguments[5]);
}
- if (_methodName190.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) {
+ if (_methodName192.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
FineLavoriLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]);
return null;
}
- if (_methodName191.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
+ if (_methodName193.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) {
FineLavoriLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue(), (java.lang.String)arguments[3]);
@@ -499,50 +514,50 @@ public class FineLavoriLocalServiceClpInvoker {
return null;
}
- if (_methodName192.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
+ if (_methodName194.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes194, parameterTypes)) {
return FineLavoriLocalServiceUtil.updateEsito(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue());
}
- if (_methodName195.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) {
+ if (_methodName197.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
return FineLavoriLocalServiceUtil.updateFineLavoriProtocollo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
- if (_methodName196.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
+ if (_methodName198.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByProtocollo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]);
}
- if (_methodName197.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
+ if (_methodName199.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
return FineLavoriLocalServiceUtil.fetchByProtocollo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]);
}
- if (_methodName198.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
+ if (_methodName200.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
return FineLavoriLocalServiceUtil.fetchByProtocollo((java.lang.String)arguments[0]);
}
- if (_methodName199.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
+ if (_methodName201.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue(),
(com.liferay.portal.kernel.util.OrderByComparator)arguments[3]);
}
- if (_methodName200.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
+ if (_methodName202.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId(((Long)arguments[0]).longValue());
}
- if (_methodName201.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
+ if (_methodName203.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(),
@@ -550,14 +565,14 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
- if (_methodName202.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
+ if (_methodName204.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue());
}
- if (_methodName203.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
+ if (_methodName205.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(),
@@ -565,14 +580,14 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
- if (_methodName204.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
+ if (_methodName206.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue());
}
- if (_methodName205.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
+ if (_methodName207.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
@@ -580,14 +595,14 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
- if (_methodName206.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
+ if (_methodName208.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
- if (_methodName207.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) {
+ if (_methodName209.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByCodiceFiscale_Completata((java.lang.String)arguments[0],
((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(),
@@ -595,14 +610,14 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
- if (_methodName208.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
+ if (_methodName210.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByCodiceFiscale_Completata((java.lang.String)arguments[0],
((Boolean)arguments[1]).booleanValue());
}
- if (_methodName209.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
+ if (_methodName211.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale_Completata(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(),
((Boolean)arguments[2]).booleanValue(),
@@ -611,15 +626,15 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
- if (_methodName210.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) {
+ if (_methodName212.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_Completata(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(),
((Boolean)arguments[2]).booleanValue());
}
- if (_methodName211.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
+ if (_methodName213.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) {
return FineLavoriLocalServiceUtil.findByIntPraticaId_Parziale_leFineLavoriId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Boolean)arguments[2]).booleanValue(),
@@ -628,42 +643,42 @@ public class FineLavoriLocalServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[5]);
}
- if (_methodName212.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
+ if (_methodName214.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
return FineLavoriLocalServiceUtil.countByIntPraticaId_Parziale_leFineLavoriId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Boolean)arguments[2]).booleanValue());
}
- if (_methodName213.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) {
+ if (_methodName215.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) {
return FineLavoriLocalServiceUtil.findFineLavoriCompleteNotProtocollo(((Integer)arguments[0]).intValue(),
((Integer)arguments[1]).intValue());
}
- if (_methodName214.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
+ if (_methodName216.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) {
return FineLavoriLocalServiceUtil.countFineLavoriCompleteNotProtocollo();
}
- if (_methodName216.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) {
+ if (_methodName218.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
return FineLavoriLocalServiceUtil.findFineLavoriCompleteNotGestite(((Integer)arguments[0]).intValue(),
((Integer)arguments[1]).intValue());
}
- if (_methodName217.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) {
+ if (_methodName219.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
return FineLavoriLocalServiceUtil.countFineLavoriCompleteNotGestite();
}
- if (_methodName219.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
+ if (_methodName221.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori();
}
- if (_methodName220.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) {
+ if (_methodName222.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori((java.lang.String)arguments[0]);
}
@@ -724,8 +739,6 @@ public class FineLavoriLocalServiceClpInvoker {
private String[] _methodParameterTypes186;
private String _methodName187;
private String[] _methodParameterTypes187;
- private String _methodName188;
- private String[] _methodParameterTypes188;
private String _methodName189;
private String[] _methodParameterTypes189;
private String _methodName190;
@@ -734,10 +747,10 @@ public class FineLavoriLocalServiceClpInvoker {
private String[] _methodParameterTypes191;
private String _methodName192;
private String[] _methodParameterTypes192;
- private String _methodName195;
- private String[] _methodParameterTypes195;
- private String _methodName196;
- private String[] _methodParameterTypes196;
+ private String _methodName193;
+ private String[] _methodParameterTypes193;
+ private String _methodName194;
+ private String[] _methodParameterTypes194;
private String _methodName197;
private String[] _methodParameterTypes197;
private String _methodName198;
@@ -774,12 +787,16 @@ public class FineLavoriLocalServiceClpInvoker {
private String[] _methodParameterTypes213;
private String _methodName214;
private String[] _methodParameterTypes214;
+ private String _methodName215;
+ private String[] _methodParameterTypes215;
private String _methodName216;
private String[] _methodParameterTypes216;
- private String _methodName217;
- private String[] _methodParameterTypes217;
+ private String _methodName218;
+ private String[] _methodParameterTypes218;
private String _methodName219;
private String[] _methodParameterTypes219;
- private String _methodName220;
- private String[] _methodParameterTypes220;
+ private String _methodName221;
+ private String[] _methodParameterTypes221;
+ private String _methodName222;
+ private String[] _methodParameterTypes222;
}
\ No newline at end of file
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java
index 6c5f58a6..8764e0a1 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriServiceClpInvoker.java
@@ -42,82 +42,89 @@ public class FineLavoriServiceClpInvoker {
"long", "com.liferay.portal.service.ServiceContext"
};
- _methodName164 = "deleteFineLavori";
+ _methodName164 = "addFineLavori";
_methodParameterTypes164 = new String[] {
- "it.tref.liferay.portos.bo.model.FineLavori"
+ "long", "boolean", "boolean",
+ "com.liferay.portal.service.ServiceContext"
};
_methodName165 = "deleteFineLavori";
- _methodParameterTypes165 = new String[] { "long" };
-
- _methodName166 = "updateFineLavori";
-
- _methodParameterTypes166 = new String[] {
+ _methodParameterTypes165 = new String[] {
"it.tref.liferay.portos.bo.model.FineLavori"
};
+ _methodName166 = "deleteFineLavori";
+
+ _methodParameterTypes166 = new String[] { "long" };
+
_methodName167 = "updateFineLavori";
_methodParameterTypes167 = new String[] {
+ "it.tref.liferay.portos.bo.model.FineLavori"
+ };
+
+ _methodName168 = "updateFineLavori";
+
+ _methodParameterTypes168 = new String[] {
"long", "long", "long", "boolean", "boolean", "java.util.Date",
"java.lang.String", "boolean", "boolean", "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",
"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",
"java.lang.String", "java.lang.String",
"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",
"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",
"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,
@@ -147,21 +154,29 @@ public class FineLavoriServiceClpInvoker {
if (_methodName164.equals(name) &&
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) &&
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) &&
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) &&
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(),
((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue(),
@@ -175,18 +190,18 @@ public class FineLavoriServiceClpInvoker {
((Boolean)arguments[11]).booleanValue());
}
- if (_methodName168.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes168, parameterTypes)) {
- return FineLavoriServiceUtil.getLastEditable(((Long)arguments[0]).longValue());
- }
-
if (_methodName169.equals(name) &&
Arrays.deepEquals(_methodParameterTypes169, parameterTypes)) {
- return FineLavoriServiceUtil.getLastCompleted(((Long)arguments[0]).longValue());
+ return FineLavoriServiceUtil.getLastEditable(((Long)arguments[0]).longValue());
}
if (_methodName170.equals(name) &&
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(),
((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(),
@@ -194,28 +209,28 @@ public class FineLavoriServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
- if (_methodName171.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes171, parameterTypes)) {
+ if (_methodName172.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) {
return FineLavoriServiceUtil.countByIntPraticaId_Parziale(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue());
}
- if (_methodName172.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) {
+ if (_methodName173.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes173, parameterTypes)) {
return FineLavoriServiceUtil.pagaInvia(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3], (java.lang.String)arguments[4],
(com.liferay.portal.service.ServiceContext)arguments[5]);
}
- if (_methodName173.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes173, parameterTypes)) {
+ if (_methodName174.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes174, parameterTypes)) {
return FineLavoriServiceUtil.updateEsito(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue());
}
- if (_methodName174.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes174, parameterTypes)) {
+ if (_methodName175.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes175, parameterTypes)) {
return FineLavoriServiceUtil.findByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
@@ -223,14 +238,14 @@ public class FineLavoriServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
- if (_methodName175.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes175, parameterTypes)) {
+ if (_methodName176.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes176, parameterTypes)) {
return FineLavoriServiceUtil.countByIntPraticaId_CodiceFiscale(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
- if (_methodName176.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes176, parameterTypes)) {
+ if (_methodName177.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes177, parameterTypes)) {
return FineLavoriServiceUtil.findByCodiceFiscale_Completata((java.lang.String)arguments[0],
((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(),
@@ -238,8 +253,8 @@ public class FineLavoriServiceClpInvoker {
(com.liferay.portal.kernel.util.OrderByComparator)arguments[4]);
}
- if (_methodName177.equals(name) &&
- Arrays.deepEquals(_methodParameterTypes177, parameterTypes)) {
+ if (_methodName178.equals(name) &&
+ Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) {
return FineLavoriServiceUtil.countByCodiceFiscale_Completata((java.lang.String)arguments[0],
((Boolean)arguments[1]).booleanValue());
}
@@ -283,4 +298,6 @@ public class FineLavoriServiceClpInvoker {
private String[] _methodParameterTypes176;
private String _methodName177;
private String[] _methodParameterTypes177;
+ private String _methodName178;
+ private String[] _methodParameterTypes178;
}
\ No newline at end of file
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/FineLavoriServiceSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/FineLavoriServiceSoap.java
index 92d3184a..f10ecb9e 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/FineLavoriServiceSoap.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/FineLavoriServiceSoap.java
@@ -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(
it.tref.liferay.portos.bo.model.FineLavoriSoap fineLavori)
throws RemoteException {
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java
index dca4d12e..dbb26ed1 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java
+++ b/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.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.Delega;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.DocPratica;
+import it.tref.liferay.portos.bo.model.FineLavori;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.Tempistica;
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.shared.util.PagamentoConstants;
import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil;
+import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.util.MailUtil;
import it.tref.liferay.portos.bo.util.PagamentiUtil;
@@ -1812,4 +1818,33 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
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);
+ }
}
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java
index 7cd51383..88956e03 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java
@@ -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.IntPratica;
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.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.MailUtil;
import it.tref.liferay.portos.bo.util.PagamentiUtil;
@@ -104,7 +107,25 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
fineLavoriPersistence.update(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
@Indexable(type = IndexableType.DELETE)
public FineLavori deleteFineLavori(FineLavori fineLavori) throws SystemException, PortalException {
@@ -149,6 +170,21 @@ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl {
fineLavori = fineLavoriPersistence.update(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
public FineLavori getLastEditable(long intPraticaId) throws SystemException {
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java
index 41d81b0e..9729fe9b 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriServiceImpl.java
@@ -16,6 +16,8 @@ import java.util.List;
import com.liferay.portal.kernel.exception.PortalException;
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.service.ServiceContext;
@@ -51,6 +53,14 @@ public class FineLavoriServiceImpl extends FineLavoriServiceBaseImpl {
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
public FineLavori deleteFineLavori(FineLavori fineLavori) throws PortalException, SystemException {
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java
index 96ef6b28..9e01fd98 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java
+++ b/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
dettPraticaImpl.setDataFineEsecuzioneOpera(dettPratica.getDataFineEsecuzioneOpera());
dettPraticaImpl.setMetratura(dettPratica.getMetratura());
dettPraticaImpl.setLavoriPubblici(dettPratica.isLavoriPubblici());
+ dettPraticaImpl.setDataInserimentoInizioLavoriOpera(dettPratica.getDataInserimentoInizioLavoriOpera());
dettPraticaImpl.setPagamentoIdOneri(dettPratica.getPagamentoIdOneri());
dettPraticaImpl.setPagamentoIdBolli(dettPratica.getPagamentoIdBolli());
dettPraticaImpl.setLavoriPubbliciPercentuale(dettPratica.getLavoriPubbliciPercentuale());
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
index 72f058d9..8a2a37f1 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
@@ -13,8 +13,8 @@
##
build.namespace=portos_bo
- build.number=2853
- build.date=1677764839016
+ build.number=2857
+ build.date=1678097661105
build.auto.upgrade=true
##
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component
index 7755e25e..26b0e067 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component
+++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component
@@ -2,6 +2,12 @@
+
+ uses
+
+
+ uses
+
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
index 63d648af..2d4f2679 100644
Binary files a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar and b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar differ
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
index 604f6c56..17a80458 100644
Binary files a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar and b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar differ
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java
index f272cafa..6f80e534 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java
@@ -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.service.AsseverazioneLocalServiceUtil;
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.CollaudoServiceUtil;
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.DelegaServiceUtil;
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.TipoSoggettoUtil;
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.DelegheUtil;
import it.tref.liferay.portos.bo.util.MailUtil;
@@ -582,10 +585,8 @@ public class FascicoloFePortlet extends MVCPortlet {
dettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId);
}
try {
- FineLavori fineLavori = FineLavoriServiceUtil.addFineLavori(intPraticaId, serviceContext);
- fineLavori.setNormEsenteCollaudo(dettPratica.getCollaudoStatico());
- fineLavori.setRichiestaAttestazione(true);
- fineLavori = FineLavoriServiceUtil.updateFineLavori(fineLavori);
+ FineLavori fineLavori = FineLavoriServiceUtil
+ .addFineLavori(intPraticaId, true, dettPratica.getCollaudoStatico(), serviceContext);
successURL = HttpUtil.addParameter(successURL, response.getNamespace() + "fineLavoriId",
String.valueOf(fineLavori.getFineLavoriId()));
/*
@@ -732,12 +733,13 @@ public class FascicoloFePortlet extends MVCPortlet {
DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(dettPraticaId);
long intPraticaId = dettPratica.getIntPraticaId();
if (Validator.isNull(dettPratica.getDataInizioLavoriOpera()) && Validator.isNotNull(dataInizioLavoriOpera)) {
- dettPratica.setDataInizioLavoriOpera(dataInizioLavoriOpera);
- DettPraticaLocalServiceUtil.updateDettPratica(dettPratica);
+ ServiceContext serviceContext = ServiceContextFactory.getInstance(request);
+// dettPratica.setDataInizioLavoriOpera(dataInizioLavoriOpera);
+// DettPraticaLocalServiceUtil.updateDettPratica(dettPratica);
+ DettPraticaLocalServiceUtil.setDataInizioLavori(dettPratica, dataInizioLavoriOpera, serviceContext);
List collaudatori = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto_Rimosso(
intPraticaId, TipoSoggettoUtil.COLLAUDATORE, false);
if (collaudatori.size() > 0) {
- ServiceContext serviceContext = ServiceContextFactory.getInstance(request);
Set sTo = new HashSet<>();
for (Soggetto collaudatore : collaudatori) {
sTo.add(collaudatore.getEmail());
@@ -815,7 +817,7 @@ public class FascicoloFePortlet extends MVCPortlet {
throw e;
}
}
-
+
public void saveFineLavori(ActionRequest request, ActionResponse response) throws Exception {
long fineLavoriId = ParamUtil.getLong(request, "fineLavoriId");