true
if this int pratica is in lavorazione sue.
+ *
+ * @return true
if this int pratica is in lavorazione sue; false
otherwise
+ */
+ public boolean isInLavorazioneSue();
+
+ /**
+ * Sets whether this int pratica is in lavorazione sue.
+ *
+ * @param inLavorazioneSue the in lavorazione sue of this int pratica
+ */
+ public void setInLavorazioneSue(boolean inLavorazioneSue);
+
@Override
public boolean isNew();
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 22074ec1..9f134235 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.setInLavorazioneSue(model.getInLavorazioneSue());
return soapModel;
}
@@ -392,6 +393,18 @@ public class IntPraticaSoap implements Serializable {
_controlloObbligatorio = controlloObbligatorio;
}
+ public boolean getInLavorazioneSue() {
+ return _inLavorazioneSue;
+ }
+
+ public boolean isInLavorazioneSue() {
+ return _inLavorazioneSue;
+ }
+
+ public void setInLavorazioneSue(boolean inLavorazioneSue) {
+ _inLavorazioneSue = inLavorazioneSue;
+ }
+
private String _uuid;
private long _intPraticaId;
private long _companyId;
@@ -423,4 +436,5 @@ public class IntPraticaSoap implements Serializable {
private boolean _collaudoParziale;
private boolean _collaudoTotale;
private boolean _controlloObbligatorio;
+ 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 235b99d1..ce896ef6 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 in lavorazione sue.
+ *
+ * @return true
if this int pratica is in lavorazione sue; false
otherwise
+ */
+ @Override
+ public boolean isInLavorazioneSue() {
+ return _intPratica.isInLavorazioneSue();
+ }
+
+ /**
+ * Sets whether this int pratica is in lavorazione sue.
+ *
+ * @param inLavorazioneSue the in lavorazione sue of this int pratica
+ */
+ @Override
+ public void setInLavorazioneSue(boolean inLavorazioneSue) {
+ _intPratica.setInLavorazioneSue(inLavorazioneSue);
+ }
+
@Override
public boolean isNew() {
return _intPratica.isNew();
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/search/IntPraticaAdvancedSearch.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/search/IntPraticaAdvancedSearch.java
index 6bd0968e..42f0d11d 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/search/IntPraticaAdvancedSearch.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/search/IntPraticaAdvancedSearch.java
@@ -77,6 +77,8 @@ public class IntPraticaAdvancedSearch {
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.PRATICA_APERTA, StringPool.TRUE);
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
+ termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.IN_LAVORAZIONE_SUE, StringPool.FALSE);
+ booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
// Condizioni aggiuntive
query(request, user, booleanQuery, searchContext);
hits = SearchEngineUtil.search(searchContext, booleanQuery);
@@ -109,6 +111,8 @@ public class IntPraticaAdvancedSearch {
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.PRATICA_APERTA, StringPool.TRUE);
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
+ termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.IN_LAVORAZIONE_SUE, StringPool.FALSE);
+ booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
// Condizioni aggiuntive
query(request, user, booleanQuery, searchContext);
hits = SearchEngineUtil.search(searchContext, booleanQuery);
@@ -144,6 +148,8 @@ public class IntPraticaAdvancedSearch {
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.PRATICA_APERTA, StringPool.FALSE);
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
booleanQuery.add(altriProgettiBooleanQuery, BooleanClauseOccur.MUST);
+ termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.IN_LAVORAZIONE_SUE, StringPool.FALSE);
+ booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
// Condizioni aggiuntive
query(request, user, booleanQuery, searchContext);
hits = SearchEngineUtil.search(searchContext, booleanQuery);
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
index a239c284..13a74e0c 100644
--- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
+++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
@@ -317,6 +317,9 @@ public interface IntPraticaLocalService extends BaseLocalService,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
+ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
+ public java.util.Map