true
if this int pratica is pratica ospedaliera.
+ *
+ * @return true
if this int pratica is pratica ospedaliera; false
otherwise
+ */
+ public boolean isPraticaOspedaliera();
+
+ /**
+ * Sets whether this int pratica is pratica ospedaliera.
+ *
+ * @param praticaOspedaliera the pratica ospedaliera of this int pratica
+ */
+ public void setPraticaOspedaliera(boolean praticaOspedaliera);
+
/**
* Returns the in lavorazione sue of this int pratica.
*
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java
index 2f65c90c..89391aa6 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java
@@ -62,6 +62,7 @@ public class IntPraticaSoap implements Serializable {
soapModel.setCollaudoParziale(model.getCollaudoParziale());
soapModel.setCollaudoTotale(model.getCollaudoTotale());
soapModel.setControlloObbligatorio(model.getControlloObbligatorio());
+ soapModel.setPraticaOspedaliera(model.getPraticaOspedaliera());
soapModel.setInLavorazioneSue(model.getInLavorazioneSue());
return soapModel;
@@ -393,6 +394,18 @@ public class IntPraticaSoap implements Serializable {
_controlloObbligatorio = controlloObbligatorio;
}
+ public boolean getPraticaOspedaliera() {
+ return _praticaOspedaliera;
+ }
+
+ public boolean isPraticaOspedaliera() {
+ return _praticaOspedaliera;
+ }
+
+ public void setPraticaOspedaliera(boolean praticaOspedaliera) {
+ _praticaOspedaliera = praticaOspedaliera;
+ }
+
public boolean getInLavorazioneSue() {
return _inLavorazioneSue;
}
@@ -436,5 +449,6 @@ public class IntPraticaSoap implements Serializable {
private boolean _collaudoParziale;
private boolean _collaudoTotale;
private boolean _controlloObbligatorio;
+ private boolean _praticaOspedaliera;
private boolean _inLavorazioneSue;
}
\ 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/model/IntPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java
index 10be971b..28fd9768 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java
@@ -83,6 +83,7 @@ public class IntPraticaWrapper implements IntPratica, ModelWrappertrue
if this int pratica is pratica ospedaliera.
+ *
+ * @return true
if this int pratica is pratica ospedaliera; false
otherwise
+ */
+ @Override
+ public boolean isPraticaOspedaliera() {
+ return _intPratica.isPraticaOspedaliera();
+ }
+
+ /**
+ * Sets whether this int pratica is pratica ospedaliera.
+ *
+ * @param praticaOspedaliera the pratica ospedaliera of this int pratica
+ */
+ @Override
+ public void setPraticaOspedaliera(boolean praticaOspedaliera) {
+ _intPratica.setPraticaOspedaliera(praticaOspedaliera);
+ }
+
/**
* Returns the in lavorazione sue of this int 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 cfe69351..cd2dec31 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,11 +882,4 @@ 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 844d5078..2f0c805e 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,13 +525,6 @@ 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
@@ -4419,49 +4412,6 @@ 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;
@@ -4629,6 +4579,4 @@ 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 4ae266c5..dcf5ea39 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,17 +1193,6 @@ 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 12f9d67a..5485084d 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,17 +1268,6 @@ 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/util/AsseverazioniUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AsseverazioniUtil.java
index 462b0fc4..03858272 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AsseverazioniUtil.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/AsseverazioniUtil.java
@@ -212,7 +212,7 @@ public class AsseverazioniUtil {
return nuoviSoggetti.size() > 0;
} else {
boolean collaudatoreNotRequired = dettPratica.getCollaudoStatico() || dettPratica.getLavoriPubblici();
- boolean direttoreLavoriNotRequired = dettPratica.getLavoriPubblici();
+ boolean direttoreLavoriNotRequired = dettPratica.getLavoriPubblici() && !intPratica.isPraticaOspedaliera();
boolean dittaNotRequired = dettPratica.getNormLavoriInProprio() || dettPratica.getLavoriPubblici();
if (TipoSoggettoUtil.DIRETTORE_LAVORI.equalsIgnoreCase(tipoSoggetto) && direttoreLavoriNotRequired) {
// ADT:se DL presente fra i soggetti deve ritornare true
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java
index 2ce104a1..03500e8a 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java
@@ -524,7 +524,7 @@ public class ValidazionePraticaUtil {
&& !dettPratica.getTcMiglioramentoSismico();
boolean collaudatoreNotRequired = dettPratica.getCollaudoStatico() || dettPratica.getLavoriPubblici()
|| isRiparazioneLocale;
- boolean direttoreLavoriNotRequired = dettPratica.getLavoriPubblici();
+ boolean direttoreLavoriNotRequired = dettPratica.getLavoriPubblici() && !intPratica.isPraticaOspedaliera();
boolean dittaNotRequired = dettPratica.getNormLavoriInProprio() || dettPratica.getLavoriPubblici();
boolean collaudatore = false;
int numeroCollaudatori = 0;
@@ -1077,7 +1077,7 @@ public class ValidazionePraticaUtil {
}
public static boolean isA06Valid(DettPratica dettPratica, long intPraticaId, ListA. <%=LanguageUtil.get(pageContext, "destinazione-A")%>
1. <%=LanguageUtil.get(pageContext, "destinazione-A1")%>
-
2. <%=LanguageUtil.get(pageContext, "destinazione-A2")%>
-
3. <%=LanguageUtil.get(pageContext, "destinazione-A3")%>
-
4. <%=LanguageUtil.get(pageContext, "destinazione-A4")%>
-
5. <%=LanguageUtil.get(pageContext, "destinazione-A5")%>
-
@@ -572,74 +601,93 @@ function duplicati(input) {
B) <%=LanguageUtil.get(pageContext, "destinazione-B")%>
1. <%=LanguageUtil.get(pageContext, "destinazione-B1")%>
-
2. <%=LanguageUtil.get(pageContext, "destinazione-B2")%>
-
3. <%=LanguageUtil.get(pageContext, "destinazione-B3")%>
-
4. <%=LanguageUtil.get(pageContext, "destinazione-B4")%>
-
5. <%=LanguageUtil.get(pageContext, "destinazione-B5")%>
-
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp index 1dda21df..79919250 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp @@ -418,7 +418,9 @@ List