Salvatore La Manna 3 anni fa
parent
commit
0ddf60ffea
  1. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-portlet-service.jar
  2. 18
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  3. 43
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoClp.java
  4. 15
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoModel.java
  5. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoSoap.java
  6. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/ParereGeologoWrapper.java
  7. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalService.java
  8. 69
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceClp.java
  9. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceUtil.java
  10. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceWrapper.java
  11. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoService.java
  12. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoServiceClp.java
  13. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoServiceUtil.java
  14. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoServiceWrapper.java
  15. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TerritorioLocalService.java
  16. 99
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TerritorioLocalServiceClp.java
  17. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TerritorioLocalServiceUtil.java
  18. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/TerritorioLocalServiceWrapper.java
  19. 469
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistence.java
  20. 624
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoUtil.java
  21. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties
  22. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql
  23. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql
  24. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
  25. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
  26. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
  27. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Language.properties
  28. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties
  29. 31
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/startup/DatabaseUpdateAction.java
  30. 20
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/ParereGeologoCacheModel.java
  31. 32
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/ParereGeologoImpl.java
  32. 75
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/ParereGeologoModelImpl.java
  33. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/GestioneAttivitaPortlet.java
  34. 48
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/ParereGeologoLocalServiceClpInvoker.java
  35. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/ParereGeologoServiceClpInvoker.java
  36. 82
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/TerritorioLocalServiceClpInvoker.java
  37. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/ParereGeologoServiceSoap.java
  38. 76
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ParereGeologoLocalServiceImpl.java
  39. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ParereGeologoServiceImpl.java
  40. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/TerritorioLocalServiceImpl.java
  41. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AllegatoManualePersistenceImpl.java
  42. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java
  43. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AvvisoPersistenceImpl.java
  44. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistenceImpl.java
  45. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunePersistenceImpl.java
  46. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunicazionePersistenceImpl.java
  47. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ConfigurazionePersistenceImpl.java
  48. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ControlloPraticaPersistenceImpl.java
  49. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DelegaPersistenceImpl.java
  50. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java
  51. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocAggiuntivaPersistenceImpl.java
  52. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocPraticaPersistenceImpl.java
  53. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistenceImpl.java
  54. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/HistoryWorkflowActionPersistenceImpl.java
  55. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java
  56. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java
  57. 1900
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistenceImpl.java
  58. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ProvinciaPersistenceImpl.java
  59. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SoggettoPersistenceImpl.java
  60. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/StoricoSoggettoPraticaPersistenceImpl.java
  61. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TerritorioPersistenceImpl.java
  62. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  63. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/asset/controllopratica/full_content.jsp
  64. 34
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_dettagli_principali.jsp
  65. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/action_button.jsp
  66. 18
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/actions/action_aggiungi_richiesta_parere.jsp
  67. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/view_columns.jspf
  68. 2
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/content/Language.properties
  69. 9
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java
  70. 61
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/ParereGeologoPortlet.java
  71. 137
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp
  72. 89
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions.jsp
  73. 65
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/add_parere.jsp
  74. 82
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/approva_parere.jsp
  75. 56
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/assegna_parere.jsp
  76. 88
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/esprimi_parere.jsp
  77. 38
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/init.jsp
  78. 8
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/parericompletati.jsp
  79. 14
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridaapprovare.jsp
  80. 9
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridaassegnare.jsp
  81. 8
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridacompletare.jsp
  82. 13
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/view.jsp
  83. BIN
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/docroot/WEB-INF/lib/portos-kaleo-portlet-service.jar
  84. 4
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/docroot/WEB-INF/src/service.properties
  85. 11
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/persistence/EmailAttachmentPersistence.java
  86. 11
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/persistence/EmailAttachmentUtil.java
  87. 4
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/service.properties
  88. BIN
      liferay-plugins-sdk-6.2/portlets/portos-notification-portlet/docroot/WEB-INF/lib/portos-kaleo-portlet-service.jar
  89. 1
      liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/.settings/org.eclipse.wst.common.component
  90. 11
      liferay-plugins-sdk-6.2/shared/portos-bo-shared/.project
  91. 5
      liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/mwg/sismica/bo/shared/util/Generics.java
  92. BIN
      liferay-plugins-sdk-6.2/webs/portos-kaleo-web/docroot/WEB-INF/lib/portos-kaleo-portlet-service.jar

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

File binario non mostrato.

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

@ -112,6 +112,7 @@
<column name="dtCompilazione" type="Date" /> <column name="dtCompilazione" type="Date" />
<column name="status" type="int" /> <column name="status" type="int" />
<column name="noteRichiedente" type="String" /> <column name="noteRichiedente" type="String" />
<column name="noteAssegnatore" type="String" />
<column name="dtAnnullamento" type="Date" /> <column name="dtAnnullamento" type="Date" />
<column name="userIdAnnullamento" type="long" /> <column name="userIdAnnullamento" type="long" />
<column name="noteAnnullamento" type="String" /> <column name="noteAnnullamento" type="String" />
@ -127,18 +128,6 @@
<finder-column name="intPraticaId" /> <finder-column name="intPraticaId" />
</finder> </finder>
<finder return-type="Collection" name="IntPraticaId_DtCompilazione_DtAnnullamento">
<finder-column name="intPraticaId" />
<finder-column name="dtCompilazione" />
<finder-column name="dtAnnullamento" />
</finder>
<finder return-type="Collection" name="GeologoUserId_DtCompilazione_DtAnnullamento">
<finder-column name="geologoUserId" />
<finder-column name="dtCompilazione" />
<finder-column name="dtAnnullamento" />
</finder>
<finder return-type="Collection" name="C_GroupId"> <finder return-type="Collection" name="C_GroupId">
<finder-column name="companyId" /> <finder-column name="companyId" />
<finder-column name="groupId" /> <finder-column name="groupId" />
@ -153,12 +142,13 @@
<finder-column name="dtAnnullamento" /> <finder-column name="dtAnnullamento" />
</finder> </finder>
<finder return-type="Collection" name="Group_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione"> <finder return-type="Collection" name="Group_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione">
<finder-column name="groupId" arrayable-operator="IN" /> <finder-column name="groupId" arrayable-operator="IN" />
<finder-column name="unitaOperativa" arrayable-operator="IN" /> <finder-column name="unitaOperativa" arrayable-operator="IN" />
<finder-column name="assegnatoreUserId" arrayable-operator="IN" /> <finder-column name="assegnatoreUserId" arrayable-operator="IN" />
<finder-column name="dtCompilazione" comparator="!=" /> <finder-column name="dtCompilazione" comparator="!=" />
<finder-column name="dtAnnullamento" comparator="!=" /> <finder-column name="dtAssegnazione" comparator="!=" />
<finder-column name="dtAnnullamento" />
<finder-column name="dtApprovazione" /> <finder-column name="dtApprovazione" />
</finder> </finder>

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

@ -97,6 +97,7 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
attributes.put("dtCompilazione", getDtCompilazione()); attributes.put("dtCompilazione", getDtCompilazione());
attributes.put("status", getStatus()); attributes.put("status", getStatus());
attributes.put("noteRichiedente", getNoteRichiedente()); attributes.put("noteRichiedente", getNoteRichiedente());
attributes.put("noteAssegnatore", getNoteAssegnatore());
attributes.put("dtAnnullamento", getDtAnnullamento()); attributes.put("dtAnnullamento", getDtAnnullamento());
attributes.put("userIdAnnullamento", getUserIdAnnullamento()); attributes.put("userIdAnnullamento", getUserIdAnnullamento());
attributes.put("noteAnnullamento", getNoteAnnullamento()); attributes.put("noteAnnullamento", getNoteAnnullamento());
@ -229,6 +230,12 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
setNoteRichiedente(noteRichiedente); setNoteRichiedente(noteRichiedente);
} }
String noteAssegnatore = (String)attributes.get("noteAssegnatore");
if (noteAssegnatore != null) {
setNoteAssegnatore(noteAssegnatore);
}
Date dtAnnullamento = (Date)attributes.get("dtAnnullamento"); Date dtAnnullamento = (Date)attributes.get("dtAnnullamento");
if (dtAnnullamento != null) { if (dtAnnullamento != null) {
@ -760,6 +767,30 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
} }
} }
@Override
public String getNoteAssegnatore() {
return _noteAssegnatore;
}
@Override
public void setNoteAssegnatore(String noteAssegnatore) {
_noteAssegnatore = noteAssegnatore;
if (_parereGeologoRemoteModel != null) {
try {
Class<?> clazz = _parereGeologoRemoteModel.getClass();
Method method = clazz.getMethod("setNoteAssegnatore",
String.class);
method.invoke(_parereGeologoRemoteModel, noteAssegnatore);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override @Override
public Date getDtAnnullamento() { public Date getDtAnnullamento() {
return _dtAnnullamento; return _dtAnnullamento;
@ -1047,6 +1078,7 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
clone.setDtCompilazione(getDtCompilazione()); clone.setDtCompilazione(getDtCompilazione());
clone.setStatus(getStatus()); clone.setStatus(getStatus());
clone.setNoteRichiedente(getNoteRichiedente()); clone.setNoteRichiedente(getNoteRichiedente());
clone.setNoteAssegnatore(getNoteAssegnatore());
clone.setDtAnnullamento(getDtAnnullamento()); clone.setDtAnnullamento(getDtAnnullamento());
clone.setUserIdAnnullamento(getUserIdAnnullamento()); clone.setUserIdAnnullamento(getUserIdAnnullamento());
clone.setNoteAnnullamento(getNoteAnnullamento()); clone.setNoteAnnullamento(getNoteAnnullamento());
@ -1104,7 +1136,7 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
@Override @Override
public String toString() { public String toString() {
StringBundler sb = new StringBundler(53); StringBundler sb = new StringBundler(55);
sb.append("{uuid="); sb.append("{uuid=");
sb.append(getUuid()); sb.append(getUuid());
@ -1146,6 +1178,8 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
sb.append(getStatus()); sb.append(getStatus());
sb.append(", noteRichiedente="); sb.append(", noteRichiedente=");
sb.append(getNoteRichiedente()); sb.append(getNoteRichiedente());
sb.append(", noteAssegnatore=");
sb.append(getNoteAssegnatore());
sb.append(", dtAnnullamento="); sb.append(", dtAnnullamento=");
sb.append(getDtAnnullamento()); sb.append(getDtAnnullamento());
sb.append(", userIdAnnullamento="); sb.append(", userIdAnnullamento=");
@ -1165,7 +1199,7 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
@Override @Override
public String toXmlString() { public String toXmlString() {
StringBundler sb = new StringBundler(82); StringBundler sb = new StringBundler(85);
sb.append("<model><model-name>"); sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.ParereGeologo"); sb.append("it.tref.liferay.portos.bo.model.ParereGeologo");
@ -1251,6 +1285,10 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
"<column><column-name>noteRichiedente</column-name><column-value><![CDATA["); "<column><column-name>noteRichiedente</column-name><column-value><![CDATA[");
sb.append(getNoteRichiedente()); sb.append(getNoteRichiedente());
sb.append("]]></column-value></column>"); sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>noteAssegnatore</column-name><column-value><![CDATA[");
sb.append(getNoteAssegnatore());
sb.append("]]></column-value></column>");
sb.append( sb.append(
"<column><column-name>dtAnnullamento</column-name><column-value><![CDATA["); "<column><column-name>dtAnnullamento</column-name><column-value><![CDATA[");
sb.append(getDtAnnullamento()); sb.append(getDtAnnullamento());
@ -1304,6 +1342,7 @@ public class ParereGeologoClp extends BaseModelImpl<ParereGeologo>
private Date _dtCompilazione; private Date _dtCompilazione;
private int _status; private int _status;
private String _noteRichiedente; private String _noteRichiedente;
private String _noteAssegnatore;
private Date _dtAnnullamento; private Date _dtAnnullamento;
private long _userIdAnnullamento; private long _userIdAnnullamento;
private String _noteAnnullamento; private String _noteAnnullamento;

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

@ -407,6 +407,21 @@ public interface ParereGeologoModel extends BaseModel<ParereGeologo>,
*/ */
public void setNoteRichiedente(String noteRichiedente); public void setNoteRichiedente(String noteRichiedente);
/**
* Returns the note assegnatore of this parere geologo.
*
* @return the note assegnatore of this parere geologo
*/
@AutoEscape
public String getNoteAssegnatore();
/**
* Sets the note assegnatore of this parere geologo.
*
* @param noteAssegnatore the note assegnatore of this parere geologo
*/
public void setNoteAssegnatore(String noteAssegnatore);
/** /**
* Returns the dt annullamento of this parere geologo. * Returns the dt annullamento of this parere geologo.
* *

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

@ -51,6 +51,7 @@ public class ParereGeologoSoap implements Serializable {
soapModel.setDtCompilazione(model.getDtCompilazione()); soapModel.setDtCompilazione(model.getDtCompilazione());
soapModel.setStatus(model.getStatus()); soapModel.setStatus(model.getStatus());
soapModel.setNoteRichiedente(model.getNoteRichiedente()); soapModel.setNoteRichiedente(model.getNoteRichiedente());
soapModel.setNoteAssegnatore(model.getNoteAssegnatore());
soapModel.setDtAnnullamento(model.getDtAnnullamento()); soapModel.setDtAnnullamento(model.getDtAnnullamento());
soapModel.setUserIdAnnullamento(model.getUserIdAnnullamento()); soapModel.setUserIdAnnullamento(model.getUserIdAnnullamento());
soapModel.setNoteAnnullamento(model.getNoteAnnullamento()); soapModel.setNoteAnnullamento(model.getNoteAnnullamento());
@ -269,6 +270,14 @@ public class ParereGeologoSoap implements Serializable {
_noteRichiedente = noteRichiedente; _noteRichiedente = noteRichiedente;
} }
public String getNoteAssegnatore() {
return _noteAssegnatore;
}
public void setNoteAssegnatore(String noteAssegnatore) {
_noteAssegnatore = noteAssegnatore;
}
public Date getDtAnnullamento() { public Date getDtAnnullamento() {
return _dtAnnullamento; return _dtAnnullamento;
} }
@ -337,6 +346,7 @@ public class ParereGeologoSoap implements Serializable {
private Date _dtCompilazione; private Date _dtCompilazione;
private int _status; private int _status;
private String _noteRichiedente; private String _noteRichiedente;
private String _noteAssegnatore;
private Date _dtAnnullamento; private Date _dtAnnullamento;
private long _userIdAnnullamento; private long _userIdAnnullamento;
private String _noteAnnullamento; private String _noteAnnullamento;

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

@ -71,6 +71,7 @@ public class ParereGeologoWrapper implements ParereGeologo,
attributes.put("dtCompilazione", getDtCompilazione()); attributes.put("dtCompilazione", getDtCompilazione());
attributes.put("status", getStatus()); attributes.put("status", getStatus());
attributes.put("noteRichiedente", getNoteRichiedente()); attributes.put("noteRichiedente", getNoteRichiedente());
attributes.put("noteAssegnatore", getNoteAssegnatore());
attributes.put("dtAnnullamento", getDtAnnullamento()); attributes.put("dtAnnullamento", getDtAnnullamento());
attributes.put("userIdAnnullamento", getUserIdAnnullamento()); attributes.put("userIdAnnullamento", getUserIdAnnullamento());
attributes.put("noteAnnullamento", getNoteAnnullamento()); attributes.put("noteAnnullamento", getNoteAnnullamento());
@ -203,6 +204,12 @@ public class ParereGeologoWrapper implements ParereGeologo,
setNoteRichiedente(noteRichiedente); setNoteRichiedente(noteRichiedente);
} }
String noteAssegnatore = (String)attributes.get("noteAssegnatore");
if (noteAssegnatore != null) {
setNoteAssegnatore(noteAssegnatore);
}
Date dtAnnullamento = (Date)attributes.get("dtAnnullamento"); Date dtAnnullamento = (Date)attributes.get("dtAnnullamento");
if (dtAnnullamento != null) { if (dtAnnullamento != null) {
@ -726,6 +733,26 @@ public class ParereGeologoWrapper implements ParereGeologo,
_parereGeologo.setNoteRichiedente(noteRichiedente); _parereGeologo.setNoteRichiedente(noteRichiedente);
} }
/**
* Returns the note assegnatore of this parere geologo.
*
* @return the note assegnatore of this parere geologo
*/
@Override
public java.lang.String getNoteAssegnatore() {
return _parereGeologo.getNoteAssegnatore();
}
/**
* Sets the note assegnatore of this parere geologo.
*
* @param noteAssegnatore the note assegnatore of this parere geologo
*/
@Override
public void setNoteAssegnatore(java.lang.String noteAssegnatore) {
_parereGeologo.setNoteAssegnatore(noteAssegnatore);
}
/** /**
* Returns the dt annullamento of this parere geologo. * Returns the dt annullamento of this parere geologo.
* *

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

@ -317,8 +317,8 @@ public interface ParereGeologoLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException; com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.ParereGeologo updateParereGeologo( public it.tref.liferay.portos.bo.model.ParereGeologo esprimiParere(
long parereGeologoId, java.lang.String parere, byte[] content, long parereId, java.lang.String testo, byte[] content,
java.lang.String fileName, java.lang.String fileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
@ -363,10 +363,6 @@ public interface ParereGeologoLocalService extends BaseLocalService,
long geologoUserId, int start, int end) long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByCompanyIdGroupId(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId( public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId(
long geologoUserId, int start, int end) long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;

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

@ -138,7 +138,7 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName24 = "updateParereGeologo"; _methodName24 = "esprimiParere";
_methodParameterTypes24 = new String[] { _methodParameterTypes24 = new String[] {
"long", "java.lang.String", "byte[][]", "java.lang.String", "long", "java.lang.String", "byte[][]", "java.lang.String",
@ -195,21 +195,17 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
_methodParameterTypes35 = new String[] { "long", "int", "int" }; _methodParameterTypes35 = new String[] { "long", "int", "int" };
_methodName36 = "findByCompanyIdGroupId"; _methodName36 = "findWithParereByGeologoId";
_methodParameterTypes36 = new String[] { "long", "long" }; _methodParameterTypes36 = new String[] { "long", "int", "int" };
_methodName37 = "findWithParereByGeologoId"; _methodName37 = "countFindWithParereByGeologoId";
_methodParameterTypes37 = new String[] { "long", "int", "int" }; _methodParameterTypes37 = new String[] { "long" };
_methodName38 = "countFindWithParereByGeologoId"; _methodName38 = "getCarichiLavoro";
_methodParameterTypes38 = new String[] { "long" }; _methodParameterTypes38 = new String[] { "long", "int" };
_methodName39 = "getCarichiLavoro";
_methodParameterTypes39 = new String[] { "long", "int" };
} }
@Override @Override
@ -942,8 +938,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
} }
@Override @Override
public it.tref.liferay.portos.bo.model.ParereGeologo updateParereGeologo( public it.tref.liferay.portos.bo.model.ParereGeologo esprimiParere(
long parereGeologoId, java.lang.String parere, byte[] content, long parereId, java.lang.String testo, byte[] content,
java.lang.String fileName, java.lang.String fileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
@ -954,9 +950,9 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
returnObj = _invokableLocalService.invokeMethod(_methodName24, returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes24, _methodParameterTypes24,
new Object[] { new Object[] {
parereGeologoId, parereId,
ClpSerializer.translateInput(parere), ClpSerializer.translateInput(testo),
ClpSerializer.translateInput(content), ClpSerializer.translateInput(content),
@ -1310,35 +1306,6 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj); return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
} }
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByCompanyIdGroupId(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes36, new Object[] { companyId, groupId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(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 (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
}
@Override @Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId( public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId(
long geologoUserId, int start, int end) long geologoUserId, int start, int end)
@ -1346,8 +1313,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName37, returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes37, _methodParameterTypes36,
new Object[] { geologoUserId, start, end }); new Object[] { geologoUserId, start, end });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1375,8 +1342,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName38, returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes38, new Object[] { geologoUserId }); _methodParameterTypes37, new Object[] { geologoUserId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1405,8 +1372,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName39, returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes39, _methodParameterTypes38,
new Object[] { controlloPraticaId, giorni }); new Object[] { controlloPraticaId, giorni });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1509,6 +1476,4 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
private String[] _methodParameterTypes37; private String[] _methodParameterTypes37;
private String _methodName38; private String _methodName38;
private String[] _methodParameterTypes38; private String[] _methodParameterTypes38;
private String _methodName39;
private String[] _methodParameterTypes39;
} }

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

@ -346,15 +346,15 @@ public class ParereGeologoLocalServiceUtil {
dettPraticaId, noteRichiedente, serviceContext); dettPraticaId, noteRichiedente, serviceContext);
} }
public static it.tref.liferay.portos.bo.model.ParereGeologo updateParereGeologo( public static it.tref.liferay.portos.bo.model.ParereGeologo esprimiParere(
long parereGeologoId, java.lang.String parere, byte[] content, long parereId, java.lang.String testo, byte[] content,
java.lang.String fileName, java.lang.String fileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
return getService() return getService()
.updateParereGeologo(parereGeologoId, parere, content, .esprimiParere(parereId, testo, content, fileName,
fileName, serviceContext); serviceContext);
} }
public static it.tref.liferay.portos.bo.model.ParereGeologo remove( public static it.tref.liferay.portos.bo.model.ParereGeologo remove(
@ -418,12 +418,6 @@ public class ParereGeologoLocalServiceUtil {
return getService().findByGeologoIdInCorso(geologoUserId, start, end); return getService().findByGeologoIdInCorso(geologoUserId, start, end);
} }
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByCompanyIdGroupId(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findByCompanyIdGroupId(companyId, groupId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId( public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId(
long geologoUserId, int start, int end) long geologoUserId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {

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

@ -368,14 +368,14 @@ public class ParereGeologoLocalServiceWrapper
} }
@Override @Override
public it.tref.liferay.portos.bo.model.ParereGeologo updateParereGeologo( public it.tref.liferay.portos.bo.model.ParereGeologo esprimiParere(
long parereGeologoId, java.lang.String parere, byte[] content, long parereId, java.lang.String testo, byte[] content,
java.lang.String fileName, java.lang.String fileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.updateParereGeologo(parereGeologoId, return _parereGeologoLocalService.esprimiParere(parereId, testo,
parere, content, fileName, serviceContext); content, fileName, serviceContext);
} }
@Override @Override
@ -453,14 +453,6 @@ public class ParereGeologoLocalServiceWrapper
start, end); start, end);
} }
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByCompanyIdGroupId(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.findByCompanyIdGroupId(companyId,
groupId);
}
@Override @Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId( public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoId(
long geologoUserId, int start, int end) long geologoUserId, int start, int end)

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

@ -71,8 +71,8 @@ public interface ParereGeologoService extends BaseService, InvokableService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException; com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.ParereGeologo updateParereGeologo( public it.tref.liferay.portos.bo.model.ParereGeologo esprimiParere(
long parereGeologoId, java.lang.String parere, byte[] content, long parereId, java.lang.String testo, byte[] content,
java.lang.String fileName, java.lang.String fileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,

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

@ -39,7 +39,7 @@ public class ParereGeologoServiceClp implements ParereGeologoService {
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName4 = "updateParereGeologo"; _methodName4 = "esprimiParere";
_methodParameterTypes4 = new String[] { _methodParameterTypes4 = new String[] {
"long", "java.lang.String", "byte[][]", "java.lang.String", "long", "java.lang.String", "byte[][]", "java.lang.String",
@ -161,8 +161,8 @@ public class ParereGeologoServiceClp implements ParereGeologoService {
} }
@Override @Override
public it.tref.liferay.portos.bo.model.ParereGeologo updateParereGeologo( public it.tref.liferay.portos.bo.model.ParereGeologo esprimiParere(
long parereGeologoId, java.lang.String parere, byte[] content, long parereId, java.lang.String testo, byte[] content,
java.lang.String fileName, java.lang.String fileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
@ -173,9 +173,9 @@ public class ParereGeologoServiceClp implements ParereGeologoService {
returnObj = _invokableService.invokeMethod(_methodName4, returnObj = _invokableService.invokeMethod(_methodName4,
_methodParameterTypes4, _methodParameterTypes4,
new Object[] { new Object[] {
parereGeologoId, parereId,
ClpSerializer.translateInput(parere), ClpSerializer.translateInput(testo),
ClpSerializer.translateInput(content), ClpSerializer.translateInput(content),

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

@ -74,15 +74,15 @@ public class ParereGeologoServiceUtil {
dettPraticaId, noteRichiedente, serviceContext); dettPraticaId, noteRichiedente, serviceContext);
} }
public static it.tref.liferay.portos.bo.model.ParereGeologo updateParereGeologo( public static it.tref.liferay.portos.bo.model.ParereGeologo esprimiParere(
long parereGeologoId, java.lang.String parere, byte[] content, long parereId, java.lang.String testo, byte[] content,
java.lang.String fileName, java.lang.String fileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
return getService() return getService()
.updateParereGeologo(parereGeologoId, parere, content, .esprimiParere(parereId, testo, content, fileName,
fileName, serviceContext); serviceContext);
} }
public static it.tref.liferay.portos.bo.model.ParereGeologo deleteParereGeologo( public static it.tref.liferay.portos.bo.model.ParereGeologo deleteParereGeologo(

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

@ -70,14 +70,14 @@ public class ParereGeologoServiceWrapper implements ParereGeologoService,
} }
@Override @Override
public it.tref.liferay.portos.bo.model.ParereGeologo updateParereGeologo( public it.tref.liferay.portos.bo.model.ParereGeologo esprimiParere(
long parereGeologoId, java.lang.String parere, byte[] content, long parereId, java.lang.String testo, byte[] content,
java.lang.String fileName, java.lang.String fileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoService.updateParereGeologo(parereGeologoId, return _parereGeologoService.esprimiParere(parereId, testo, content,
parere, content, fileName, serviceContext); fileName, serviceContext);
} }
@Override @Override

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

@ -284,10 +284,6 @@ public interface TerritorioLocalService extends BaseLocalService,
long comuneId, int start, int end) long comuneId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.Territorio> findByCompanyIdGroupId(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<java.lang.String> getActiveProvince() public java.util.List<java.lang.String> getActiveProvince()
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;

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

@ -145,46 +145,42 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
_methodParameterTypes23 = new String[] { "long", "int", "int" }; _methodParameterTypes23 = new String[] { "long", "int", "int" };
_methodName24 = "findByCompanyIdGroupId"; _methodName24 = "getActiveProvince";
_methodParameterTypes24 = new String[] { "long", "long" }; _methodParameterTypes24 = new String[] { };
_methodName25 = "getActiveProvince"; _methodName25 = "getActiveComuniByCodiceProvincia";
_methodParameterTypes25 = new String[] { }; _methodParameterTypes25 = new String[] { "java.lang.String" };
_methodName26 = "getActiveComuniByCodiceProvincia"; _methodName26 = "getActiveTerritoriByComune";
_methodParameterTypes26 = new String[] { "java.lang.String" }; _methodParameterTypes26 = new String[] { "long" };
_methodName27 = "getActiveTerritoriByComune"; _methodName27 = "findTerritorioByComuneIdGZonaFasciaDtIni";
_methodParameterTypes27 = new String[] { "long" }; _methodParameterTypes27 = new String[] {
_methodName28 = "findTerritorioByComuneIdGZonaFasciaDtIni";
_methodParameterTypes28 = new String[] {
"long", "long", "java.lang.String", "java.lang.String", "long", "long", "java.lang.String", "java.lang.String",
"java.util.Date" "java.util.Date"
}; };
_methodName29 = "getTerritoriByGroupAndZona"; _methodName28 = "getTerritoriByGroupAndZona";
_methodParameterTypes29 = new String[] { "long", "java.lang.String" }; _methodParameterTypes28 = new String[] { "long", "java.lang.String" };
_methodName30 = "getTerritoriByGroupAndZonaAndFascia"; _methodName29 = "getTerritoriByGroupAndZonaAndFascia";
_methodParameterTypes30 = new String[] { _methodParameterTypes29 = new String[] {
"long", "java.lang.String", "java.lang.String" "long", "java.lang.String", "java.lang.String"
}; };
_methodName31 = "getAllTerritorioGroup"; _methodName30 = "getAllTerritorioGroup";
_methodParameterTypes31 = new String[] { }; _methodParameterTypes30 = new String[] { };
_methodName32 = "verifyTerritorioConstraintAlreadyExist"; _methodName31 = "verifyTerritorioConstraintAlreadyExist";
_methodParameterTypes32 = new String[] { _methodParameterTypes31 = new String[] {
"long", "long", "java.lang.String", "java.lang.String", "long", "long", "java.lang.String", "java.lang.String",
"java.util.Date" "java.util.Date"
}; };
@ -952,43 +948,14 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
return (java.util.List<it.tref.liferay.portos.bo.model.Territorio>)ClpSerializer.translateOutput(returnObj); return (java.util.List<it.tref.liferay.portos.bo.model.Territorio>)ClpSerializer.translateOutput(returnObj);
} }
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Territorio> findByCompanyIdGroupId(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes24, new Object[] { companyId, groupId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(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 (java.util.List<it.tref.liferay.portos.bo.model.Territorio>)ClpSerializer.translateOutput(returnObj);
}
@Override @Override
public java.util.List<java.lang.String> getActiveProvince() public java.util.List<java.lang.String> getActiveProvince()
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName25, returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes25, new Object[] { }); _methodParameterTypes24, new Object[] { });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1016,8 +983,8 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName26, returnObj = _invokableLocalService.invokeMethod(_methodName25,
_methodParameterTypes26, _methodParameterTypes25,
new Object[] { ClpSerializer.translateInput(codiceProvincia) }); new Object[] { ClpSerializer.translateInput(codiceProvincia) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1046,8 +1013,8 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName27, returnObj = _invokableLocalService.invokeMethod(_methodName26,
_methodParameterTypes27, new Object[] { comuneId }); _methodParameterTypes26, new Object[] { comuneId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1077,8 +1044,8 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName28, returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes28, _methodParameterTypes27,
new Object[] { new Object[] {
comuneId, comuneId,
@ -1121,8 +1088,8 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName29, returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes29, _methodParameterTypes28,
new Object[] { groupId, ClpSerializer.translateInput(zona) }); new Object[] { groupId, ClpSerializer.translateInput(zona) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1151,8 +1118,8 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName30, returnObj = _invokableLocalService.invokeMethod(_methodName29,
_methodParameterTypes30, _methodParameterTypes29,
new Object[] { new Object[] {
groupId, groupId,
@ -1186,8 +1153,8 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName31, returnObj = _invokableLocalService.invokeMethod(_methodName30,
_methodParameterTypes31, new Object[] { }); _methodParameterTypes30, new Object[] { });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1216,8 +1183,8 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName32, returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes32, _methodParameterTypes31,
new Object[] { new Object[] {
comuneId, comuneId,
@ -1312,6 +1279,4 @@ public class TerritorioLocalServiceClp implements TerritorioLocalService {
private String[] _methodParameterTypes30; private String[] _methodParameterTypes30;
private String _methodName31; private String _methodName31;
private String[] _methodParameterTypes31; private String[] _methodParameterTypes31;
private String _methodName32;
private String[] _methodParameterTypes32;
} }

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

@ -319,12 +319,6 @@ public class TerritorioLocalServiceUtil {
return getService().findByComuneId(comuneId, start, end); return getService().findByComuneId(comuneId, start, end);
} }
public static java.util.List<it.tref.liferay.portos.bo.model.Territorio> findByCompanyIdGroupId(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findByCompanyIdGroupId(companyId, groupId);
}
public static java.util.List<java.lang.String> getActiveProvince() public static java.util.List<java.lang.String> getActiveProvince()
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getService().getActiveProvince(); return getService().getActiveProvince();

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

@ -336,13 +336,6 @@ public class TerritorioLocalServiceWrapper implements TerritorioLocalService,
return _territorioLocalService.findByComuneId(comuneId, start, end); return _territorioLocalService.findByComuneId(comuneId, start, end);
} }
@Override
public java.util.List<it.tref.liferay.portos.bo.model.Territorio> findByCompanyIdGroupId(
long companyId, long groupId)
throws com.liferay.portal.kernel.exception.SystemException {
return _territorioLocalService.findByCompanyIdGroupId(companyId, groupId);
}
@Override @Override
public java.util.List<java.lang.String> getActiveProvince() public java.util.List<java.lang.String> getActiveProvince()
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {

469
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistence.java

@ -524,346 +524,6 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
public int countByIntPraticaId(long intPraticaId) public int countByIntPraticaId(long intPraticaId)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_DtCompilazione_DtAnnullamento_First(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_DtCompilazione_DtAnnullamento_First(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_DtCompilazione_DtAnnullamento_Last(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_DtCompilazione_DtAnnullamento_Last(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo[] findByIntPraticaId_DtCompilazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Removes all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public void removeByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public int countByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoUserId_DtCompilazione_DtAnnullamento_First(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the first parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoUserId_DtCompilazione_DtAnnullamento_First(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoUserId_DtCompilazione_DtAnnullamento_Last(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the last parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoUserId_DtCompilazione_DtAnnullamento_Last(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo[] findByGeologoUserId_DtCompilazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long geologoUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Removes all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public void removeByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public int countByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns all the parere geologos where companyId = &#63; and groupId = &#63;. * Returns all the parere geologos where companyId = &#63; and groupId = &#63;.
* *
@ -1313,25 +973,26 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @return the matching parere geologos * @return the matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns a range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns a range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1341,6 +1002,7 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param start the lower bound of the range of parere geologos * @param start the lower bound of the range of parere geologos
@ -1348,14 +1010,15 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @return the range of matching parere geologos * @return the range of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, int start, int end) java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns an ordered range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns an ordered range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1365,6 +1028,7 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param start the lower bound of the range of parere geologos * @param start the lower bound of the range of parere geologos
@ -1373,20 +1037,22 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @return the ordered range of matching parere geologos * @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, int start, int end, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@ -1394,41 +1060,43 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found * @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First( public it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_First(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException; it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/** /**
* Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found * @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First( public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_First(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@ -1436,42 +1104,44 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found * @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last( public it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_Last(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException; it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/** /**
* Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found * @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last( public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_Last(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns the parere geologos before and after the current parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the parere geologos before and after the current parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param parereGeologoId the primary key of the current parere geologo * @param parereGeologoId the primary key of the current parere geologo
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@ -1479,16 +1149,17 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found * @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public it.tref.liferay.portos.bo.model.ParereGeologo[] findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext( public it.tref.liferay.portos.bo.model.ParereGeologo[] findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_PrevAndNext(
long parereGeologoId, long groupId, int unitaOperativa, long parereGeologoId, long groupId, int unitaOperativa,
long assegnatoreUserId, java.util.Date dtCompilazione, long assegnatoreUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, java.util.Date dtApprovazione, java.util.Date dtAssegnazione, java.util.Date dtAnnullamento,
java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException; it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/** /**
* Returns all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1498,19 +1169,20 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @param unitaOperativas the unita operativas * @param unitaOperativas the unita operativas
* @param assegnatoreUserIds the assegnatore user IDs * @param assegnatoreUserIds the assegnatore user IDs
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @return the matching parere geologos * @return the matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds, long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns a range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns a range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1520,6 +1192,7 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @param unitaOperativas the unita operativas * @param unitaOperativas the unita operativas
* @param assegnatoreUserIds the assegnatore user IDs * @param assegnatoreUserIds the assegnatore user IDs
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param start the lower bound of the range of parere geologos * @param start the lower bound of the range of parere geologos
@ -1527,14 +1200,15 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @return the range of matching parere geologos * @return the range of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds, long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, int start, int end) java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns an ordered range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns an ordered range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1544,6 +1218,7 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @param unitaOperativas the unita operativas * @param unitaOperativas the unita operativas
* @param assegnatoreUserIds the assegnatore user IDs * @param assegnatoreUserIds the assegnatore user IDs
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param start the lower bound of the range of parere geologos * @param start the lower bound of the range of parere geologos
@ -1552,64 +1227,68 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
* @return the ordered range of matching parere geologos * @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds, long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, int start, int end, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Removes all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63; from the database. * Removes all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63; from the database.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public void removeByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public void removeByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns the number of parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the number of parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @return the number of matching parere geologos * @return the number of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public int countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public int countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**
* Returns the number of parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the number of parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupIds the group IDs * @param groupIds the group IDs
* @param unitaOperativas the unita operativas * @param unitaOperativas the unita operativas
* @param assegnatoreUserIds the assegnatore user IDs * @param assegnatoreUserIds the assegnatore user IDs
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @return the number of matching parere geologos * @return the number of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public int countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public int countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds, long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**

624
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoUtil.java

@ -684,426 +684,6 @@ public class ParereGeologoUtil {
return getPersistence().countByIntPraticaId(intPraticaId); return getPersistence().countByIntPraticaId(intPraticaId);
} }
/**
* Returns all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns a range of all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento, start, end);
}
/**
* Returns an ordered range of all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento, start, end, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_DtCompilazione_DtAnnullamento_First(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByIntPraticaId_DtCompilazione_DtAnnullamento_First(intPraticaId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_DtCompilazione_DtAnnullamento_First(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByIntPraticaId_DtCompilazione_DtAnnullamento_First(intPraticaId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByIntPraticaId_DtCompilazione_DtAnnullamento_Last(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByIntPraticaId_DtCompilazione_DtAnnullamento_Last(intPraticaId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByIntPraticaId_DtCompilazione_DtAnnullamento_Last(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByIntPraticaId_DtCompilazione_DtAnnullamento_Last(intPraticaId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByIntPraticaId_DtCompilazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByIntPraticaId_DtCompilazione_DtAnnullamento_PrevAndNext(parereGeologoId,
intPraticaId, dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Removes all the parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public static void removeByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence()
.removeByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns the number of parere geologos where intPraticaId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param intPraticaId the int pratica ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static int countByIntPraticaId_DtCompilazione_DtAnnullamento(
long intPraticaId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.countByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns a range of all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento, start, end);
}
/**
* Returns an ordered range of all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento, start, end, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoUserId_DtCompilazione_DtAnnullamento_First(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByGeologoUserId_DtCompilazione_DtAnnullamento_First(geologoUserId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoUserId_DtCompilazione_DtAnnullamento_First(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByGeologoUserId_DtCompilazione_DtAnnullamento_First(geologoUserId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGeologoUserId_DtCompilazione_DtAnnullamento_Last(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByGeologoUserId_DtCompilazione_DtAnnullamento_Last(geologoUserId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGeologoUserId_DtCompilazione_DtAnnullamento_Last(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByGeologoUserId_DtCompilazione_DtAnnullamento_Last(geologoUserId,
dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByGeologoUserId_DtCompilazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long geologoUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByGeologoUserId_DtCompilazione_DtAnnullamento_PrevAndNext(parereGeologoId,
geologoUserId, dtCompilazione, dtAnnullamento, orderByComparator);
}
/**
* Removes all the parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public static void removeByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence()
.removeByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento);
}
/**
* Returns the number of parere geologos where geologoUserId = &#63; and dtCompilazione = &#63; and dtAnnullamento = &#63;.
*
* @param geologoUserId the geologo user ID
* @param dtCompilazione the dt compilazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static int countByGeologoUserId_DtCompilazione_DtAnnullamento(
long geologoUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.countByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId,
dtCompilazione, dtAnnullamento);
}
/** /**
* Returns all the parere geologos where companyId = &#63; and groupId = &#63;. * Returns all the parere geologos where companyId = &#63; and groupId = &#63;.
* *
@ -1651,30 +1231,31 @@ public class ParereGeologoUtil {
} }
/** /**
* Returns all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @return the matching parere geologos * @return the matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupId, .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(groupId,
unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione,
dtApprovazione); dtAnnullamento, dtApprovazione);
} }
/** /**
* Returns a range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns a range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1684,6 +1265,7 @@ public class ParereGeologoUtil {
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param start the lower bound of the range of parere geologos * @param start the lower bound of the range of parere geologos
@ -1691,19 +1273,20 @@ public class ParereGeologoUtil {
* @return the range of matching parere geologos * @return the range of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, int start, int end) java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupId, .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(groupId,
unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione,
dtApprovazione, start, end); dtAnnullamento, dtApprovazione, start, end);
} }
/** /**
* Returns an ordered range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns an ordered range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1713,6 +1296,7 @@ public class ParereGeologoUtil {
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param start the lower bound of the range of parere geologos * @param start the lower bound of the range of parere geologos
@ -1721,25 +1305,27 @@ public class ParereGeologoUtil {
* @return the ordered range of matching parere geologos * @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, int start, int end, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupId, .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(groupId,
unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione,
dtApprovazione, start, end, orderByComparator); dtAnnullamento, dtApprovazione, start, end, orderByComparator);
} }
/** /**
* Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@ -1747,51 +1333,53 @@ public class ParereGeologoUtil {
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found * @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First( public static it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_First(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException { it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence() return getPersistence()
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(groupId, .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_First(groupId,
unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione,
dtApprovazione, orderByComparator); dtAnnullamento, dtApprovazione, orderByComparator);
} }
/** /**
* Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found * @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First( public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_First(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(groupId, .fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_First(groupId,
unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione,
dtApprovazione, orderByComparator); dtAnnullamento, dtApprovazione, orderByComparator);
} }
/** /**
* Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@ -1799,52 +1387,54 @@ public class ParereGeologoUtil {
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found * @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last( public static it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_Last(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException { it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence() return getPersistence()
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(groupId, .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_Last(groupId,
unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione,
dtApprovazione, orderByComparator); dtAnnullamento, dtApprovazione, orderByComparator);
} }
/** /**
* Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found * @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last( public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_Last(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(groupId, .fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_Last(groupId,
unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione,
dtApprovazione, orderByComparator); dtAnnullamento, dtApprovazione, orderByComparator);
} }
/** /**
* Returns the parere geologos before and after the current parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the parere geologos before and after the current parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param parereGeologoId the primary key of the current parere geologo * @param parereGeologoId the primary key of the current parere geologo
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@ -1852,21 +1442,22 @@ public class ParereGeologoUtil {
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found * @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext( public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_PrevAndNext(
long parereGeologoId, long groupId, int unitaOperativa, long parereGeologoId, long groupId, int unitaOperativa,
long assegnatoreUserId, java.util.Date dtCompilazione, long assegnatoreUserId, java.util.Date dtCompilazione,
java.util.Date dtAnnullamento, java.util.Date dtApprovazione, java.util.Date dtAssegnazione, java.util.Date dtAnnullamento,
java.util.Date dtApprovazione,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException { it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence() return getPersistence()
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext(parereGeologoId, .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione_PrevAndNext(parereGeologoId,
groupId, unitaOperativa, assegnatoreUserId, dtCompilazione, groupId, unitaOperativa, assegnatoreUserId, dtCompilazione,
dtAnnullamento, dtApprovazione, orderByComparator); dtAssegnazione, dtAnnullamento, dtApprovazione, orderByComparator);
} }
/** /**
* Returns all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1876,24 +1467,25 @@ public class ParereGeologoUtil {
* @param unitaOperativas the unita operativas * @param unitaOperativas the unita operativas
* @param assegnatoreUserIds the assegnatore user IDs * @param assegnatoreUserIds the assegnatore user IDs
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @return the matching parere geologos * @return the matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds, long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupIds, .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(groupIds,
unitaOperativas, assegnatoreUserIds, dtCompilazione, unitaOperativas, assegnatoreUserIds, dtCompilazione,
dtAnnullamento, dtApprovazione); dtAssegnazione, dtAnnullamento, dtApprovazione);
} }
/** /**
* Returns a range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns a range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1903,6 +1495,7 @@ public class ParereGeologoUtil {
* @param unitaOperativas the unita operativas * @param unitaOperativas the unita operativas
* @param assegnatoreUserIds the assegnatore user IDs * @param assegnatoreUserIds the assegnatore user IDs
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param start the lower bound of the range of parere geologos * @param start the lower bound of the range of parere geologos
@ -1910,19 +1503,20 @@ public class ParereGeologoUtil {
* @return the range of matching parere geologos * @return the range of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds, long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, int start, int end) java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupIds, .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(groupIds,
unitaOperativas, assegnatoreUserIds, dtCompilazione, unitaOperativas, assegnatoreUserIds, dtCompilazione,
dtAnnullamento, dtApprovazione, start, end); dtAssegnazione, dtAnnullamento, dtApprovazione, start, end);
} }
/** /**
* Returns an ordered range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns an ordered range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* <p> * <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
@ -1932,6 +1526,7 @@ public class ParereGeologoUtil {
* @param unitaOperativas the unita operativas * @param unitaOperativas the unita operativas
* @param assegnatoreUserIds the assegnatore user IDs * @param assegnatoreUserIds the assegnatore user IDs
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @param start the lower bound of the range of parere geologos * @param start the lower bound of the range of parere geologos
@ -1940,84 +1535,89 @@ public class ParereGeologoUtil {
* @return the ordered range of matching parere geologos * @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds, long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, int start, int end, java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupIds, .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(groupIds,
unitaOperativas, assegnatoreUserIds, dtCompilazione, unitaOperativas, assegnatoreUserIds, dtCompilazione,
dtAnnullamento, dtApprovazione, start, end, orderByComparator); dtAssegnazione, dtAnnullamento, dtApprovazione, start, end,
orderByComparator);
} }
/** /**
* Removes all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63; from the database. * Removes all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63; from the database.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static void removeByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public static void removeByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
getPersistence() getPersistence()
.removeByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupId, .removeByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(groupId,
unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione,
dtApprovazione); dtAnnullamento, dtApprovazione);
} }
/** /**
* Returns the number of parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the number of parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupId the group ID * @param groupId the group ID
* @param unitaOperativa the unita operativa * @param unitaOperativa the unita operativa
* @param assegnatoreUserId the assegnatore user ID * @param assegnatoreUserId the assegnatore user ID
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @return the number of matching parere geologos * @return the number of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static int countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public static int countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long groupId, int unitaOperativa, long assegnatoreUserId, long groupId, int unitaOperativa, long assegnatoreUserId,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupId, .countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(groupId,
unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione,
dtApprovazione); dtAnnullamento, dtApprovazione);
} }
/** /**
* Returns the number of parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAnnullamento &ne; &#63; and dtApprovazione = &#63;. * Returns the number of parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and assegnatoreUserId = any &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
* *
* @param groupIds the group IDs * @param groupIds the group IDs
* @param unitaOperativas the unita operativas * @param unitaOperativas the unita operativas
* @param assegnatoreUserIds the assegnatore user IDs * @param assegnatoreUserIds the assegnatore user IDs
* @param dtCompilazione the dt compilazione * @param dtCompilazione the dt compilazione
* @param dtAssegnazione the dt assegnazione
* @param dtAnnullamento the dt annullamento * @param dtAnnullamento the dt annullamento
* @param dtApprovazione the dt approvazione * @param dtApprovazione the dt approvazione
* @return the number of matching parere geologos * @return the number of matching parere geologos
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static int countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( public static int countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds, long[] groupIds, int[] unitaOperativas, long[] assegnatoreUserIds,
java.util.Date dtCompilazione, java.util.Date dtAnnullamento, java.util.Date dtCompilazione, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione) java.util.Date dtAnnullamento, java.util.Date dtApprovazione)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence() return getPersistence()
.countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupIds, .countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(groupIds,
unitaOperativas, assegnatoreUserIds, dtCompilazione, unitaOperativas, assegnatoreUserIds, dtCompilazione,
dtAnnullamento, dtApprovazione); dtAssegnazione, dtAnnullamento, dtApprovazione);
} }
/** /**

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties

@ -162,7 +162,10 @@ IX_5D9EAD5E=portos_bo_ParereGeo.GeologoUserId_DtCompilazione_DtAnnullamento
IX_81AC7104=portos_bo_ParereGeo.GroupId_GeologoUserId_DtCompilazione_DtAnnullamento IX_81AC7104=portos_bo_ParereGeo.GroupId_GeologoUserId_DtCompilazione_DtAnnullamento
IX_B4CF0B7E=portos_bo_ParereGeo.Group_Geologo_Assegnatore_DtCompilazione_DtAnnullamento IX_B4CF0B7E=portos_bo_ParereGeo.Group_Geologo_Assegnatore_DtCompilazione_DtAnnullamento
IX_94C87F94=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_DtCompilazione_DtAnnullamento_DtApprovazione IX_94C87F94=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_DtCompilazione_DtAnnullamento_DtApprovazione
IX_94C87F94=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_NotDtCompilazione_Annullamento_DtApprovazione
IX_94C87F94=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_NotDtCompilazione_DtAnnullamento_DtApprovazione
IX_94C87F94=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione IX_94C87F94=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione
IX_D0EBB039=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione
IX_3A6B6848=portos_bo_ParereGeo.Group_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento IX_3A6B6848=portos_bo_ParereGeo.Group_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento
IX_EFB6D6FA=portos_bo_ParereGeo.IntPraticaId IX_EFB6D6FA=portos_bo_ParereGeo.IntPraticaId
IX_66765F8E=portos_bo_ParereGeo.IntPraticaId_DtCompilazione_DtAnnullamento IX_66765F8E=portos_bo_ParereGeo.IntPraticaId_DtCompilazione_DtAnnullamento

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

@ -157,6 +157,7 @@ create index IX_5D9EAD5E on portos_bo_ParereGeo (geologoUserId, dtCompilazione,
create index IX_B4CF0B7E on portos_bo_ParereGeo (groupId, geologoUserId, assegnatoreUserId, dtCompilazione, dtAnnullamento); create index IX_B4CF0B7E on portos_bo_ParereGeo (groupId, geologoUserId, assegnatoreUserId, dtCompilazione, dtAnnullamento);
create index IX_81AC7104 on portos_bo_ParereGeo (groupId, geologoUserId, dtCompilazione, dtAnnullamento); create index IX_81AC7104 on portos_bo_ParereGeo (groupId, geologoUserId, dtCompilazione, dtAnnullamento);
create index IX_94C87F94 on portos_bo_ParereGeo (groupId, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, dtApprovazione); create index IX_94C87F94 on portos_bo_ParereGeo (groupId, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, dtApprovazione);
create index IX_D0EBB039 on portos_bo_ParereGeo (groupId, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione, dtAnnullamento, dtApprovazione);
create index IX_3A6B6848 on portos_bo_ParereGeo (groupId, unitaOperativa, geologoUserId, assegnatoreUserId, dtCompilazione, dtAnnullamento); create index IX_3A6B6848 on portos_bo_ParereGeo (groupId, unitaOperativa, geologoUserId, assegnatoreUserId, dtCompilazione, dtAnnullamento);
create index IX_EFB6D6FA on portos_bo_ParereGeo (intPraticaId); create index IX_EFB6D6FA on portos_bo_ParereGeo (intPraticaId);
create index IX_66765F8E on portos_bo_ParereGeo (intPraticaId, dtCompilazione, dtAnnullamento); create index IX_66765F8E on portos_bo_ParereGeo (intPraticaId, dtCompilazione, dtAnnullamento);

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

@ -590,6 +590,7 @@ create table portos_bo_ParereGeo (
dtCompilazione DATE null, dtCompilazione DATE null,
status INTEGER, status INTEGER,
noteRichiedente STRING null, noteRichiedente STRING null,
noteAssegnatore STRING null,
dtAnnullamento DATE null, dtAnnullamento DATE null,
userIdAnnullamento LONG, userIdAnnullamento LONG,
noteAnnullamento STRING null, noteAnnullamento STRING null,

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

@ -649,6 +649,7 @@
<property name="dtCompilazione" type="org.hibernate.type.TimestampType" /> <property name="dtCompilazione" type="org.hibernate.type.TimestampType" />
<property name="status" type="com.liferay.portal.dao.orm.hibernate.IntegerType" /> <property name="status" type="com.liferay.portal.dao.orm.hibernate.IntegerType" />
<property name="noteRichiedente" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="noteRichiedente" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="noteAssegnatore" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="dtAnnullamento" type="org.hibernate.type.TimestampType" /> <property name="dtAnnullamento" type="org.hibernate.type.TimestampType" />
<property name="userIdAnnullamento" type="com.liferay.portal.dao.orm.hibernate.LongType" /> <property name="userIdAnnullamento" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="noteAnnullamento" type="com.liferay.portal.dao.orm.hibernate.StringType" /> <property name="noteAnnullamento" type="com.liferay.portal.dao.orm.hibernate.StringType" />

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

@ -699,6 +699,9 @@
<field name="noteRichiedente" type="String"> <field name="noteRichiedente" type="String">
<hint name="max-length">4000</hint> <hint name="max-length">4000</hint>
</field> </field>
<field name="noteAssegnatore" type="String">
<hint name="max-length">4000</hint>
</field>
<field name="dtAnnullamento" type="Date" /> <field name="dtAnnullamento" type="Date" />
<field name="userIdAnnullamento" type="long" /> <field name="userIdAnnullamento" type="long" />
<field name="noteAnnullamento" type="String"> <field name="noteAnnullamento" type="String">

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

@ -843,6 +843,7 @@
</basic> </basic>
<basic name="status" /> <basic name="status" />
<basic name="noteRichiedente" /> <basic name="noteRichiedente" />
<basic name="noteAssegnatore" />
<basic name="dtAnnullamento"> <basic name="dtAnnullamento">
<temporal>TIMESTAMP</temporal> <temporal>TIMESTAMP</temporal>
</basic> </basic>

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

@ -331,5 +331,3 @@ label-integrazione-13 = Variante
ricerca-posizione = Ricerca per posizione ricerca-posizione = Ricerca per posizione
ricerca-indirizzo = Ricerca per indirizzo ricerca-indirizzo = Ricerca per indirizzo
ricerca-progetto = Ricerca per progetto ricerca-progetto = Ricerca per progetto
note-richiedente = Note del richiedente

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

@ -1364,3 +1364,7 @@ mappe-openstreetmap = OpenStreetmap
sanatoria-edilizia = Sanatoria edilizia sanatoria-edilizia = Sanatoria edilizia
intervento-voce-p7 = L.R. 5/2019, art. 3, allegato B: intervento alla voce B intervento-voce-p7 = L.R. 5/2019, art. 3, allegato B: intervento alla voce B
note-richiedente = Note del richiedente
note-assegnatore = Note per l'istruttore
note-approvatore = Note dell'approvatore

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

@ -12,6 +12,8 @@ import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException; import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.log.Log; import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil; import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.model.Role; import com.liferay.portal.model.Role;
import com.liferay.portal.model.RoleConstants; import com.liferay.portal.model.RoleConstants;
import com.liferay.portal.model.User; import com.liferay.portal.model.User;
@ -31,35 +33,48 @@ public class DatabaseUpdateAction extends SimpleAction {
for (String id : ids) { for (String id : ids) {
long companyId = Long.parseLong(id); long companyId = Long.parseLong(id);
try { try {
long versione = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, CHIAVE_VERSIONE);
if (versione < 2) {
parereGeologov2(companyId);
// versione = 2;
}
ServiceContext serviceContext = new ServiceContext(); ServiceContext serviceContext = new ServiceContext();
Role adminRole = RoleLocalServiceUtil.getRole(companyId, RoleConstants.ADMINISTRATOR); Role adminRole = RoleLocalServiceUtil.getRole(companyId, RoleConstants.ADMINISTRATOR);
User adminUser = UserLocalServiceUtil.getRoleUsers(adminRole.getRoleId(), 0, 1).get(0); User adminUser = UserLocalServiceUtil.getRoleUsers(adminRole.getRoleId(), 0, 1).get(0);
serviceContext.setCompanyId(companyId); serviceContext.setCompanyId(companyId);
serviceContext.setScopeGroupId(-1L); serviceContext.setScopeGroupId(-1L);
serviceContext.setUserId(adminUser.getUserId()); serviceContext.setUserId(adminUser.getUserId());
ConfigurazioneLocalServiceUtil.storeConfig(CHIAVE_VERSIONE, String.valueOf(versione), serviceContext); long versione = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, CHIAVE_VERSIONE);
if (versione < 0) {
parereGeologoV2(companyId);
versione = 0;
ConfigurazioneLocalServiceUtil.storeConfig(CHIAVE_VERSIONE, String.valueOf(versione),
serviceContext);
}
} catch (PortalException | SystemException e) { } catch (PortalException | SystemException e) {
_log.error(e, e); _log.error(e, e);
} }
} }
} }
private static void parereGeologov2(long companyId) throws SystemException { private static void parereGeologoV2(long companyId) throws SystemException {
final int SLICE = 100; final int SLICE = 100;
List<ParereGeologo> pareri; List<ParereGeologo> pareri;
int start = 0; int start = 0;
int lavorati = 0;
int aggiornati = 0;
do { do {
pareri = ParereGeologoLocalServiceUtil.getParereGeologos(start, start + SLICE); pareri = ParereGeologoLocalServiceUtil.getParereGeologos(start, start + SLICE);
if (pareri.size() > 0) { if (pareri.size() > 0) {
for (ParereGeologo parere : pareri) { for (ParereGeologo parere : pareri) {
if (companyId == parere.getCompanyId()) {
lavorati++;
if (Validator.isNotNull(parere.getDtCompilazione())
&& Validator.isNull(parere.getDtApprovazione())) {
parere.setDtApprovazione(parere.getDtCompilazione());
ParereGeologoLocalServiceUtil.updateParereGeologo(parere);
aggiornati++;
}
}
} }
start += pareri.size();
_log.info("Aggiornati a v2 " + aggiornati + StringPool.SLASH + lavorati + " pareri");
} }
} while (pareri.size() > 0); } while (pareri.size() > 0);
} }

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

@ -38,7 +38,7 @@ public class ParereGeologoCacheModel implements CacheModel<ParereGeologo>,
Externalizable { Externalizable {
@Override @Override
public String toString() { public String toString() {
StringBundler sb = new StringBundler(53); StringBundler sb = new StringBundler(55);
sb.append("{uuid="); sb.append("{uuid=");
sb.append(uuid); sb.append(uuid);
@ -80,6 +80,8 @@ public class ParereGeologoCacheModel implements CacheModel<ParereGeologo>,
sb.append(status); sb.append(status);
sb.append(", noteRichiedente="); sb.append(", noteRichiedente=");
sb.append(noteRichiedente); sb.append(noteRichiedente);
sb.append(", noteAssegnatore=");
sb.append(noteAssegnatore);
sb.append(", dtAnnullamento="); sb.append(", dtAnnullamento=");
sb.append(dtAnnullamento); sb.append(dtAnnullamento);
sb.append(", userIdAnnullamento="); sb.append(", userIdAnnullamento=");
@ -179,6 +181,13 @@ public class ParereGeologoCacheModel implements CacheModel<ParereGeologo>,
parereGeologoImpl.setNoteRichiedente(noteRichiedente); parereGeologoImpl.setNoteRichiedente(noteRichiedente);
} }
if (noteAssegnatore == null) {
parereGeologoImpl.setNoteAssegnatore(StringPool.BLANK);
}
else {
parereGeologoImpl.setNoteAssegnatore(noteAssegnatore);
}
if (dtAnnullamento == Long.MIN_VALUE) { if (dtAnnullamento == Long.MIN_VALUE) {
parereGeologoImpl.setDtAnnullamento(null); parereGeologoImpl.setDtAnnullamento(null);
} }
@ -238,6 +247,7 @@ public class ParereGeologoCacheModel implements CacheModel<ParereGeologo>,
dtCompilazione = objectInput.readLong(); dtCompilazione = objectInput.readLong();
status = objectInput.readInt(); status = objectInput.readInt();
noteRichiedente = objectInput.readUTF(); noteRichiedente = objectInput.readUTF();
noteAssegnatore = objectInput.readUTF();
dtAnnullamento = objectInput.readLong(); dtAnnullamento = objectInput.readLong();
userIdAnnullamento = objectInput.readLong(); userIdAnnullamento = objectInput.readLong();
noteAnnullamento = objectInput.readUTF(); noteAnnullamento = objectInput.readUTF();
@ -296,6 +306,13 @@ public class ParereGeologoCacheModel implements CacheModel<ParereGeologo>,
objectOutput.writeUTF(noteRichiedente); objectOutput.writeUTF(noteRichiedente);
} }
if (noteAssegnatore == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(noteAssegnatore);
}
objectOutput.writeLong(dtAnnullamento); objectOutput.writeLong(dtAnnullamento);
objectOutput.writeLong(userIdAnnullamento); objectOutput.writeLong(userIdAnnullamento);
@ -337,6 +354,7 @@ public class ParereGeologoCacheModel implements CacheModel<ParereGeologo>,
public long dtCompilazione; public long dtCompilazione;
public int status; public int status;
public String noteRichiedente; public String noteRichiedente;
public String noteAssegnatore;
public long dtAnnullamento; public long dtAnnullamento;
public long userIdAnnullamento; public long userIdAnnullamento;
public String noteAnnullamento; public String noteAnnullamento;

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

@ -92,31 +92,32 @@ public class ParereGeologoImpl extends ParereGeologoBaseImpl {
try { try {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(getIntPraticaId()); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(getIntPraticaId());
String tipoOggetto; String oggetto;
String receiver;
String[] to; String[] to;
if (Validator.isNotNull(getDtApprovazione())) { if (Validator.isNotNull(getDtApprovazione())) {
// notifica parere espresso a istruttore // notifica parere espresso a istruttore
User istruttore = intPratica.recuperaTecnicoIstruttore(); User istruttore = intPratica.recuperaTecnicoIstruttore();
User geologo = UserLocalServiceUtil.getUser(getGeologoUserId()); User geologo = UserLocalServiceUtil.getUser(getGeologoUserId());
User approvatore = UserLocalServiceUtil.getUser(getAssegnatoreUserId());
to = new String[] { istruttore.getEmailAddress() }; to = new String[] { istruttore.getEmailAddress() };
tipoOggetto = "Parere endoprocedimentale espresso da " + Generics.capitalizeFull(geologo.getFullName()); oggetto = "Parere endoprocedimentale espresso da " + Generics.capitalizeFull(geologo.getFullName())
receiver = Generics.capitalizeFull(istruttore.getFullName()); + ", approvato da " + Generics.capitalizeFull(approvatore.getFullName());
} else if (Validator.isNotNull(getDtCompilazione())) { } else if (Validator.isNotNull(getDtCompilazione())) {
// notifica parere da approvare // notifica parere da approvare
User approvatore = UserLocalServiceUtil.getUser(getAssegnatoreUserId()); User approvatore = UserLocalServiceUtil.getUser(getAssegnatoreUserId());
User geologo = UserLocalServiceUtil.getUser(getGeologoUserId()); User geologo = UserLocalServiceUtil.getUser(getGeologoUserId());
to = new String[] { approvatore.getEmailAddress() }; to = new String[] { approvatore.getEmailAddress() };
tipoOggetto = "Parere endoprocedimentale da approvare, espresso da " oggetto = "Parere endoprocedimentale da approvare, richiesto da "
+ Generics.capitalizeFull(getUserName()) + ", espresso da "
+ Generics.capitalizeFull(geologo.getFullName()); + Generics.capitalizeFull(geologo.getFullName());
receiver = Generics.capitalizeFull(approvatore.getFullName());
} else if (Validator.isNotNull(getDtAssegnazione())) { } else if (Validator.isNotNull(getDtAssegnazione())) {
// notifica parere da esprimere // notifica parere da esprimere
User geologo = UserLocalServiceUtil.getUser(getGeologoUserId()); User geologo = UserLocalServiceUtil.getUser(getGeologoUserId());
User assegnatore = UserLocalServiceUtil.getUser(getAssegnatoreUserId());
to = new String[] { geologo.getEmailAddress() }; to = new String[] { geologo.getEmailAddress() };
tipoOggetto = "Parere endoprocedimentale da esprimere, richiesto da " oggetto = "Parere endoprocedimentale da esprimere, richiesto da "
+ Generics.capitalizeFull(getUserName()); + Generics.capitalizeFull(getUserName()) + ", assegnato da "
receiver = Generics.capitalizeFull(geologo.getFullName()); + Generics.capitalizeFull(assegnatore.getFullName());
} else if (getAssegnatoreUserId() == 0) { } else if (getAssegnatoreUserId() == 0) {
// notifica parere da assegnare a tutta l'unità operativa // notifica parere da assegnare a tutta l'unità operativa
Set<String> emails = new HashSet<>(); Set<String> emails = new HashSet<>();
@ -124,15 +125,15 @@ public class ParereGeologoImpl extends ParereGeologoBaseImpl {
emails.add(user.getEmailAddress()); emails.add(user.getEmailAddress());
} }
to = emails.toArray(new String[emails.size()]); to = emails.toArray(new String[emails.size()]);
tipoOggetto = "Parere endoprocedimentale da assegnare, richiesto da " oggetto = "Parere endoprocedimentale da assegnare, richiesto da "
+ Generics.capitalizeFull(getUserName()); + Generics.capitalizeFull(getUserName()) + " a Unità Operativa " + getUnitaOperativa();
receiver = "Unità operativa " + getUnitaOperativa();
} else { } else {
// notifica parere da assegnare al singolo operatore // notifica parere da assegnare al singolo operatore
User assegnatore = UserLocalServiceUtil.getUser(getAssegnatoreUserId()); User assegnatore = UserLocalServiceUtil.getUser(getAssegnatoreUserId());
to = new String[] { assegnatore.getEmailAddress() }; to = new String[] { assegnatore.getEmailAddress() };
tipoOggetto = "Richiesta Parere da assegnare"; oggetto = "Parere endoprocedimentale da assegnare, richiesto da "
receiver = Generics.capitalizeFull(assegnatore.getFullName()); + Generics.capitalizeFull(getUserName()) + " a "
+ Generics.capitalizeFull(assegnatore.getFullName());
} }
String[] cc = new String[0]; String[] cc = new String[0];
String[] ccn = new String[0]; String[] ccn = new String[0];
@ -147,9 +148,8 @@ public class ParereGeologoImpl extends ParereGeologoBaseImpl {
Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(territorio.getCompanyId(), Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(territorio.getCompanyId(),
territorio.getCodiceProvincia()); territorio.getCodiceProvincia());
JSONObject templateVariables = JSONFactoryUtil.createJSONObject(); JSONObject templateVariables = JSONFactoryUtil.createJSONObject();
templateVariables.put("receiver", receiver);
templateVariables.put("tipoPratica", tipoPratica); templateVariables.put("tipoPratica", tipoPratica);
templateVariables.put("tipoOggetto", tipoOggetto); templateVariables.put("tipoOggetto", oggetto);
templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm") templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm")
.format(getDtCompilazione() != null ? getDtCompilazione() : new Date())); .format(getDtCompilazione() != null ? getDtCompilazione() : new Date()));
templateVariables.put("praticaNum", intPratica.getNumeroProgetto()); templateVariables.put("praticaNum", intPratica.getNumeroProgetto());

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

@ -88,6 +88,7 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
{ "dtCompilazione", Types.TIMESTAMP }, { "dtCompilazione", Types.TIMESTAMP },
{ "status", Types.INTEGER }, { "status", Types.INTEGER },
{ "noteRichiedente", Types.VARCHAR }, { "noteRichiedente", Types.VARCHAR },
{ "noteAssegnatore", Types.VARCHAR },
{ "dtAnnullamento", Types.TIMESTAMP }, { "dtAnnullamento", Types.TIMESTAMP },
{ "userIdAnnullamento", Types.BIGINT }, { "userIdAnnullamento", Types.BIGINT },
{ "noteAnnullamento", Types.VARCHAR }, { "noteAnnullamento", Types.VARCHAR },
@ -95,7 +96,7 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
{ "dtApprovazione", Types.TIMESTAMP }, { "dtApprovazione", Types.TIMESTAMP },
{ "noteApprovatore", Types.VARCHAR } { "noteApprovatore", Types.VARCHAR }
}; };
public static final String TABLE_SQL_CREATE = "create table portos_bo_ParereGeo (uuid_ VARCHAR(75) null,parereGeologoId LONG not null primary key,companyId LONG,unitaOperativa INTEGER,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,geologoUserId LONG,assegnatoreUserId LONG,dtAssegnazione DATE null,parere STRING null,intPraticaId LONG,dettPraticaId LONG,fileEntryId LONG,dtRichista DATE null,dtCompilazione DATE null,status INTEGER,noteRichiedente STRING null,dtAnnullamento DATE null,userIdAnnullamento LONG,noteAnnullamento STRING null,approvatoreUserId LONG,dtApprovazione DATE null,noteApprovatore STRING null)"; public static final String TABLE_SQL_CREATE = "create table portos_bo_ParereGeo (uuid_ VARCHAR(75) null,parereGeologoId LONG not null primary key,companyId LONG,unitaOperativa INTEGER,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,geologoUserId LONG,assegnatoreUserId LONG,dtAssegnazione DATE null,parere STRING null,intPraticaId LONG,dettPraticaId LONG,fileEntryId LONG,dtRichista DATE null,dtCompilazione DATE null,status INTEGER,noteRichiedente STRING null,noteAssegnatore STRING null,dtAnnullamento DATE null,userIdAnnullamento LONG,noteAnnullamento STRING null,approvatoreUserId LONG,dtApprovazione DATE null,noteApprovatore STRING null)";
public static final String TABLE_SQL_DROP = "drop table portos_bo_ParereGeo"; public static final String TABLE_SQL_DROP = "drop table portos_bo_ParereGeo";
public static final String ORDER_BY_JPQL = " ORDER BY parereGeologo.createDate ASC"; public static final String ORDER_BY_JPQL = " ORDER BY parereGeologo.createDate ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_ParereGeo.createDate ASC"; public static final String ORDER_BY_SQL = " ORDER BY portos_bo_ParereGeo.createDate ASC";
@ -115,13 +116,14 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
public static long COMPANYID_COLUMN_BITMASK = 2L; public static long COMPANYID_COLUMN_BITMASK = 2L;
public static long DTANNULLAMENTO_COLUMN_BITMASK = 4L; public static long DTANNULLAMENTO_COLUMN_BITMASK = 4L;
public static long DTAPPROVAZIONE_COLUMN_BITMASK = 8L; public static long DTAPPROVAZIONE_COLUMN_BITMASK = 8L;
public static long DTCOMPILAZIONE_COLUMN_BITMASK = 16L; public static long DTASSEGNAZIONE_COLUMN_BITMASK = 16L;
public static long GEOLOGOUSERID_COLUMN_BITMASK = 32L; public static long DTCOMPILAZIONE_COLUMN_BITMASK = 32L;
public static long GROUPID_COLUMN_BITMASK = 64L; public static long GEOLOGOUSERID_COLUMN_BITMASK = 64L;
public static long INTPRATICAID_COLUMN_BITMASK = 128L; public static long GROUPID_COLUMN_BITMASK = 128L;
public static long UNITAOPERATIVA_COLUMN_BITMASK = 256L; public static long INTPRATICAID_COLUMN_BITMASK = 256L;
public static long UUID_COLUMN_BITMASK = 512L; public static long UNITAOPERATIVA_COLUMN_BITMASK = 512L;
public static long CREATEDATE_COLUMN_BITMASK = 1024L; public static long UUID_COLUMN_BITMASK = 1024L;
public static long CREATEDATE_COLUMN_BITMASK = 2048L;
/** /**
* Converts the soap model instance into a normal model instance. * Converts the soap model instance into a normal model instance.
@ -156,6 +158,7 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
model.setDtCompilazione(soapModel.getDtCompilazione()); model.setDtCompilazione(soapModel.getDtCompilazione());
model.setStatus(soapModel.getStatus()); model.setStatus(soapModel.getStatus());
model.setNoteRichiedente(soapModel.getNoteRichiedente()); model.setNoteRichiedente(soapModel.getNoteRichiedente());
model.setNoteAssegnatore(soapModel.getNoteAssegnatore());
model.setDtAnnullamento(soapModel.getDtAnnullamento()); model.setDtAnnullamento(soapModel.getDtAnnullamento());
model.setUserIdAnnullamento(soapModel.getUserIdAnnullamento()); model.setUserIdAnnullamento(soapModel.getUserIdAnnullamento());
model.setNoteAnnullamento(soapModel.getNoteAnnullamento()); model.setNoteAnnullamento(soapModel.getNoteAnnullamento());
@ -246,6 +249,7 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
attributes.put("dtCompilazione", getDtCompilazione()); attributes.put("dtCompilazione", getDtCompilazione());
attributes.put("status", getStatus()); attributes.put("status", getStatus());
attributes.put("noteRichiedente", getNoteRichiedente()); attributes.put("noteRichiedente", getNoteRichiedente());
attributes.put("noteAssegnatore", getNoteAssegnatore());
attributes.put("dtAnnullamento", getDtAnnullamento()); attributes.put("dtAnnullamento", getDtAnnullamento());
attributes.put("userIdAnnullamento", getUserIdAnnullamento()); attributes.put("userIdAnnullamento", getUserIdAnnullamento());
attributes.put("noteAnnullamento", getNoteAnnullamento()); attributes.put("noteAnnullamento", getNoteAnnullamento());
@ -378,6 +382,12 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
setNoteRichiedente(noteRichiedente); setNoteRichiedente(noteRichiedente);
} }
String noteAssegnatore = (String)attributes.get("noteAssegnatore");
if (noteAssegnatore != null) {
setNoteAssegnatore(noteAssegnatore);
}
Date dtAnnullamento = (Date)attributes.get("dtAnnullamento"); Date dtAnnullamento = (Date)attributes.get("dtAnnullamento");
if (dtAnnullamento != null) { if (dtAnnullamento != null) {
@ -656,9 +666,19 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
@Override @Override
public void setDtAssegnazione(Date dtAssegnazione) { public void setDtAssegnazione(Date dtAssegnazione) {
_columnBitmask |= DTASSEGNAZIONE_COLUMN_BITMASK;
if (_originalDtAssegnazione == null) {
_originalDtAssegnazione = _dtAssegnazione;
}
_dtAssegnazione = dtAssegnazione; _dtAssegnazione = dtAssegnazione;
} }
public Date getOriginalDtAssegnazione() {
return _originalDtAssegnazione;
}
@JSON @JSON
@Override @Override
public String getParere() { public String getParere() {
@ -779,6 +799,22 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
_noteRichiedente = noteRichiedente; _noteRichiedente = noteRichiedente;
} }
@JSON
@Override
public String getNoteAssegnatore() {
if (_noteAssegnatore == null) {
return StringPool.BLANK;
}
else {
return _noteAssegnatore;
}
}
@Override
public void setNoteAssegnatore(String noteAssegnatore) {
_noteAssegnatore = noteAssegnatore;
}
@JSON @JSON
@Override @Override
public Date getDtAnnullamento() { public Date getDtAnnullamento() {
@ -943,6 +979,7 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
parereGeologoImpl.setDtCompilazione(getDtCompilazione()); parereGeologoImpl.setDtCompilazione(getDtCompilazione());
parereGeologoImpl.setStatus(getStatus()); parereGeologoImpl.setStatus(getStatus());
parereGeologoImpl.setNoteRichiedente(getNoteRichiedente()); parereGeologoImpl.setNoteRichiedente(getNoteRichiedente());
parereGeologoImpl.setNoteAssegnatore(getNoteAssegnatore());
parereGeologoImpl.setDtAnnullamento(getDtAnnullamento()); parereGeologoImpl.setDtAnnullamento(getDtAnnullamento());
parereGeologoImpl.setUserIdAnnullamento(getUserIdAnnullamento()); parereGeologoImpl.setUserIdAnnullamento(getUserIdAnnullamento());
parereGeologoImpl.setNoteAnnullamento(getNoteAnnullamento()); parereGeologoImpl.setNoteAnnullamento(getNoteAnnullamento());
@ -1022,6 +1059,8 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
parereGeologoModelImpl._setOriginalAssegnatoreUserId = false; parereGeologoModelImpl._setOriginalAssegnatoreUserId = false;
parereGeologoModelImpl._originalDtAssegnazione = parereGeologoModelImpl._dtAssegnazione;
parereGeologoModelImpl._originalIntPraticaId = parereGeologoModelImpl._intPraticaId; parereGeologoModelImpl._originalIntPraticaId = parereGeologoModelImpl._intPraticaId;
parereGeologoModelImpl._setOriginalIntPraticaId = false; parereGeologoModelImpl._setOriginalIntPraticaId = false;
@ -1138,6 +1177,14 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
parereGeologoCacheModel.noteRichiedente = null; parereGeologoCacheModel.noteRichiedente = null;
} }
parereGeologoCacheModel.noteAssegnatore = getNoteAssegnatore();
String noteAssegnatore = parereGeologoCacheModel.noteAssegnatore;
if ((noteAssegnatore != null) && (noteAssegnatore.length() == 0)) {
parereGeologoCacheModel.noteAssegnatore = null;
}
Date dtAnnullamento = getDtAnnullamento(); Date dtAnnullamento = getDtAnnullamento();
if (dtAnnullamento != null) { if (dtAnnullamento != null) {
@ -1181,7 +1228,7 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
@Override @Override
public String toString() { public String toString() {
StringBundler sb = new StringBundler(53); StringBundler sb = new StringBundler(55);
sb.append("{uuid="); sb.append("{uuid=");
sb.append(getUuid()); sb.append(getUuid());
@ -1223,6 +1270,8 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
sb.append(getStatus()); sb.append(getStatus());
sb.append(", noteRichiedente="); sb.append(", noteRichiedente=");
sb.append(getNoteRichiedente()); sb.append(getNoteRichiedente());
sb.append(", noteAssegnatore=");
sb.append(getNoteAssegnatore());
sb.append(", dtAnnullamento="); sb.append(", dtAnnullamento=");
sb.append(getDtAnnullamento()); sb.append(getDtAnnullamento());
sb.append(", userIdAnnullamento="); sb.append(", userIdAnnullamento=");
@ -1242,7 +1291,7 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
@Override @Override
public String toXmlString() { public String toXmlString() {
StringBundler sb = new StringBundler(82); StringBundler sb = new StringBundler(85);
sb.append("<model><model-name>"); sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.ParereGeologo"); sb.append("it.tref.liferay.portos.bo.model.ParereGeologo");
@ -1328,6 +1377,10 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
"<column><column-name>noteRichiedente</column-name><column-value><![CDATA["); "<column><column-name>noteRichiedente</column-name><column-value><![CDATA[");
sb.append(getNoteRichiedente()); sb.append(getNoteRichiedente());
sb.append("]]></column-value></column>"); sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>noteAssegnatore</column-name><column-value><![CDATA[");
sb.append(getNoteAssegnatore());
sb.append("]]></column-value></column>");
sb.append( sb.append(
"<column><column-name>dtAnnullamento</column-name><column-value><![CDATA["); "<column><column-name>dtAnnullamento</column-name><column-value><![CDATA[");
sb.append(getDtAnnullamento()); sb.append(getDtAnnullamento());
@ -1388,6 +1441,7 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
private long _originalAssegnatoreUserId; private long _originalAssegnatoreUserId;
private boolean _setOriginalAssegnatoreUserId; private boolean _setOriginalAssegnatoreUserId;
private Date _dtAssegnazione; private Date _dtAssegnazione;
private Date _originalDtAssegnazione;
private String _parere; private String _parere;
private long _intPraticaId; private long _intPraticaId;
private long _originalIntPraticaId; private long _originalIntPraticaId;
@ -1399,6 +1453,7 @@ public class ParereGeologoModelImpl extends BaseModelImpl<ParereGeologo>
private Date _originalDtCompilazione; private Date _originalDtCompilazione;
private int _status; private int _status;
private String _noteRichiedente; private String _noteRichiedente;
private String _noteAssegnatore;
private Date _dtAnnullamento; private Date _dtAnnullamento;
private Date _originalDtAnnullamento; private Date _originalDtAnnullamento;
private long _userIdAnnullamento; private long _userIdAnnullamento;

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

@ -253,10 +253,10 @@ public class GestioneAttivitaPortlet extends MVCPortlet {
ServiceContext serviceContext = ServiceContextFactory.getInstance(request); ServiceContext serviceContext = ServiceContextFactory.getInstance(request);
serviceContext.setCreateDate(now); serviceContext.setCreateDate(now);
serviceContext.setModifiedDate(now); serviceContext.setModifiedDate(now);
ParereGeologo parereGeologo = ParereGeologoServiceUtil.addParereGeologo(unitaOperativa, userId, ParereGeologo parere = ParereGeologoServiceUtil.addParereGeologo(unitaOperativa, userId, intPraticaId,
intPraticaId, dettPraticaId, noteRichiedente, serviceContext); dettPraticaId, noteRichiedente, serviceContext);
// ADT: aggiunta notifica geologo // ADT: aggiunta notifica geologo
parereGeologo.invioNotifica(serviceContext); parere.invioNotifica(serviceContext);
} catch (PortalException | SystemException e) { } catch (PortalException | SystemException e) {
_log.error(e, e); _log.error(e, e);
SessionErrors.add(request, "error-aggiunta-richiesta-parere"); SessionErrors.add(request, "error-aggiunta-richiesta-parere");

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

@ -137,7 +137,7 @@ public class ParereGeologoLocalServiceClpInvoker {
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName171 = "updateParereGeologo"; _methodName171 = "esprimiParere";
_methodParameterTypes171 = new String[] { _methodParameterTypes171 = new String[] {
"long", "java.lang.String", "byte[][]", "java.lang.String", "long", "java.lang.String", "byte[][]", "java.lang.String",
@ -210,21 +210,17 @@ public class ParereGeologoLocalServiceClpInvoker {
_methodParameterTypes185 = new String[] { "long", "int", "int" }; _methodParameterTypes185 = new String[] { "long", "int", "int" };
_methodName186 = "findByCompanyIdGroupId"; _methodName189 = "findWithParereByGeologoId";
_methodParameterTypes186 = new String[] { "long", "long" }; _methodParameterTypes189 = new String[] { "long", "int", "int" };
_methodName187 = "findWithParereByGeologoId"; _methodName190 = "countFindWithParereByGeologoId";
_methodParameterTypes187 = new String[] { "long", "int", "int" }; _methodParameterTypes190 = new String[] { "long" };
_methodName188 = "countFindWithParereByGeologoId"; _methodName191 = "getCarichiLavoro";
_methodParameterTypes188 = new String[] { "long" }; _methodParameterTypes191 = new String[] { "long", "int" };
_methodName189 = "getCarichiLavoro";
_methodParameterTypes189 = new String[] { "long", "int" };
} }
public Object invokeMethod(String name, String[] parameterTypes, public Object invokeMethod(String name, String[] parameterTypes,
@ -364,7 +360,7 @@ public class ParereGeologoLocalServiceClpInvoker {
if (_methodName171.equals(name) && if (_methodName171.equals(name) &&
Arrays.deepEquals(_methodParameterTypes171, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes171, parameterTypes)) {
return ParereGeologoLocalServiceUtil.updateParereGeologo(((Long)arguments[0]).longValue(), return ParereGeologoLocalServiceUtil.esprimiParere(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (byte[])arguments[2], (java.lang.String)arguments[1], (byte[])arguments[2],
(java.lang.String)arguments[3], (java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]); (com.liferay.portal.service.ServiceContext)arguments[4]);
@ -450,26 +446,20 @@ public class ParereGeologoLocalServiceClpInvoker {
((Integer)arguments[2]).intValue()); ((Integer)arguments[2]).intValue());
} }
if (_methodName186.equals(name) && if (_methodName189.equals(name) &&
Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
return ParereGeologoLocalServiceUtil.findByCompanyIdGroupId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName187.equals(name) &&
Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) {
return ParereGeologoLocalServiceUtil.findWithParereByGeologoId(((Long)arguments[0]).longValue(), return ParereGeologoLocalServiceUtil.findWithParereByGeologoId(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(), ((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue()); ((Integer)arguments[2]).intValue());
} }
if (_methodName188.equals(name) && if (_methodName190.equals(name) &&
Arrays.deepEquals(_methodParameterTypes188, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) {
return ParereGeologoLocalServiceUtil.countFindWithParereByGeologoId(((Long)arguments[0]).longValue()); return ParereGeologoLocalServiceUtil.countFindWithParereByGeologoId(((Long)arguments[0]).longValue());
} }
if (_methodName189.equals(name) && if (_methodName191.equals(name) &&
Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
return ParereGeologoLocalServiceUtil.getCarichiLavoro(((Long)arguments[0]).longValue(), return ParereGeologoLocalServiceUtil.getCarichiLavoro(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue()); ((Integer)arguments[1]).intValue());
} }
@ -553,12 +543,10 @@ public class ParereGeologoLocalServiceClpInvoker {
private String[] _methodParameterTypes184; private String[] _methodParameterTypes184;
private String _methodName185; private String _methodName185;
private String[] _methodParameterTypes185; private String[] _methodParameterTypes185;
private String _methodName186;
private String[] _methodParameterTypes186;
private String _methodName187;
private String[] _methodParameterTypes187;
private String _methodName188;
private String[] _methodParameterTypes188;
private String _methodName189; private String _methodName189;
private String[] _methodParameterTypes189; private String[] _methodParameterTypes189;
private String _methodName190;
private String[] _methodParameterTypes190;
private String _methodName191;
private String[] _methodParameterTypes191;
} }

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

@ -39,7 +39,7 @@ public class ParereGeologoServiceClpInvoker {
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName151 = "updateParereGeologo"; _methodName151 = "esprimiParere";
_methodParameterTypes151 = new String[] { _methodParameterTypes151 = new String[] {
"long", "java.lang.String", "byte[][]", "java.lang.String", "long", "java.lang.String", "byte[][]", "java.lang.String",
@ -87,7 +87,7 @@ public class ParereGeologoServiceClpInvoker {
if (_methodName151.equals(name) && if (_methodName151.equals(name) &&
Arrays.deepEquals(_methodParameterTypes151, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes151, parameterTypes)) {
return ParereGeologoServiceUtil.updateParereGeologo(((Long)arguments[0]).longValue(), return ParereGeologoServiceUtil.esprimiParere(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (byte[])arguments[2], (java.lang.String)arguments[1], (byte[])arguments[2],
(java.lang.String)arguments[3], (java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]); (com.liferay.portal.service.ServiceContext)arguments[4]);

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

@ -144,56 +144,52 @@ public class TerritorioLocalServiceClpInvoker {
_methodParameterTypes166 = new String[] { "long", "int", "int" }; _methodParameterTypes166 = new String[] { "long", "int", "int" };
_methodName167 = "findByCompanyIdGroupId"; _methodName167 = "getActiveProvince";
_methodParameterTypes167 = new String[] { "long", "long" }; _methodParameterTypes167 = new String[] { };
_methodName168 = "getActiveProvince"; _methodName168 = "getActiveComuniByCodiceProvincia";
_methodParameterTypes168 = new String[] { }; _methodParameterTypes168 = new String[] { "java.lang.String" };
_methodName169 = "getActiveComuniByCodiceProvincia"; _methodName169 = "getActiveTerritoriByComune";
_methodParameterTypes169 = new String[] { "java.lang.String" }; _methodParameterTypes169 = new String[] { "long" };
_methodName170 = "getActiveTerritoriByComune"; _methodName170 = "deleteTerritorio";
_methodParameterTypes170 = new String[] { "long" }; _methodParameterTypes170 = new String[] { "long" };
_methodName171 = "deleteTerritorio"; _methodName171 = "deleteTerritorio";
_methodParameterTypes171 = new String[] { "long" }; _methodParameterTypes171 = new String[] {
_methodName172 = "deleteTerritorio";
_methodParameterTypes172 = new String[] {
"it.tref.liferay.portos.bo.model.Territorio" "it.tref.liferay.portos.bo.model.Territorio"
}; };
_methodName173 = "findTerritorioByComuneIdGZonaFasciaDtIni"; _methodName172 = "findTerritorioByComuneIdGZonaFasciaDtIni";
_methodParameterTypes173 = new String[] { _methodParameterTypes172 = new String[] {
"long", "long", "java.lang.String", "java.lang.String", "long", "long", "java.lang.String", "java.lang.String",
"java.util.Date" "java.util.Date"
}; };
_methodName175 = "getTerritoriByGroupAndZona"; _methodName174 = "getTerritoriByGroupAndZona";
_methodParameterTypes175 = new String[] { "long", "java.lang.String" }; _methodParameterTypes174 = new String[] { "long", "java.lang.String" };
_methodName176 = "getTerritoriByGroupAndZonaAndFascia"; _methodName175 = "getTerritoriByGroupAndZonaAndFascia";
_methodParameterTypes176 = new String[] { _methodParameterTypes175 = new String[] {
"long", "java.lang.String", "java.lang.String" "long", "java.lang.String", "java.lang.String"
}; };
_methodName178 = "getAllTerritorioGroup"; _methodName177 = "getAllTerritorioGroup";
_methodParameterTypes178 = new String[] { }; _methodParameterTypes177 = new String[] { };
_methodName179 = "verifyTerritorioConstraintAlreadyExist"; _methodName178 = "verifyTerritorioConstraintAlreadyExist";
_methodParameterTypes179 = new String[] { _methodParameterTypes178 = new String[] {
"long", "long", "java.lang.String", "java.lang.String", "long", "long", "java.lang.String", "java.lang.String",
"java.util.Date" "java.util.Date"
}; };
@ -349,62 +345,56 @@ public class TerritorioLocalServiceClpInvoker {
if (_methodName167.equals(name) && if (_methodName167.equals(name) &&
Arrays.deepEquals(_methodParameterTypes167, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes167, parameterTypes)) {
return TerritorioLocalServiceUtil.findByCompanyIdGroupId(((Long)arguments[0]).longValue(), return TerritorioLocalServiceUtil.getActiveProvince();
((Long)arguments[1]).longValue());
} }
if (_methodName168.equals(name) && if (_methodName168.equals(name) &&
Arrays.deepEquals(_methodParameterTypes168, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes168, parameterTypes)) {
return TerritorioLocalServiceUtil.getActiveProvince(); return TerritorioLocalServiceUtil.getActiveComuniByCodiceProvincia((java.lang.String)arguments[0]);
} }
if (_methodName169.equals(name) && if (_methodName169.equals(name) &&
Arrays.deepEquals(_methodParameterTypes169, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes169, parameterTypes)) {
return TerritorioLocalServiceUtil.getActiveComuniByCodiceProvincia((java.lang.String)arguments[0]); return TerritorioLocalServiceUtil.getActiveTerritoriByComune(((Long)arguments[0]).longValue());
} }
if (_methodName170.equals(name) && if (_methodName170.equals(name) &&
Arrays.deepEquals(_methodParameterTypes170, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes170, parameterTypes)) {
return TerritorioLocalServiceUtil.getActiveTerritoriByComune(((Long)arguments[0]).longValue()); return TerritorioLocalServiceUtil.deleteTerritorio(((Long)arguments[0]).longValue());
} }
if (_methodName171.equals(name) && if (_methodName171.equals(name) &&
Arrays.deepEquals(_methodParameterTypes171, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes171, parameterTypes)) {
return TerritorioLocalServiceUtil.deleteTerritorio(((Long)arguments[0]).longValue()); return TerritorioLocalServiceUtil.deleteTerritorio((it.tref.liferay.portos.bo.model.Territorio)arguments[0]);
} }
if (_methodName172.equals(name) && if (_methodName172.equals(name) &&
Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes172, parameterTypes)) {
return TerritorioLocalServiceUtil.deleteTerritorio((it.tref.liferay.portos.bo.model.Territorio)arguments[0]);
}
if (_methodName173.equals(name) &&
Arrays.deepEquals(_methodParameterTypes173, parameterTypes)) {
return TerritorioLocalServiceUtil.findTerritorioByComuneIdGZonaFasciaDtIni(((Long)arguments[0]).longValue(), return TerritorioLocalServiceUtil.findTerritorioByComuneIdGZonaFasciaDtIni(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
(java.lang.String)arguments[2], (java.lang.String)arguments[3], (java.lang.String)arguments[2], (java.lang.String)arguments[3],
(java.util.Date)arguments[4]); (java.util.Date)arguments[4]);
} }
if (_methodName175.equals(name) && if (_methodName174.equals(name) &&
Arrays.deepEquals(_methodParameterTypes175, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes174, parameterTypes)) {
return TerritorioLocalServiceUtil.getTerritoriByGroupAndZona(((Long)arguments[0]).longValue(), return TerritorioLocalServiceUtil.getTerritoriByGroupAndZona(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]); (java.lang.String)arguments[1]);
} }
if (_methodName176.equals(name) && if (_methodName175.equals(name) &&
Arrays.deepEquals(_methodParameterTypes176, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes175, parameterTypes)) {
return TerritorioLocalServiceUtil.getTerritoriByGroupAndZonaAndFascia(((Long)arguments[0]).longValue(), return TerritorioLocalServiceUtil.getTerritoriByGroupAndZonaAndFascia(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2]); (java.lang.String)arguments[1], (java.lang.String)arguments[2]);
} }
if (_methodName178.equals(name) && if (_methodName177.equals(name) &&
Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes177, parameterTypes)) {
return TerritorioLocalServiceUtil.getAllTerritorioGroup(); return TerritorioLocalServiceUtil.getAllTerritorioGroup();
} }
if (_methodName179.equals(name) && if (_methodName178.equals(name) &&
Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) {
return TerritorioLocalServiceUtil.verifyTerritorioConstraintAlreadyExist(((Long)arguments[0]).longValue(), return TerritorioLocalServiceUtil.verifyTerritorioConstraintAlreadyExist(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(), ((Long)arguments[1]).longValue(),
(java.lang.String)arguments[2], (java.lang.String)arguments[3], (java.lang.String)arguments[2], (java.lang.String)arguments[3],
@ -472,14 +462,12 @@ public class TerritorioLocalServiceClpInvoker {
private String[] _methodParameterTypes171; private String[] _methodParameterTypes171;
private String _methodName172; private String _methodName172;
private String[] _methodParameterTypes172; private String[] _methodParameterTypes172;
private String _methodName173; private String _methodName174;
private String[] _methodParameterTypes173; private String[] _methodParameterTypes174;
private String _methodName175; private String _methodName175;
private String[] _methodParameterTypes175; private String[] _methodParameterTypes175;
private String _methodName176; private String _methodName177;
private String[] _methodParameterTypes176; private String[] _methodParameterTypes177;
private String _methodName178; private String _methodName178;
private String[] _methodParameterTypes178; private String[] _methodParameterTypes178;
private String _methodName179;
private String[] _methodParameterTypes179;
} }

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

@ -81,14 +81,14 @@ public class ParereGeologoServiceSoap {
} }
} }
public static it.tref.liferay.portos.bo.model.ParereGeologoSoap updateParereGeologo( public static it.tref.liferay.portos.bo.model.ParereGeologoSoap esprimiParere(
long parereGeologoId, java.lang.String parere, byte[] content, long parereId, java.lang.String testo, byte[] content,
java.lang.String fileName, java.lang.String fileName,
com.liferay.portal.service.ServiceContext serviceContext) com.liferay.portal.service.ServiceContext serviceContext)
throws RemoteException { throws RemoteException {
try { try {
it.tref.liferay.portos.bo.model.ParereGeologo returnValue = ParereGeologoServiceUtil.updateParereGeologo(parereGeologoId, it.tref.liferay.portos.bo.model.ParereGeologo returnValue = ParereGeologoServiceUtil.esprimiParere(parereId,
parere, content, fileName, serviceContext); testo, content, fileName, serviceContext);
return it.tref.liferay.portos.bo.model.ParereGeologoSoap.toSoapModel(returnValue); return it.tref.liferay.portos.bo.model.ParereGeologoSoap.toSoapModel(returnValue);
} }

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

@ -26,7 +26,9 @@ import java.util.Map;
import java.util.TreeMap; import java.util.TreeMap;
import com.liferay.portal.NoSuchRepositoryEntryException; import com.liferay.portal.NoSuchRepositoryEntryException;
import com.liferay.portal.kernel.dao.orm.Disjunction;
import com.liferay.portal.kernel.dao.orm.DynamicQuery; import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.dao.orm.Junction;
import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil; import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil;
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil;
import com.liferay.portal.kernel.exception.PortalException; import com.liferay.portal.kernel.exception.PortalException;
@ -103,22 +105,22 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
} }
@Override @Override
public ParereGeologo updateParereGeologo(long parereGeologoId, String parere, byte[] content, String fileName, public ParereGeologo esprimiParere(long parereId, String testo, byte[] content, String fileName,
ServiceContext serviceContext) throws PortalException, SystemException { ServiceContext serviceContext) throws PortalException, SystemException {
ParereGeologo parereGeologo = getParereGeologo(parereGeologoId); ParereGeologo parere = getParereGeologo(parereId);
User geologo = userLocalService.getUser(serviceContext.getUserId()); User geologo = userLocalService.getUser(serviceContext.getUserId());
if (Validator.isNotNull(geologo) && serviceContext.getUserId() == geologo.getUserId()) { if (Validator.isNotNull(geologo) && serviceContext.getUserId() == geologo.getUserId()) {
Date now = new Date(); Date now = new Date();
parereGeologo.setModifiedDate(serviceContext.getModifiedDate()); parere.setModifiedDate(serviceContext.getModifiedDate());
parereGeologo.setDtCompilazione(now); parere.setDtCompilazione(now);
parereGeologo.setParere(parere); parere.setParere(testo);
if (Validator.isNotNull(content) && Validator.isNotNull(fileName)) { if (Validator.isNotNull(content) && Validator.isNotNull(fileName)) {
long fileEntryId = 0L; long fileEntryId = 0L;
long defaultFolderId = configurazioneLocalService.findByC_ChiaveLong(serviceContext.getCompanyId(), long defaultFolderId = configurazioneLocalService.findByC_ChiaveLong(serviceContext.getCompanyId(),
ConfigurazioneConstants.ATTACHMENT_FOLDER_ID); ConfigurazioneConstants.ATTACHMENT_FOLDER_ID);
Folder defaultFolder = dlAppLocalService.getFolder(defaultFolderId); Folder defaultFolder = dlAppLocalService.getFolder(defaultFolderId);
String folderName = PraticaUtil.getFolderName(parereGeologo.getDettPraticaId()); String folderName = PraticaUtil.getFolderName(parere.getDettPraticaId());
Folder folder = null; Folder folder = null;
try { try {
folder = dlAppLocalService.getFolder(defaultFolder.getRepositoryId(), defaultFolder.getFolderId(), folder = dlAppLocalService.getFolder(defaultFolder.getRepositoryId(), defaultFolder.getFolderId(),
@ -128,7 +130,7 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
folder = dlAppLocalService.addFolder(serviceContext.getUserId(), defaultFolder.getRepositoryId(), folder = dlAppLocalService.addFolder(serviceContext.getUserId(), defaultFolder.getRepositoryId(),
defaultFolder.getFolderId(), folderName, StringPool.BLANK, serviceContext); defaultFolder.getFolderId(), folderName, StringPool.BLANK, serviceContext);
} }
String title = now.getTime() + "_parere_" + parereGeologoId + StringPool.UNDERLINE + fileName; String title = now.getTime() + "_parere_" + parereId + StringPool.UNDERLINE + fileName;
String description = StringPool.BLANK; String description = StringPool.BLANK;
String mimeType = MimeTypesUtil.getContentType(fileName); String mimeType = MimeTypesUtil.getContentType(fileName);
String changeLog = StringPool.BLANK; String changeLog = StringPool.BLANK;
@ -137,12 +139,12 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
now.getTime() + StringPool.UNDERLINE + fileName, mimeType, title, description, changeLog, now.getTime() + StringPool.UNDERLINE + fileName, mimeType, title, description, changeLog,
content, serviceContext); content, serviceContext);
fileEntryId = fileEntry.getFileEntryId(); fileEntryId = fileEntry.getFileEntryId();
parereGeologo.setFileEntryId(fileEntryId); parere.setFileEntryId(fileEntryId);
} }
return updateParereGeologo(parereGeologo); return updateParereGeologo(parere);
} else { } else {
// TODO error chi sta compilando non è il geologo designato o il geologo non esiste. // TODO error chi sta compilando non è il geologo designato o il geologo non esiste.
return parereGeologo; return parere;
} }
} }
@ -192,26 +194,29 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
return parereGeologoPersistence.countByIntPraticaId(intPraticaId); return parereGeologoPersistence.countByIntPraticaId(intPraticaId);
} }
@SuppressWarnings("unchecked")
@Override @Override
public List<ParereGeologo> findByIntPraticaIdInCorso(long intPraticaId, int start, int end) throws SystemException { public List<ParereGeologo> findByIntPraticaIdInCorso(long intPraticaId, int start, int end) throws SystemException {
return parereGeologoPersistence.findByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId, null, null, DynamicQuery query = dqByIntPraticaIdInCorso(intPraticaId);
start, end); query.addOrder(OrderFactoryUtil.desc("createDate"));
return parereGeologoPersistence.findWithDynamicQuery(query, start, end);
} }
@Override @Override
public int countByIntPraticaInCorso(long intPraticaId) throws SystemException { public int countByIntPraticaInCorso(long intPraticaId) throws SystemException {
return parereGeologoPersistence.countByIntPraticaId_DtCompilazione_DtAnnullamento(intPraticaId, null, null); DynamicQuery query = dqByIntPraticaIdInCorso(intPraticaId);
return (int) parereGeologoPersistence.countWithDynamicQuery(query);
} }
@Override @Override
public List<ParereGeologo> findByUserDaApprovare(User user, int start, int end) throws SystemException { public List<ParereGeologo> findByUserDaApprovare(User user, int start, int end) throws SystemException {
return parereGeologoPersistence return parereGeologoPersistence
.findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
UserUtil.getGroupIds(user), UserUtil.getUnitaOperativeArray(user), UserUtil.getGroupIds(user), UserUtil.getUnitaOperativeArray(user),
new long[] { 0L, user.getUserId() }, null, null, null, start, end, new long[] { 0L, user.getUserId() }, null, null, null, null, start, end,
OrderByComparatorFactoryUtil.create(ParereGeologoImpl.TABLE_NAME, "dtCompilazione", false)); OrderByComparatorFactoryUtil.create(ParereGeologoImpl.TABLE_NAME, "dtCompilazione", false));
} }
@ -219,9 +224,9 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
public int countByUserDaApprovare(User user) throws SystemException { public int countByUserDaApprovare(User user) throws SystemException {
return parereGeologoPersistence return parereGeologoPersistence
.countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione( .countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione(
UserUtil.getGroupIds(user), UserUtil.getUnitaOperativeArray(user), UserUtil.getGroupIds(user), UserUtil.getUnitaOperativeArray(user),
new long[] { 0L, user.getUserId() }, null, null, null); new long[] { 0L, user.getUserId() }, null, null, null, null);
} }
@Override @Override
@ -244,20 +249,45 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
@Override @Override
public int countByGeologoIdInCorso(long geologoUserId) throws SystemException { public int countByGeologoIdInCorso(long geologoUserId) throws SystemException {
return parereGeologoPersistence.countByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId, null, null); DynamicQuery query = dqByGeologoIdInCorso(geologoUserId);
return (int) parereGeologoPersistence.countWithDynamicQuery(query);
} }
@SuppressWarnings("unchecked")
@Override @Override
public List<ParereGeologo> findByGeologoIdInCorso(long geologoUserId, int start, int end) throws SystemException { public List<ParereGeologo> findByGeologoIdInCorso(long geologoUserId, int start, int end) throws SystemException {
return parereGeologoPersistence.findByGeologoUserId_DtCompilazione_DtAnnullamento(geologoUserId, null, null, DynamicQuery query = dqByGeologoIdInCorso(geologoUserId);
start, end, OrderByComparatorFactoryUtil.create(ParereGeologoImpl.TABLE_NAME, "createDate", true)); query.addOrder(OrderFactoryUtil.desc("createDate"));
return parereGeologoPersistence.findWithDynamicQuery(query, start, end);
} }
@Override private DynamicQuery dqByIntPraticaIdInCorso(long intPraticaId) {
public List<ParereGeologo> findByCompanyIdGroupId(long companyId, long groupId) throws SystemException {
DynamicQuery query = dqInCorso();
query.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId));
return query;
}
return parereGeologoPersistence.findByC_GroupId(companyId, groupId); private DynamicQuery dqByGeologoIdInCorso(long geologoUserId) {
DynamicQuery query = dqInCorso();
query.add(RestrictionsFactoryUtil.eq("geologoUserId", geologoUserId));
return query;
}
private DynamicQuery dqInCorso() {
DynamicQuery query = dynamicQuery();
Junction assegnataNonApprovata = RestrictionsFactoryUtil.conjunction();
assegnataNonApprovata.add(RestrictionsFactoryUtil.isNotNull("dtAssegnazione"));
assegnataNonApprovata.add(RestrictionsFactoryUtil.isNull("dtApprovazione"));
Disjunction nonEspressoONonApprovato = RestrictionsFactoryUtil.disjunction();
nonEspressoONonApprovato.add(assegnataNonApprovata);
nonEspressoONonApprovato.add(RestrictionsFactoryUtil.isNull("dtCompilazione"));
query.add(nonEspressoONonApprovato);
query.add(RestrictionsFactoryUtil.isNull("dtAnnullamento"));
return query;
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")

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

@ -53,11 +53,10 @@ public class ParereGeologoServiceImpl extends ParereGeologoServiceBaseImpl {
} }
@Override @Override
public ParereGeologo updateParereGeologo(long parereGeologoId, String parere, byte[] content, String fileName, public ParereGeologo esprimiParere(long parereId, String testo, byte[] content, String fileName,
ServiceContext serviceContext) throws PortalException, SystemException { ServiceContext serviceContext) throws PortalException, SystemException {
return parereGeologoLocalService return parereGeologoLocalService.esprimiParere(parereId, testo, content, fileName, serviceContext);
.updateParereGeologo(parereGeologoId, parere, content, fileName, serviceContext);
} }
@Override @Override

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

@ -121,11 +121,6 @@ public class TerritorioLocalServiceImpl extends TerritorioLocalServiceBaseImpl {
return territorioPersistence.findByComuneId(comuneId, start, end); return territorioPersistence.findByComuneId(comuneId, start, end);
} }
@Override
public List<Territorio> findByCompanyIdGroupId(long companyId, long groupId) throws SystemException {
return territorioPersistence.findByC_Group(companyId, groupId);
}
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public List<String> getActiveProvince() throws SystemException { public List<String> getActiveProvince() throws SystemException {

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchAllegatoManualeException;
import it.tref.liferay.portos.bo.model.AllegatoManuale; import it.tref.liferay.portos.bo.model.AllegatoManuale;
import it.tref.liferay.portos.bo.model.impl.AllegatoManualeImpl; import it.tref.liferay.portos.bo.model.impl.AllegatoManualeImpl;
import it.tref.liferay.portos.bo.model.impl.AllegatoManualeModelImpl; import it.tref.liferay.portos.bo.model.impl.AllegatoManualeModelImpl;
import it.tref.liferay.portos.bo.service.persistence.AllegatoManualePersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchAsseverazioneException;
import it.tref.liferay.portos.bo.model.Asseverazione; import it.tref.liferay.portos.bo.model.Asseverazione;
import it.tref.liferay.portos.bo.model.impl.AsseverazioneImpl; import it.tref.liferay.portos.bo.model.impl.AsseverazioneImpl;
import it.tref.liferay.portos.bo.model.impl.AsseverazioneModelImpl; import it.tref.liferay.portos.bo.model.impl.AsseverazioneModelImpl;
import it.tref.liferay.portos.bo.service.persistence.AsseverazionePersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchAvvisoException;
import it.tref.liferay.portos.bo.model.Avviso; import it.tref.liferay.portos.bo.model.Avviso;
import it.tref.liferay.portos.bo.model.impl.AvvisoImpl; import it.tref.liferay.portos.bo.model.impl.AvvisoImpl;
import it.tref.liferay.portos.bo.model.impl.AvvisoModelImpl; import it.tref.liferay.portos.bo.model.impl.AvvisoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.AvvisoPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchCollaudoException;
import it.tref.liferay.portos.bo.model.Collaudo; import it.tref.liferay.portos.bo.model.Collaudo;
import it.tref.liferay.portos.bo.model.impl.CollaudoImpl; import it.tref.liferay.portos.bo.model.impl.CollaudoImpl;
import it.tref.liferay.portos.bo.model.impl.CollaudoModelImpl; import it.tref.liferay.portos.bo.model.impl.CollaudoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.CollaudoPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchComuneException;
import it.tref.liferay.portos.bo.model.Comune; import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.impl.ComuneImpl; import it.tref.liferay.portos.bo.model.impl.ComuneImpl;
import it.tref.liferay.portos.bo.model.impl.ComuneModelImpl; import it.tref.liferay.portos.bo.model.impl.ComuneModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ComunePersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchComunicazioneException;
import it.tref.liferay.portos.bo.model.Comunicazione; import it.tref.liferay.portos.bo.model.Comunicazione;
import it.tref.liferay.portos.bo.model.impl.ComunicazioneImpl; import it.tref.liferay.portos.bo.model.impl.ComunicazioneImpl;
import it.tref.liferay.portos.bo.model.impl.ComunicazioneModelImpl; import it.tref.liferay.portos.bo.model.impl.ComunicazioneModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ComunicazionePersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchConfigurazioneException;
import it.tref.liferay.portos.bo.model.Configurazione; import it.tref.liferay.portos.bo.model.Configurazione;
import it.tref.liferay.portos.bo.model.impl.ConfigurazioneImpl; import it.tref.liferay.portos.bo.model.impl.ConfigurazioneImpl;
import it.tref.liferay.portos.bo.model.impl.ConfigurazioneModelImpl; import it.tref.liferay.portos.bo.model.impl.ConfigurazioneModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ConfigurazionePersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchControlloPraticaException;
import it.tref.liferay.portos.bo.model.ControlloPratica; import it.tref.liferay.portos.bo.model.ControlloPratica;
import it.tref.liferay.portos.bo.model.impl.ControlloPraticaImpl; import it.tref.liferay.portos.bo.model.impl.ControlloPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.ControlloPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.ControlloPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ControlloPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchDelegaException;
import it.tref.liferay.portos.bo.model.Delega; import it.tref.liferay.portos.bo.model.Delega;
import it.tref.liferay.portos.bo.model.impl.DelegaImpl; import it.tref.liferay.portos.bo.model.impl.DelegaImpl;
import it.tref.liferay.portos.bo.model.impl.DelegaModelImpl; import it.tref.liferay.portos.bo.model.impl.DelegaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.DelegaPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchDettPraticaException;
import it.tref.liferay.portos.bo.model.DettPratica; import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.impl.DettPraticaImpl; import it.tref.liferay.portos.bo.model.impl.DettPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.DettPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.DettPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.DettPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchDocAggiuntivaException;
import it.tref.liferay.portos.bo.model.DocAggiuntiva; import it.tref.liferay.portos.bo.model.DocAggiuntiva;
import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaImpl; import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaImpl;
import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaModelImpl; import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.DocAggiuntivaPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchDocPraticaException;
import it.tref.liferay.portos.bo.model.DocPratica; import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.impl.DocPraticaImpl; import it.tref.liferay.portos.bo.model.impl.DocPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.DocPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.DocPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.DocPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchFineLavoriException;
import it.tref.liferay.portos.bo.model.FineLavori; import it.tref.liferay.portos.bo.model.FineLavori;
import it.tref.liferay.portos.bo.model.impl.FineLavoriImpl; import it.tref.liferay.portos.bo.model.impl.FineLavoriImpl;
import it.tref.liferay.portos.bo.model.impl.FineLavoriModelImpl; import it.tref.liferay.portos.bo.model.impl.FineLavoriModelImpl;
import it.tref.liferay.portos.bo.service.persistence.FineLavoriPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -42,6 +42,7 @@ import it.tref.liferay.portos.bo.NoSuchHistoryWorkflowActionException;
import it.tref.liferay.portos.bo.model.HistoryWorkflowAction; import it.tref.liferay.portos.bo.model.HistoryWorkflowAction;
import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionImpl; import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionImpl;
import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionModelImpl; import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionModelImpl;
import it.tref.liferay.portos.bo.service.persistence.HistoryWorkflowActionPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -48,6 +48,7 @@ import it.tref.liferay.portos.bo.NoSuchIntPraticaException;
import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl; import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.IntPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchPagamentoException;
import it.tref.liferay.portos.bo.model.Pagamento; import it.tref.liferay.portos.bo.model.Pagamento;
import it.tref.liferay.portos.bo.model.impl.PagamentoImpl; import it.tref.liferay.portos.bo.model.impl.PagamentoImpl;
import it.tref.liferay.portos.bo.model.impl.PagamentoModelImpl; import it.tref.liferay.portos.bo.model.impl.PagamentoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.PagamentoPersistence;
import java.io.Serializable; import java.io.Serializable;

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

File diff soppresso perché troppo grande Load Diff

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

@ -43,6 +43,7 @@ import it.tref.liferay.portos.bo.NoSuchProvinciaException;
import it.tref.liferay.portos.bo.model.Provincia; import it.tref.liferay.portos.bo.model.Provincia;
import it.tref.liferay.portos.bo.model.impl.ProvinciaImpl; import it.tref.liferay.portos.bo.model.impl.ProvinciaImpl;
import it.tref.liferay.portos.bo.model.impl.ProvinciaModelImpl; import it.tref.liferay.portos.bo.model.impl.ProvinciaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ProvinciaPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchSoggettoException;
import it.tref.liferay.portos.bo.model.Soggetto; import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.impl.SoggettoImpl; import it.tref.liferay.portos.bo.model.impl.SoggettoImpl;
import it.tref.liferay.portos.bo.model.impl.SoggettoModelImpl; import it.tref.liferay.portos.bo.model.impl.SoggettoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.SoggettoPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -42,6 +42,7 @@ import it.tref.liferay.portos.bo.NoSuchStoricoSoggettoPraticaException;
import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica; import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica;
import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaImpl; import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaImpl;
import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaModelImpl; import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.StoricoSoggettoPraticaPersistence;
import java.io.Serializable; import java.io.Serializable;

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

@ -44,6 +44,7 @@ import it.tref.liferay.portos.bo.NoSuchTerritorioException;
import it.tref.liferay.portos.bo.model.Territorio; import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.model.impl.TerritorioImpl; import it.tref.liferay.portos.bo.model.impl.TerritorioImpl;
import it.tref.liferay.portos.bo.model.impl.TerritorioModelImpl; import it.tref.liferay.portos.bo.model.impl.TerritorioModelImpl;
import it.tref.liferay.portos.bo.service.persistence.TerritorioPersistence;
import java.io.Serializable; import java.io.Serializable;

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
## ##
build.namespace=portos_bo build.namespace=portos_bo
build.number=3510 build.number=3528
build.date=1635413295815 build.date=1636727342088
build.auto.upgrade=true build.auto.upgrade=true
## ##

27
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/asset/controllopratica/full_content.jsp

@ -72,16 +72,6 @@ List<ParereGeologo> pareri = ParereGeologoLocalServiceUtil.findByIntPraticaId(in
out.print("nessun parere richiesto"); out.print("nessun parere richiesto");
} else { } else {
for (ParereGeologo parere : pareri) { for (ParereGeologo parere : pareri) {
StringBuilder fullName = new StringBuilder();
if (parere.getUnitaOperativa() != 0) {
fullName.append("U.O. ").append(parere.getUnitaOperativa());
}
if (parere.getGeologoUserId() != 0) {
if (fullName.length() > 0) {
fullName.append(" - ");
}
fullName.append(UserLocalServiceUtil.getUser(parere.getGeologoUserId()).getFullName());
}
User richiedente = UserLocalServiceUtil.getUser(parere.getUserId()); User richiedente = UserLocalServiceUtil.getUser(parere.getUserId());
User assegnatore = parere.getAssegnatoreUserId() == 0 ? null User assegnatore = parere.getAssegnatoreUserId() == 0 ? null
: UserLocalServiceUtil.getUser(parere.getAssegnatoreUserId()); : UserLocalServiceUtil.getUser(parere.getAssegnatoreUserId());
@ -89,13 +79,18 @@ List<ParereGeologo> pareri = ParereGeologoLocalServiceUtil.findByIntPraticaId(in
: UserLocalServiceUtil.getUser(parere.getGeologoUserId()); : UserLocalServiceUtil.getUser(parere.getGeologoUserId());
User annullante = parere.getUserIdAnnullamento() == 0 ? null User annullante = parere.getUserIdAnnullamento() == 0 ? null
: UserLocalServiceUtil.getUser(parere.getUserIdAnnullamento()); : UserLocalServiceUtil.getUser(parere.getUserIdAnnullamento());
User approvatore = parere.getApprovatoreUserId() == 0 ? null
: UserLocalServiceUtil.getUser(parere.getApprovatoreUserId());
boolean espresso = Validator.isNotNull(parere.getDtCompilazione())
&& (Validator.isNull(parere.getDtAssegnazione())
|| Validator.isNotNull(parere.getDtApprovazione()));
%> %>
<li> <li>
<c:choose> <c:choose>
<c:when test="<%= Validator.isNotNull(parere.getDtAnnullamento()) %>"> <c:when test="<%= Validator.isNotNull(parere.getDtAnnullamento()) %>">
<i class="fa icon-remove text-error" title="Richiesta annullata"></i> <i class="fa icon-remove text-error" title="Richiesta annullata"></i>
</c:when> </c:when>
<c:when test="<%= Validator.isNotNull(parere.getDtCompilazione()) %>"> <c:when test="<%= espresso %>">
<i class="fa icon-ok text-success" title="Parere espresso"></i> <i class="fa icon-ok text-success" title="Parere espresso"></i>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
@ -125,7 +120,7 @@ List<ParereGeologo> pareri = ParereGeologoLocalServiceUtil.findByIntPraticaId(in
</c:if> </c:if>
<br /> <br />
</c:if> </c:if>
<c:if test="<%= Validator.isNotNull(parere.getDtCompilazione()) %>"> <c:if test="<%= espresso %>">
Espresso da <strong><%= Generics.capitalizeFull(geologo.getFullName()) %></strong> Espresso da <strong><%= Generics.capitalizeFull(geologo.getFullName()) %></strong>
in data <%= dateFormatDateTime.format(parere.getDtCompilazione()) %> in data <%= dateFormatDateTime.format(parere.getDtCompilazione()) %>
<br /> <br />
@ -139,10 +134,16 @@ List<ParereGeologo> pareri = ParereGeologoLocalServiceUtil.findByIntPraticaId(in
<liferay-ui:icon url="<%= downloadUrl %>" useDialog="true" message="download" <liferay-ui:icon url="<%= downloadUrl %>" useDialog="true" message="download"
linkCssClass="btn btn-rounded" iconCssClass="icon-download" linkCssClass="btn btn-rounded" iconCssClass="icon-download"
cssClass="download_container" /> cssClass="download_container" />
<br />
</c:if> </c:if>
</c:if> </c:if>
<c:if test="<%= Validator.isNotNull(parere.getDtApprovazione()) %>">
Approvato da <strong><%= Generics.capitalizeFull(approvatore.getFullName()) %></strong>
in data <%= dateFormatDateTime.format(parere.getDtApprovazione()) %>
<br />
</c:if>
<c:if test="<%= annullante != null %>"> <c:if test="<%= annullante != null %>">
<br/>Annullato da <strong><%= Generics.capitalizeFull(annullante.getFullName()) %></strong> Annullato da <strong><%= Generics.capitalizeFull(annullante.getFullName()) %></strong>
in data <%= dateFormatDateTime.format(parere.getDtAnnullamento()) %> in data <%= dateFormatDateTime.format(parere.getDtAnnullamento()) %>
con motivazioni: <%= parere.getNoteAnnullamento() %> con motivazioni: <%= parere.getNoteAnnullamento() %>
</c:if> </c:if>

34
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_dettagli_principali.jsp

@ -1,3 +1,4 @@
<%@page import="it.mwg.sismica.bo.shared.util.Generics"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.bean.BeanPropertiesUtil"%> <%@page import="com.liferay.portal.kernel.bean.BeanPropertiesUtil"%>
<%@page import="it.mwg.sismica.bo.util.MappeUtil"%> <%@page import="it.mwg.sismica.bo.util.MappeUtil"%>
@ -268,25 +269,19 @@ String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) |
value='<%= geolocalization.length > 1 ? geolocalization[1] : StringPool.BLANK %>'/> value='<%= geolocalization.length > 1 ? geolocalization[1] : StringPool.BLANK %>'/>
<aui:input name="zoom" label="" type="hidden" value="16" /> <aui:input name="zoom" label="" type="hidden" value="16" />
<aui:input type="hidden" name="geoIsEditable" value="false" label=""/> <aui:input type="hidden" name="geoIsEditable" value="false" label=""/>
<liferay-ui:tabs names="mappe-bbcc,mappe-openstreetmap" refresh="false"> <div class="col-xs-12">
<liferay-ui:section> <%-- Integrazione geoportal --%>
<div class="col-xs-12"> <div class="container-fluid">
<!-- Integrazione geoportal --> <div class="row">
<div class="container-fluid"> <div class="col-xs-12">
<div class="row"> <div style="border:none;width:100%;height:700px">
<div class="col-xs-12"> <iframe src="<%= urlIframeMappe %>" style="border:none;width:100%;height:700px"></iframe>
<div style="border:none;width:100%;height:700px">
<iframe src="<%= urlIframeMappe %>" style="border:none;width:100%;height:700px"></iframe>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
</liferay-ui:section> </div>
<liferay-ui:section> <%-- /Integrazione geoportal --%>
<liferay-portlet:runtime portletName="<%= PortletKeys.MAPIT %>" queryString='<%= "mapitNamespace=" + renderResponse.getNamespace() %>' /> </div>
</liferay-ui:section>
</liferay-ui:tabs>
</div> </div>
</div> </div>
</div> </div>
@ -305,19 +300,19 @@ String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) |
<%= LanguageUtil.get(pageContext, "livello-di-tutela") %> <%= LanguageUtil.get(pageContext, "livello-di-tutela") %>
</div> </div>
<div class="col-sm-6 col-md-6"> <div class="col-sm-6 col-md-6">
<%= dettPratica.getLivelloDiTutela() %> <%= Generics.nl2br(dettPratica.getLivelloDiTutela()) %>
</div> </div>
<div class="col-sm-6 col-md-6"> <div class="col-sm-6 col-md-6">
<%= LanguageUtil.get(pageContext, "paesaggio-locale") %> <%= LanguageUtil.get(pageContext, "paesaggio-locale") %>
</div> </div>
<div class="col-sm-6 col-md-6"> <div class="col-sm-6 col-md-6">
<%= dettPratica.getPaesaggioLocale() %> <%= Generics.nl2br(dettPratica.getPaesaggioLocale()) %>
</div> </div>
<div class="col-sm-6 col-md-6"> <div class="col-sm-6 col-md-6">
<%= LanguageUtil.get(pageContext, "vincoli") %> <%= LanguageUtil.get(pageContext, "vincoli") %>
</div> </div>
<div class="col-sm-6 col-md-6"> <div class="col-sm-6 col-md-6">
<%= BeanPropertiesUtil.getString(dettPratica, "vincoli") %> <%= Generics.nl2br(dettPratica.getVincoli()) %>
</div> </div>
</div> </div>
</div> </div>
@ -325,7 +320,6 @@ String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) |
</div> </div>
</div> </div>
</div> </div>
<div class="row <%= hide1 %> <%= hide10 %>"> <div class="row <%= hide1 %> <%= hide10 %>">
<div class="col-sm-12 col-md-12"> <div class="col-sm-12 col-md-12">
<div class="module-group"> <div class="module-group">

9
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/action_button.jsp

@ -41,7 +41,7 @@ long lastDettPraticaId = DettPraticaLocalServiceUtil.getLastCompletedByIntPratic
String randomId = StringUtil.randomId(); String randomId = StringUtil.randomId();
String buttonIdCambioIstruttore = "buttonIdCambioIstruttore_" + randomId; String buttonIdCambioIstruttore = "buttonIdCambioIstruttore_" + randomId;
String buttonIdRichiediParere = "buttonIdRichiediParere_" + randomId; String buttonIdRichiediParere = "buttonIdRichiediParere_" + randomId;
String buttonIdAnnullaRicGeologo = "buttonIdAnnullaRicGeologo_" + randomId; String buttonIdAnnullaParere = "buttonIdAnnullaParere_" + randomId;
String buttonIdAggiungiDettPraticheAlControllo = "buttonIdAggiungiDettPraticheAlControllo_" + randomId; String buttonIdAggiungiDettPraticheAlControllo = "buttonIdAggiungiDettPraticheAlControllo_" + randomId;
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
long territorioGroupId = territorio.getGroupId(); long territorioGroupId = territorio.getGroupId();
@ -129,7 +129,7 @@ long territorioGroupId = territorio.getGroupId();
value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" /> value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" />
<liferay-util:param name="dettPraticaId" <liferay-util:param name="dettPraticaId"
value="<%= String.valueOf(controlloPratica.getDettPraticaId()) %>" /> value="<%= String.valueOf(controlloPratica.getDettPraticaId()) %>" />
<liferay-util:param name="buttonIdRichiediParere" value="<%= buttonIdRichiediParere %>" /> <liferay-util:param name="buttonId" value="<%= buttonIdRichiediParere %>" />
</liferay-util:include> </liferay-util:include>
<div title='<%= LanguageUtil.get(pageContext, "fascicolo-action-seleziona-geologo") %>' <div title='<%= LanguageUtil.get(pageContext, "fascicolo-action-seleziona-geologo") %>'
class="tooltip-info"> class="tooltip-info">
@ -149,12 +149,11 @@ long territorioGroupId = territorio.getGroupId();
value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" /> value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" />
<liferay-util:param name="dettPraticaId" <liferay-util:param name="dettPraticaId"
value="<%= String.valueOf(controlloPratica.getDettPraticaId()) %>" /> value="<%= String.valueOf(controlloPratica.getDettPraticaId()) %>" />
<liferay-util:param name="buttonIdAnnullaRicGeologo" <liferay-util:param name="buttonId" value="<%= buttonIdAnnullaParere %>" />
value="<%= buttonIdAnnullaRicGeologo %>" />
</liferay-util:include> </liferay-util:include>
<div title='<%= LanguageUtil.get(pageContext, "fascicolo-action-cancella-parere-geologo") %>' <div title='<%= LanguageUtil.get(pageContext, "fascicolo-action-cancella-parere-geologo") %>'
class="tooltip-info"> class="tooltip-info">
<liferay-ui:icon id="<%= buttonIdAnnullaRicGeologo %>" linkCssClass="btn btn-action" <liferay-ui:icon id="<%= buttonIdAnnullaParere %>" linkCssClass="btn btn-action"
iconCssClass="fa fa-times-circle" message="" url="#" /> iconCssClass="fa fa-times-circle" message="" url="#" />
</div> </div>
</c:if> </c:if>

18
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/actions/action_aggiungi_richiesta_parere.jsp

@ -11,10 +11,10 @@
long intPraticaId = ParamUtil.getLong(request, "intPraticaId"); long intPraticaId = ParamUtil.getLong(request, "intPraticaId");
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId"); long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId");
String buttonIdRichiediParere = ParamUtil.getString(request, "buttonIdRichiediParere"); String buttonId = ParamUtil.getString(request, "buttonId");
String randomId = StringUtil.randomId(); String randomId = StringUtil.randomId() + dettPraticaId;
String formNameRichiediParere = "formNameRichiediParere_" + randomId; String formName = "formNameRichiediParere_" + randomId;
String divIdRichiediParere = "divIdRichiediParere_" + randomId; String contentDiv = "divIdRichiediParere" + randomId;
Map<String, User> lista = intPratica.getGeologiPerParere(); Map<String, User> lista = intPratica.getGeologiPerParere();
%> %>
<liferay-portlet:actionURL name="aggiungiRichiestaParere" var="aggiungiRichiestaParereURL"> <liferay-portlet:actionURL name="aggiungiRichiestaParere" var="aggiungiRichiestaParereURL">
@ -22,8 +22,8 @@ Map<String, User> lista = intPratica.getGeologiPerParere();
<liferay-util:param name="dettPraticaId" value="<%= String.valueOf(dettPraticaId) %>" /> <liferay-util:param name="dettPraticaId" value="<%= String.valueOf(dettPraticaId) %>" />
<liferay-util:param name="redirect" value="<%= currentURL %>" /> <liferay-util:param name="redirect" value="<%= currentURL %>" />
</liferay-portlet:actionURL> </liferay-portlet:actionURL>
<aui:form name="<%= formNameRichiediParere %>" method="post" action="<%= aggiungiRichiestaParereURL %>"> <aui:form name="<%= formName %>" method="post" action="<%= aggiungiRichiestaParereURL %>">
<div id='<%= renderResponse.getNamespace() + divIdRichiediParere %>' class="hide"> <div id='<%= renderResponse.getNamespace() + contentDiv %>' class="hide">
<aui:select name="destinatario" label="" required="true"> <aui:select name="destinatario" label="" required="true">
<aui:option label="Seleziona destinatario" value="" /> <aui:option label="Seleziona destinatario" value="" />
<% <%
@ -56,11 +56,11 @@ Map<String, User> lista = intPratica.getGeologiPerParere();
<aui:input name="noteRichiedente" type="textarea" /> <aui:input name="noteRichiedente" type="textarea" />
</div> </div>
<liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>"> <liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>">
<liferay-util:param name="formName" value="<%= formNameRichiediParere %>" /> <liferay-util:param name="formName" value="<%= formName %>" />
<liferay-util:param name="titolo" value="Richiedi parere endoprocedimentale" /> <liferay-util:param name="titolo" value="Richiedi parere endoprocedimentale" />
<liferay-util:param name="buttonId" value="<%= buttonIdRichiediParere %>" /> <liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="buttonConferma" value="CONFERMA" /> <liferay-util:param name="buttonConferma" value="CONFERMA" />
<liferay-util:param name="contentDiv" value="<%= divIdRichiediParere %>" /> <liferay-util:param name="contentDiv" value="<%= contentDiv %>" />
<liferay-util:param name="width" value="500" /> <liferay-util:param name="width" value="500" />
<liferay-util:param name="buttonBar" value="true" /> <liferay-util:param name="buttonBar" value="true" />
</liferay-util:include> </liferay-util:include>

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/view_columns.jspf

@ -214,7 +214,9 @@ DettPratica lastDettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntP
for (ParereGeologo parere : tutti) { for (ParereGeologo parere : tutti) {
if (Validator.isNotNull(parere.getDtAnnullamento())) { if (Validator.isNotNull(parere.getDtAnnullamento())) {
annullati++; annullati++;
} else if (Validator.isNotNull(parere.getDtCompilazione())) { } else if (Validator.isNotNull(parere.getDtCompilazione())
&& (Validator.isNull(parere.getDtAssegnazione())
|| Validator.isNotNull(parere.getDtApprovazione()))) {
espressi++; espressi++;
} }
} }

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

@ -3,6 +3,8 @@ domanda-non-modificabile = Domanda non modificabile
fascicolo-action-open-pratica = Apri pratica fascicolo-action-open-pratica = Apri pratica
fascicolo-action-parere-geologo = Esprimi parere fascicolo-action-parere-geologo = Esprimi parere
fascicolo-action-assegna-parere = Assegna il parere fascicolo-action-assegna-parere = Assegna il parere
fascicolo-action-approva-parere = Approva il parere
fascicolo-action-rifiuta-parere = Rifiuta il parere
pagamento-attivo-domanda-non-modificabile = Pagamento in corso - Domanda non modificabile pagamento-attivo-domanda-non-modificabile = Pagamento in corso - Domanda non modificabile
add-fascicolo = Aggiungi progetto add-fascicolo = Aggiungi progetto

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

@ -979,13 +979,8 @@ public class FascicoloFePortlet extends MVCPortlet {
Pattern.quote(StringPool.PIPE), StringPool.SPACE); Pattern.quote(StringPool.PIPE), StringPool.SPACE);
String dcParticelle = particella1 + StringPool.PIPE + particella2 + StringPool.PIPE + particella3 String dcParticelle = particella1 + StringPool.PIPE + particella2 + StringPool.PIPE + particella3
+ StringPool.PIPE + particella4; + StringPool.PIPE + particella4;
String latitudine = ParamUtil.getString(request, "lat", StringPool.BLANK).replaceAll( String localizzazioneGeografica = ParamUtil.getString(request, "localizzazioneGeografica");
Pattern.quote(StringPool.PIPE), StringPool.SPACE); _log.info("localizzazioneGeografica = " + localizzazioneGeografica);
String longitudine = ParamUtil.getString(request, "long", StringPool.BLANK).replaceAll(
Pattern.quote(StringPool.PIPE), StringPool.SPACE);
String zoom = ParamUtil.getString(request, "zoom", StringPool.BLANK).replaceAll(Pattern.quote(StringPool.PIPE),
StringPool.SPACE);
String localizzazioneGeografica = latitudine + StringPool.PIPE + longitudine + StringPool.PIPE + zoom;
boolean tcNuovaCostruzione = ParamUtil.getBoolean(request, "tcNuovaCostruzione"); boolean tcNuovaCostruzione = ParamUtil.getBoolean(request, "tcNuovaCostruzione");
boolean tcAdeguamentoSismico = ParamUtil.getBoolean(request, "tcAdeguamentoSismico"); boolean tcAdeguamentoSismico = ParamUtil.getBoolean(request, "tcAdeguamentoSismico");
boolean tcMiglioramentoSismico = ParamUtil.getBoolean(request, "tcMiglioramentoSismico"); boolean tcMiglioramentoSismico = ParamUtil.getBoolean(request, "tcMiglioramentoSismico");

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

@ -45,15 +45,15 @@ public class ParereGeologoPortlet extends MVCPortlet {
private static Log _log = LogFactoryUtil.getLog(ParereGeologoPortlet.class); private static Log _log = LogFactoryUtil.getLog(ParereGeologoPortlet.class);
public void aggiornaParere(ActionRequest request, ActionResponse response) { public void esprimiParere(ActionRequest request, ActionResponse response) {
String parere = ParamUtil.getString(request, "parere"); String testo = ParamUtil.getString(request, "parere");
long intPraticaId = ParamUtil.getLong(request, "intPratica"); long parereId = ParamUtil.getLong(request, "parereId");
long parereGeologoId = ParamUtil.getLong(request, "parereGeologoId"); Date now = new Date();
UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(request); UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(request);
ServiceContext serviceContext; ServiceContext serviceContext;
try { try {
ParereGeologo parereGeologo = ParereGeologoLocalServiceUtil.getParereGeologo(parereGeologoId); ParereGeologo parere = ParereGeologoLocalServiceUtil.getParereGeologo(parereId);
serviceContext = ServiceContextFactory.getInstance(request); serviceContext = ServiceContextFactory.getInstance(request);
byte[] content = null; byte[] content = null;
String fileName = uploadRequest.getFileName("docFile"); String fileName = uploadRequest.getFileName("docFile");
@ -64,36 +64,55 @@ public class ParereGeologoPortlet extends MVCPortlet {
SessionErrors.add(request, "error.geniocivilebo.pareregeologo.allegato.length.valid"); SessionErrors.add(request, "error.geniocivilebo.pareregeologo.allegato.length.valid");
} }
} }
if (!SessionErrors.isEmpty(request)) { if (SessionErrors.isEmpty(request)) {
PortalUtil.copyRequestParameters(request, response); content = FileUtil.getBytes(file);
parere = ParereGeologoServiceUtil.esprimiParere(parereId, testo, content, fileName, serviceContext);
parere.invioNotifica(serviceContext);
SessionMessages.add(request, "success-update-parere-geologo");
} else { } else {
if (Validator.isNotNull(intPraticaId)) { PortalUtil.copyRequestParameters(request, response);
content = FileUtil.getBytes(file);
}
} }
ParereGeologoServiceUtil.updateParereGeologo(parereGeologoId, parere, content, fileName, serviceContext);
parereGeologo.invioNotifica(serviceContext);
SessionMessages.add(request, "success-update-parere-geologo");
} catch (Exception e) { } catch (Exception e) {
_log.error(e, e); _log.error(e, e);
SessionErrors.add(request, "error-update-parere-geologo"); SessionErrors.add(request, "error-update-parere-geologo");
} }
} }
public void approvaParere(ActionRequest request, ActionResponse response) throws PortalException, SystemException {
long parereId = ParamUtil.getLong(request, "parereId");
boolean approva = ParamUtil.getBoolean(request, "approva");
String noteApprovatore = ParamUtil.getString(request, "noteApprovatore");
Date now = new Date();
ServiceContext serviceContext = ServiceContextFactory.getInstance(request);
ParereGeologo parere = ParereGeologoLocalServiceUtil.getParereGeologo(parereId);
parere.setNoteApprovatore(noteApprovatore);
parere.setApprovatoreUserId(serviceContext.getUserId());
parere.setModifiedDate(now);
if (approva) {
parere.setDtApprovazione(now);
} else {
parere.setDtCompilazione(null);
}
ParereGeologoLocalServiceUtil.updateParereGeologo(parere);
parere.invioNotifica(serviceContext);
}
public void assegnaParere(ActionRequest request, ActionResponse response) { public void assegnaParere(ActionRequest request, ActionResponse response) {
long parereGeologoId = ParamUtil.getLong(request, "parereGeologoId"); long parereId = ParamUtil.getLong(request, "parereId");
long geologoUserId = ParamUtil.getLong(request, "geologoUserId"); long geologoUserId = ParamUtil.getLong(request, "geologoUserId");
Date now = new Date(); Date now = new Date();
try { try {
ServiceContext serviceContext = ServiceContextFactory.getInstance(request); ServiceContext serviceContext = ServiceContextFactory.getInstance(request);
ParereGeologo parereGeologo = ParereGeologoLocalServiceUtil.getParereGeologo(parereGeologoId); ParereGeologo parere = ParereGeologoLocalServiceUtil.getParereGeologo(parereId);
parereGeologo.setGeologoUserId(geologoUserId); parere.setGeologoUserId(geologoUserId);
parereGeologo.setAssegnatoreUserId(serviceContext.getUserId()); parere.setAssegnatoreUserId(serviceContext.getUserId());
parereGeologo.setDtAssegnazione(now); parere.setNoteAssegnatore(ParamUtil.getString(request, "noteAssegnatore"));
parereGeologo.setModifiedDate(now); parere.setDtAssegnazione(now);
ParereGeologoLocalServiceUtil.updateParereGeologo(parereGeologo); parere.setModifiedDate(now);
parereGeologo.invioNotifica(serviceContext); ParereGeologoLocalServiceUtil.updateParereGeologo(parere);
parere.invioNotifica(serviceContext);
} catch (PortalException | SystemException e) { } catch (PortalException | SystemException e) {
_log.error(e, e); _log.error(e, e);
SessionErrors.add(request, "error-update-parere-geologo"); SessionErrors.add(request, "error-update-parere-geologo");

137
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp

@ -23,7 +23,6 @@
<%@page import="com.liferay.portal.kernel.util.KeyValuePair"%> <%@page import="com.liferay.portal.kernel.util.KeyValuePair"%>
<%@ include file="/html/fascicolofe/init.jsp" %> <%@ include file="/html/fascicolofe/init.jsp" %>
<% <%
DettPratica dettPratica = (DettPratica)request.getAttribute("bean.dettPratica"); DettPratica dettPratica = (DettPratica)request.getAttribute("bean.dettPratica");
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId());
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
@ -42,15 +41,12 @@ boolean enabledByIntegrazione = dettPratica.hasDelegaCompilazioneDomanda(user.ge
boolean isDisabled = disabledInput && !enabledByIntegrazione; boolean isDisabled = disabledInput && !enabledByIntegrazione;
boolean isNewVariante = ParamUtil.getBoolean(request, "isNewVariante"); boolean isNewVariante = ParamUtil.getBoolean(request, "isNewVariante");
boolean disableViarch = !dettPratica.getLavoriPubblici() && !dettPratica.getIntervFinPub(); boolean disableViarch = !dettPratica.getLavoriPubblici() && !dettPratica.getIntervFinPub();
String urlIframeMappe = MappeUtil.getUrlFe(request, dettPratica, comune, (disabledInput || isGeoEditable)); String urlIframeMappe = MappeUtil.getUrlFe(request, dettPratica, comune, (disabledInput || isGeoEditable));
String hide1 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q1) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P1) ? "hideSection" : ""); String hide1 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q1) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P1) ? "hideSection" : "");
String hide3 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q3) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P3) ? "hideSection" : ""); String hide3 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q3) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P3) ? "hideSection" : "");
String hide8 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q8) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P8) ? "hideSection" : ""); String hide8 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q8) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P8) ? "hideSection" : "");
String hide9 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q9) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P9) ? "hideSection" : ""); String hide9 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q9) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P9) ? "hideSection" : "");
String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P10) ? "hideSection" : ""); String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P10) ? "hideSection" : "");
%> %>
<liferay-util:include page="/html/fascicolofe/navigator/header.jsp" servletContext="<%= application %>"> <liferay-util:include page="/html/fascicolofe/navigator/header.jsp" servletContext="<%= application %>">
<liferay-util:param name="disabledInput" value="<%= String.valueOf(disabledInput) %>" /> <liferay-util:param name="disabledInput" value="<%= String.valueOf(disabledInput) %>" />
@ -250,19 +246,16 @@ String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) |
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="dp-dc"> <liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="dp-dc">
<div class="dati_catastali"> <div class="dati_catastali">
<div class="col-xs-12 cont_maps"> <div class="col-xs-12 cont_maps">
<liferay-ui:tabs names="mappe-bbcc,mappe-openstreetmap" <div class="col-xs-12">
refresh="false" value="mappe-bbcc"> <%-- Integrazione geoportal --%>
<liferay-ui:section> <div class="container-fluid">
<div class="col-xs-12"> <div class="row">
<!-- Integrazione geoportal --> <div class="col-xs-12">
<div class="container-fluid"> <iframe src="<%= urlIframeMappe %>" style="border:none;width:100%;height:700px"></iframe>
<div class="row">
<div class="col-xs-12">
<iframe src="<%= urlIframeMappe %>" style="border:none;width:100%;height:700px"></iframe>
</div>
</div>
</div> </div>
<script> </div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function(event) { document.addEventListener('DOMContentLoaded', function(event) {
window.addEventListener('message', messageListener, false); window.addEventListener('message', messageListener, false);
}); });
@ -273,44 +266,61 @@ function messageListener(event) {
return; return;
} }
var trasferiti = []; var trasferiti = [];
var lat = '';
var lng = '';
var name = '';
for (key in data) { for (key in data) {
var el = null;
switch (key) { switch (key) {
case 'latitudine': case 'latitudine':
var name = 'lat'; lat = data[key];
break; break;
case 'longitudine': case 'longitudine':
var name = 'long'; lng = data[key];
break; break;
case 'paesaggioLocale':
case 'livelloDiTutela':
case 'vincoli':
data[key] = duplicati(data[key]);
// Fall through
default: default:
var name = 'input_' + key; el = document.getElementById('<portlet:namespace/>input_' + key);
} }
var el = document.getElementById('<portlet:namespace/>' + name);
if (null !== el) { if (null !== el) {
el.value = data[key]; el.value = data[key];
trasferiti.push(key); trasferiti.push(key);
} }
} }
var el = document.getElementById('<portlet:namespace/>localizzazioneGeografica');
el.value = lat + '|' + lng + '|8';
trasferiti.push('localizzazioneGeografica');
if (trasferiti.length > 0) { if (trasferiti.length > 0) {
//console.log('Trasferiti correttamente: ' + trasferiti.join(', ')); console.log('Trasferiti correttamente: ' + trasferiti.join(', '));
} }
} }
</script>
</div> function duplicati(input) {
<!-- /Integrazione geoportal -->
</liferay-ui:section> var righe = input.split('\n');
<liferay-ui:section> var valore = '';
<div style="border:none;width:100%;height:700px"> var output = '';
<liferay-portlet:runtime portletName="<%= PortletKeys.MAPIT %>" queryString='<%= "mapitNamespace=" + renderResponse.getNamespace() %>' /> for (var i in righe) {
</div> if (valore !== righe[i]) {
</liferay-ui:section> valore = righe[i];
</liferay-ui:tabs> output += (output === '' ? '' : '\n') + valore;
}
}
return output;
}
</script>
</div>
<%-- /Integrazione geoportal --%>
</div> </div>
<div class="col-xs-12 col-md-12" style="margin-top:40px;"></div> <div class="col-xs-12 col-md-12" style="margin-top:40px;"></div>
<aui:row> <aui:row>
<div class="col-xs-12 col-md-6"> <div class="col-xs-12 col-md-6">
<div class="container-fluid"> <div class="container-fluid">
<div class="row <%= hide10 %>"> <div class="row <%= hide10 --%>">
<div class="col-xs-12"> <div class="col-xs-12">
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" name="descLongIntervento" <aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" name="descLongIntervento"
label="desc-long-intervento"/> label="desc-long-intervento"/>
@ -336,54 +346,29 @@ function messageListener(event) {
label="dp-dc-via"/> label="dp-dc-via"/>
</div> </div>
</div> </div>
<div class="row"> <aui:input readonly="true" type="text" name="localizzazioneGeografica" id="localizzazioneGeografica" />
<div class="col-md-12">
<aui:button name="localizzaBtn" cssClass="btn btn-primary pull-right"
disabled="<%= true %>" onClick="localize(true)" value="Localizza"/>
</div>
</div>
<div class="row">
<%
String[] geolocalization = BeanParamUtil.getString(dettPratica, request, "localizzazioneGeografica","").split(Pattern.quote("|"));
%>
<aui:input name="zoom" label="" type="hidden" value='<%= geolocalization.length>2?geolocalization[2]:"8" %>'/>
<div class="col-xs-12 col-md-6">
<aui:input name="lat_hidden" label="" type="hidden"
value='<%= geolocalization.length > 0 ? geolocalization[0] : StringPool.BLANK %>' />
<aui:input type="text" name="lat"
value='<%= geolocalization.length > 0 ? geolocalization[0] : StringPool.BLANK %>' label="dp-lat"/>
</div>
<div class="col-xs-12 col-md-6">
<aui:input name="long_hidden" label="" type="hidden"
value='<%= geolocalization.length > 1 ? geolocalization[1] : StringPool.BLANK %>'/>
<aui:input type="text" name="long"
value='<%= geolocalization.length > 1 ? geolocalization[1] : StringPool.BLANK %>' label="dp-long"/>
</div>
<aui:input disabled="<%= disabledInput || isGeoEditable %>" type="hidden" name="geoIsEditable"
value='<%= (disabledInput || isGeoEditable) ? false : true %>' label=""/>
</div>
</div> </div>
</div> </div>
<div class="col-xs-12 col-md-6"> <div class="col-xs-12 col-md-6">
<div class="container-fluid"> <div class="container-fluid">
<div class="row" style="margin-bottom:20px;"> <div class="row" style="margin-bottom:20px;">
<div class="col-xs-12"> <div class="col-xs-12">
<aui:input disabled="<%= isDisabled %>" type="text" name="estremiCatastali" id="input_estremiCatastali" <aui:input readonly="true" type="text" name="estremiCatastali" id="input_estremiCatastali"
label="estremi-catastali"/> label="estremi-catastali"/>
</div> </div>
</div> </div>
<label class="control-label text-uppercase"><%= LanguageUtil.get(pageContext, "dp-ppp") %></label> <label class="control-label text-uppercase"><%= LanguageUtil.get(pageContext, "dp-ppp") %></label>
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<aui:input disabled="<%= isDisabled %>" type="textarea" name="paesaggioLocale" id="input_paesaggioLocale" label="paesaggio-locale" value="" /> <aui:input readonly="true" type="textarea" name="paesaggioLocale" id="input_paesaggioLocale" label="paesaggio-locale" value="" />
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-md-6"> <div class="col-xs-12 col-md-6">
<aui:input disabled="<%= isDisabled %>" type="textarea" name="livelloDiTutela" id="input_livelloDiTutela" label="livello-di-tutela" value="" /> <aui:input readonly="true" type="textarea" name="livelloDiTutela" id="input_livelloDiTutela" label="livello-di-tutela" value="" />
</div> </div>
<div class="col-xs-12 col-md-6"> <div class="col-xs-12 col-md-6">
<aui:input disabled="<%= isDisabled %>" type="textarea" id="input_vincoli" name="vincoli" rows="4" cols="250" label="vincoli"></aui:input> <aui:input readonly="true" type="textarea" id="input_vincoli" name="vincoli" rows="4" cols="250" label="vincoli"></aui:input>
</div> </div>
</div> </div>
</div> </div>
@ -393,32 +378,6 @@ function messageListener(event) {
</liferay-ui:panel> </liferay-ui:panel>
</div> </div>
</div> </div>
<!--<div class="col-sm-12 col-md-12">
<div class="module-group group_piano_paesaggistico_provinciale">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="piano-paesaggistico">
<div class="row">
<div class="col-xs-12">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-md-6">
<aui:input name="paesaggioLocale" label="paesaggio-locale" type="text" value="" />
</div>
<div class="col-xs-12 col-md-6">
<aui:input name="livelloDiTutela" label="livello-di-tutela" type="text" value="" />
</div>
</div>
<div class="row">
<div class="col-xs-12">
<aui:input type="textarea" name="vincoli" rows="4" cols="250" label="vincoli" />
</div>
</div>
</div>
</div>
</div>
</liferay-ui:panel>
</div>
</div>-->
<div class="col-sm-12 col-md-12 "> <div class="col-sm-12 col-md-12 ">
<div class="module-group group_dati_catastali <%= hide1 %> <%= hide10 %>"> <div class="module-group group_dati_catastali <%= hide1 %> <%= hide10 %>">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" <liferay-ui:panel extended="false" defaultState="open" collapsible="false"

89
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions.jsp

@ -10,41 +10,54 @@
<% <%
SearchContainer searchContainer = (SearchContainer) request.getAttribute("liferay-ui:search:searchContainer"); SearchContainer searchContainer = (SearchContainer) request.getAttribute("liferay-ui:search:searchContainer");
String redirect = ParamUtil.getString(request, "backUrl"); String redirect = ParamUtil.getString(request, "backUrl");
ParereGeologo parereGeologo = null; ParereGeologo parere = null;
boolean showExpanded = true; long parereId;
if (searchContainer != null) { if (searchContainer != null) {
redirect = searchContainer.getIteratorURL().toString(); redirect = searchContainer.getIteratorURL().toString();
ResultRow row = (ResultRow) request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW); ResultRow row = (ResultRow) request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);
parereGeologo = (ParereGeologo) row.getObject(); parere = (ParereGeologo) row.getObject();
showExpanded = false; parereId = parere.getParereGeologoId();
} else { } else {
long parereGeologoId = ParamUtil.getLong(request, "parereGeologoId"); parereId = ParamUtil.getLong(request, "parereId");
parereGeologo = ParereGeologoLocalServiceUtil.getParereGeologo(parereGeologoId); parere = ParereGeologoLocalServiceUtil.getParereGeologo(parereId);
} }
String buttonIdAddParere = "buttonIdAddParere_" + parereGeologo.getParereGeologoId();
String buttonIdAssegnaParere = "buttonIdAssegnaParere_" + parereGeologo.getParereGeologoId();
%> %>
<liferay-ui:icon-menu icon="" showWhenSingleIcon="true" showExpanded="true" cssClass="menu_button_activity"> <liferay-ui:icon-menu icon="" showWhenSingleIcon="true" showExpanded="true" cssClass="menu_button_activity">
<div title='<%= LanguageUtil.get(pageContext,"fascicolo-action-open-pratica") %>' class="tooltip-info"> <div title='<%= LanguageUtil.get(pageContext,"fascicolo-action-open-pratica") %>' class="tooltip-info">
<liferay-ui:icon iconCssClass="fa fa-eye" linkCssClass="btn btn-action" target="_blank" message="" label="true" <liferay-ui:icon iconCssClass="fa fa-eye" linkCssClass="btn btn-action" target="_blank" message="" label="true"
url="<%= FascicoloURLUtil.getFascicoloViewURL(parereGeologo.getCompanyId(), url="<%= FascicoloURLUtil.getFascicoloViewURL(parere.getCompanyId(), parere.getIntPraticaId()) %>" />
parereGeologo.getIntPraticaId()) %>" />
</div> </div>
<c:if test="<%= Validator.isNull(parereGeologo.getParere()) && tabs1.equalsIgnoreCase(tabs[0]) %>"> <c:if test="<%= tabs1 == 1 %>">
<%
String buttonId = "buttonIdEsprimiParere_" + parereId;
%>
<div title='<%= LanguageUtil.get(pageContext,"fascicolo-action-parere-geologo") %>' class="tooltip-info"> <div title='<%= LanguageUtil.get(pageContext,"fascicolo-action-parere-geologo") %>' class="tooltip-info">
<liferay-ui:icon linkCssClass="btn btn-action" id="<%= buttonIdAddParere %>" iconCssClass="fa fa-pencil" <liferay-ui:icon linkCssClass="btn btn-action" id="<%= buttonId %>" iconCssClass="fa fa-pencil"
message="" url="#" /> message="" url="#" />
</div> </div>
<liferay-util:include page="/html/pareregeologo/actions/esprimi_parere.jsp"
servletContext="<%= application %>" >
<liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="parereId" value="<%= String.valueOf(parereId) %>" />
</liferay-util:include>
</c:if> </c:if>
<c:if test="<%= (tabs.length > 2) && tabs1.equalsIgnoreCase(tabs[2]) %>"> <c:if test="<%= tabs1 == 3 %>">
<%
String buttonId = "buttonIdAssegnaParere_" + parereId;
%>
<div title='<%= LanguageUtil.get(pageContext,"fascicolo-action-assegna-parere") %>' class="tooltip-info"> <div title='<%= LanguageUtil.get(pageContext,"fascicolo-action-assegna-parere") %>' class="tooltip-info">
<liferay-ui:icon linkCssClass="btn btn-action" id="<%= buttonIdAssegnaParere %>" <liferay-ui:icon linkCssClass="btn btn-action" id="<%= buttonId %>"
iconCssClass="fa fa-user-circle" message="" url="#" /> iconCssClass="fa fa-user-circle" message="" url="#" />
</div> </div>
<liferay-util:include page="/html/pareregeologo/actions/assegna_parere.jsp"
servletContext="<%= application %>" >
<liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="parereId" value="<%= String.valueOf(parereId) %>" />
</liferay-util:include>
</c:if> </c:if>
<c:if test="<%= Validator.isNotNull(parereGeologo.getFileEntryId()) %>"> <c:if test="<%= Validator.isNotNull(parere.getFileEntryId()) %>">
<% <%
FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(parereGeologo.getFileEntryId()); FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(parere.getFileEntryId());
String downloadUrl = DLUtil.getPreviewURL(fileEntry, fileEntry.getLatestFileVersion(), themeDisplay, String downloadUrl = DLUtil.getPreviewURL(fileEntry, fileEntry.getLatestFileVersion(), themeDisplay,
"&download=true"); "&download=true");
%> %>
@ -53,23 +66,37 @@ String buttonIdAssegnaParere = "buttonIdAssegnaParere_" + parereGeologo.getParer
url="<%= downloadUrl %>" /> url="<%= downloadUrl %>" />
</div> </div>
</c:if> </c:if>
<c:if test="<%= tabs1 == 4 %>">
<%
String buttonId = "buttonIdApprovaParere_" + parereId;
%>
<div title='<%= LanguageUtil.get(pageContext,"fascicolo-action-approva-parere") %>' class="tooltip-info">
<liferay-ui:icon linkCssClass="btn btn-action" id="<%= buttonId %>"
iconCssClass="fa fa-check" message="" url="#" />
</div>
<liferay-util:include page="/html/pareregeologo/actions/approva_parere.jsp"
servletContext="<%= application %>" >
<liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="parereId" value="<%= String.valueOf(parereId) %>" />
<liferay-util:param name="approva" value="true" />
</liferay-util:include>
<%
buttonId = "buttonIdRifiutaParere_" + parereId;
%>
<div title='<%= LanguageUtil.get(pageContext,"fascicolo-action-rifiuta-parere") %>' class="tooltip-info">
<liferay-ui:icon linkCssClass="btn btn-action" id="<%= buttonId %>"
iconCssClass="fa fa-times" message="" url="#" />
</div>
<liferay-util:include page="/html/pareregeologo/actions/approva_parere.jsp"
servletContext="<%= application %>" >
<liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="parereId" value="<%= String.valueOf(parereId) %>" />
<liferay-util:param name="approva" value="false" />
</liferay-util:include>
</c:if>
</liferay-ui:icon-menu> </liferay-ui:icon-menu>
<c:if test="<%= tabs1.equalsIgnoreCase(tabs[0]) %>">
<liferay-util:include page="/html/pareregeologo/actions/add_parere.jsp" servletContext="<%= application %>" >
<liferay-util:param name="buttonIdAddParere" value="<%= buttonIdAddParere %>" />
<liferay-util:param name="parereGeologoId" value="<%= String.valueOf(parereGeologo.getParereGeologoId()) %>" />
<liferay-util:param name="intPratica" value="<%= String.valueOf(parereGeologo.getIntPraticaId()) %>" />
<liferay-util:param name="noteRichiedente" value="<%= parereGeologo.getNoteRichiedente() %>" />
</liferay-util:include>
</c:if>
<c:if test="<%= (tabs.length > 2) && tabs1.equalsIgnoreCase(tabs[2]) %>">
<liferay-util:include page="/html/pareregeologo/actions/assegna_parere.jsp" servletContext="<%= application %>" >
<liferay-util:param name="buttonIdAssegnaParere" value="<%= buttonIdAssegnaParere %>" />
<liferay-util:param name="parereGeologoId" value="<%= String.valueOf(parereGeologo.getParereGeologoId()) %>" />
</liferay-util:include>
</c:if>
<script> <script>
YUI().use('aui-tooltip', function(Y) { YUI().use('aui-tooltip', function (Y) {
new Y.TooltipDelegate({ new Y.TooltipDelegate({
trigger: '.tooltip-info', trigger: '.tooltip-info',
position: 'top', position: 'top',

65
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/add_parere.jsp

@ -1,65 +0,0 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.util.HtmlUtil"%>
<%@include file="/html/pareregeologo/init.jsp"%>
<%
long intPraticaId = ParamUtil.getLong(request, "intPraticaId");
long parereGeologoId = ParamUtil.getLong(request, "parereGeologoId");
String noteRichiedente = ParamUtil.getString(request, "noteRichiedente");
String buttonIdAddParere = ParamUtil.getString(request, "buttonIdAddParere");
String formAggiornaParere = "formAggiornaParere_" + parereGeologoId;
String divIdAggiornaParere = "divIdAggiornaParere_" + parereGeologoId;
%>
<liferay-portlet:actionURL name="aggiornaParere" var="aggiornaParereUrl">
<portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>" />
<portlet:param name="parereGeologoId" value="<%= String.valueOf(parereGeologoId) %>" />
<portlet:param name="redirect" value="<%= currentURL %>" />
</liferay-portlet:actionURL>
<aui:form name="<%= formAggiornaParere %>" enctype="multipart/form-data" method="post"
action="<%= aggiornaParereUrl %>" >
<div id='<%= renderResponse.getNamespace() + divIdAggiornaParere %>' class="hide" >
<%
if (Validator.isNotNull(noteRichiedente)) {
%>
<strong>Note del richiedente: </strong><span><%= HtmlUtil.escape(noteRichiedente) %></span><br/><br/>
<%
}
%>
<aui:input name="parere" type="textarea" id="my-aui-textarea">
<aui:validator name="required" />
</aui:input>
<span style="float:right;">&nbsp Carattere/i rimanenti</span>
<span style="float:right;" id="<portlet:namespace />aui-char-count"></span>
<aui:input type="file" name="docFile" label="File Allegato" />
</div>
<liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>" >
<liferay-util:param name="formName" value="<%= formAggiornaParere %>" />
<liferay-util:param name="titolo"
value='<%= LanguageUtil.get(pageContext,"fascicolo-action-parere-geologo") %>' />
<liferay-util:param name="buttonId" value="<%= buttonIdAddParere %>" />
<liferay-util:param name="buttonConferma" value="CONFERMA" />
<liferay-util:param name="contentDiv" value="<%= divIdAggiornaParere %>" />
<liferay-util:param name="width" value="500" />
<liferay-util:param name="buttonBar" value="true" />
</liferay-util:include>
</aui:form>
<aui:script use="aui-base">
AUI().ready('node', 'aui-char-counter', function(A) {
var maxTextLength = 2000;
var auiTextAreaIDWithNSpace = '#<portlet:namespace />my-aui-textarea';
var auiCountAreaIDWithNSpace = '#<portlet:namespace />aui-char-count';
var auiTextAreaNode = new A.one(auiTextAreaIDWithNSpace);
if (auiTextAreaNode === null) {
alert('From main.js\n' + 'AUI Text Area node not found.');
}
var auiCountAreaNode = new A.one(auiCountAreaIDWithNSpace);
if (auiCountAreaNode === null) {
alert('From main.js\n' + 'AUI Count Text node not found.');
}
auiCountAreaNode.set('text', (maxTextLength - (auiTextAreaNode.get('text').length)));
var auiTextCounter = new A.CharCounter({
input: auiTextAreaIDWithNSpace,
counter: auiCountAreaIDWithNSpace,
maxLength: maxTextLength,
});
});
</aui:script>

82
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/approva_parere.jsp

@ -0,0 +1,82 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.model.User"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="com.liferay.portal.kernel.util.HtmlUtil"%>
<%@page import="it.mwg.sismica.bo.shared.util.Generics"%>
<%@page import="it.tref.liferay.portos.bo.model.ParereGeologo"%>
<%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%>
<%@include file="/html/pareregeologo/init.jsp"%>
<%
long parereId = ParamUtil.getLong(request, "parereId");
boolean approva = ParamUtil.getBoolean(request, "approva");
ParereGeologo parere = ParereGeologoLocalServiceUtil.getParereGeologo(parereId);
String buttonId = ParamUtil.getString(request, "buttonId");
String formName = "formApprovaParere_" + approva + parereId;
String contentDiv = "divIdApprovaParere_" + approva + parereId;
%>
<liferay-portlet:actionURL name="approvaParere" var="approvaParereUrl">
<portlet:param name="parereId" value="<%= String.valueOf(parereId) %>" />
<portlet:param name="approva" value="<%= String.valueOf(approva) %>" />
<portlet:param name="redirect" value="<%= currentURL %>" />
</liferay-portlet:actionURL>
<aui:form name="<%= formName %>" enctype="multipart/form-data" method="post"
action="<%= approvaParereUrl %>" >
<div id='<%= renderResponse.getNamespace() + contentDiv %>' class="hide" >
<c:if test="<%= Validator.isNotNull(parere.getNoteRichiedente()) %>">
<strong>
<%= LanguageUtil.get(pageContext, "note-richiedente") %>
<%= Generics.capitalizeFull(parere.getUserName()) %>:
</strong>
<span><%= HtmlUtil.escape(parere.getNoteRichiedente()) %></span><br/><br/>
</c:if>
<c:if test="<%= Validator.isNotNull(parere.getNoteAssegnatore()) %>">
<%
User assegnatore = UserLocalServiceUtil.getUser(parere.getAssegnatoreUserId());
%>
<strong>
<%= LanguageUtil.get(pageContext, "note-assegnatore") %>
<%= Generics.capitalizeFull(assegnatore.getFullName()) %>:
</strong>
<span><%= HtmlUtil.escape(parere.getNoteAssegnatore()) %></span><br/><br/>
</c:if>
<aui:input name="noteApprovatore" type="textarea" id="my-aui-textarea"
value="<%= parere.getNoteApprovatore() %>">
<c:if test="<%= !approva %>">
<aui:validator name="required" />
</c:if>
</aui:input>
<span style="float:right;">&nbsp; Carattere/i rimanenti</span>
<span style="float:right;" id="<portlet:namespace />aui-char-count"></span>
</div>
<liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>" >
<liferay-util:param name="formName" value="<%= formName %>" />
<liferay-util:param name="titolo" value='<%= LanguageUtil.get(pageContext, approva
? "fascicolo-action-approva-parere" : "fascicolo-action-rifiuta-parere") %>' />
<liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="buttonConferma" value="CONFERMA" />
<liferay-util:param name="contentDiv" value="<%= contentDiv %>" />
<liferay-util:param name="width" value="500" />
<liferay-util:param name="buttonBar" value="true" />
</liferay-util:include>
</aui:form>
<aui:script use="aui-base">
AUI().ready('node', 'aui-char-counter', function (A) {
var maxTextLength = 4000;
var auiTextAreaIDWithNSpace = '#<portlet:namespace />my-aui-textarea';
var auiCountAreaIDWithNSpace = '#<portlet:namespace />aui-char-count';
var auiTextAreaNode = new A.one(auiTextAreaIDWithNSpace);
if (auiTextAreaNode === null) {
alert('From main.js\nAUI Text Area node not found.');
}
var auiCountAreaNode = new A.one(auiCountAreaIDWithNSpace);
if (auiCountAreaNode === null) {
alert('From main.js\nAUI Count Text node not found.');
}
auiCountAreaNode.set('text', (maxTextLength - (auiTextAreaNode.get('text').length)));
var auiTextCounter = new A.CharCounter({
input: auiTextAreaIDWithNSpace,
counter: auiCountAreaIDWithNSpace,
maxLength: maxTextLength,
});
});
</aui:script>

56
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/assegna_parere.jsp

@ -6,28 +6,30 @@
<%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%> <%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%>
<%@include file="/html/pareregeologo/init.jsp"%> <%@include file="/html/pareregeologo/init.jsp"%>
<% <%
long parereGeologoId = ParamUtil.getLong(request, "parereGeologoId"); long parereId = ParamUtil.getLong(request, "parereId");
ParereGeologo parereGeologo = ParereGeologoLocalServiceUtil.getParereGeologo(parereGeologoId); ParereGeologo parere = ParereGeologoLocalServiceUtil.getParereGeologo(parereId);
String buttonIdAssegnaParere = ParamUtil.getString(request, "buttonIdAssegnaParere"); String buttonId = ParamUtil.getString(request, "buttonId");
String formAssegnaParere = "formAssegnaParere_" + parereGeologoId; String formName = "formAssegnaParere_" + parereId;
String divIdAssegnaParere = "divIdAssegnaParere_" + parereGeologoId; String contentDiv = "divIdAssegnaParere_" + parereId;
%> %>
<liferay-portlet:actionURL name="assegnaParere" var="assegnaParereUrl"> <liferay-portlet:actionURL name="assegnaParere" var="assegnaParereUrl">
<portlet:param name="parereGeologoId" value="<%= String.valueOf(parereGeologoId) %>" /> <portlet:param name="parereId" value="<%= String.valueOf(parereId) %>" />
<portlet:param name="redirect" value="<%= currentURL %>" /> <portlet:param name="redirect" value="<%= currentURL %>" />
</liferay-portlet:actionURL> </liferay-portlet:actionURL>
<aui:form name="<%= formAssegnaParere %>" enctype="multipart/form-data" method="post" <aui:form name="<%= formName %>" enctype="multipart/form-data" method="post"
action="<%= assegnaParereUrl %>" > action="<%= assegnaParereUrl %>" >
<div id='<%= renderResponse.getNamespace() + divIdAssegnaParere %>' class="hide" > <div id='<%= renderResponse.getNamespace() + contentDiv %>' class="hide" >
<c:if test="<%= Validator.isNotNull(parereGeologo.getNoteRichiedente()) %>"> <c:if test="<%= Validator.isNotNull(parere.getNoteRichiedente()) %>">
<strong>Note del richiedente: </strong><span> <strong>
<%= HtmlUtil.escape(parereGeologo.getNoteRichiedente()) %> <%= LanguageUtil.get(pageContext, "note-approvatore") %>
</span><br /><br /> <%= Generics.capitalizeFull(parere.getUserName()) %>:
</strong>
<span><%= HtmlUtil.escape(parere.getNoteRichiedente()) %></span><br /><br />
</c:if> </c:if>
<aui:select name="geologoUserId" label="" required="true"> <aui:select name="geologoUserId" label="" required="true">
<aui:option label="Seleziona istruttore" value="" /> <aui:option label="Seleziona istruttore" value="" />
<% <%
for (User istruttore : parereGeologo.getIstruttori()) { for (User istruttore : parere.getIstruttori()) {
%> %>
<aui:option value="<%= istruttore.getUserId() %>" <aui:option value="<%= istruttore.getUserId() %>"
selected="<%= user.getUserId() == istruttore.getUserId() %>" selected="<%= user.getUserId() == istruttore.getUserId() %>"
@ -37,14 +39,36 @@ String divIdAssegnaParere = "divIdAssegnaParere_" + parereGeologoId;
} }
%> %>
</aui:select> </aui:select>
<aui:input name="noteAssegnatore" type="textarea" id="my-aui-textarea" />
</div> </div>
<liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>" > <liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>" >
<liferay-util:param name="formName" value="<%= formAssegnaParere %>" /> <liferay-util:param name="formName" value="<%= formName %>" />
<liferay-util:param name="titolo" value="Assegna a istruttore" /> <liferay-util:param name="titolo" value="Assegna a istruttore" />
<liferay-util:param name="buttonId" value="<%= buttonIdAssegnaParere %>" /> <liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="buttonConferma" value="CONFERMA" /> <liferay-util:param name="buttonConferma" value="CONFERMA" />
<liferay-util:param name="contentDiv" value="<%= divIdAssegnaParere %>" /> <liferay-util:param name="contentDiv" value="<%= contentDiv %>" />
<liferay-util:param name="width" value="500" /> <liferay-util:param name="width" value="500" />
<liferay-util:param name="buttonBar" value="true" /> <liferay-util:param name="buttonBar" value="true" />
</liferay-util:include> </liferay-util:include>
</aui:form> </aui:form>
<aui:script use="aui-base">
AUI().ready('node', 'aui-char-counter', function (A) {
var maxTextLength = 4000;
var auiTextAreaIDWithNSpace = '#<portlet:namespace />my-aui-textarea';
var auiCountAreaIDWithNSpace = '#<portlet:namespace />aui-char-count';
var auiTextAreaNode = new A.one(auiTextAreaIDWithNSpace);
if (auiTextAreaNode === null) {
alert('From main.js\nAUI Text Area node not found.');
}
var auiCountAreaNode = new A.one(auiCountAreaIDWithNSpace);
if (auiCountAreaNode === null) {
alert('From main.js\nAUI Count Text node not found.');
}
auiCountAreaNode.set('text', (maxTextLength - (auiTextAreaNode.get('text').length)));
var auiTextCounter = new A.CharCounter({
input: auiTextAreaIDWithNSpace,
counter: auiCountAreaIDWithNSpace,
maxLength: maxTextLength,
});
});
</aui:script>

88
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/actions/esprimi_parere.jsp

@ -0,0 +1,88 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.model.User"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="com.liferay.portal.kernel.util.HtmlUtil"%>
<%@page import="it.mwg.sismica.bo.shared.util.Generics"%>
<%@page import="it.tref.liferay.portos.bo.model.ParereGeologo"%>
<%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%>
<%@include file="/html/pareregeologo/init.jsp"%>
<%
long parereId = ParamUtil.getLong(request, "parereId");
ParereGeologo parere = ParereGeologoLocalServiceUtil.getParereGeologo(parereId);
String buttonId = ParamUtil.getString(request, "buttonId");
String formName = "formAggiornaParere_" + parereId;
String contentDiv = "divIdAggiornaParere_" + parereId;
%>
<liferay-portlet:actionURL name="esprimiParere" var="esprimiParereUrl">
<portlet:param name="parereId" value="<%= String.valueOf(parereId) %>" />
<portlet:param name="redirect" value="<%= currentURL %>" />
</liferay-portlet:actionURL>
<aui:form name="<%= formName %>" enctype="multipart/form-data" method="post"
action="<%= esprimiParereUrl %>" >
<div id='<%= renderResponse.getNamespace() + contentDiv %>' class="hide" >
<c:if test="<%= Validator.isNotNull(parere.getNoteRichiedente()) %>">
<strong>
<%= LanguageUtil.get(pageContext, "note-richiedente") %>
<%= Generics.capitalizeFull(parere.getUserName()) %>:
</strong>
<span><%= HtmlUtil.escape(parere.getNoteRichiedente()) %></span><br/><br/>
</c:if>
<c:if test="<%= Validator.isNotNull(parere.getNoteAssegnatore()) %>">
<%
User assegnatore = UserLocalServiceUtil.getUser(parere.getAssegnatoreUserId());
%>
<strong>
<%= LanguageUtil.get(pageContext, "note-assegnatore") %>
<%= Generics.capitalizeFull(assegnatore.getFullName()) %>:
</strong>
<span><%= HtmlUtil.escape(parere.getNoteAssegnatore()) %></span><br/><br/>
</c:if>
<c:if test="<%= Validator.isNotNull(parere.getNoteApprovatore()) %>">
<%
User approvatore = UserLocalServiceUtil.getUser(parere.getApprovatoreUserId());
%>
<strong>
<%= LanguageUtil.get(pageContext, "note-approvatore") %>
<%= Generics.capitalizeFull(approvatore.getFullName()) %>:
</strong>
<span><%= HtmlUtil.escape(parere.getNoteApprovatore()) %></span><br/><br/>
</c:if>
<aui:input name="parere" type="textarea" id="my-aui-textarea" value="<%= parere.getParere() %>">
<aui:validator name="required" />
</aui:input>
<span style="float:right;">&nbsp; Carattere/i rimanenti</span>
<span style="float:right;" id="<portlet:namespace />aui-char-count"></span>
<aui:input type="file" name="docFile" label="File Allegato" />
</div>
<liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>" >
<liferay-util:param name="formName" value="<%= formName %>" />
<liferay-util:param name="titolo"
value='<%= LanguageUtil.get(pageContext, "fascicolo-action-parere-geologo") %>' />
<liferay-util:param name="buttonId" value="<%= buttonId %>" />
<liferay-util:param name="buttonConferma" value="CONFERMA" />
<liferay-util:param name="contentDiv" value="<%= contentDiv %>" />
<liferay-util:param name="width" value="500" />
<liferay-util:param name="buttonBar" value="true" />
</liferay-util:include>
</aui:form>
<aui:script use="aui-base">
AUI().ready('node', 'aui-char-counter', function (A) {
var maxTextLength = 4000;
var auiTextAreaIDWithNSpace = '#<portlet:namespace />my-aui-textarea';
var auiCountAreaIDWithNSpace = '#<portlet:namespace />aui-char-count';
var auiTextAreaNode = new A.one(auiTextAreaIDWithNSpace);
if (auiTextAreaNode === null) {
alert('From main.js\nAUI Text Area node not found.');
}
var auiCountAreaNode = new A.one(auiCountAreaIDWithNSpace);
if (auiCountAreaNode === null) {
alert('From main.js\nAUI Count Text node not found.');
}
auiCountAreaNode.set('text', (maxTextLength - (auiTextAreaNode.get('text').length)));
var auiTextCounter = new A.CharCounter({
input: auiTextAreaIDWithNSpace,
counter: auiCountAreaIDWithNSpace,
maxLength: maxTextLength,
});
});
</aui:script>

38
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/init.jsp

@ -1,16 +1,34 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.model.Role"%>
<%@page import="com.liferay.portal.service.RoleLocalServiceUtil"%>
<%@page import="it.mwg.sismica.bo.shared.util.UserUtil"%> <%@page import="it.mwg.sismica.bo.shared.util.UserUtil"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.Constants"%> <%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%>
<%@include file="/html/init.jsp"%> <%@include file="/html/init.jsp"%>
<% <%
String tabNames; String tabsNames;
if (UserUtil.isGeologo(user)) { String tabsValues = "1,2";
tabNames = "Pareri da fornire,Pareri forniti,Pareri da assegnare,Pareri da approvare"; int countDaEsprimere = ParereGeologoLocalServiceUtil.countByGeologoIdInCorso(user.getUserId());
} else { int countDaAssegnare = 0;
tabNames = "Pareri da fornire,Pareri forniti"; int countDaApprovare = 0;
{
StringBuilder sb = new StringBuilder();
sb.append("Pareri da fornire");
if (countDaEsprimere > 0) {
sb.append(" <b>(").append(countDaEsprimere).append(")</b>");
}
sb.append(",Pareri forniti");
if (UserUtil.isGeologo(user)) {
tabsValues = "1,2,3,4";
sb.append(",Pareri da assegnare");
countDaAssegnare = ParereGeologoLocalServiceUtil.countByUserDaAssegnare(user);
if (countDaAssegnare > 0) {
sb.append(" <b>(").append(countDaAssegnare).append(")</b>");
}
sb.append(",Pareri da approvare");
countDaApprovare = ParereGeologoLocalServiceUtil.countByUserDaApprovare(user);
if (countDaApprovare > 0) {
sb.append(" <b>(").append(countDaApprovare).append(")</b>");
}
}
tabsNames = sb.toString();
} }
String tabs[] = StringUtil.split(tabNames); int tabs1 = ParamUtil.getInteger(request, "tabs1", 1);
String tabs1 = ParamUtil.getString(request, "tabs1", tabs[0]);
%> %>

8
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/parericompletati.jsp

@ -7,7 +7,7 @@
<%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%> <%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%>
<%@ include file="/html/pareregeologo/init.jsp" %> <%@ include file="/html/pareregeologo/init.jsp" %>
<liferay-portlet:renderURL varImpl="searchURL"> <liferay-portlet:renderURL varImpl="searchURL">
<liferay-portlet:param name="tabs1" value="<%= tabs[1] %>" /> <liferay-portlet:param name="tabs1" value="2" />
</liferay-portlet:renderURL> </liferay-portlet:renderURL>
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" > <liferay-ui:search-container emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" >
<% <%
@ -25,8 +25,12 @@
value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" /> value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" />
<liferay-ui:search-container-column-text name="Richiedente" <liferay-ui:search-container-column-text name="Richiedente"
value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" /> value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" />
<liferay-ui:search-container-column-text name="Note del richiedente" <liferay-ui:search-container-column-text name="note-richiedente"
value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" /> value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" />
<liferay-ui:search-container-column-text name="note-assegnatore"
value="<%= HtmlUtil.escape(parere.getNoteAssegnatore()) %>" />
<liferay-ui:search-container-column-text name="note-approvatore"
value="<%= HtmlUtil.escape(parere.getNoteApprovatore()) %>" />
<liferay-ui:search-container-column-text name="Localizzazione" value="<%= intPratica.getIndirizzo() %>" /> <liferay-ui:search-container-column-text name="Localizzazione" value="<%= intPratica.getIndirizzo() %>" />
<liferay-ui:search-container-column-text name="U.O." cssClass="text-center" <liferay-ui:search-container-column-text name="U.O." cssClass="text-center"
value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK

14
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridaapprovare.jsp

@ -19,16 +19,15 @@
} }
</style> </style>
<liferay-portlet:renderURL varImpl="searchURL"> <liferay-portlet:renderURL varImpl="searchURL">
<liferay-portlet:param name="tabs1" value="<%= tabs[2] %>" /> <liferay-portlet:param name="tabs1" value="4" />
</liferay-portlet:renderURL> </liferay-portlet:renderURL>
<liferay-ui:search-container delta="20" emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" > <liferay-ui:search-container delta="20" emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" >
<% <%
List<ParereGeologo> lista = ParereGeologoLocalServiceUtil.findByUserDaApprovare(user, searchContainer.getStart(), List<ParereGeologo> lista = ParereGeologoLocalServiceUtil.findByUserDaApprovare(user, searchContainer.getStart(),
searchContainer.getEnd()); searchContainer.getEnd());
int totale = ParereGeologoLocalServiceUtil.countByUserDaApprovare(user); searchContainer.setTotal(countDaApprovare);
searchContainer.setTotal(totale);
pageContext.setAttribute("results", lista); pageContext.setAttribute("results", lista);
pageContext.setAttribute("total", totale); pageContext.setAttribute("total", countDaApprovare);
%> %>
<liferay-ui:search-container-results results="<%= lista %>" /> <liferay-ui:search-container-results results="<%= lista %>" />
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.ParereGeologo" modelVar="parere"> <liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.ParereGeologo" modelVar="parere">
@ -41,8 +40,12 @@
value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" /> value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" />
<liferay-ui:search-container-column-text name="Richiedente" <liferay-ui:search-container-column-text name="Richiedente"
value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" /> value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" />
<liferay-ui:search-container-column-text name="Note del richiedente" <liferay-ui:search-container-column-text name="note-richiedente"
value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" /> value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" />
<liferay-ui:search-container-column-text name="note-assegnatore"
value="<%= HtmlUtil.escape(parere.getNoteAssegnatore()) %>" />
<liferay-ui:search-container-column-text name="note-approvatore"
value="<%= HtmlUtil.escape(parere.getNoteApprovatore()) %>" />
<liferay-ui:search-container-column-text name="U.O." cssClass="text-center" <liferay-ui:search-container-column-text name="U.O." cssClass="text-center"
value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK
: String.valueOf(parere.getUnitaOperativa()) %>" /> : String.valueOf(parere.getUnitaOperativa()) %>" />
@ -51,6 +54,7 @@
? "U.O. " + parere.getUnitaOperativa() + " - tutti gli assegnatori" ? "U.O. " + parere.getUnitaOperativa() + " - tutti gli assegnatori"
: Generics.capitalizeFull(UserLocalServiceUtil.getUser(parere.getAssegnatoreUserId()) : Generics.capitalizeFull(UserLocalServiceUtil.getUser(parere.getAssegnatoreUserId())
.getFullName()) %>' /> .getFullName()) %>' />
<liferay-ui:search-container-column-text name="Parere" value="<%= HtmlUtil.escape(parere.getParere()) %>" />
<liferay-ui:search-container-column-text name="Localizzazione" value="<%= intPratica.getIndirizzo() %>" /> <liferay-ui:search-container-column-text name="Localizzazione" value="<%= intPratica.getIndirizzo() %>" />
<liferay-ui:search-container-column-jsp path="/html/pareregeologo/actions.jsp" align="right" /> <liferay-ui:search-container-column-jsp path="/html/pareregeologo/actions.jsp" align="right" />
</liferay-ui:search-container-row> </liferay-ui:search-container-row>

9
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridaassegnare.jsp

@ -11,16 +11,15 @@
<%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%> <%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%>
<%@include file="/html/pareregeologo/init.jsp"%> <%@include file="/html/pareregeologo/init.jsp"%>
<liferay-portlet:renderURL varImpl="searchURL"> <liferay-portlet:renderURL varImpl="searchURL">
<liferay-portlet:param name="tabs1" value="<%= tabs[3] %>" /> <liferay-portlet:param name="tabs1" value="3" />
</liferay-portlet:renderURL> </liferay-portlet:renderURL>
<liferay-ui:search-container delta="20" emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" > <liferay-ui:search-container delta="20" emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" >
<% <%
List<ParereGeologo> lista = ParereGeologoLocalServiceUtil.findByUserDaAssegnare(user, searchContainer.getStart(), List<ParereGeologo> lista = ParereGeologoLocalServiceUtil.findByUserDaAssegnare(user, searchContainer.getStart(),
searchContainer.getEnd()); searchContainer.getEnd());
int totale = ParereGeologoLocalServiceUtil.countByUserDaAssegnare(user); searchContainer.setTotal(countDaAssegnare);
searchContainer.setTotal(totale);
pageContext.setAttribute("results", lista); pageContext.setAttribute("results", lista);
pageContext.setAttribute("total", totale); pageContext.setAttribute("total", countDaAssegnare);
%> %>
<liferay-ui:search-container-results results="<%= lista %>" /> <liferay-ui:search-container-results results="<%= lista %>" />
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.ParereGeologo" modelVar="parere"> <liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.ParereGeologo" modelVar="parere">
@ -33,7 +32,7 @@
value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" /> value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" />
<liferay-ui:search-container-column-text name="Richiedente" <liferay-ui:search-container-column-text name="Richiedente"
value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" /> value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" />
<liferay-ui:search-container-column-text name="Note del richiedente" <liferay-ui:search-container-column-text name="note-richiedente"
value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" /> value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" />
<liferay-ui:search-container-column-text name="U.O." cssClass="text-center" <liferay-ui:search-container-column-text name="U.O." cssClass="text-center"
value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK

8
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridacompletare.jsp

@ -17,7 +17,7 @@
} }
</style> </style>
<liferay-portlet:renderURL varImpl="searchURL"> <liferay-portlet:renderURL varImpl="searchURL">
<liferay-portlet:param name="tabs1" value="<%= tabs[0] %>" /> <liferay-portlet:param name="tabs1" value="1" />
</liferay-portlet:renderURL> </liferay-portlet:renderURL>
<liferay-ui:search-container delta="20" emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" > <liferay-ui:search-container delta="20" emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" >
<% <%
@ -39,8 +39,12 @@
value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" /> value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" />
<liferay-ui:search-container-column-text name="Richiedente" <liferay-ui:search-container-column-text name="Richiedente"
value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" /> value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" />
<liferay-ui:search-container-column-text name="Note del richiedente" <liferay-ui:search-container-column-text name="note-richiedente"
value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" /> value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" />
<liferay-ui:search-container-column-text name="note-assegnatore"
value="<%= HtmlUtil.escape(parere.getNoteAssegnatore()) %>" />
<liferay-ui:search-container-column-text name="note-approvatore"
value="<%= HtmlUtil.escape(parere.getNoteApprovatore()) %>" />
<liferay-ui:search-container-column-text name="U.O." cssClass="text-center" <liferay-ui:search-container-column-text name="U.O." cssClass="text-center"
value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK
: String.valueOf(parere.getUnitaOperativa()) %>" /> : String.valueOf(parere.getUnitaOperativa()) %>" />

13
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/view.jsp

@ -7,30 +7,31 @@
PortletURL portletURL = renderResponse.createRenderURL(); PortletURL portletURL = renderResponse.createRenderURL();
%> %>
<!-- BUG bo: VISUALIZZA CARICO LAVORO PER GEOLOGI --> <!-- BUG bo: VISUALIZZA CARICO LAVORO PER GEOLOGI -->
<liferay-portlet:renderURL portletName="<%=PortletKeys.CARICHI_LAVORO %>" <liferay-portlet:renderURL portletName="<%= PortletKeys.CARICHI_LAVORO %>"
windowState="<%= LiferayWindowState.POP_UP.toString() %>" var="carichiDiLavoroGeologo"> windowState="<%= LiferayWindowState.POP_UP.toString() %>" var="carichiDiLavoroGeologo">
<liferay-portlet:param name="geologo" value="true" /> <liferay-portlet:param name="geologo" value="true" />
</liferay-portlet:renderURL> </liferay-portlet:renderURL>
<div id="<portlet:namespace />pareregeologoId"> <div id="<portlet:namespace />pareregeologoId">
<div class="row" style="margin-top:5.5em"> <div class="row" style="margin-top:5.5em">
<div class="col-xs-11"> <div class="col-xs-11">
<liferay-ui:tabs names="<%= tabNames %>" url="<%= portletURL.toString() %>" /> <liferay-ui:tabs names="<%= tabsNames %>" tabsValues="<%= tabsValues %>"
url="<%= portletURL.toString() %>" />
</div> </div>
<div class="col-xs-1"> <div class="col-xs-1">
<liferay-ui:icon url="<%=carichiDiLavoroGeologo%>" useDialog="true" message="visualizza-carichi-di-lavoro" <liferay-ui:icon url="<%=carichiDiLavoroGeologo%>" useDialog="true" message="visualizza-carichi-di-lavoro"
linkCssClass="btn" iconCssClass="icon-bar-chart" /> linkCssClass="btn" iconCssClass="icon-bar-chart" />
</div> </div>
</div> </div>
<c:if test="<%= tabs.length > 0 && tabs1.equals(tabs[0]) %>"> <c:if test="<%= tabs1 == 1 %>">
<jsp:include page="/html/pareregeologo/pareridacompletare.jsp" /> <jsp:include page="/html/pareregeologo/pareridacompletare.jsp" />
</c:if> </c:if>
<c:if test="<%= tabs.length > 1 && tabs1.equals(tabs[1]) %>"> <c:if test="<%= tabs1 == 2 %>">
<jsp:include page="/html/pareregeologo/parericompletati.jsp" /> <jsp:include page="/html/pareregeologo/parericompletati.jsp" />
</c:if> </c:if>
<c:if test="<%= tabs.length > 2 && tabs1.equals(tabs[2]) %>"> <c:if test="<%= tabs1 == 3 %>">
<jsp:include page="/html/pareregeologo/pareridaassegnare.jsp" /> <jsp:include page="/html/pareregeologo/pareridaassegnare.jsp" />
</c:if> </c:if>
<c:if test="<%= tabs.length > 3 && tabs1.equals(tabs[3]) %>"> <c:if test="<%= tabs1 == 4 %>">
<jsp:include page="/html/pareregeologo/pareridaapprovare.jsp" /> <jsp:include page="/html/pareregeologo/pareridaapprovare.jsp" />
</c:if> </c:if>
</div> </div>

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

File binario non mostrato.

4
liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
## ##
build.namespace=portos_Kaleo build.namespace=portos_Kaleo
build.number=21 build.number=22
build.date=1632922646927 build.date=1636540129141
build.auto.upgrade=true build.auto.upgrade=true
## ##

11
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/persistence/EmailAttachmentPersistence.java

@ -151,8 +151,7 @@ public interface EmailAttachmentPersistence extends BasePersistence<EmailAttachm
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public it.tref.liferay.portos.mailmanager.model.EmailAttachment[] findByEmailId_PrevAndNext( public it.tref.liferay.portos.mailmanager.model.EmailAttachment[] findByEmailId_PrevAndNext(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK, EmailAttachmentPK emailAttachmentPK, long emailId,
long emailId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException; it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException;
@ -257,7 +256,7 @@ public interface EmailAttachmentPersistence extends BasePersistence<EmailAttachm
* @return the new email attachment * @return the new email attachment
*/ */
public it.tref.liferay.portos.mailmanager.model.EmailAttachment create( public it.tref.liferay.portos.mailmanager.model.EmailAttachment create(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK); EmailAttachmentPK emailAttachmentPK);
/** /**
* Removes the email attachment with the primary key from the database. Also notifies the appropriate model listeners. * Removes the email attachment with the primary key from the database. Also notifies the appropriate model listeners.
@ -268,7 +267,7 @@ public interface EmailAttachmentPersistence extends BasePersistence<EmailAttachm
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public it.tref.liferay.portos.mailmanager.model.EmailAttachment remove( public it.tref.liferay.portos.mailmanager.model.EmailAttachment remove(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK) EmailAttachmentPK emailAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException; it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException;
@ -285,7 +284,7 @@ public interface EmailAttachmentPersistence extends BasePersistence<EmailAttachm
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public it.tref.liferay.portos.mailmanager.model.EmailAttachment findByPrimaryKey( public it.tref.liferay.portos.mailmanager.model.EmailAttachment findByPrimaryKey(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK) EmailAttachmentPK emailAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException; it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException;
@ -297,7 +296,7 @@ public interface EmailAttachmentPersistence extends BasePersistence<EmailAttachm
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public it.tref.liferay.portos.mailmanager.model.EmailAttachment fetchByPrimaryKey( public it.tref.liferay.portos.mailmanager.model.EmailAttachment fetchByPrimaryKey(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK) EmailAttachmentPK emailAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
/** /**

11
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/persistence/EmailAttachmentUtil.java

@ -239,8 +239,7 @@ public class EmailAttachmentUtil {
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static it.tref.liferay.portos.mailmanager.model.EmailAttachment[] findByEmailId_PrevAndNext( public static it.tref.liferay.portos.mailmanager.model.EmailAttachment[] findByEmailId_PrevAndNext(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK, EmailAttachmentPK emailAttachmentPK, long emailId,
long emailId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException { it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException {
@ -368,7 +367,7 @@ public class EmailAttachmentUtil {
* @return the new email attachment * @return the new email attachment
*/ */
public static it.tref.liferay.portos.mailmanager.model.EmailAttachment create( public static it.tref.liferay.portos.mailmanager.model.EmailAttachment create(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK) { EmailAttachmentPK emailAttachmentPK) {
return getPersistence().create(emailAttachmentPK); return getPersistence().create(emailAttachmentPK);
} }
@ -381,7 +380,7 @@ public class EmailAttachmentUtil {
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static it.tref.liferay.portos.mailmanager.model.EmailAttachment remove( public static it.tref.liferay.portos.mailmanager.model.EmailAttachment remove(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK) EmailAttachmentPK emailAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException { it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException {
return getPersistence().remove(emailAttachmentPK); return getPersistence().remove(emailAttachmentPK);
@ -402,7 +401,7 @@ public class EmailAttachmentUtil {
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static it.tref.liferay.portos.mailmanager.model.EmailAttachment findByPrimaryKey( public static it.tref.liferay.portos.mailmanager.model.EmailAttachment findByPrimaryKey(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK) EmailAttachmentPK emailAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException, throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException { it.tref.liferay.portos.mailmanager.NoSuchEmailAttachmentException {
return getPersistence().findByPrimaryKey(emailAttachmentPK); return getPersistence().findByPrimaryKey(emailAttachmentPK);
@ -416,7 +415,7 @@ public class EmailAttachmentUtil {
* @throws SystemException if a system exception occurred * @throws SystemException if a system exception occurred
*/ */
public static it.tref.liferay.portos.mailmanager.model.EmailAttachment fetchByPrimaryKey( public static it.tref.liferay.portos.mailmanager.model.EmailAttachment fetchByPrimaryKey(
it.tref.liferay.portos.mailmanager.service.persistence.EmailAttachmentPK emailAttachmentPK) EmailAttachmentPK emailAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByPrimaryKey(emailAttachmentPK); return getPersistence().fetchByPrimaryKey(emailAttachmentPK);
} }

4
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
## ##
build.namespace=portos_Mail build.namespace=portos_Mail
build.number=88 build.number=89
build.date=1632922791272 build.date=1636540857072
build.auto.upgrade=true build.auto.upgrade=true
## ##

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

File binario non mostrato.

1
liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/.settings/org.eclipse.wst.common.component

@ -2,6 +2,7 @@
<wb-module deploy-name="portos-report-engine-portlet"> <wb-module deploy-name="portos-report-engine-portlet">
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/> <wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/service"/>
<dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar"> <dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar">
<dependency-type>uses</dependency-type> <dependency-type>uses</dependency-type>
</dependent-module> </dependent-module>

11
liferay-plugins-sdk-6.2/shared/portos-bo-shared/.project

@ -14,4 +14,15 @@
<natures> <natures>
<nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.jdt.core.javanature</nature>
</natures> </natures>
<filteredResources>
<filter>
<id>1636725892364</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription> </projectDescription>

5
liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/mwg/sismica/bo/shared/util/Generics.java

@ -14,4 +14,9 @@ public class Generics {
} }
return sb.toString(); return sb.toString();
} }
public static String nl2br(String str) {
return str == null ? null : str.replace("\n", "<br/>");
}
} }

BIN
liferay-plugins-sdk-6.2/webs/portos-kaleo-web/docroot/WEB-INF/lib/portos-kaleo-portlet-service.jar

File binario non mostrato.
Caricamento…
Annulla
Salva