Sfoglia il codice sorgente

Merge webservices

master
Salvatore La Manna 4 anni fa
parent
commit
f06b242edb
  1. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/commons-io.jar
  2. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/liferay-plugin-package.properties
  3. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  4. 48
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaClp.java
  5. 21
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaModel.java
  6. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java
  7. 37
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java
  8. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/search/IntPraticaAdvancedSearch.java
  9. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  10. 413
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  11. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  12. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  13. 87
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/DocumentiPraticaUtil.java
  14. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PortosIndexField.java
  15. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java
  16. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql
  17. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
  18. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
  19. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
  20. 87
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties
  21. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/IntPraticaIndexer.java
  22. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaCacheModel.java
  23. 43
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaModelImpl.java
  24. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/report/builder/builder/ReportAvvisoBeanBuilder.java
  25. 427
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  26. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  27. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java
  28. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  29. 19
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/asset/controllopratica/full_content.jsp
  30. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/header.jsp
  31. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_allegati.jsp
  32. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_versioning.jsp
  33. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/view.jsp
  34. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/view_columns.jspf
  35. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_da_firmare.jsp
  36. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_da_firmare_altri.jsp
  37. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_firme.jsp
  38. 12
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/util/ReportFascicoloUtil.java
  39. 3
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/edit_allegato.jsp
  40. 3
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view.jsp
  41. 3
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view_accordion.jsp
  42. 31
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/edit_modal_fascicolo.jsp
  43. 3
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_collaudo.jsp
  44. 3
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp
  45. 3
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori.jsp
  46. 2
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view_fascicolo_columns_generic.jspf
  47. 4
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/firma/servlet/FirmaServlet.java
  48. 3
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/.settings/org.eclipse.wst.common.component
  49. 1
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/.tern-project
  50. 2
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/init.jsp
  51. 1
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/.tern-project
  52. BIN
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/lib/sicilia-sue-connector-portlet-service.jar
  53. 3
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/liferay-display.xml
  54. 5
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/liferay-hook.xml
  55. 9
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/liferay-plugin-package.properties
  56. 9
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/liferay-portlet.xml
  57. 33
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/portlet.xml
  58. 36
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service.xml
  59. 40
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/ExpiredTokenException.java
  60. 40
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/InactiveSportelloException.java
  61. 40
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/InvalidTokenException.java
  62. 40
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/NoSuchApiSettingException.java
  63. 34
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSetting.java
  64. 379
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSettingClp.java
  65. 173
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSettingModel.java
  66. 125
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSettingSoap.java
  67. 327
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSettingWrapper.java
  68. 22
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/Sportello.java
  69. 650
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/SportelloClp.java
  70. 247
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/SportelloModel.java
  71. 136
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/SportelloSoap.java
  72. 458
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/SportelloWrapper.java
  73. 259
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingLocalService.java
  74. 770
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingLocalServiceClp.java
  75. 314
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingLocalServiceUtil.java
  76. 324
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingLocalServiceWrapper.java
  77. 66
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingService.java
  78. 91
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingServiceClp.java
  79. 96
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingServiceUtil.java
  80. 84
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingServiceWrapper.java
  81. 78
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ClpSerializer.java
  82. 5
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloLocalService.java
  83. 41
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloLocalServiceClp.java
  84. 7
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloLocalServiceUtil.java
  85. 8
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloLocalServiceWrapper.java
  86. 2
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloService.java
  87. 29
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloServiceClp.java
  88. 4
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloServiceUtil.java
  89. 5
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloServiceWrapper.java
  90. 5
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/messaging/ClpMessageListener.java
  91. 37
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/ApiSettingActionableDynamicQuery.java
  92. 223
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/ApiSettingPersistence.java
  93. 352
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/ApiSettingUtil.java
  94. 113
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/SportelloPersistence.java
  95. 136
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/SportelloUtil.java
  96. 4
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/sql/indexes.properties
  97. 4
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/sql/indexes.sql
  98. 23
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/sql/tables.sql
  99. 24
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
  100. 26
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
  101. Some files were not shown because too many files have changed in this diff Show More

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

File binario non mostrato.

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

@ -15,7 +15,8 @@ portal-dependency-jars=\
jstl-api.jar,\
jstl-impl.jar,\
wsdl4j.jar,\
xml-apis.jar
xml-apis.jar,\
commons-io.jar
portal-dependency-tlds=\
c.tld
required-deployment-contexts=\

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

@ -842,6 +842,7 @@
<column name="sistemiCostruttivi" type="Collection" entity="SistemaCostruttivo" mapping-key="intPraticaId" />
<column name="soggetti" type="Collection" entity="Soggetto" mapping-key="intPraticaId" />
<column name="docPratiche" type="Collection" entity="DocPratica" mapping-key="intPraticaId" />
<column name="inLavorazioneSue" type="boolean" />
<finder name="C_UserId" return-type="Collection">
<finder-column name="companyId" />

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

@ -109,6 +109,7 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
attributes.put("collaudoParziale", getCollaudoParziale());
attributes.put("collaudoTotale", getCollaudoTotale());
attributes.put("controlloObbligatorio", getControlloObbligatorio());
attributes.put("inLavorazioneSue", getInLavorazioneSue());
return attributes;
}
@ -305,6 +306,12 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
if (controlloObbligatorio != null) {
setControlloObbligatorio(controlloObbligatorio);
}
Boolean inLavorazioneSue = (Boolean)attributes.get("inLavorazioneSue");
if (inLavorazioneSue != null) {
setInLavorazioneSue(inLavorazioneSue);
}
}
@Override
@ -1089,6 +1096,35 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
}
}
@Override
public boolean getInLavorazioneSue() {
return _inLavorazioneSue;
}
@Override
public boolean isInLavorazioneSue() {
return _inLavorazioneSue;
}
@Override
public void setInLavorazioneSue(boolean inLavorazioneSue) {
_inLavorazioneSue = inLavorazioneSue;
if (_intPraticaRemoteModel != null) {
try {
Class<?> clazz = _intPraticaRemoteModel.getClass();
Method method = clazz.getMethod("setInLavorazioneSue",
boolean.class);
method.invoke(_intPraticaRemoteModel, inLavorazioneSue);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public java.lang.String getTitle(java.util.Locale locale, boolean completed) {
try {
@ -1292,6 +1328,7 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
clone.setCollaudoParziale(getCollaudoParziale());
clone.setCollaudoTotale(getCollaudoTotale());
clone.setControlloObbligatorio(getControlloObbligatorio());
clone.setInLavorazioneSue(getInLavorazioneSue());
return clone;
}
@ -1344,7 +1381,7 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
@Override
public String toString() {
StringBundler sb = new StringBundler(63);
StringBundler sb = new StringBundler(65);
sb.append("{uuid=");
sb.append(getUuid());
@ -1408,6 +1445,8 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
sb.append(getCollaudoTotale());
sb.append(", controlloObbligatorio=");
sb.append(getControlloObbligatorio());
sb.append(", inLavorazioneSue=");
sb.append(getInLavorazioneSue());
sb.append("}");
return sb.toString();
@ -1415,7 +1454,7 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(97);
StringBundler sb = new StringBundler(100);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.IntPratica");
@ -1545,6 +1584,10 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
"<column><column-name>controlloObbligatorio</column-name><column-value><![CDATA[");
sb.append(getControlloObbligatorio());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>inLavorazioneSue</column-name><column-value><![CDATA[");
sb.append(getInLavorazioneSue());
sb.append("]]></column-value></column>");
sb.append("</model>");
@ -1584,6 +1627,7 @@ public class IntPraticaClp extends BaseModelImpl<IntPratica>
private boolean _collaudoParziale;
private boolean _collaudoTotale;
private boolean _controlloObbligatorio;
private boolean _inLavorazioneSue;
private BaseModel<?> _intPraticaRemoteModel;
private Class<?> _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class;
}

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

@ -601,6 +601,27 @@ public interface IntPraticaModel extends BaseModel<IntPratica>,
*/
public void setControlloObbligatorio(boolean controlloObbligatorio);
/**
* Returns the in lavorazione sue of this int pratica.
*
* @return the in lavorazione sue of this int pratica
*/
public boolean getInLavorazioneSue();
/**
* Returns <code>true</code> if this int pratica is in lavorazione sue.
*
* @return <code>true</code> if this int pratica is in lavorazione sue; <code>false</code> otherwise
*/
public boolean isInLavorazioneSue();
/**
* Sets whether this int pratica is in lavorazione sue.
*
* @param inLavorazioneSue the in lavorazione sue of this int pratica
*/
public void setInLavorazioneSue(boolean inLavorazioneSue);
@Override
public boolean isNew();

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

@ -62,6 +62,7 @@ public class IntPraticaSoap implements Serializable {
soapModel.setCollaudoParziale(model.getCollaudoParziale());
soapModel.setCollaudoTotale(model.getCollaudoTotale());
soapModel.setControlloObbligatorio(model.getControlloObbligatorio());
soapModel.setInLavorazioneSue(model.getInLavorazioneSue());
return soapModel;
}
@ -392,6 +393,18 @@ public class IntPraticaSoap implements Serializable {
_controlloObbligatorio = controlloObbligatorio;
}
public boolean getInLavorazioneSue() {
return _inLavorazioneSue;
}
public boolean isInLavorazioneSue() {
return _inLavorazioneSue;
}
public void setInLavorazioneSue(boolean inLavorazioneSue) {
_inLavorazioneSue = inLavorazioneSue;
}
private String _uuid;
private long _intPraticaId;
private long _companyId;
@ -423,4 +436,5 @@ public class IntPraticaSoap implements Serializable {
private boolean _collaudoParziale;
private boolean _collaudoTotale;
private boolean _controlloObbligatorio;
private boolean _inLavorazioneSue;
}

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

@ -83,6 +83,7 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper<IntPratica> {
attributes.put("collaudoParziale", getCollaudoParziale());
attributes.put("collaudoTotale", getCollaudoTotale());
attributes.put("controlloObbligatorio", getControlloObbligatorio());
attributes.put("inLavorazioneSue", getInLavorazioneSue());
return attributes;
}
@ -279,6 +280,12 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper<IntPratica> {
if (controlloObbligatorio != null) {
setControlloObbligatorio(controlloObbligatorio);
}
Boolean inLavorazioneSue = (Boolean)attributes.get("inLavorazioneSue");
if (inLavorazioneSue != null) {
setInLavorazioneSue(inLavorazioneSue);
}
}
/**
@ -1037,6 +1044,36 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper<IntPratica> {
_intPratica.setControlloObbligatorio(controlloObbligatorio);
}
/**
* Returns the in lavorazione sue of this int pratica.
*
* @return the in lavorazione sue of this int pratica
*/
@Override
public boolean getInLavorazioneSue() {
return _intPratica.getInLavorazioneSue();
}
/**
* Returns <code>true</code> if this int pratica is in lavorazione sue.
*
* @return <code>true</code> if this int pratica is in lavorazione sue; <code>false</code> otherwise
*/
@Override
public boolean isInLavorazioneSue() {
return _intPratica.isInLavorazioneSue();
}
/**
* Sets whether this int pratica is in lavorazione sue.
*
* @param inLavorazioneSue the in lavorazione sue of this int pratica
*/
@Override
public void setInLavorazioneSue(boolean inLavorazioneSue) {
_intPratica.setInLavorazioneSue(inLavorazioneSue);
}
@Override
public boolean isNew() {
return _intPratica.isNew();

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

@ -77,6 +77,8 @@ public class IntPraticaAdvancedSearch {
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.PRATICA_APERTA, StringPool.TRUE);
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.IN_LAVORAZIONE_SUE, StringPool.FALSE);
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
// Condizioni aggiuntive
query(request, user, booleanQuery, searchContext);
hits = SearchEngineUtil.search(searchContext, booleanQuery);
@ -109,6 +111,8 @@ public class IntPraticaAdvancedSearch {
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.PRATICA_APERTA, StringPool.TRUE);
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.IN_LAVORAZIONE_SUE, StringPool.FALSE);
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
// Condizioni aggiuntive
query(request, user, booleanQuery, searchContext);
hits = SearchEngineUtil.search(searchContext, booleanQuery);
@ -144,6 +148,8 @@ public class IntPraticaAdvancedSearch {
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.PRATICA_APERTA, StringPool.FALSE);
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
booleanQuery.add(altriProgettiBooleanQuery, BooleanClauseOccur.MUST);
termQuery = TermQueryFactoryUtil.create(searchContext, PortosIndexField.IN_LAVORAZIONE_SUE, StringPool.FALSE);
booleanQuery.add(termQuery, BooleanClauseOccur.MUST);
// Condizioni aggiuntive
query(request, user, booleanQuery, searchContext);
hits = SearchEngineUtil.search(searchContext, booleanQuery);

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

@ -317,6 +317,9 @@ public interface IntPraticaLocalService extends BaseLocalService,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure();
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.tref.liferay.portos.bo.model.IntPratica addIntPratica(
long territorioId, java.lang.String tipoProcedura,
@ -334,7 +337,6 @@ public interface IntPraticaLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.tref.liferay.portos.bo.model.IntPratica deleteIntPratica(
it.tref.liferay.portos.bo.model.IntPratica intPratica, boolean forced)
throws com.liferay.portal.kernel.exception.PortalException,

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

@ -131,254 +131,258 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
_methodParameterTypes21 = new String[] { "java.lang.String" };
_methodName23 = "addIntPratica";
_methodName23 = "getTipiProcedure";
_methodParameterTypes23 = new String[] {
_methodParameterTypes23 = new String[] { };
_methodName24 = "addIntPratica";
_methodParameterTypes24 = new String[] {
"long", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName24 = "addIntPratica";
_methodName25 = "addIntPratica";
_methodParameterTypes24 = new String[] {
_methodParameterTypes25 = new String[] {
"long", "java.lang.String", "java.lang.String", "long",
"java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "int", "java.util.Date",
"com.liferay.portal.service.ServiceContext"
};
_methodName25 = "deleteIntPratica";
_methodName26 = "deleteIntPratica";
_methodParameterTypes25 = new String[] {
_methodParameterTypes26 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "boolean"
};
_methodName26 = "cloneIntPratica";
_methodName27 = "cloneIntPratica";
_methodParameterTypes26 = new String[] {
_methodParameterTypes27 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName27 = "updateDelegati";
_methodName28 = "updateDelegati";
_methodParameterTypes27 = new String[] {
_methodParameterTypes28 = new String[] {
"long", "java.lang.String", "java.lang.String", "boolean"
};
_methodName28 = "findFascicoliNotProgetto";
_methodName29 = "findFascicoliNotProgetto";
_methodParameterTypes28 = new String[] { "int", "int" };
_methodParameterTypes29 = new String[] { "int", "int" };
_methodName29 = "countFascicoliNotProgetto";
_methodName30 = "countFascicoliNotProgetto";
_methodParameterTypes29 = new String[] { };
_methodParameterTypes30 = new String[] { };
_methodName30 = "addNumeroProgetto";
_methodName31 = "addNumeroProgetto";
_methodParameterTypes30 = new String[] { "long" };
_methodParameterTypes31 = new String[] { "long" };
_methodName31 = "sospendiPratica";
_methodName32 = "sospendiPratica";
_methodParameterTypes31 = new String[] { "long", "boolean" };
_methodParameterTypes32 = new String[] { "long", "boolean" };
_methodName32 = "cambiaTitolare";
_methodName33 = "cambiaTitolare";
_methodParameterTypes32 = new String[] {
_methodParameterTypes33 = new String[] {
"long", "long", "com.liferay.portal.service.ServiceContext"
};
_methodName33 = "updateStatoPratica";
_methodName34 = "updateStatoPratica";
_methodParameterTypes33 = new String[] { "long", "java.lang.String" };
_methodParameterTypes34 = new String[] { "long", "java.lang.String" };
_methodName34 = "findByC_UserId";
_methodName35 = "findByC_UserId";
_methodParameterTypes34 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes35 = new String[] { "long", "long", "int", "int" };
_methodName35 = "countByC_UserId";
_methodName36 = "countByC_UserId";
_methodParameterTypes35 = new String[] { "long", "long" };
_methodParameterTypes36 = new String[] { "long", "long" };
_methodName36 = "updateStatus";
_methodName37 = "updateStatus";
_methodParameterTypes36 = new String[] { "long", "int" };
_methodParameterTypes37 = new String[] { "long", "int" };
_methodName37 = "findByCanAddFineLavori";
_methodName38 = "findByCanAddFineLavori";
_methodParameterTypes37 = new String[] {
_methodParameterTypes38 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName38 = "countByCanAddFineLavori";
_methodName39 = "countByCanAddFineLavori";
_methodParameterTypes38 = new String[] { "long", "java.lang.String" };
_methodParameterTypes39 = new String[] { "long", "java.lang.String" };
_methodName39 = "findByCanAddCollaudo";
_methodName40 = "findByCanAddCollaudo";
_methodParameterTypes39 = new String[] {
_methodParameterTypes40 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName40 = "countByCanAddCollaudo";
_methodName41 = "countByCanAddCollaudo";
_methodParameterTypes40 = new String[] { "long", "java.lang.String" };
_methodParameterTypes41 = new String[] { "long", "java.lang.String" };
_methodName41 = "search";
_methodName42 = "search";
_methodParameterTypes41 = new String[] { "java.util.List", "int", "int" };
_methodParameterTypes42 = new String[] { "java.util.List", "int", "int" };
_methodName42 = "countSearch";
_methodName43 = "countSearch";
_methodParameterTypes42 = new String[] { "java.util.List" };
_methodParameterTypes43 = new String[] { "java.util.List" };
_methodName43 = "searchWithIntPraticaId";
_methodName44 = "searchWithIntPraticaId";
_methodParameterTypes43 = new String[] {
_methodParameterTypes44 = new String[] {
"java.util.List", "long", "int", "int"
};
_methodName44 = "allegaFileAnnullamento";
_methodName45 = "allegaFileAnnullamento";
_methodParameterTypes44 = new String[] {
_methodParameterTypes45 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName45 = "generateFileAnnullamento";
_methodName46 = "generateFileAnnullamento";
_methodParameterTypes45 = new String[] {
_methodParameterTypes46 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName46 = "deleteFileAnnullamento";
_methodName47 = "deleteFileAnnullamento";
_methodParameterTypes46 = new String[] { "long" };
_methodParameterTypes47 = new String[] { "long" };
_methodName47 = "completeAnnullamento";
_methodName48 = "completeAnnullamento";
_methodParameterTypes47 = new String[] { "long" };
_methodParameterTypes48 = new String[] { "long" };
_methodName48 = "cambiaIstruttore";
_methodName49 = "cambiaIstruttore";
_methodParameterTypes48 = new String[] { "long", "long", "long" };
_methodParameterTypes49 = new String[] { "long", "long", "long" };
_methodName49 = "countCaricoLavoroCF";
_methodName50 = "countCaricoLavoroCF";
_methodParameterTypes49 = new String[] {
_methodParameterTypes50 = new String[] {
"long", "java.lang.String", "java.lang.Long[][]"
};
_methodName50 = "countCaricoLavoroIstruttore";
_methodName51 = "countCaricoLavoroIstruttore";
_methodParameterTypes50 = new String[] { "long", "java.lang.String" };
_methodParameterTypes51 = new String[] { "long", "java.lang.String" };
_methodName51 = "generateReportPratica";
_methodName52 = "generateReportPratica";
_methodParameterTypes51 = new String[] {
_methodParameterTypes52 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName52 = "updateModifiedDate";
_methodName53 = "updateModifiedDate";
_methodParameterTypes52 = new String[] { "long", "java.util.Date" };
_methodParameterTypes53 = new String[] { "long", "java.util.Date" };
_methodName53 = "countAutorizzazione";
_methodName54 = "countAutorizzazione";
_methodParameterTypes53 = new String[] {
_methodParameterTypes54 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName54 = "countSanatorie";
_methodName55 = "countSanatorie";
_methodParameterTypes54 = new String[] {
_methodParameterTypes55 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName55 = "countOpereMinoreImportanza";
_methodName56 = "countOpereMinoreImportanza";
_methodParameterTypes55 = new String[] {
_methodParameterTypes56 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName56 = "countDeposito";
_methodName57 = "countDeposito";
_methodParameterTypes56 = new String[] {
_methodParameterTypes57 = new String[] {
"java.util.Date", "java.util.Date", "long", "boolean"
};
_methodName57 = "countVidimate";
_methodName58 = "countVidimate";
_methodParameterTypes57 = new String[] {
_methodParameterTypes58 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName58 = "countControllo";
_methodName59 = "countControllo";
_methodParameterTypes58 = new String[] {
_methodParameterTypes59 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName59 = "riparaWorkflow";
_methodName60 = "riparaWorkflow";
_methodParameterTypes59 = new String[] { };
_methodParameterTypes60 = new String[] { };
_methodName60 = "reIndexFascicolo";
_methodName61 = "reIndexFascicolo";
_methodParameterTypes60 = new String[] {
_methodParameterTypes61 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName61 = "reIndexFasciolo";
_methodParameterTypes61 = new String[] { "java.lang.String", "long" };
_methodName62 = "reIndexFasciolo";
_methodParameterTypes62 = new String[] { "long", "long" };
_methodParameterTypes62 = new String[] { "java.lang.String", "long" };
_methodName63 = "findByNumeroProgetto";
_methodName63 = "reIndexFasciolo";
_methodParameterTypes63 = new String[] { "java.lang.String" };
_methodParameterTypes63 = new String[] { "long", "long" };
_methodName64 = "findByTerritorioId";
_methodName64 = "findByNumeroProgetto";
_methodParameterTypes64 = new String[] { "long" };
_methodParameterTypes64 = new String[] { "java.lang.String" };
_methodName65 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodName65 = "findByTerritorioId";
_methodParameterTypes65 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodParameterTypes65 = new String[] { "long" };
_methodName66 = "reportPraticheVidimate";
_methodName66 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodParameterTypes66 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodName67 = "countIngressiAutorizzazioni";
_methodName67 = "reportPraticheVidimate";
_methodParameterTypes67 = new String[] {
"java.util.Date", "java.util.Date", "long"
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodName68 = "countIngressiDepositi";
_methodName68 = "countIngressiAutorizzazioni";
_methodParameterTypes68 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName69 = "countIngressiCO";
_methodName69 = "countIngressiDepositi";
_methodParameterTypes69 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName70 = "getOrganizationByIntPraticaId";
_methodName70 = "countIngressiCO";
_methodParameterTypes70 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName71 = "getOrganizationByIntPraticaId";
_methodParameterTypes70 = new String[] { "long" };
_methodParameterTypes71 = new String[] { "long" };
}
@Override
@ -1081,6 +1085,29 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throw new UnsupportedOperationException();
}
@Override
public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName23,
_methodParameterTypes23, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.Map<java.lang.String, java.lang.String>)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.bo.model.IntPratica addIntPratica(
long territorioId, java.lang.String tipoProcedura,
@ -1090,8 +1117,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName23,
_methodParameterTypes23,
returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes24,
new Object[] {
territorioId,
@ -1135,8 +1162,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes24,
returnObj = _invokableLocalService.invokeMethod(_methodName25,
_methodParameterTypes25,
new Object[] {
userId,
@ -1192,8 +1219,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName25,
_methodParameterTypes25,
returnObj = _invokableLocalService.invokeMethod(_methodName26,
_methodParameterTypes26,
new Object[] {
ClpSerializer.translateInput(intPratica),
@ -1232,8 +1259,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName26,
_methodParameterTypes26,
returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes27,
new Object[] {
intPraticaId,
@ -1273,8 +1300,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes27,
returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes28,
new Object[] {
intPraticaId,
@ -1316,8 +1343,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes28, new Object[] { start, end });
returnObj = _invokableLocalService.invokeMethod(_methodName29,
_methodParameterTypes29, new Object[] { start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1344,8 +1371,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName29,
_methodParameterTypes29, new Object[] { });
returnObj = _invokableLocalService.invokeMethod(_methodName30,
_methodParameterTypes30, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1374,8 +1401,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName30,
_methodParameterTypes30, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes31, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1408,8 +1435,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes31,
returnObj = _invokableLocalService.invokeMethod(_methodName32,
_methodParameterTypes32,
new Object[] { intPraticaId, sospesa });
}
catch (Throwable t) {
@ -1444,8 +1471,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName32,
_methodParameterTypes32,
returnObj = _invokableLocalService.invokeMethod(_methodName33,
_methodParameterTypes33,
new Object[] {
intPraticaId,
@ -1485,8 +1512,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName33,
_methodParameterTypes33,
returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes34,
new Object[] {
intPraticaId,
@ -1523,8 +1550,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes34,
returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes35,
new Object[] { companyId, userId, start, end });
}
catch (Throwable t) {
@ -1552,8 +1579,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes35, new Object[] { companyId, userId });
returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes36, new Object[] { companyId, userId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1579,8 +1606,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes36, new Object[] { intPraticaId, status });
_invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37, new Object[] { intPraticaId, status });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1611,8 +1638,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37,
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38,
new Object[] {
companyId,
@ -1654,8 +1681,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38,
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39,
new Object[] {
companyId,
@ -1693,8 +1720,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39,
returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes40,
new Object[] {
companyId,
@ -1736,8 +1763,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes40,
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41,
new Object[] {
companyId,
@ -1774,8 +1801,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41,
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
new Object[] {
ClpSerializer.translateInput(groupIds),
@ -1809,8 +1836,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
new Object[] { ClpSerializer.translateInput(groupIds) });
}
catch (Throwable t) {
@ -1839,8 +1866,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes43,
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
new Object[] {
ClpSerializer.translateInput(groupIds),
@ -1881,8 +1908,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
new Object[] {
intPraticaId,
@ -1932,8 +1959,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46,
new Object[] {
intPraticaId,
@ -1972,8 +1999,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46,
_invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47,
new Object[] { docPraticaAnnullamentoId });
}
catch (Throwable t) {
@ -2002,8 +2029,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47, new Object[] { intPraticaId });
_invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2032,8 +2059,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48,
_invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
new Object[] { intPraticaId, controlloPraticaId, istruttoreId });
}
catch (Throwable t) {
@ -2065,8 +2092,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50,
new Object[] {
ispettoreId,
@ -2105,8 +2132,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50,
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
new Object[] {
ispettoreId,
@ -2140,8 +2167,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
new Object[] {
ClpSerializer.translateInput(intPratica),
@ -2179,8 +2206,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
new Object[] {
intPraticaId,
@ -2217,8 +2244,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2253,8 +2280,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2289,8 +2316,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55,
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2325,8 +2352,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56,
returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes57,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2363,8 +2390,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes57,
returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes58,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2404,8 +2431,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes58,
returnObj = _invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes59,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2443,8 +2470,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes59, new Object[] { });
returnObj = _invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes60, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2469,8 +2496,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFascicolo(
it.tref.liferay.portos.bo.model.IntPratica intPratica, long companyId) {
try {
_invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes60,
_invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes61,
new Object[] { ClpSerializer.translateInput(intPratica), companyId });
}
catch (Throwable t) {
@ -2490,8 +2517,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId)
throws com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes61,
_invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes62,
new Object[] {
ClpSerializer.translateInput(numeroProgetto),
@ -2520,8 +2547,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes62,
_invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63,
new Object[] { intPraticaId, companyId });
}
catch (Throwable t) {
@ -2552,8 +2579,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63,
returnObj = _invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64,
new Object[] { ClpSerializer.translateInput(numeroProgetto) });
}
catch (Throwable t) {
@ -2582,8 +2609,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64, new Object[] { territorioId });
returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65, new Object[] { territorioId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2612,8 +2639,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65,
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2651,8 +2678,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66,
returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2689,8 +2716,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67,
returnObj = _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2725,8 +2752,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68,
returnObj = _invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes69,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2761,8 +2788,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes69,
returnObj = _invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70,
new Object[] {
ClpSerializer.translateInput(dtMin),
@ -2798,8 +2825,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes71, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2965,4 +2992,6 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
private String[] _methodParameterTypes69;
private String _methodName70;
private String[] _methodParameterTypes70;
private String _methodName71;
private String[] _methodParameterTypes71;
}

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

@ -342,6 +342,10 @@ public class IntPraticaLocalServiceUtil {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() {
return getService().getTipiProcedure();
}
public static it.tref.liferay.portos.bo.model.IntPratica addIntPratica(
long territorioId, java.lang.String tipoProcedura,
com.liferay.portal.service.ServiceContext serviceContext)

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

@ -362,6 +362,11 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
arguments);
}
@Override
public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() {
return _intPraticaLocalService.getTipiProcedure();
}
@Override
public it.tref.liferay.portos.bo.model.IntPratica addIntPratica(
long territorioId, java.lang.String tipoProcedura,

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

@ -5,9 +5,14 @@ import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.shared.util.Constants;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import java.util.Map;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.util.LocaleUtil;
public class DocumentiPraticaUtil {
@ -75,49 +80,57 @@ public class DocumentiPraticaUtil {
public static final String TIPOLOGIA_ALLEGATO_VARIAZIONE_SOGGETTO = "VS";
public static final String TIPOLOGIA_ALLEGATO_ANNULLAMENTO_FASCICOLO = "AI";
public static List<String> getDocObbligatori() {
List<String> docObbligatori = new ArrayList<String>();
return docObbligatori;
private static final List<String> docDomanda = new ArrayList<String>();
private static final Map<String, String> tipiDocDomanda = new LinkedHashMap<String, String>();
private static void addDocDomanda(String tipo) {
docDomanda.add(tipo);
tipiDocDomanda.put(tipo, LanguageUtil.get(LocaleUtil.ITALIAN, "label-documenti-tipologia-" + tipo));
}
public static List<String> getDocObbligatoriCheck() {
List<String> docObbligatoriCheck = new ArrayList<String>();
return docObbligatoriCheck;
static {
addDocDomanda(TIPOLOGIA_ALLEGATO_A01);
addDocDomanda(TIPOLOGIA_ALLEGATO_A02);
addDocDomanda(TIPOLOGIA_ALLEGATO_A03);
addDocDomanda(TIPOLOGIA_ALLEGATO_A04);
addDocDomanda(TIPOLOGIA_ALLEGATO_A08);
addDocDomanda(TIPOLOGIA_ALLEGATO_A09);
addDocDomanda(TIPOLOGIA_ALLEGATO_A10);
addDocDomanda(TIPOLOGIA_ALLEGATO_A11);
addDocDomanda(TIPOLOGIA_ALLEGATO_A12);
addDocDomanda(TIPOLOGIA_ALLEGATO_A13);
addDocDomanda(TIPOLOGIA_ALLEGATO_A15);
addDocDomanda(TIPOLOGIA_ALLEGATO_A16);
addDocDomanda(TIPOLOGIA_ALLEGATO_A17);
addDocDomanda(TIPOLOGIA_ALLEGATO_A18);
addDocDomanda(TIPOLOGIA_ALLEGATO_A19);
addDocDomanda(TIPOLOGIA_ALLEGATO_A20);
addDocDomanda(TIPOLOGIA_ALLEGATO_A21);
addDocDomanda(TIPOLOGIA_ALLEGATO_A24);
addDocDomanda(TIPOLOGIA_ALLEGATO_A25);
addDocDomanda(TIPOLOGIA_ALLEGATO_A26);
addDocDomanda(TIPOLOGIA_ALLEGATO_A27);
addDocDomanda(TIPOLOGIA_ALLEGATO_A28);
addDocDomanda(TIPOLOGIA_ALLEGATO_A29);
addDocDomanda(TIPOLOGIA_ALLEGATO_A30);
addDocDomanda(TIPOLOGIA_ALLEGATO_ALTRI);
addDocDomanda(TIPOLOGIA_ALLEGATO_DELEGA);
}
@SuppressWarnings("serial")
public static List<String> getDocDomanda() {
return docDomanda;
}
return new ArrayList<String>() {
{
add(TIPOLOGIA_ALLEGATO_A01);
add(TIPOLOGIA_ALLEGATO_A02);
add(TIPOLOGIA_ALLEGATO_A03);
add(TIPOLOGIA_ALLEGATO_A04);
add(TIPOLOGIA_ALLEGATO_A08);
add(TIPOLOGIA_ALLEGATO_A09);
add(TIPOLOGIA_ALLEGATO_A10);
add(TIPOLOGIA_ALLEGATO_A11);
add(TIPOLOGIA_ALLEGATO_A12);
add(TIPOLOGIA_ALLEGATO_A13);
add(TIPOLOGIA_ALLEGATO_A15);
add(TIPOLOGIA_ALLEGATO_A16);
add(TIPOLOGIA_ALLEGATO_A17);
add(TIPOLOGIA_ALLEGATO_A18);
add(TIPOLOGIA_ALLEGATO_A19);
add(TIPOLOGIA_ALLEGATO_A20);
add(TIPOLOGIA_ALLEGATO_A21);
add(TIPOLOGIA_ALLEGATO_A24);
add(TIPOLOGIA_ALLEGATO_A25);
add(TIPOLOGIA_ALLEGATO_A26);
add(TIPOLOGIA_ALLEGATO_A27);
add(TIPOLOGIA_ALLEGATO_A28);
add(TIPOLOGIA_ALLEGATO_A29);
add(TIPOLOGIA_ALLEGATO_A30);
add(TIPOLOGIA_ALLEGATO_ALTRI);
add(TIPOLOGIA_ALLEGATO_DELEGA);
}
};
public static Map<String, String> getTipiDocDomanda() {
return tipiDocDomanda;
}
public static List<String> getDocObbligatori() {
return new ArrayList<String>();
}
public static List<String> getDocObbligatoriCheck() {
return new ArrayList<String>();
}
public static Set<String> getDocObbligatoriDomanda(IntPratica intPratica, DettPratica dettPratica) {

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

@ -70,4 +70,5 @@ public class PortosIndexField implements Serializable {
public static final String COMUNE = "comune";
public static final String TIPO_PROCEDURA = "tipoProcedura";
public static final String UNITA_OPERATIVA = "unitaOperativa";
public static final String IN_LAVORAZIONE_SUE = "inLavorazioneSue";
}

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

@ -792,7 +792,7 @@ public class ValidazionePraticaUtil {
&& Validator.isNotNull(rischioGeomorfologicoPai) && rischioGeomorfologicoPai.equalsIgnoreCase("NA")
&& Validator.isNotNull(pericolositaIdraulicaPai) && pericolositaIdraulicaPai.equalsIgnoreCase("NA")
&& Validator.isNotNull(rischioIdraulicoPai) && rischioIdraulicoPai.equalsIgnoreCase("NA")) {
notCompleted.add("Nessun allegato per "
notCompleted.add("Nessun allegato per A22 - "
+ LanguageUtil.get(LocaleUtil.getDefault(), "label-documenti-tipologia-A22"));
}
}
@ -805,14 +805,12 @@ public class ValidazionePraticaUtil {
if (DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia(dettPratica.getIntPraticaId(), "A23",
QueryUtil.ALL_POS, QueryUtil.ALL_POS).isEmpty()) {
notCompleted.add("Nessun allegato per "
+ LanguageUtil.get(LocaleUtil.getDefault(), "label-documenti-tipologia-A23"));
notCompleted.add("Nessun allegato per A23 - " + LanguageUtil.get(LocaleUtil.getDefault(), "label-documenti-tipologia-A23"));
}
if (DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia(dettPratica.getIntPraticaId(), "A22",
QueryUtil.ALL_POS, QueryUtil.ALL_POS).isEmpty()) {
notCompleted.add("Nessun allegato per "
+ LanguageUtil.get(LocaleUtil.getDefault(), "label-documenti-tipologia-A22"));
notCompleted.add("Nessun allegato per A22 - " + LanguageUtil.get(LocaleUtil.getDefault(), "label-documenti-tipologia-A22"));
}
}
@ -858,7 +856,7 @@ public class ValidazionePraticaUtil {
for (String firmaMancante : firmeMancanti) {
tipologieMancanti.add(LanguageUtil.get(Locale.getDefault(), "gc-soggetto-" + firmaMancante));
}
notCompleted.add(LanguageUtil.get(LocaleUtil.getDefault(), "label-documenti-tipologia-" + tipologia)
notCompleted.add(tipologia + " - " + LanguageUtil.get(LocaleUtil.getDefault(), "label-documenti-tipologia-" + tipologia)
+ ", firme mancanti: " + StringUtils.join(tipologieMancanti, StringPool.COMMA_AND_SPACE));
}
}
@ -896,7 +894,7 @@ public class ValidazionePraticaUtil {
List<DocPratica> docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia(intPraticaId,
docObbligatorio, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
if (docs.isEmpty()) {
notCompleted.add("Nessun allegato per "
notCompleted.add("Nessun allegato per " + docObbligatorio + " - "
+ LanguageUtil.get(LocaleUtil.getDefault(), "label-documenti-tipologia-" + docObbligatorio));
}
}

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

@ -589,7 +589,8 @@ create table portos_bo_IntPratica (
fineLavoriTotale BOOLEAN,
collaudoParziale BOOLEAN,
collaudoTotale BOOLEAN,
controlloObbligatorio BOOLEAN
controlloObbligatorio BOOLEAN,
inLavorazioneSue BOOLEAN
);
create table portos_bo_Pagamento (

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

@ -618,6 +618,7 @@
<property name="collaudoParziale" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="collaudoTotale" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="controlloObbligatorio" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="inLavorazioneSue" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
</class>
<class name="it.tref.liferay.portos.bo.model.impl.PagamentoImpl" table="portos_bo_Pagamento">
<cache usage="read-write" />

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

@ -671,6 +671,7 @@
<field name="collaudoParziale" type="boolean" />
<field name="collaudoTotale" type="boolean" />
<field name="controlloObbligatorio" type="boolean" />
<field name="inLavorazioneSue" type="boolean" />
</model>
<model name="it.tref.liferay.portos.bo.model.Pagamento">
<field name="uuid" type="String" />

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

@ -786,6 +786,7 @@
<basic name="collaudoParziale" />
<basic name="collaudoTotale" />
<basic name="controlloObbligatorio" />
<basic name="inLavorazioneSue" />
<transient name="modelAttributes" />
<transient name="primaryKey" />
<transient name="primaryKeyObj" />

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

@ -849,33 +849,33 @@ label-documenti-tipologia-G14=Altre tipologie indagini eseguite
label-documenti-tipologia-G15=Indagini di archivio
label-documenti-tipologia-G16=Altri
label-documenti-tipologia-A01 = A1 - Inquadramento territoriale
label-documenti-tipologia-A02 = A2 - Progetto
label-documenti-tipologia-A03 = A3 - Relazione tecnica generale
label-documenti-tipologia-A04 = A4 - Relazione materiali impiegati
label-documenti-tipologia-A05 = A5 - Relazione geologica
label-documenti-tipologia-A08 = A8 - Relazione di calcolo
label-documenti-tipologia-A09 = A9 - Documentazione fotografica
label-documenti-tipologia-A10 = A10 - Particolari costruttivi e sezioni di scavo
label-documenti-tipologia-A11 = A11 - Relazione paesaggistica
label-documenti-tipologia-A12 = A12 - Titolo di proprietà
label-documenti-tipologia-A13 = A13 - Piano di Manutenzione
label-documenti-tipologia-A15 = A15 - Dichiarazione sulla data di realizzazione delle opere abusive
label-documenti-tipologia-A16 = A16 - Copia conforme della domanda di sanatoria depositata al Comune
label-documenti-tipologia-A17 = A17 - Certificazione Legge n. 326/2003
label-documenti-tipologia-A18 = A18 - Copia conforme della dichiarazione depositata al Comune sulla data di realizzazione delle opere abusive
label-documenti-tipologia-A19 = A19 - Dichiarazione sul valore delle opere realizzate abusivamente
label-documenti-tipologia-A20 = A20 - Visura catastale
label-documenti-tipologia-A21 = A21 - Certificato di residenza di tutti i proprietari
label-documenti-tipologia-A22 = A22 - Relazione idrogeomorfologica
label-documenti-tipologia-A23 = A23 - Autorizzazione PAI
label-documenti-tipologia-A24 = A24 - Viarch
label-documenti-tipologia-A25 = A25 - Dichiarazione assenza scavi - sorveglianza / fibra ottica
label-documenti-tipologia-A26 = A26 - Titoli di legittimità
label-documenti-tipologia-A27 = A27 - Dichiarazione collaudo
label-documenti-tipologia-A28 = A28 - Certificazione mancanza motivi ostativi
label-documenti-tipologia-A29 = A29 - Dichiarazione impresa
label-documenti-tipologia-A30 = A30 - Dichiarazione Direttore Lavori
label-documenti-tipologia-A01 = Inquadramento territoriale
label-documenti-tipologia-A02 = Progetto
label-documenti-tipologia-A03 = Relazione tecnica generale
label-documenti-tipologia-A04 = Relazione materiali impiegati
label-documenti-tipologia-A05 = Relazione geologica
label-documenti-tipologia-A08 = Relazione di calcolo
label-documenti-tipologia-A09 = Documentazione fotografica
label-documenti-tipologia-A10 = Particolari costruttivi e sezioni di scavo
label-documenti-tipologia-A11 = Relazione paesaggistica
label-documenti-tipologia-A12 = Titolo di proprietà
label-documenti-tipologia-A13 = Piano di Manutenzione
label-documenti-tipologia-A15 = Dichiarazione sulla data di realizzazione delle opere abusive
label-documenti-tipologia-A16 = Copia conforme della domanda di sanatoria depositata al Comune
label-documenti-tipologia-A17 = Certificazione Legge n. 326/2003
label-documenti-tipologia-A18 = Copia conforme della dichiarazione depositata al Comune sulla data di realizzazione delle opere abusive
label-documenti-tipologia-A19 = Dichiarazione sul valore delle opere realizzate abusivamente
label-documenti-tipologia-A20 = Visura catastale
label-documenti-tipologia-A21 = Certificato di residenza di tutti i proprietari
label-documenti-tipologia-A22 = Relazione idrogeomorfologica
label-documenti-tipologia-A23 = Autorizzazione PAI
label-documenti-tipologia-A24 = Viarch
label-documenti-tipologia-A25 = Dichiarazione assenza scavi - sorveglianza / fibra ottica
label-documenti-tipologia-A26 = Titoli di legittimità
label-documenti-tipologia-A27 = Dichiarazione collaudo
label-documenti-tipologia-A28 = Certificazione mancanza motivi ostativi
label-documenti-tipologia-A29 = Dichiarazione impresa
label-documenti-tipologia-A30 = Dichiarazione Direttore Lavori
label-documenti-tipologia-A98 = Deleghe
label-documenti-tipologia-A99 = Altri
@ -1274,17 +1274,28 @@ tipo-procedura-b = B - Interventi di “minore rilevanza” D.D.G. 344/20 all.
tipo-procedura-b1 = B1 - Interventi di “minore rilevanza” zone 1-2 ed interventi in abitati da consolidare, art.61 (zone 3-4)
tipo-procedura-c = C - Interventi “privi di rilevanza“ D.D.G. 344/20 all. A - lett. C
tipo_procedura_P0 = 1) Autorizzazione per interventi su Beni Culturali (D.Lgs. 42/2004 artt. 21, 31, 48, 49, 50)
tipo_procedura_P1 = 1.1) Interventi su Beni Culturali mobili
tipo_procedura_P2 = 1.2) Interventi su Beni Culturali immobili
tipo_procedura_P3 = 2) Verifica preventiva dell’interesse archeologico (D.Lgs. 25/2016, art. 25)
tipo_procedura_P4 = 3) Autorizzazione per interventi di edilizia su Beni Culturali (D.Lgs. 42/2004 artt. 21, 22)
tipo_procedura_P5 = 4) Autorizzazione paesaggistica per interventi e/o opere di grande impegno territoriale (D.Lgs. 42/2004 art. 146)
tipo_procedura_P6 = 5) Autorizzazione paesaggistica per opere il cui impatto è valutato mediante documentazione semplificata (D.Lgs. 42/2004 art. 146)
tipo_procedura_P7 = 6) Autorizzazione paesaggistica per interventi di lieve entità (L.R. 5/2019 artt. 3, 5)
tipo_procedura_P8 = 7) Accertamento di compatibilità paesaggistica (D.Lgs. 42/2004 art. 146, 167)
tipo_procedura_P9 = 8) Accertamento di compatibilità paesaggistica per Sanatorie Edilizie (L. 47/1985 e L.R. 37/1985 – L. 724/1994 – L. 326/2003 e L.R. 15/2004)
tipo_procedura_P10 = 9) Certificazione di sussistenza vincoli
label_procedura_P0 = 1
tipo_procedura_P0 = Autorizzazione per interventi su Beni Culturali (D.Lgs. 42/2004 art. 21, 31, 48, 49, 50)
label_procedura_P1 = 1.1
tipo_procedura_P1 = Interventi su Beni Culturali mobili
label_procedura_P2 = 1.2
tipo_procedura_P2 = Interventi su Beni Culturali immobili
label_procedura_P3 = 2
tipo_procedura_P3 = Verifica preventiva dell’interesse archeologico (D.Lgs. 25/2016, art. 25)
label_procedura_P4 = 3
tipo_procedura_P4 = Autorizzazione per interventi di edilizia su Beni Culturali (D.Lgs. 42/2004 artt. 21, 22)
label_procedura_P5 = 4
tipo_procedura_P5 = Autorizzazione paesaggistica per interventi e/o opere di grande impegno territoriale (D.Lgs. 42/2004 art. 146)
label_procedura_P6 = 5
tipo_procedura_P6 = Autorizzazione paesaggistica per opere il cui impatto è valutato mediante documentazione semplificata (D.Lgs. 42/2004 art. 146)
label_procedura_P7 = 6
tipo_procedura_P7 = Autorizzazione paesaggistica per interventi di lieve entità (L.R. 5/2019 artt. 3, 5)
label_procedura_P8 = 7
tipo_procedura_P8 = Accertamento di compatibilità paesaggistica (D.Lgs. 42/2004 art. 146, 167)
label_procedura_P9 = 8
tipo_procedura_P9 = Accertamento di compatibilità paesaggistica per Sanatorie Edilizie (L. 47/1985 e L.R. 37/1985 – L. 724/1994 – L. 326/2003 e L.R. 15/2004)
label_procedura_P10 = 9
tipo_procedura_P10 = Certificazione di sussistenza vincoli
tipo_procedura_Q1 = 1) Autorizzazione per interventi su Beni Culturali mobili
tipo_procedura_Q2 = 2) Autorizzazione per interventi su Beni Culturali immobili

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/IntPraticaIndexer.java

@ -136,6 +136,7 @@ public class IntPraticaIndexer extends BaseIndexer {
document.addNumberSortable(PortosIndexField.NUMERO_PROGETTO,
Integer.valueOf(intPraticaFromDB.getNumeroProgetto()));
}
document.addKeyword(PortosIndexField.IN_LAVORAZIONE_SUE, intPraticaFromDB.getInLavorazioneSue());
if (lastDettPratica != null) {
document.addKeyword("nuovaCostruzione", lastDettPratica.getTcNuovaCostruzione());
document.addKeyword("adeguamentoSismico", lastDettPratica.getTcAdeguamentoSismico());

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

@ -38,7 +38,7 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(63);
StringBundler sb = new StringBundler(65);
sb.append("{uuid=");
sb.append(uuid);
@ -102,6 +102,8 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
sb.append(collaudoTotale);
sb.append(", controlloObbligatorio=");
sb.append(controlloObbligatorio);
sb.append(", inLavorazioneSue=");
sb.append(inLavorazioneSue);
sb.append("}");
return sb.toString();
@ -233,6 +235,7 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
intPraticaImpl.setCollaudoParziale(collaudoParziale);
intPraticaImpl.setCollaudoTotale(collaudoTotale);
intPraticaImpl.setControlloObbligatorio(controlloObbligatorio);
intPraticaImpl.setInLavorazioneSue(inLavorazioneSue);
intPraticaImpl.resetOriginalValues();
@ -272,6 +275,7 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
collaudoParziale = objectInput.readBoolean();
collaudoTotale = objectInput.readBoolean();
controlloObbligatorio = objectInput.readBoolean();
inLavorazioneSue = objectInput.readBoolean();
}
@Override
@ -361,6 +365,7 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
objectOutput.writeBoolean(collaudoParziale);
objectOutput.writeBoolean(collaudoTotale);
objectOutput.writeBoolean(controlloObbligatorio);
objectOutput.writeBoolean(inLavorazioneSue);
}
public String uuid;
@ -394,4 +399,5 @@ public class IntPraticaCacheModel implements CacheModel<IntPratica>,
public boolean collaudoParziale;
public boolean collaudoTotale;
public boolean controlloObbligatorio;
public boolean inLavorazioneSue;
}

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

@ -97,9 +97,10 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
{ "fineLavoriTotale", Types.BOOLEAN },
{ "collaudoParziale", Types.BOOLEAN },
{ "collaudoTotale", Types.BOOLEAN },
{ "controlloObbligatorio", Types.BOOLEAN }
{ "controlloObbligatorio", Types.BOOLEAN },
{ "inLavorazioneSue", Types.BOOLEAN }
};
public static final String TABLE_SQL_CREATE = "create table portos_bo_IntPratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,tipoPratica VARCHAR(75) null,territorioId LONG,tipoProcedura VARCHAR(75) null,dtAnnullamento DATE null,docPraticaAnnullamentoId LONG,unitaOperativa INTEGER,statoPratica VARCHAR(10) null,numeroProgetto VARCHAR(75) null,validata BOOLEAN,status INTEGER,statusByUserId LONG,statusDate DATE null,esitoControllo INTEGER,dtPratica DATE null,sospesa BOOLEAN,dtSospensione DATE null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,fineLavoriParziale BOOLEAN,fineLavoriTotale BOOLEAN,collaudoParziale BOOLEAN,collaudoTotale BOOLEAN,controlloObbligatorio BOOLEAN)";
public static final String TABLE_SQL_CREATE = "create table portos_bo_IntPratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,tipoPratica VARCHAR(75) null,territorioId LONG,tipoProcedura VARCHAR(75) null,dtAnnullamento DATE null,docPraticaAnnullamentoId LONG,unitaOperativa INTEGER,statoPratica VARCHAR(10) null,numeroProgetto VARCHAR(75) null,validata BOOLEAN,status INTEGER,statusByUserId LONG,statusDate DATE null,esitoControllo INTEGER,dtPratica DATE null,sospesa BOOLEAN,dtSospensione DATE null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,fineLavoriParziale BOOLEAN,fineLavoriTotale BOOLEAN,collaudoParziale BOOLEAN,collaudoTotale BOOLEAN,controlloObbligatorio BOOLEAN,inLavorazioneSue BOOLEAN)";
public static final String TABLE_SQL_DROP = "drop table portos_bo_IntPratica";
public static final String ORDER_BY_JPQL = " ORDER BY intPratica.intPraticaId ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_IntPratica.intPraticaId ASC";
@ -168,6 +169,7 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
model.setCollaudoParziale(soapModel.getCollaudoParziale());
model.setCollaudoTotale(soapModel.getCollaudoTotale());
model.setControlloObbligatorio(soapModel.getControlloObbligatorio());
model.setInLavorazioneSue(soapModel.getInLavorazioneSue());
return model;
}
@ -265,6 +267,7 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
attributes.put("collaudoParziale", getCollaudoParziale());
attributes.put("collaudoTotale", getCollaudoTotale());
attributes.put("controlloObbligatorio", getControlloObbligatorio());
attributes.put("inLavorazioneSue", getInLavorazioneSue());
return attributes;
}
@ -461,6 +464,12 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
if (controlloObbligatorio != null) {
setControlloObbligatorio(controlloObbligatorio);
}
Boolean inLavorazioneSue = (Boolean)attributes.get("inLavorazioneSue");
if (inLavorazioneSue != null) {
setInLavorazioneSue(inLavorazioneSue);
}
}
@JSON
@ -980,6 +989,22 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
_controlloObbligatorio = controlloObbligatorio;
}
@JSON
@Override
public boolean getInLavorazioneSue() {
return _inLavorazioneSue;
}
@Override
public boolean isInLavorazioneSue() {
return _inLavorazioneSue;
}
@Override
public void setInLavorazioneSue(boolean inLavorazioneSue) {
_inLavorazioneSue = inLavorazioneSue;
}
@Override
public StagedModelType getStagedModelType() {
return new StagedModelType(PortalUtil.getClassNameId(
@ -1048,6 +1073,7 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
intPraticaImpl.setCollaudoParziale(getCollaudoParziale());
intPraticaImpl.setCollaudoTotale(getCollaudoTotale());
intPraticaImpl.setControlloObbligatorio(getControlloObbligatorio());
intPraticaImpl.setInLavorazioneSue(getInLavorazioneSue());
intPraticaImpl.resetOriginalValues();
@ -1285,12 +1311,14 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
intPraticaCacheModel.controlloObbligatorio = getControlloObbligatorio();
intPraticaCacheModel.inLavorazioneSue = getInLavorazioneSue();
return intPraticaCacheModel;
}
@Override
public String toString() {
StringBundler sb = new StringBundler(63);
StringBundler sb = new StringBundler(65);
sb.append("{uuid=");
sb.append(getUuid());
@ -1354,6 +1382,8 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
sb.append(getCollaudoTotale());
sb.append(", controlloObbligatorio=");
sb.append(getControlloObbligatorio());
sb.append(", inLavorazioneSue=");
sb.append(getInLavorazioneSue());
sb.append("}");
return sb.toString();
@ -1361,7 +1391,7 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(97);
StringBundler sb = new StringBundler(100);
sb.append("<model><model-name>");
sb.append("it.tref.liferay.portos.bo.model.IntPratica");
@ -1491,6 +1521,10 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
"<column><column-name>controlloObbligatorio</column-name><column-value><![CDATA[");
sb.append(getControlloObbligatorio());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>inLavorazioneSue</column-name><column-value><![CDATA[");
sb.append(getInLavorazioneSue());
sb.append("]]></column-value></column>");
sb.append("</model>");
@ -1546,6 +1580,7 @@ public class IntPraticaModelImpl extends BaseModelImpl<IntPratica>
private boolean _collaudoParziale;
private boolean _collaudoTotale;
private boolean _controlloObbligatorio;
private boolean _inLavorazioneSue;
private long _columnBitmask;
private IntPratica _escapedModel;
}

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

@ -177,8 +177,8 @@ public class ReportAvvisoBeanBuilder {
bean.setDataAvviso(avviso.getModifiedDate());
bean.setTipoPratica(intPratica.getTipoPratica());
bean.setTipoProcedura(intPratica.getTipoProcedura());
bean.setTipoAutorizzazione(LanguageUtil.get(LocaleUtil.getSiteDefault(),
"tipo_procedura_" + intPratica.getTipoProcedura()));
bean.setTipoAutorizzazione(LanguageUtil.get(LocaleUtil.getSiteDefault(), "label_procedura_" + intPratica.getTipoProcedura()) + ") " +
LanguageUtil.get(LocaleUtil.getSiteDefault(), "tipo_procedura_" + intPratica.getTipoProcedura()));
bean.setCodiceUnivoco(uuid);
bean.setLavoriDi(dettPratica.getDescLongIntervento());
bean.setNumeroProgetto(intPratica.getNumeroProgetto());

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

@ -130,264 +130,268 @@ public class IntPraticaLocalServiceClpInvoker {
_methodParameterTypes173 = new String[] { "java.lang.String" };
_methodName178 = "addIntPratica";
_methodName179 = "getTipiProcedure";
_methodParameterTypes178 = new String[] {
_methodParameterTypes179 = new String[] { };
_methodName180 = "addIntPratica";
_methodParameterTypes180 = new String[] {
"long", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName179 = "addIntPratica";
_methodName181 = "addIntPratica";
_methodParameterTypes179 = new String[] {
_methodParameterTypes181 = new String[] {
"long", "java.lang.String", "java.lang.String", "long",
"java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "int", "java.util.Date",
"com.liferay.portal.service.ServiceContext"
};
_methodName180 = "deleteIntPratica";
_methodName182 = "deleteIntPratica";
_methodParameterTypes180 = new String[] {
_methodParameterTypes182 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "boolean"
};
_methodName181 = "deleteIntPratica";
_methodName183 = "deleteIntPratica";
_methodParameterTypes181 = new String[] {
_methodParameterTypes183 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica"
};
_methodName182 = "cloneIntPratica";
_methodName184 = "cloneIntPratica";
_methodParameterTypes182 = new String[] {
_methodParameterTypes184 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName184 = "updateDelegati";
_methodName186 = "updateDelegati";
_methodParameterTypes184 = new String[] {
_methodParameterTypes186 = new String[] {
"long", "java.lang.String", "java.lang.String", "boolean"
};
_methodName185 = "fetchIntPratica";
_methodName187 = "fetchIntPratica";
_methodParameterTypes185 = new String[] { "long" };
_methodParameterTypes187 = new String[] { "long" };
_methodName186 = "findFascicoliNotProgetto";
_methodName188 = "findFascicoliNotProgetto";
_methodParameterTypes186 = new String[] { "int", "int" };
_methodParameterTypes188 = new String[] { "int", "int" };
_methodName187 = "countFascicoliNotProgetto";
_methodName189 = "countFascicoliNotProgetto";
_methodParameterTypes187 = new String[] { };
_methodParameterTypes189 = new String[] { };
_methodName189 = "addNumeroProgetto";
_methodName191 = "addNumeroProgetto";
_methodParameterTypes189 = new String[] { "long" };
_methodParameterTypes191 = new String[] { "long" };
_methodName190 = "sospendiPratica";
_methodName192 = "sospendiPratica";
_methodParameterTypes190 = new String[] { "long", "boolean" };
_methodParameterTypes192 = new String[] { "long", "boolean" };
_methodName191 = "cambiaTitolare";
_methodName193 = "cambiaTitolare";
_methodParameterTypes191 = new String[] {
_methodParameterTypes193 = new String[] {
"long", "long", "com.liferay.portal.service.ServiceContext"
};
_methodName192 = "updateStatoPratica";
_methodName194 = "updateStatoPratica";
_methodParameterTypes192 = new String[] { "long", "java.lang.String" };
_methodParameterTypes194 = new String[] { "long", "java.lang.String" };
_methodName193 = "findByC_UserId";
_methodName195 = "findByC_UserId";
_methodParameterTypes193 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes195 = new String[] { "long", "long", "int", "int" };
_methodName194 = "countByC_UserId";
_methodName196 = "countByC_UserId";
_methodParameterTypes194 = new String[] { "long", "long" };
_methodParameterTypes196 = new String[] { "long", "long" };
_methodName195 = "updateStatus";
_methodName197 = "updateStatus";
_methodParameterTypes195 = new String[] { "long", "int" };
_methodParameterTypes197 = new String[] { "long", "int" };
_methodName196 = "findByCanAddFineLavori";
_methodName198 = "findByCanAddFineLavori";
_methodParameterTypes196 = new String[] {
_methodParameterTypes198 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName197 = "countByCanAddFineLavori";
_methodName199 = "countByCanAddFineLavori";
_methodParameterTypes197 = new String[] { "long", "java.lang.String" };
_methodParameterTypes199 = new String[] { "long", "java.lang.String" };
_methodName199 = "findByCanAddCollaudo";
_methodName201 = "findByCanAddCollaudo";
_methodParameterTypes199 = new String[] {
_methodParameterTypes201 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName200 = "countByCanAddCollaudo";
_methodName202 = "countByCanAddCollaudo";
_methodParameterTypes200 = new String[] { "long", "java.lang.String" };
_methodParameterTypes202 = new String[] { "long", "java.lang.String" };
_methodName201 = "search";
_methodName203 = "search";
_methodParameterTypes201 = new String[] { "java.util.List", "int", "int" };
_methodParameterTypes203 = new String[] { "java.util.List", "int", "int" };
_methodName202 = "countSearch";
_methodName204 = "countSearch";
_methodParameterTypes202 = new String[] { "java.util.List" };
_methodParameterTypes204 = new String[] { "java.util.List" };
_methodName203 = "searchWithIntPraticaId";
_methodName205 = "searchWithIntPraticaId";
_methodParameterTypes203 = new String[] {
_methodParameterTypes205 = new String[] {
"java.util.List", "long", "int", "int"
};
_methodName204 = "allegaFileAnnullamento";
_methodName206 = "allegaFileAnnullamento";
_methodParameterTypes204 = new String[] {
_methodParameterTypes206 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName205 = "generateFileAnnullamento";
_methodName207 = "generateFileAnnullamento";
_methodParameterTypes205 = new String[] {
_methodParameterTypes207 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName206 = "deleteFileAnnullamento";
_methodName208 = "deleteFileAnnullamento";
_methodParameterTypes206 = new String[] { "long" };
_methodParameterTypes208 = new String[] { "long" };
_methodName207 = "completeAnnullamento";
_methodName209 = "completeAnnullamento";
_methodParameterTypes207 = new String[] { "long" };
_methodParameterTypes209 = new String[] { "long" };
_methodName208 = "cambiaIstruttore";
_methodName210 = "cambiaIstruttore";
_methodParameterTypes208 = new String[] { "long", "long", "long" };
_methodParameterTypes210 = new String[] { "long", "long", "long" };
_methodName209 = "countCaricoLavoroCF";
_methodName211 = "countCaricoLavoroCF";
_methodParameterTypes209 = new String[] {
_methodParameterTypes211 = new String[] {
"long", "java.lang.String", "java.lang.Long[][]"
};
_methodName210 = "countCaricoLavoroIstruttore";
_methodName212 = "countCaricoLavoroIstruttore";
_methodParameterTypes210 = new String[] { "long", "java.lang.String" };
_methodParameterTypes212 = new String[] { "long", "java.lang.String" };
_methodName211 = "generateReportPratica";
_methodName213 = "generateReportPratica";
_methodParameterTypes211 = new String[] {
_methodParameterTypes213 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName212 = "updateModifiedDate";
_methodName214 = "updateModifiedDate";
_methodParameterTypes212 = new String[] { "long", "java.util.Date" };
_methodParameterTypes214 = new String[] { "long", "java.util.Date" };
_methodName213 = "countAutorizzazione";
_methodName215 = "countAutorizzazione";
_methodParameterTypes213 = new String[] {
_methodParameterTypes215 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName214 = "countSanatorie";
_methodName216 = "countSanatorie";
_methodParameterTypes214 = new String[] {
_methodParameterTypes216 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName215 = "countOpereMinoreImportanza";
_methodName217 = "countOpereMinoreImportanza";
_methodParameterTypes215 = new String[] {
_methodParameterTypes217 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName216 = "countDeposito";
_methodName218 = "countDeposito";
_methodParameterTypes216 = new String[] {
_methodParameterTypes218 = new String[] {
"java.util.Date", "java.util.Date", "long", "boolean"
};
_methodName217 = "countVidimate";
_methodName219 = "countVidimate";
_methodParameterTypes217 = new String[] {
_methodParameterTypes219 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName218 = "countControllo";
_methodName220 = "countControllo";
_methodParameterTypes218 = new String[] {
_methodParameterTypes220 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String",
"boolean"
};
_methodName219 = "riparaWorkflow";
_methodName221 = "riparaWorkflow";
_methodParameterTypes219 = new String[] { };
_methodParameterTypes221 = new String[] { };
_methodName220 = "reIndexFascicolo";
_methodName222 = "reIndexFascicolo";
_methodParameterTypes220 = new String[] {
_methodParameterTypes222 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName221 = "reIndexFasciolo";
_methodName223 = "reIndexFasciolo";
_methodParameterTypes221 = new String[] { "java.lang.String", "long" };
_methodParameterTypes223 = new String[] { "java.lang.String", "long" };
_methodName222 = "reIndexFasciolo";
_methodName224 = "reIndexFasciolo";
_methodParameterTypes222 = new String[] { "long", "long" };
_methodParameterTypes224 = new String[] { "long", "long" };
_methodName223 = "findByNumeroProgetto";
_methodName225 = "findByNumeroProgetto";
_methodParameterTypes223 = new String[] { "java.lang.String" };
_methodParameterTypes225 = new String[] { "java.lang.String" };
_methodName224 = "findByTerritorioId";
_methodName226 = "findByTerritorioId";
_methodParameterTypes224 = new String[] { "long" };
_methodParameterTypes226 = new String[] { "long" };
_methodName225 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodName227 = "reportTempisticheIstruttorieAvvisiAutorizzazioni";
_methodParameterTypes225 = new String[] {
_methodParameterTypes227 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodName226 = "reportPraticheVidimate";
_methodName228 = "reportPraticheVidimate";
_methodParameterTypes226 = new String[] {
_methodParameterTypes228 = new String[] {
"java.util.Date", "java.util.Date", "long", "java.lang.String"
};
_methodName227 = "countIngressiAutorizzazioni";
_methodName229 = "countIngressiAutorizzazioni";
_methodParameterTypes227 = new String[] {
_methodParameterTypes229 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName228 = "countIngressiDepositi";
_methodName230 = "countIngressiDepositi";
_methodParameterTypes228 = new String[] {
_methodParameterTypes230 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName229 = "countIngressiCO";
_methodName231 = "countIngressiCO";
_methodParameterTypes229 = new String[] {
_methodParameterTypes231 = new String[] {
"java.util.Date", "java.util.Date", "long"
};
_methodName230 = "getOrganizationByIntPraticaId";
_methodName232 = "getOrganizationByIntPraticaId";
_methodParameterTypes230 = new String[] { "long" };
_methodParameterTypes232 = new String[] { "long" };
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -515,15 +519,20 @@ public class IntPraticaLocalServiceClpInvoker {
return null;
}
if (_methodName178.equals(name) &&
Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) {
if (_methodName179.equals(name) &&
Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) {
return IntPraticaLocalServiceUtil.getTipiProcedure();
}
if (_methodName180.equals(name) &&
Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) {
return IntPraticaLocalServiceUtil.addIntPratica(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(com.liferay.portal.service.ServiceContext)arguments[2]);
}
if (_methodName179.equals(name) &&
Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) {
if (_methodName181.equals(name) &&
Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) {
return IntPraticaLocalServiceUtil.addIntPratica(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Long)arguments[3]).longValue(),
@ -535,170 +544,170 @@ public class IntPraticaLocalServiceClpInvoker {
(com.liferay.portal.service.ServiceContext)arguments[10]);
}
if (_methodName180.equals(name) &&
Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) {
if (_methodName182.equals(name) &&
Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) {
return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Boolean)arguments[1]).booleanValue());
}
if (_methodName181.equals(name) &&
Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) {
if (_methodName183.equals(name) &&
Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) {
return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0]);
}
if (_methodName182.equals(name) &&
Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) {
if (_methodName184.equals(name) &&
Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) {
return IntPraticaLocalServiceUtil.cloneIntPratica(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]);
}
if (_methodName184.equals(name) &&
Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) {
if (_methodName186.equals(name) &&
Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateDelegati(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Boolean)arguments[3]).booleanValue());
}
if (_methodName185.equals(name) &&
Arrays.deepEquals(_methodParameterTypes185, parameterTypes)) {
if (_methodName187.equals(name) &&
Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) {
return IntPraticaLocalServiceUtil.fetchIntPratica(((Long)arguments[0]).longValue());
}
if (_methodName186.equals(name) &&
Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) {
if (_methodName188.equals(name) &&
Arrays.deepEquals(_methodParameterTypes188, parameterTypes)) {
return IntPraticaLocalServiceUtil.findFascicoliNotProgetto(((Integer)arguments[0]).intValue(),
((Integer)arguments[1]).intValue());
}
if (_methodName187.equals(name) &&
Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) {
if (_methodName189.equals(name) &&
Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
return IntPraticaLocalServiceUtil.countFascicoliNotProgetto();
}
if (_methodName189.equals(name) &&
Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
if (_methodName191.equals(name) &&
Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
return IntPraticaLocalServiceUtil.addNumeroProgetto(((Long)arguments[0]).longValue());
}
if (_methodName190.equals(name) &&
Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) {
if (_methodName192.equals(name) &&
Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
return IntPraticaLocalServiceUtil.sospendiPratica(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue());
}
if (_methodName191.equals(name) &&
Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
if (_methodName193.equals(name) &&
Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) {
return IntPraticaLocalServiceUtil.cambiaTitolare(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[2]);
}
if (_methodName192.equals(name) &&
Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
if (_methodName194.equals(name) &&
Arrays.deepEquals(_methodParameterTypes194, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateStatoPratica(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName193.equals(name) &&
Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) {
if (_methodName195.equals(name) &&
Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByC_UserId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName194.equals(name) &&
Arrays.deepEquals(_methodParameterTypes194, parameterTypes)) {
if (_methodName196.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByC_UserId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName195.equals(name) &&
Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) {
if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
IntPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue());
return null;
}
if (_methodName196.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
if (_methodName198.equals(name) &&
Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddFineLavori(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddFineLavori(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName200.equals(name) &&
Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
return IntPraticaLocalServiceUtil.search((java.util.List<java.lang.Long>)arguments[0],
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
if (_methodName204.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSearch((java.util.List<java.lang.Long>)arguments[0]);
}
if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0],
((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName204.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
return IntPraticaLocalServiceUtil.allegaFileAnnullamento(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]);
}
if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
if (_methodName207.equals(name) &&
Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]);
}
if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
if (_methodName208.equals(name) &&
Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue());
return null;
}
if (_methodName207.equals(name) &&
Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) {
if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue());
return null;
}
if (_methodName208.equals(name) &&
Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
if (_methodName210.equals(name) &&
Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) {
IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue());
@ -706,144 +715,144 @@ public class IntPraticaLocalServiceClpInvoker {
return null;
}
if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.Long[])arguments[2]);
}
if (_methodName210.equals(name) &&
Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) {
if (_methodName212.equals(name) &&
Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
if (_methodName213.equals(name) &&
Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
}
if (_methodName212.equals(name) &&
Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
if (_methodName214.equals(name) &&
Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(),
(java.util.Date)arguments[1]);
}
if (_methodName213.equals(name) &&
Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) {
if (_methodName215.equals(name) &&
Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) {
return IntPraticaLocalServiceUtil.countAutorizzazione((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName214.equals(name) &&
Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
if (_methodName216.equals(name) &&
Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSanatorie((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName215.equals(name) &&
Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) {
if (_methodName217.equals(name) &&
Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) {
return IntPraticaLocalServiceUtil.countOpereMinoreImportanza((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName216.equals(name) &&
Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) {
if (_methodName218.equals(name) &&
Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
return IntPraticaLocalServiceUtil.countDeposito((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
((Boolean)arguments[3]).booleanValue());
}
if (_methodName217.equals(name) &&
Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) {
if (_methodName219.equals(name) &&
Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
return IntPraticaLocalServiceUtil.countVidimate((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3],
((Boolean)arguments[4]).booleanValue());
}
if (_methodName218.equals(name) &&
Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
if (_methodName220.equals(name) &&
Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) {
return IntPraticaLocalServiceUtil.countControllo((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3],
((Boolean)arguments[4]).booleanValue());
}
if (_methodName219.equals(name) &&
Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
if (_methodName221.equals(name) &&
Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
return IntPraticaLocalServiceUtil.riparaWorkflow();
}
if (_methodName220.equals(name) &&
Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) {
if (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
return null;
}
if (_methodName221.equals(name) &&
Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
if (_methodName223.equals(name) &&
Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0],
((Long)arguments[1]).longValue());
return null;
}
if (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
if (_methodName224.equals(name) &&
Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
return null;
}
if (_methodName223.equals(name) &&
Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) {
if (_methodName225.equals(name) &&
Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]);
}
if (_methodName224.equals(name) &&
Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) {
if (_methodName226.equals(name) &&
Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue());
}
if (_methodName225.equals(name) &&
Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) {
if (_methodName227.equals(name) &&
Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportTempisticheIstruttorieAvvisiAutorizzazioni((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3]);
}
if (_methodName226.equals(name) &&
Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) {
if (_methodName228.equals(name) &&
Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) {
return IntPraticaLocalServiceUtil.reportPraticheVidimate((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue(),
(java.lang.String)arguments[3]);
}
if (_methodName227.equals(name) &&
Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) {
if (_methodName229.equals(name) &&
Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) {
return IntPraticaLocalServiceUtil.countIngressiAutorizzazioni((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName228.equals(name) &&
Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) {
if (_methodName230.equals(name) &&
Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) {
return IntPraticaLocalServiceUtil.countIngressiDepositi((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName229.equals(name) &&
Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) {
if (_methodName231.equals(name) &&
Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) {
return IntPraticaLocalServiceUtil.countIngressiCO((java.util.Date)arguments[0],
(java.util.Date)arguments[1], ((Long)arguments[2]).longValue());
}
if (_methodName230.equals(name) &&
Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) {
if (_methodName232.equals(name) &&
Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) {
return IntPraticaLocalServiceUtil.getOrganizationByIntPraticaId(((Long)arguments[0]).longValue());
}
@ -894,8 +903,6 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes172;
private String _methodName173;
private String[] _methodParameterTypes173;
private String _methodName178;
private String[] _methodParameterTypes178;
private String _methodName179;
private String[] _methodParameterTypes179;
private String _methodName180;
@ -904,18 +911,18 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes181;
private String _methodName182;
private String[] _methodParameterTypes182;
private String _methodName183;
private String[] _methodParameterTypes183;
private String _methodName184;
private String[] _methodParameterTypes184;
private String _methodName185;
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[] _methodParameterTypes189;
private String _methodName190;
private String[] _methodParameterTypes190;
private String _methodName191;
private String[] _methodParameterTypes191;
private String _methodName192;
@ -930,10 +937,10 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes196;
private String _methodName197;
private String[] _methodParameterTypes197;
private String _methodName198;
private String[] _methodParameterTypes198;
private String _methodName199;
private String[] _methodParameterTypes199;
private String _methodName200;
private String[] _methodParameterTypes200;
private String _methodName201;
private String[] _methodParameterTypes201;
private String _methodName202;
@ -994,4 +1001,8 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes229;
private String _methodName230;
private String[] _methodParameterTypes230;
private String _methodName231;
private String[] _methodParameterTypes231;
private String _methodName232;
private String[] _methodParameterTypes232;
}

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

@ -59,6 +59,7 @@ import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
@ -129,6 +130,30 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
private static Log _log = LogFactoryUtil.getLog(IntPraticaLocalServiceImpl.class);
private static final Map<String, String> tipiProcedure = new LinkedHashMap<>();
static {
putTipoProcedura(Constants.PROCEDURA_P0);
putTipoProcedura(Constants.PROCEDURA_P1);
putTipoProcedura(Constants.PROCEDURA_P2);
putTipoProcedura(Constants.PROCEDURA_P3);
putTipoProcedura(Constants.PROCEDURA_P4);
putTipoProcedura(Constants.PROCEDURA_P5);
putTipoProcedura(Constants.PROCEDURA_P6);
putTipoProcedura(Constants.PROCEDURA_P7);
putTipoProcedura(Constants.PROCEDURA_P8);
putTipoProcedura(Constants.PROCEDURA_P9);
putTipoProcedura(Constants.PROCEDURA_P10);
}
private static void putTipoProcedura(String tipo) {
tipiProcedure.put(tipo, LanguageUtil.get(LocaleUtil.ITALIAN, "tipo_procedura_" + tipo));
}
@Override
public Map<String, String> getTipiProcedure() {
return tipiProcedure;
}
@Override
@Indexable(type = IndexableType.REINDEX)
public IntPratica addIntPratica(long territorioId, String tipoProcedura, ServiceContext serviceContext)
@ -188,7 +213,6 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
}
@Override
@Indexable(type = IndexableType.REINDEX)
public IntPratica deleteIntPratica(IntPratica intPratica, boolean forced) throws SystemException, PortalException {
if (intPratica.getStatus() == WorkflowConstants.STATUS_ANY || forced) {

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

@ -4418,6 +4418,7 @@ public class IntPraticaPersistenceImpl extends BasePersistenceImpl<IntPratica>
intPraticaImpl.setCollaudoParziale(intPratica.isCollaudoParziale());
intPraticaImpl.setCollaudoTotale(intPratica.isCollaudoTotale());
intPraticaImpl.setControlloObbligatorio(intPratica.isControlloObbligatorio());
intPraticaImpl.setInLavorazioneSue(intPratica.isInLavorazioneSue());
return intPraticaImpl;
}

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.number=3171
build.date=1623925070790
build.number=3185
build.date=1624449055901
build.auto.upgrade=true
##

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

@ -1,6 +1,5 @@
<%@page import="com.liferay.portal.kernel.util.MapUtil"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="it.tref.liferay.portos.bo.util.AvvisoUtil"%>
<%@page import="com.liferay.portal.kernel.util.MapUtil"%>
<%@page import="com.liferay.portlet.documentlibrary.util.DLUtil"%>
<%@page import="com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil"%>
<%@page import="com.liferay.portal.kernel.repository.model.FileEntry"%>
@ -143,17 +142,17 @@ List<String> nascosti = Arrays.asList(new String[] { "base64" });
</ul>
</div>
<%
List<Avviso> avvisi = AvvisoLocalServiceUtil.getAvvisiRifiutatiByControlloPraticaId(controlloPratica.getControlloPraticaId());
List<Avviso> avvisi = AvvisoLocalServiceUtil.getAvvisiRifiutatiByControlloPraticaId(controlloPratica.getControlloPraticaId());
%>
<c:if test="<%= !avvisi.isEmpty() %>">
<div>
<h4 class="title_date_workflow">Dettagli Avvisi Rifiutati</h4>
<ul class="list-workflow">
<%
for(Avviso avviso : avvisi){
for (Avviso avviso : avvisi) {
String tipoDocumento = avviso.translateTipoDocumento();
out.print("<li><strong>"+dateFormatDateTime.format(avviso.getDtRifiuto())+"</strong> - "+LanguageUtil.get(pageContext, tipoDocumento)+":<br/>"
+(Validator.isNotNull(avviso.getCommentoRifiuto()) ? avviso.getCommentoRifiuto() : "Nessun Commento")+"</li>");
out.print("<li><strong>" + dateFormatDateTime.format(avviso.getDtRifiuto()) + "</strong> - " + LanguageUtil.get(pageContext, tipoDocumento) + ":<br/>"
+ (Validator.isNull(avviso.getCommentoRifiuto()) ? "Nessun Commento" : avviso.getCommentoRifiuto()) + "</li>");
}
%>
</ul>
@ -176,7 +175,6 @@ List<String> nascosti = Arrays.asList(new String[] { "base64" });
-ms-flex-align: center;
align-items: center;
}
.list-geo, .list-workflow {
margin-left: 50px!important;
}
@ -203,14 +201,12 @@ List<String> nascosti = Arrays.asList(new String[] { "base64" });
color: #555;
margin: 5px 7px 5px 0px;
}
.container_header_text_attivita .text_attivita, .columns-max .control-group.field-wrapper > .control-group {
margin: 0;
}
.text-local {
margin-left: 35px;
}
#updateComments .control-group.field-wrapper, #updateComments .columns-max .control-group.field-wrapper > .control-group {
display: -webkit-box;
display: -ms-flexbox;
@ -220,11 +216,9 @@ List<String> nascosti = Arrays.asList(new String[] { "base64" });
align-items: center;
width: 100%;
}
#updateComments .control-group.field-wrapper, #updateComments .columns-max .control-group.field-wrapper > .control-group[data-fieldname="esito"] {
display: block;
}
#updateComments .control-group.field-wrapper textarea, #updateComments .control-group.field-wrapper input[type="text"] {
width: 80%;
margin-bottom: 0px!important;
@ -235,18 +229,15 @@ List<String> nascosti = Arrays.asList(new String[] { "base64" });
#updateComments .control-group.field-wrapper label, #updateComments .columns-max .control-group.field-wrapper > .control-group label, #updateComments .control-group.field-wrapper span.control-label {
width: 20%;
}
#updateComments .control-group.field-wrapper .lfr-input-date.input-large, #updateComments .columns-max .control-group.field-wrapper > .control-group select {
margin-left: -4px;
}
#updateComments .control-group.field-wrapper label, #updateComments .control-group.field-wrapper .control-group.input-text-wrapper {
margin-bottom: 0!important;
}
#updateComments .separator {
border-top: 1px solid #812121;
}
#updateComments .radio {
width: auto!important;
}

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

@ -38,7 +38,7 @@
<div class="container-fluid">
<div class="row">
<div class="col-xs-12">
<strong><%= LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura()) %></strong>
<strong><%= LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") " + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura()) %></strong>
</div>
</div>
<div class="row">

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

@ -38,13 +38,14 @@ List<String> tipologiaAllegati = DocumentiPraticaUtil.getDocDomanda();
for (String codiceDoc : tipologiaAllegati) {
List<DocPratica> docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_Tipologia(dettPratica.getIntPraticaId(),
codiceDoc, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
String nomeAllegato = codiceDoc + " - " + LanguageUtil.get(pageContext, "label-documenti-tipologia-" + codiceDoc);
%>
<div class="panel-group allegato-group">
<div class="panel panel-default">
<div class="panel-heading">
<a class="collapse_a" data-toggle="collapse" href="#collapse<%= tipologiaAllegati.indexOf(codiceDoc) %>">
<h4 class="panel-title allegato-group__title">
<liferay-ui:message key='<%= "label-documenti-tipologia-" + codiceDoc %>'/>
<liferay-ui:message key='<%= nomeAllegato %>'/>
</h4>
<span class='num_allegati <%= docPraticas.size() > 0 ? "green" : "red" %>'><%= docPraticas.size() %></span>
</a>

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

@ -94,7 +94,7 @@ int secondo = ParamUtil.getInteger(request, "secondo", size);
if (nDocs > 0) {
%>
<tr>
<th><%= LanguageUtil.get(pageContext, "label-documenti-tipologia-" + codice) %></th>
<th><%= codice %> - <%= LanguageUtil.get(pageContext, "label-documenti-tipologia-" + codice) %></th>
<%
for (DettPratica dp : dps) {
List<DocPratica> lista = liste.get(dp.getDettPraticaId());

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/view.jsp

@ -376,7 +376,7 @@ String keywords = StringPool.BLANK;
Territorio: <strong><%= comune.getDenominazione() %> <%= (lastDettPratica == null || lastDettPratica.getLocalita().isEmpty()) ? "" : "(Loc. "+lastDettPratica.getLocalita()+" ) " %>- <%= provincia.getProvincia() %></strong><br>
Localizzazione: <strong><%= lastDettPratica == null ? "" : lastDettPratica.getVia() %></strong><br>
<strong><%= LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura()) %></strong><br><br>
<strong><%= LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") " + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura()) %></strong><br><br>
<%= lastDettPratica == null ? "" : lastDettPratica.getDescLongIntervento() %>
</liferay-ui:search-container-column-text>

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

@ -115,7 +115,8 @@ DettPratica lastDettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntP
%>
<%= intPratica.getTitle(locale, true) %>
<%= Validator.isNull(intPratica.getTipoProcedura()) ? StringPool.BLANK
: "<br><small>" + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura())
: "<br><small>" + LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") "
+ LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura())
+ "</small>" %>
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="istruttore">

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_da_firmare.jsp

@ -76,7 +76,7 @@ for (Organization organization:organizations) {
}
String tipoProcedura = StringPool.BLANK;
if (Validator.isNotNull(intPratica)) {
tipoProcedura = LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica
tipoProcedura = LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") " + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica
.getTipoProcedura());
}
%>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_da_firmare_altri.jsp

@ -65,7 +65,7 @@ for (Organization organization:organizations) {
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(avviso.getIntPraticaId());
String tipoProcedura = "";
if(Validator.isNotNull(intPratica))
tipoProcedura = LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura());
tipoProcedura = LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") " + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura());
%>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestionefirme/avvisi_firme.jsp

@ -49,7 +49,7 @@ searchURL.setParameter("tabs1", tabs1);
String tipoProcedura = "";
if(Validator.isNotNull(intPratica))
tipoProcedura = LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura());
tipoProcedura = LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") " + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura());
%>

12
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/util/ReportFascicoloUtil.java

@ -371,7 +371,7 @@ public class ReportFascicoloUtil {
intPraticaId, lastDettPratica.getDettPraticaId(), stringa, QueryUtil.ALL_POS,
QueryUtil.ALL_POS);
if (docPraticas != null && !docPraticas.isEmpty()) {
ReportFascicoloBean bean1 = new ReportFascicoloBean("- "
ReportFascicoloBean bean1 = new ReportFascicoloBean(stringa + " - "
+ LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB
+ " - num. documenti presentati: " + docPraticas.size());
listaAllegatiGeo.add(bean1);
@ -386,7 +386,7 @@ public class ReportFascicoloUtil {
intPraticaId, lastDettPratica.getDettPraticaId(), stringa, QueryUtil.ALL_POS,
QueryUtil.ALL_POS);
if (docPraticas != null && !docPraticas.isEmpty()) {
ReportFascicoloBean bean1 = new ReportFascicoloBean("- "
ReportFascicoloBean bean1 = new ReportFascicoloBean(stringa + " - "
+ LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB
+ " - num. documenti presentati: " + docPraticas.size());
listaAllegatiDomanda.add(bean1);
@ -729,7 +729,7 @@ public class ReportFascicoloUtil {
intPraticaId, lastDettPratica.getDettPraticaId(), stringa, QueryUtil.ALL_POS,
QueryUtil.ALL_POS);
if (docPraticas != null && !docPraticas.isEmpty()) {
ReportFascicoloBean bean1 = new ReportFascicoloBean("- "
ReportFascicoloBean bean1 = new ReportFascicoloBean(stringa + " - "
+ LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB
+ " - num. documenti presentati: " + docPraticas.size());
listaAllegatiGeo.add(bean1);
@ -744,7 +744,7 @@ public class ReportFascicoloUtil {
intPraticaId, lastDettPratica.getDettPraticaId(), stringa, QueryUtil.ALL_POS,
QueryUtil.ALL_POS);
if (docPraticas != null && !docPraticas.isEmpty()) {
ReportFascicoloBean bean1 = new ReportFascicoloBean("- "
ReportFascicoloBean bean1 = new ReportFascicoloBean(stringa + " - "
+ LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB
+ " - num. documenti presentati: " + docPraticas.size());
listaAllegatiDomanda.add(bean1);
@ -933,7 +933,7 @@ public class ReportFascicoloUtil {
List<DocPratica> docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_TipologiaNew(
intPraticaId, fineLavoriId, stringa, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
if (docPraticas != null && !docPraticas.isEmpty()) {
ReportFascicoloBean bean1 = new ReportFascicoloBean(" - "
ReportFascicoloBean bean1 = new ReportFascicoloBean(stringa + " - "
+ LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa)
+ " - documenti presentati: ");
listaAllegatiDomanda.add(bean1);
@ -1126,7 +1126,7 @@ public class ReportFascicoloUtil {
List<DocPratica> docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_Tipologia(
intPraticaId, collaudoId, stringa, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
if (docPraticas != null && !docPraticas.isEmpty()) {
ReportFascicoloBean bean1 = new ReportFascicoloBean("- "
ReportFascicoloBean bean1 = new ReportFascicoloBean(stringa + " - "
+ LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB
+ " - num. documenti presentati: " + docPraticas.size());
listaAllegatiDomanda.add(bean1);

3
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/edit_allegato.jsp

@ -71,11 +71,12 @@ int dimensioneMassimaAllegati = (int) ((Short) company.getExpandoBridge()
for(String codiceDoc:tipologiaAllegati){
//TODO come per il portlet potrebbe non andar bene per integrazioni e varianti
String nomeAllegato = codiceDoc + " - " + LanguageUtil.get(pageContext, "label-documenti-tipologia-" + codiceDoc);
boolean isUnivoco = DocumentiPraticaUtil.getDocUnivoci().contains(codiceDoc);
if (!isUnivoco
|| DocPraticaServiceUtil.countByClassPk_Tipologia(classPk, codiceDoc) == 0) {
%>
<aui:option value="<%=codiceDoc %>" label='<%="label-documenti-tipologia-"+codiceDoc %>' ></aui:option>
<aui:option value="<%=codiceDoc %>" label='<%= nomeAllegato %>' ></aui:option>
<%
}
}

3
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view.jsp

@ -203,11 +203,12 @@ if ("page_geologica".equals(comingFrom)) {
docPraticas = DocPraticaServiceUtil.findByIntPratica_ClassPk_Tipologia(intPratica.getIntPraticaId(),
classPk, codiceDoc, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
}
String nomeAllegato = codiceDoc + " - " + LanguageUtil.get(pageContext, "label-documenti-tipologia-" + codiceDoc);
%>
<div class="allegati_wrapper row">
<span class='num_allegati <%= docPraticas.size() > 0 ? "green" : "orange" %>'><%= docPraticas.size() %></span>
<liferay-ui:panel extended="false" defaultState="close" collapsible="true"
title='<%= "label-documenti-tipologia-" + codiceDoc %>'
title='<%= nomeAllegato %>'
id='<%= codiceDoc + "_panel_allegati_" + comingFrom %>' persistState="true">
<%
if (docPraticas.isEmpty()) {

3
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view_accordion.jsp

@ -80,13 +80,14 @@ for (String codiceDoc:tipologiaAllegati) {
docPraticas = DocPraticaServiceUtil.getValidUntilClassPkByIntPratica(intPraticaId, classPk, codiceDoc,
QueryUtil.ALL_POS, QueryUtil.ALL_POS);
}
String nomeAllegato = codiceDoc + " - " + LanguageUtil.get(pageContext, "label-documenti-tipologia-" + codiceDoc);
%>
<div class="panel-group allegato-group">
<div class="panel panel-default">
<div class="panel-heading">
<a class="collapse_a" data-toggle="collapse" href="#collapse-<%= codiceDoc %>_<%= type %>">
<h4 class="panel-title allegato-group__title">
<liferay-ui:message key='<%= "label-documenti-tipologia-" + codiceDoc %>' />
<liferay-ui:message key='<%= nomeAllegato %>' />
</h4>
<span class='num_allegati <%= docPraticas.size()>0 ? "green" : "red" %>'>
<%= docPraticas.size() %>

31
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/edit_modal_fascicolo.jsp

@ -1,4 +1,5 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@ include file="/html/fascicolofe/init.jsp" %>
<% String formName = ParamUtil.getString(request, "formName","fm"); %>
<div class="container-fluid add-new-project">
@ -23,21 +24,21 @@
<div class="row add-new-project__row">
<div class="col-xs-12 add-new-project__procedura">
<aui:field-wrapper label="">
<!--<aui:input label="tipo_procedura_Q1" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_P0 %>" type="radio" value="<%= Constants.PROCEDURA_P0 %>" showRequiredLabel="true" disabled="true">
<aui:validator name="required"></aui:validator>
</aui:input>-->
<aui:input label="tipo_procedura_Q1" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q1 %>" type="radio" value="<%= Constants.PROCEDURA_Q1 %>" showRequiredLabel="true" disabled="true">
<aui:validator name="required"></aui:validator>
<%
for (Entry<String, String> procedura : IntPraticaLocalServiceUtil.getTipiProcedure()
.entrySet()) {
String tipo = procedura.getKey();
String label = procedura.getValue();
String nomeProcedura = LanguageUtil.get(pageContext, "label_procedura_"+tipo) + ") " + label;
%>
<aui:input label="<%= nomeProcedura %>" name="tipoProcedura"
id='<%= "tipo_procedura_" + tipo %>' type="radio" value="<%= tipo %>"
showRequiredLabel="true" disabled="true">
<aui:validator name="required" />
</aui:input>
<aui:input label="tipo_procedura_Q2" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q2 %>" type="radio" value="<%= Constants.PROCEDURA_Q2 %>" showRequiredLabel="true" disabled="true" />
<aui:input label="tipo_procedura_Q3" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q3 %>" type="radio" value="<%= Constants.PROCEDURA_Q3 %>" showRequiredLabel="true" disabled="true" />
<aui:input label="tipo_procedura_Q4" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q4 %>" type="radio" value="<%= Constants.PROCEDURA_Q4 %>" showRequiredLabel="true" disabled="true" />
<aui:input label="tipo_procedura_Q5" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q5 %>" type="radio" value="<%= Constants.PROCEDURA_Q5 %>" showRequiredLabel="true" disabled="true" />
<aui:input label="tipo_procedura_Q6" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q6 %>" type="radio" value="<%= Constants.PROCEDURA_Q6 %>" showRequiredLabel="true" disabled="true" />
<aui:input label="tipo_procedura_Q7" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q7 %>" type="radio" value="<%= Constants.PROCEDURA_Q7 %>" showRequiredLabel="true" disabled="true" />
<aui:input label="tipo_procedura_Q8" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q8 %>" type="radio" value="<%= Constants.PROCEDURA_Q8 %>" showRequiredLabel="true" disabled="true" />
<aui:input label="tipo_procedura_Q9" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q9 %>" type="radio" value="<%= Constants.PROCEDURA_Q9 %>" showRequiredLabel="true" disabled="true" />
<aui:input label="tipo_procedura_Q10" name="tipoProcedura" id="<%= \"tipo_procedura_\" + Constants.PROCEDURA_Q10 %>" type="radio" value="<%= Constants.PROCEDURA_Q10 %>" showRequiredLabel="true" disabled="true" />
<%
}
%>
</aui:field-wrapper>
</div>
</div>
@ -167,7 +168,6 @@
selectId: 'provinciaId',
selectSort: true,
selectVal: '0'
},
{
select: '<portlet:namespace />comune',
@ -176,7 +176,6 @@
selectId: 'comuneId',
selectSort: true,
selectVal: '0'
}/*,
{
select: '<portlet:namespace />territorioId',

3
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_collaudo.jsp

@ -140,10 +140,11 @@
<%
for(String codiceDoc:tipologiaAllegati){
String nomeAllegato = codiceDoc + " - " + LanguageUtil.get(pageContext, "label-documenti-tipologia-" + codiceDoc);
%>
<div class="row asseverazioni-title">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<liferay-ui:message key='<%="label-documenti-tipologia-"+codiceDoc %>'/>
<liferay-ui:message key='<%= nomeAllegato %>'/>
</div>
</div>
<%

3
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp

@ -355,10 +355,11 @@ List<String> tipologiaSoggetti = Arrays.asList(TipoSoggettoUtil.TITOLARE_DIGITAL
</div>
<%
for(String codiceDoc:tipologiaAllegati){
String nomeAllegato = codiceDoc + " - " + LanguageUtil.get(pageContext, "label-documenti-tipologia-" + codiceDoc);
%>
<div class="row asseverazioni-title">
<div class="col-xs-12">
<liferay-ui:message key='<%="label-documenti-tipologia-"+codiceDoc %>'/>
<liferay-ui:message key='<%= nomeAllegato %>'/>
</div>
</div>
<%

3
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fine-lavori.jsp

@ -141,10 +141,11 @@
<%
for(String codiceDoc:tipologiaAllegati){
String nomeAllegato = codiceDoc + " - " + LanguageUtil.get(pageContext, "label-documenti-tipologia-" + codiceDoc);
%>
<div class="row asseverazioni-title">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<liferay-ui:message key='<%="label-documenti-tipologia-"+codiceDoc %>'/>
<liferay-ui:message key='<%= nomeAllegato %>'/>
</div>
</div>
<%

2
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view_fascicolo_columns_generic.jspf

@ -305,7 +305,7 @@ if (lastDettPratica == null) {
+ StringPool.CLOSE_PARENTHESIS %>
- <%= provincia.getProvincia() %></strong><br/>
Localizzazione: <strong><%= lastDettPratica.getVia() %></strong><br/>
<strong><%= LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura()) %></strong>
<strong><%= LanguageUtil.get(pageContext, "label_procedura_" + intPratica.getTipoProcedura()) + ") " + LanguageUtil.get(pageContext, "tipo_procedura_" + intPratica.getTipoProcedura()) %></strong>
<br/>
<br/>
<%= lastDettPratica.getDescLongIntervento() %>

4
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/firma/servlet/FirmaServlet.java

@ -22,6 +22,7 @@ import com.liferay.portal.kernel.json.JSONSerializer;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.servlet.ServletResponseUtil;
import com.liferay.portal.kernel.util.ContentTypes;
import com.liferay.portal.kernel.util.StreamUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.StringUtil;
@ -151,7 +152,8 @@ public class FirmaServlet extends HttpServlet {
JSONSerializer jsonSerializer = JSONFactoryUtil.createJSONSerializer();
jsonSerializer.exclude("*.class");
String jsonResponse = jsonSerializer.serialize(risposta);
response.setContentType("application/json; charset=UTF-8");
response.setContentType(ContentTypes.APPLICATION_JSON);
response.setCharacterEncoding(StringPool.UTF8);
ServletResponseUtil.write(response, jsonResponse);
}
}

3
liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/.settings/org.eclipse.wst.common.component

@ -5,6 +5,9 @@
<dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="portos-kaleo-web-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-kaleo-web/docroot/WEB-INF/lib/portos-kaleo-web-service.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="portos-kaleo-controller-portlet"/>
<property name="java-output-path" value="/portos-kaleo-controller-portlet/docroot/WEB-INF/classes"/>
</wb-module>

1
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/.tern-project

@ -0,0 +1 @@
{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]}

2
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/init.jsp

@ -28,8 +28,6 @@
<%@page import="it.tref.liferay.portos.mailmanager.shared.util.MailManagerConstants"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@page import="com.liferay.portal.kernel.util.GetterUtil"%>
<liferay-theme:defineObjects />

1
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/.tern-project

@ -0,0 +1 @@
{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]}

BIN
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/lib/sicilia-sue-connector-portlet-service.jar

File binario non mostrato.

3
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/liferay-display.xml

@ -5,4 +5,7 @@
<category name="category.tools">
<portlet id="sicilia-sue-connector" />
</category>
<category name="category.hidden">
<portlet id="sicilia-sue-administration"></portlet>
</category>
</display>

5
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/liferay-hook.xml

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hook PUBLIC "-//Liferay//DTD Hook 6.2.0//EN" "http://www.liferay.com/dtd/liferay-hook_6_2_0.dtd">
<hook>
<portal-properties>portal.properties</portal-properties>
</hook>

9
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/liferay-plugin-package.properties

@ -9,4 +9,11 @@ page-url=http://www.liferay.com
author=Liferay, Inc.
licenses=LGPL
liferay-versions=6.2.0+
required-deployment-contexts=portos-bo-portlet
portal-dependency-jars=\
commons-codec.jar,\
commons-io.jar,\
commons-lang.jar,\
jstl-api.jar,\
jstl-impl.jar
portal-dependency-tlds=c.tld
required-deployment-contexts=portos-bo-portlet

9
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/liferay-portlet.xml

@ -9,6 +9,15 @@
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
<css-class-wrapper>sicilia-sue-connector</css-class-wrapper>
</portlet>
<portlet>
<portlet-name>sicilia-sue-administration</portlet-name>
<icon>/icon.png</icon>
<control-panel-entry-category>configuration</control-panel-entry-category>
<control-panel-entry-weight>1.6</control-panel-entry-weight>
<header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
<css-class-wrapper>sicilia-sue-administration</css-class-wrapper>
</portlet>
<role-mapper>
<role-name>administrator</role-name>
<role-link>Administrator</role-link>

33
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/portlet.xml

@ -13,6 +13,7 @@
<supports>
<mime-type>text/html</mime-type>
</supports>
<resource-bundle>content.Language</resource-bundle>
<portlet-info>
<title>Sicilia SUE Connector</title>
<short-title>Sicilia SUE Connector</short-title>
@ -31,4 +32,36 @@
<role-name>user</role-name>
</security-role-ref>
</portlet>
<portlet>
<portlet-name>sicilia-sue-administration</portlet-name>
<display-name>Amministrazione Connettore SUE</display-name>
<portlet-class>it.mwg.sicilia.sue.portlet.SueAdministrationPortlet</portlet-class>
<init-param>
<name>view-template</name>
<value>/html/administration/view.jsp</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<resource-bundle>content.Language</resource-bundle>
<portlet-info>
<title>Amministrazione Connettore SUE</title>
<short-title>Amministrazione Connettore SUE</short-title>
<keywords></keywords>
</portlet-info>
<security-role-ref>
<role-name>administrator</role-name>
</security-role-ref>
<security-role-ref>
<role-name>guest</role-name>
</security-role-ref>
<security-role-ref>
<role-name>power-user</role-name>
</security-role-ref>
<security-role-ref>
<role-name>user</role-name>
</security-role-ref>
</portlet>
</portlet-app>

36
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service.xml

@ -10,12 +10,44 @@
<column name="groupId" type="long" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="createUserId" type="long" />
<column name="createUserName" type="String" />
<column name="modifiedDate" type="Date" />
<column name="modifiedUserId" type="long" />
<column name="modifiedUserName" type="String" />
<!-- Other fields -->
<column name="userName" type="String" />
<column name="email" type="String" />
<column name="comuneId" type="long" />
<column name="attivo" type="boolean" />
<!-- Password -->
<column name="password" type="String" />
<column name="passwordModifiedDate" type="Date" />
<column name="passwordModifiedUserId" type="long" />
<column name="passwordModifiedUserName" type="String" />
<!-- Order -->
<!-- Finder methods -->
<finder return-type="Sportello" name="ComuneId" unique="true">
<finder-column name="comuneId" />
</finder>
<finder return-type="Sportello" name="UserName" unique="true">
<finder-column name="userName" />
</finder>
</entity>
<entity name="ApiSetting" local-service="true" remote-service="true">
<column name="id" type="long" primary="true" />
<column name="companyId" type="long" />
<column name="key" type="long" />
<column name="value" type="String" />
<finder return-type="ApiSetting" unique="true" name="CompanyIdKey">
<finder-column name="companyId" />
<finder-column name="key" />
</finder>
</entity>
<exceptions>
<exception>ExpiredToken</exception>
<exception>InactiveSportello</exception>
<exception>InvalidToken</exception>
</exceptions>
</service-builder>

40
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/ExpiredTokenException.java

@ -0,0 +1,40 @@
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue;
import com.liferay.portal.kernel.exception.PortalException;
/**
* @author Manifattura Web Group Srl
*/
public class ExpiredTokenException extends PortalException {
public ExpiredTokenException() {
super();
}
public ExpiredTokenException(String msg) {
super(msg);
}
public ExpiredTokenException(String msg, Throwable cause) {
super(msg, cause);
}
public ExpiredTokenException(Throwable cause) {
super(cause);
}
}

40
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/InactiveSportelloException.java

@ -0,0 +1,40 @@
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue;
import com.liferay.portal.kernel.exception.PortalException;
/**
* @author Manifattura Web Group Srl
*/
public class InactiveSportelloException extends PortalException {
public InactiveSportelloException() {
super();
}
public InactiveSportelloException(String msg) {
super(msg);
}
public InactiveSportelloException(String msg, Throwable cause) {
super(msg, cause);
}
public InactiveSportelloException(Throwable cause) {
super(cause);
}
}

40
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/InvalidTokenException.java

@ -0,0 +1,40 @@
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue;
import com.liferay.portal.kernel.exception.PortalException;
/**
* @author Manifattura Web Group Srl
*/
public class InvalidTokenException extends PortalException {
public InvalidTokenException() {
super();
}
public InvalidTokenException(String msg) {
super(msg);
}
public InvalidTokenException(String msg, Throwable cause) {
super(msg, cause);
}
public InvalidTokenException(Throwable cause) {
super(cause);
}
}

40
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/NoSuchApiSettingException.java

@ -0,0 +1,40 @@
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue;
import com.liferay.portal.NoSuchModelException;
/**
* @author Manifattura Web Group Srl
*/
public class NoSuchApiSettingException extends NoSuchModelException {
public NoSuchApiSettingException() {
super();
}
public NoSuchApiSettingException(String msg) {
super(msg);
}
public NoSuchApiSettingException(String msg, Throwable cause) {
super(msg, cause);
}
public NoSuchApiSettingException(Throwable cause) {
super(cause);
}
}

34
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSetting.java

@ -0,0 +1,34 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.model;
import com.liferay.portal.model.PersistedModel;
/**
* The extended model interface for the ApiSetting service. Represents a row in the &quot;sicilia_sue_ApiSetting&quot; database table, with each column mapped to a property of this class.
*
* @author Manifattura Web Group Srl
* @see ApiSettingModel
* @see it.mwg.sicilia.sue.model.impl.ApiSettingImpl
* @see it.mwg.sicilia.sue.model.impl.ApiSettingModelImpl
* @generated
*/
public interface ApiSetting extends ApiSettingModel, PersistedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to {@link it.mwg.sicilia.sue.model.impl.ApiSettingImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
}

379
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSettingClp.java

@ -0,0 +1,379 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.model;
import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.util.ProxyUtil;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.impl.BaseModelImpl;
import it.mwg.sicilia.sue.service.ApiSettingLocalServiceUtil;
import it.mwg.sicilia.sue.service.ClpSerializer;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
/**
* @author Manifattura Web Group Srl
*/
public class ApiSettingClp extends BaseModelImpl<ApiSetting>
implements ApiSetting {
public ApiSettingClp() {
}
@Override
public Class<?> getModelClass() {
return ApiSetting.class;
}
@Override
public String getModelClassName() {
return ApiSetting.class.getName();
}
@Override
public long getPrimaryKey() {
return _id;
}
@Override
public void setPrimaryKey(long primaryKey) {
setId(primaryKey);
}
@Override
public Serializable getPrimaryKeyObj() {
return _id;
}
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj) {
setPrimaryKey(((Long)primaryKeyObj).longValue());
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("id", getId());
attributes.put("companyId", getCompanyId());
attributes.put("key", getKey());
attributes.put("value", getValue());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long id = (Long)attributes.get("id");
if (id != null) {
setId(id);
}
Long companyId = (Long)attributes.get("companyId");
if (companyId != null) {
setCompanyId(companyId);
}
Long key = (Long)attributes.get("key");
if (key != null) {
setKey(key);
}
String value = (String)attributes.get("value");
if (value != null) {
setValue(value);
}
}
@Override
public long getId() {
return _id;
}
@Override
public void setId(long id) {
_id = id;
if (_apiSettingRemoteModel != null) {
try {
Class<?> clazz = _apiSettingRemoteModel.getClass();
Method method = clazz.getMethod("setId", long.class);
method.invoke(_apiSettingRemoteModel, id);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getCompanyId() {
return _companyId;
}
@Override
public void setCompanyId(long companyId) {
_companyId = companyId;
if (_apiSettingRemoteModel != null) {
try {
Class<?> clazz = _apiSettingRemoteModel.getClass();
Method method = clazz.getMethod("setCompanyId", long.class);
method.invoke(_apiSettingRemoteModel, companyId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getKey() {
return _key;
}
@Override
public void setKey(long key) {
_key = key;
if (_apiSettingRemoteModel != null) {
try {
Class<?> clazz = _apiSettingRemoteModel.getClass();
Method method = clazz.getMethod("setKey", long.class);
method.invoke(_apiSettingRemoteModel, key);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getValue() {
return _value;
}
@Override
public void setValue(String value) {
_value = value;
if (_apiSettingRemoteModel != null) {
try {
Class<?> clazz = _apiSettingRemoteModel.getClass();
Method method = clazz.getMethod("setValue", String.class);
method.invoke(_apiSettingRemoteModel, value);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
public BaseModel<?> getApiSettingRemoteModel() {
return _apiSettingRemoteModel;
}
public void setApiSettingRemoteModel(BaseModel<?> apiSettingRemoteModel) {
_apiSettingRemoteModel = apiSettingRemoteModel;
}
public Object invokeOnRemoteModel(String methodName,
Class<?>[] parameterTypes, Object[] parameterValues)
throws Exception {
Object[] remoteParameterValues = new Object[parameterValues.length];
for (int i = 0; i < parameterValues.length; i++) {
if (parameterValues[i] != null) {
remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]);
}
}
Class<?> remoteModelClass = _apiSettingRemoteModel.getClass();
ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader();
Class<?>[] remoteParameterTypes = new Class[parameterTypes.length];
for (int i = 0; i < parameterTypes.length; i++) {
if (parameterTypes[i].isPrimitive()) {
remoteParameterTypes[i] = parameterTypes[i];
}
else {
String parameterTypeName = parameterTypes[i].getName();
remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName);
}
}
Method method = remoteModelClass.getMethod(methodName,
remoteParameterTypes);
Object returnValue = method.invoke(_apiSettingRemoteModel,
remoteParameterValues);
if (returnValue != null) {
returnValue = ClpSerializer.translateOutput(returnValue);
}
return returnValue;
}
@Override
public void persist() throws SystemException {
if (this.isNew()) {
ApiSettingLocalServiceUtil.addApiSetting(this);
}
else {
ApiSettingLocalServiceUtil.updateApiSetting(this);
}
}
@Override
public ApiSetting toEscapedModel() {
return (ApiSetting)ProxyUtil.newProxyInstance(ApiSetting.class.getClassLoader(),
new Class[] { ApiSetting.class }, new AutoEscapeBeanHandler(this));
}
@Override
public Object clone() {
ApiSettingClp clone = new ApiSettingClp();
clone.setId(getId());
clone.setCompanyId(getCompanyId());
clone.setKey(getKey());
clone.setValue(getValue());
return clone;
}
@Override
public int compareTo(ApiSetting apiSetting) {
long primaryKey = apiSetting.getPrimaryKey();
if (getPrimaryKey() < primaryKey) {
return -1;
}
else if (getPrimaryKey() > primaryKey) {
return 1;
}
else {
return 0;
}
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ApiSettingClp)) {
return false;
}
ApiSettingClp apiSetting = (ApiSettingClp)obj;
long primaryKey = apiSetting.getPrimaryKey();
if (getPrimaryKey() == primaryKey) {
return true;
}
else {
return false;
}
}
public Class<?> getClpSerializerClass() {
return _clpSerializerClass;
}
@Override
public int hashCode() {
return (int)getPrimaryKey();
}
@Override
public String toString() {
StringBundler sb = new StringBundler(9);
sb.append("{id=");
sb.append(getId());
sb.append(", companyId=");
sb.append(getCompanyId());
sb.append(", key=");
sb.append(getKey());
sb.append(", value=");
sb.append(getValue());
sb.append("}");
return sb.toString();
}
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(16);
sb.append("<model><model-name>");
sb.append("it.mwg.sicilia.sue.model.ApiSetting");
sb.append("</model-name>");
sb.append(
"<column><column-name>id</column-name><column-value><![CDATA[");
sb.append(getId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>companyId</column-name><column-value><![CDATA[");
sb.append(getCompanyId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>key</column-name><column-value><![CDATA[");
sb.append(getKey());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>value</column-name><column-value><![CDATA[");
sb.append(getValue());
sb.append("]]></column-value></column>");
sb.append("</model>");
return sb.toString();
}
private long _id;
private long _companyId;
private long _key;
private String _value;
private BaseModel<?> _apiSettingRemoteModel;
private Class<?> _clpSerializerClass = it.mwg.sicilia.sue.service.ClpSerializer.class;
}

173
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSettingModel.java

@ -0,0 +1,173 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portlet.expando.model.ExpandoBridge;
import java.io.Serializable;
/**
* The base model interface for the ApiSetting service. Represents a row in the &quot;sicilia_sue_ApiSetting&quot; database table, with each column mapped to a property of this class.
*
* <p>
* This interface and its corresponding implementation {@link it.mwg.sicilia.sue.model.impl.ApiSettingModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.mwg.sicilia.sue.model.impl.ApiSettingImpl}.
* </p>
*
* @author Manifattura Web Group Srl
* @see ApiSetting
* @see it.mwg.sicilia.sue.model.impl.ApiSettingImpl
* @see it.mwg.sicilia.sue.model.impl.ApiSettingModelImpl
* @generated
*/
public interface ApiSettingModel extends BaseModel<ApiSetting> {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a api setting model instance should use the {@link ApiSetting} interface instead.
*/
/**
* Returns the primary key of this api setting.
*
* @return the primary key of this api setting
*/
public long getPrimaryKey();
/**
* Sets the primary key of this api setting.
*
* @param primaryKey the primary key of this api setting
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the ID of this api setting.
*
* @return the ID of this api setting
*/
public long getId();
/**
* Sets the ID of this api setting.
*
* @param id the ID of this api setting
*/
public void setId(long id);
/**
* Returns the company ID of this api setting.
*
* @return the company ID of this api setting
*/
public long getCompanyId();
/**
* Sets the company ID of this api setting.
*
* @param companyId the company ID of this api setting
*/
public void setCompanyId(long companyId);
/**
* Returns the key of this api setting.
*
* @return the key of this api setting
*/
public long getKey();
/**
* Sets the key of this api setting.
*
* @param key the key of this api setting
*/
public void setKey(long key);
/**
* Returns the value of this api setting.
*
* @return the value of this api setting
*/
@AutoEscape
public String getValue();
/**
* Sets the value of this api setting.
*
* @param value the value of this api setting
*/
public void setValue(String value);
@Override
public boolean isNew();
@Override
public void setNew(boolean n);
@Override
public boolean isCachedModel();
@Override
public void setCachedModel(boolean cachedModel);
@Override
public boolean isEscapedModel();
@Override
public Serializable getPrimaryKeyObj();
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj);
@Override
public ExpandoBridge getExpandoBridge();
@Override
public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
@Override
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
@Override
public void setExpandoBridgeAttributes(ServiceContext serviceContext);
@Override
public Object clone();
@Override
public int compareTo(it.mwg.sicilia.sue.model.ApiSetting apiSetting);
@Override
public int hashCode();
@Override
public CacheModel<it.mwg.sicilia.sue.model.ApiSetting> toCacheModel();
@Override
public it.mwg.sicilia.sue.model.ApiSetting toEscapedModel();
@Override
public it.mwg.sicilia.sue.model.ApiSetting toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}

125
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSettingSoap.java

@ -0,0 +1,125 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* This class is used by SOAP remote services, specifically {@link it.mwg.sicilia.sue.service.http.ApiSettingServiceSoap}.
*
* @author Manifattura Web Group Srl
* @see it.mwg.sicilia.sue.service.http.ApiSettingServiceSoap
* @generated
*/
public class ApiSettingSoap implements Serializable {
public static ApiSettingSoap toSoapModel(ApiSetting model) {
ApiSettingSoap soapModel = new ApiSettingSoap();
soapModel.setId(model.getId());
soapModel.setCompanyId(model.getCompanyId());
soapModel.setKey(model.getKey());
soapModel.setValue(model.getValue());
return soapModel;
}
public static ApiSettingSoap[] toSoapModels(ApiSetting[] models) {
ApiSettingSoap[] soapModels = new ApiSettingSoap[models.length];
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModel(models[i]);
}
return soapModels;
}
public static ApiSettingSoap[][] toSoapModels(ApiSetting[][] models) {
ApiSettingSoap[][] soapModels = null;
if (models.length > 0) {
soapModels = new ApiSettingSoap[models.length][models[0].length];
}
else {
soapModels = new ApiSettingSoap[0][0];
}
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModels(models[i]);
}
return soapModels;
}
public static ApiSettingSoap[] toSoapModels(List<ApiSetting> models) {
List<ApiSettingSoap> soapModels = new ArrayList<ApiSettingSoap>(models.size());
for (ApiSetting model : models) {
soapModels.add(toSoapModel(model));
}
return soapModels.toArray(new ApiSettingSoap[soapModels.size()]);
}
public ApiSettingSoap() {
}
public long getPrimaryKey() {
return _id;
}
public void setPrimaryKey(long pk) {
setId(pk);
}
public long getId() {
return _id;
}
public void setId(long id) {
_id = id;
}
public long getCompanyId() {
return _companyId;
}
public void setCompanyId(long companyId) {
_companyId = companyId;
}
public long getKey() {
return _key;
}
public void setKey(long key) {
_key = key;
}
public String getValue() {
return _value;
}
public void setValue(String value) {
_value = value;
}
private long _id;
private long _companyId;
private long _key;
private String _value;
}

327
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/ApiSettingWrapper.java

@ -0,0 +1,327 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.model;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.model.ModelWrapper;
import java.util.HashMap;
import java.util.Map;
/**
* <p>
* This class is a wrapper for {@link ApiSetting}.
* </p>
*
* @author Manifattura Web Group Srl
* @see ApiSetting
* @generated
*/
public class ApiSettingWrapper implements ApiSetting, ModelWrapper<ApiSetting> {
public ApiSettingWrapper(ApiSetting apiSetting) {
_apiSetting = apiSetting;
}
@Override
public Class<?> getModelClass() {
return ApiSetting.class;
}
@Override
public String getModelClassName() {
return ApiSetting.class.getName();
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("id", getId());
attributes.put("companyId", getCompanyId());
attributes.put("key", getKey());
attributes.put("value", getValue());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long id = (Long)attributes.get("id");
if (id != null) {
setId(id);
}
Long companyId = (Long)attributes.get("companyId");
if (companyId != null) {
setCompanyId(companyId);
}
Long key = (Long)attributes.get("key");
if (key != null) {
setKey(key);
}
String value = (String)attributes.get("value");
if (value != null) {
setValue(value);
}
}
/**
* Returns the primary key of this api setting.
*
* @return the primary key of this api setting
*/
@Override
public long getPrimaryKey() {
return _apiSetting.getPrimaryKey();
}
/**
* Sets the primary key of this api setting.
*
* @param primaryKey the primary key of this api setting
*/
@Override
public void setPrimaryKey(long primaryKey) {
_apiSetting.setPrimaryKey(primaryKey);
}
/**
* Returns the ID of this api setting.
*
* @return the ID of this api setting
*/
@Override
public long getId() {
return _apiSetting.getId();
}
/**
* Sets the ID of this api setting.
*
* @param id the ID of this api setting
*/
@Override
public void setId(long id) {
_apiSetting.setId(id);
}
/**
* Returns the company ID of this api setting.
*
* @return the company ID of this api setting
*/
@Override
public long getCompanyId() {
return _apiSetting.getCompanyId();
}
/**
* Sets the company ID of this api setting.
*
* @param companyId the company ID of this api setting
*/
@Override
public void setCompanyId(long companyId) {
_apiSetting.setCompanyId(companyId);
}
/**
* Returns the key of this api setting.
*
* @return the key of this api setting
*/
@Override
public long getKey() {
return _apiSetting.getKey();
}
/**
* Sets the key of this api setting.
*
* @param key the key of this api setting
*/
@Override
public void setKey(long key) {
_apiSetting.setKey(key);
}
/**
* Returns the value of this api setting.
*
* @return the value of this api setting
*/
@Override
public java.lang.String getValue() {
return _apiSetting.getValue();
}
/**
* Sets the value of this api setting.
*
* @param value the value of this api setting
*/
@Override
public void setValue(java.lang.String value) {
_apiSetting.setValue(value);
}
@Override
public boolean isNew() {
return _apiSetting.isNew();
}
@Override
public void setNew(boolean n) {
_apiSetting.setNew(n);
}
@Override
public boolean isCachedModel() {
return _apiSetting.isCachedModel();
}
@Override
public void setCachedModel(boolean cachedModel) {
_apiSetting.setCachedModel(cachedModel);
}
@Override
public boolean isEscapedModel() {
return _apiSetting.isEscapedModel();
}
@Override
public java.io.Serializable getPrimaryKeyObj() {
return _apiSetting.getPrimaryKeyObj();
}
@Override
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
_apiSetting.setPrimaryKeyObj(primaryKeyObj);
}
@Override
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
return _apiSetting.getExpandoBridge();
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.model.BaseModel<?> baseModel) {
_apiSetting.setExpandoBridgeAttributes(baseModel);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
_apiSetting.setExpandoBridgeAttributes(expandoBridge);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.service.ServiceContext serviceContext) {
_apiSetting.setExpandoBridgeAttributes(serviceContext);
}
@Override
public java.lang.Object clone() {
return new ApiSettingWrapper((ApiSetting)_apiSetting.clone());
}
@Override
public int compareTo(it.mwg.sicilia.sue.model.ApiSetting apiSetting) {
return _apiSetting.compareTo(apiSetting);
}
@Override
public int hashCode() {
return _apiSetting.hashCode();
}
@Override
public com.liferay.portal.model.CacheModel<it.mwg.sicilia.sue.model.ApiSetting> toCacheModel() {
return _apiSetting.toCacheModel();
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting toEscapedModel() {
return new ApiSettingWrapper(_apiSetting.toEscapedModel());
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting toUnescapedModel() {
return new ApiSettingWrapper(_apiSetting.toUnescapedModel());
}
@Override
public java.lang.String toString() {
return _apiSetting.toString();
}
@Override
public java.lang.String toXmlString() {
return _apiSetting.toXmlString();
}
@Override
public void persist()
throws com.liferay.portal.kernel.exception.SystemException {
_apiSetting.persist();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ApiSettingWrapper)) {
return false;
}
ApiSettingWrapper apiSettingWrapper = (ApiSettingWrapper)obj;
if (Validator.equals(_apiSetting, apiSettingWrapper._apiSetting)) {
return true;
}
return false;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
*/
public ApiSetting getWrappedApiSetting() {
return _apiSetting;
}
@Override
public ApiSetting getWrappedModel() {
return _apiSetting;
}
@Override
public void resetOriginalValues() {
_apiSetting.resetOriginalValues();
}
private ApiSetting _apiSetting;
}

22
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/Sportello.java

@ -31,4 +31,26 @@ public interface Sportello extends SportelloModel, PersistedModel {
*
* Never modify this interface directly. Add methods to {@link it.mwg.sicilia.sue.model.impl.SportelloImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
public java.lang.String encryptPassword(java.lang.String password);
public boolean checkPassword(java.lang.String password);
public void setEncryptedPassword(java.lang.String password,
com.liferay.portal.model.User user);
public java.lang.String getCodiceProvincia()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.lang.String getNomeComune()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.lang.String getNomeProvincia()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.Comune getComune()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
}

650
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/SportelloClp.java

@ -77,10 +77,20 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
attributes.put("sportelloId", getSportelloId());
attributes.put("groupId", getGroupId());
attributes.put("companyId", getCompanyId());
attributes.put("userId", getUserId());
attributes.put("userName", getUserName());
attributes.put("createDate", getCreateDate());
attributes.put("createUserId", getCreateUserId());
attributes.put("createUserName", getCreateUserName());
attributes.put("modifiedDate", getModifiedDate());
attributes.put("modifiedUserId", getModifiedUserId());
attributes.put("modifiedUserName", getModifiedUserName());
attributes.put("userName", getUserName());
attributes.put("email", getEmail());
attributes.put("comuneId", getComuneId());
attributes.put("attivo", getAttivo());
attributes.put("password", getPassword());
attributes.put("passwordModifiedDate", getPasswordModifiedDate());
attributes.put("passwordModifiedUserId", getPasswordModifiedUserId());
attributes.put("passwordModifiedUserName", getPasswordModifiedUserName());
return attributes;
}
@ -105,22 +115,22 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
setCompanyId(companyId);
}
Long userId = (Long)attributes.get("userId");
Date createDate = (Date)attributes.get("createDate");
if (userId != null) {
setUserId(userId);
if (createDate != null) {
setCreateDate(createDate);
}
String userName = (String)attributes.get("userName");
Long createUserId = (Long)attributes.get("createUserId");
if (userName != null) {
setUserName(userName);
if (createUserId != null) {
setCreateUserId(createUserId);
}
Date createDate = (Date)attributes.get("createDate");
String createUserName = (String)attributes.get("createUserName");
if (createDate != null) {
setCreateDate(createDate);
if (createUserName != null) {
setCreateUserName(createUserName);
}
Date modifiedDate = (Date)attributes.get("modifiedDate");
@ -128,6 +138,68 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
if (modifiedDate != null) {
setModifiedDate(modifiedDate);
}
Long modifiedUserId = (Long)attributes.get("modifiedUserId");
if (modifiedUserId != null) {
setModifiedUserId(modifiedUserId);
}
String modifiedUserName = (String)attributes.get("modifiedUserName");
if (modifiedUserName != null) {
setModifiedUserName(modifiedUserName);
}
String userName = (String)attributes.get("userName");
if (userName != null) {
setUserName(userName);
}
String email = (String)attributes.get("email");
if (email != null) {
setEmail(email);
}
Long comuneId = (Long)attributes.get("comuneId");
if (comuneId != null) {
setComuneId(comuneId);
}
Boolean attivo = (Boolean)attributes.get("attivo");
if (attivo != null) {
setAttivo(attivo);
}
String password = (String)attributes.get("password");
if (password != null) {
setPassword(password);
}
Date passwordModifiedDate = (Date)attributes.get("passwordModifiedDate");
if (passwordModifiedDate != null) {
setPasswordModifiedDate(passwordModifiedDate);
}
Long passwordModifiedUserId = (Long)attributes.get(
"passwordModifiedUserId");
if (passwordModifiedUserId != null) {
setPasswordModifiedUserId(passwordModifiedUserId);
}
String passwordModifiedUserName = (String)attributes.get(
"passwordModifiedUserName");
if (passwordModifiedUserName != null) {
setPasswordModifiedUserName(passwordModifiedUserName);
}
}
@Override
@ -200,21 +272,125 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
}
@Override
public long getUserId() {
return _userId;
public Date getCreateDate() {
return _createDate;
}
@Override
public void setCreateDate(Date createDate) {
_createDate = createDate;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setCreateDate", Date.class);
method.invoke(_sportelloRemoteModel, createDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getCreateUserId() {
return _createUserId;
}
@Override
public void setCreateUserId(long createUserId) {
_createUserId = createUserId;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setCreateUserId", long.class);
method.invoke(_sportelloRemoteModel, createUserId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getCreateUserUuid() throws SystemException {
return PortalUtil.getUserValue(getCreateUserId(), "uuid",
_createUserUuid);
}
@Override
public void setCreateUserUuid(String createUserUuid) {
_createUserUuid = createUserUuid;
}
@Override
public String getCreateUserName() {
return _createUserName;
}
@Override
public void setCreateUserName(String createUserName) {
_createUserName = createUserName;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setCreateUserName",
String.class);
method.invoke(_sportelloRemoteModel, createUserName);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getModifiedDate() {
return _modifiedDate;
}
@Override
public void setModifiedDate(Date modifiedDate) {
_modifiedDate = modifiedDate;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setModifiedDate", Date.class);
method.invoke(_sportelloRemoteModel, modifiedDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getModifiedUserId() {
return _modifiedUserId;
}
@Override
public void setUserId(long userId) {
_userId = userId;
public void setModifiedUserId(long modifiedUserId) {
_modifiedUserId = modifiedUserId;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setUserId", long.class);
Method method = clazz.getMethod("setModifiedUserId", long.class);
method.invoke(_sportelloRemoteModel, userId);
method.invoke(_sportelloRemoteModel, modifiedUserId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
@ -223,13 +399,38 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
}
@Override
public String getUserUuid() throws SystemException {
return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
public String getModifiedUserUuid() throws SystemException {
return PortalUtil.getUserValue(getModifiedUserId(), "uuid",
_modifiedUserUuid);
}
@Override
public void setModifiedUserUuid(String modifiedUserUuid) {
_modifiedUserUuid = modifiedUserUuid;
}
@Override
public String getModifiedUserName() {
return _modifiedUserName;
}
@Override
public void setUserUuid(String userUuid) {
_userUuid = userUuid;
public void setModifiedUserName(String modifiedUserName) {
_modifiedUserName = modifiedUserName;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setModifiedUserName",
String.class);
method.invoke(_sportelloRemoteModel, modifiedUserName);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
@ -256,21 +457,21 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
}
@Override
public Date getCreateDate() {
return _createDate;
public String getEmail() {
return _email;
}
@Override
public void setCreateDate(Date createDate) {
_createDate = createDate;
public void setEmail(String email) {
_email = email;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setCreateDate", Date.class);
Method method = clazz.getMethod("setEmail", String.class);
method.invoke(_sportelloRemoteModel, createDate);
method.invoke(_sportelloRemoteModel, email);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
@ -279,21 +480,21 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
}
@Override
public Date getModifiedDate() {
return _modifiedDate;
public long getComuneId() {
return _comuneId;
}
@Override
public void setModifiedDate(Date modifiedDate) {
_modifiedDate = modifiedDate;
public void setComuneId(long comuneId) {
_comuneId = comuneId;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setModifiedDate", Date.class);
Method method = clazz.getMethod("setComuneId", long.class);
method.invoke(_sportelloRemoteModel, modifiedDate);
method.invoke(_sportelloRemoteModel, comuneId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
@ -301,6 +502,273 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
}
}
@Override
public boolean getAttivo() {
return _attivo;
}
@Override
public boolean isAttivo() {
return _attivo;
}
@Override
public void setAttivo(boolean attivo) {
_attivo = attivo;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setAttivo", boolean.class);
method.invoke(_sportelloRemoteModel, attivo);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getPassword() {
return _password;
}
@Override
public void setPassword(String password) {
_password = password;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setPassword", String.class);
method.invoke(_sportelloRemoteModel, password);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getPasswordModifiedDate() {
return _passwordModifiedDate;
}
@Override
public void setPasswordModifiedDate(Date passwordModifiedDate) {
_passwordModifiedDate = passwordModifiedDate;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setPasswordModifiedDate",
Date.class);
method.invoke(_sportelloRemoteModel, passwordModifiedDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getPasswordModifiedUserId() {
return _passwordModifiedUserId;
}
@Override
public void setPasswordModifiedUserId(long passwordModifiedUserId) {
_passwordModifiedUserId = passwordModifiedUserId;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setPasswordModifiedUserId",
long.class);
method.invoke(_sportelloRemoteModel, passwordModifiedUserId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getPasswordModifiedUserUuid() throws SystemException {
return PortalUtil.getUserValue(getPasswordModifiedUserId(), "uuid",
_passwordModifiedUserUuid);
}
@Override
public void setPasswordModifiedUserUuid(String passwordModifiedUserUuid) {
_passwordModifiedUserUuid = passwordModifiedUserUuid;
}
@Override
public String getPasswordModifiedUserName() {
return _passwordModifiedUserName;
}
@Override
public void setPasswordModifiedUserName(String passwordModifiedUserName) {
_passwordModifiedUserName = passwordModifiedUserName;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setPasswordModifiedUserName",
String.class);
method.invoke(_sportelloRemoteModel, passwordModifiedUserName);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public java.lang.String encryptPassword(java.lang.String password) {
try {
String methodName = "encryptPassword";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { password };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getNomeComune() {
try {
String methodName = "getNomeComune";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getCodiceProvincia() {
try {
String methodName = "getCodiceProvincia";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public java.lang.String getNomeProvincia() {
try {
String methodName = "getNomeProvincia";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public it.tref.liferay.portos.bo.model.Comune getComune() {
try {
String methodName = "getComune";
Class<?>[] parameterTypes = new Class<?>[] { };
Object[] parameterValues = new Object[] { };
it.tref.liferay.portos.bo.model.Comune returnObj = (it.tref.liferay.portos.bo.model.Comune)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public boolean checkPassword(java.lang.String password) {
try {
String methodName = "checkPassword";
Class<?>[] parameterTypes = new Class<?>[] { java.lang.String.class };
Object[] parameterValues = new Object[] { password };
Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
parameterTypes, parameterValues);
return returnObj;
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
@Override
public void setEncryptedPassword(java.lang.String password,
com.liferay.portal.model.User user) {
try {
String methodName = "setEncryptedPassword";
Class<?>[] parameterTypes = new Class<?>[] {
java.lang.String.class, com.liferay.portal.model.User.class
};
Object[] parameterValues = new Object[] { password, user };
invokeOnRemoteModel(methodName, parameterTypes, parameterValues);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
public BaseModel<?> getSportelloRemoteModel() {
return _sportelloRemoteModel;
}
@ -373,10 +841,20 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
clone.setSportelloId(getSportelloId());
clone.setGroupId(getGroupId());
clone.setCompanyId(getCompanyId());
clone.setUserId(getUserId());
clone.setUserName(getUserName());
clone.setCreateDate(getCreateDate());
clone.setCreateUserId(getCreateUserId());
clone.setCreateUserName(getCreateUserName());
clone.setModifiedDate(getModifiedDate());
clone.setModifiedUserId(getModifiedUserId());
clone.setModifiedUserName(getModifiedUserName());
clone.setUserName(getUserName());
clone.setEmail(getEmail());
clone.setComuneId(getComuneId());
clone.setAttivo(getAttivo());
clone.setPassword(getPassword());
clone.setPasswordModifiedDate(getPasswordModifiedDate());
clone.setPasswordModifiedUserId(getPasswordModifiedUserId());
clone.setPasswordModifiedUserName(getPasswordModifiedUserName());
return clone;
}
@ -429,7 +907,7 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
@Override
public String toString() {
StringBundler sb = new StringBundler(15);
StringBundler sb = new StringBundler(35);
sb.append("{sportelloId=");
sb.append(getSportelloId());
@ -437,14 +915,34 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
sb.append(getGroupId());
sb.append(", companyId=");
sb.append(getCompanyId());
sb.append(", userId=");
sb.append(getUserId());
sb.append(", userName=");
sb.append(getUserName());
sb.append(", createDate=");
sb.append(getCreateDate());
sb.append(", createUserId=");
sb.append(getCreateUserId());
sb.append(", createUserName=");
sb.append(getCreateUserName());
sb.append(", modifiedDate=");
sb.append(getModifiedDate());
sb.append(", modifiedUserId=");
sb.append(getModifiedUserId());
sb.append(", modifiedUserName=");
sb.append(getModifiedUserName());
sb.append(", userName=");
sb.append(getUserName());
sb.append(", email=");
sb.append(getEmail());
sb.append(", comuneId=");
sb.append(getComuneId());
sb.append(", attivo=");
sb.append(getAttivo());
sb.append(", password=");
sb.append(getPassword());
sb.append(", passwordModifiedDate=");
sb.append(getPasswordModifiedDate());
sb.append(", passwordModifiedUserId=");
sb.append(getPasswordModifiedUserId());
sb.append(", passwordModifiedUserName=");
sb.append(getPasswordModifiedUserName());
sb.append("}");
return sb.toString();
@ -452,7 +950,7 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(25);
StringBundler sb = new StringBundler(55);
sb.append("<model><model-name>");
sb.append("it.mwg.sicilia.sue.model.Sportello");
@ -471,21 +969,61 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
sb.append(getCompanyId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>userId</column-name><column-value><![CDATA[");
sb.append(getUserId());
"<column><column-name>createDate</column-name><column-value><![CDATA[");
sb.append(getCreateDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>userName</column-name><column-value><![CDATA[");
sb.append(getUserName());
"<column><column-name>createUserId</column-name><column-value><![CDATA[");
sb.append(getCreateUserId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>createDate</column-name><column-value><![CDATA[");
sb.append(getCreateDate());
"<column><column-name>createUserName</column-name><column-value><![CDATA[");
sb.append(getCreateUserName());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
sb.append(getModifiedDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>modifiedUserId</column-name><column-value><![CDATA[");
sb.append(getModifiedUserId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>modifiedUserName</column-name><column-value><![CDATA[");
sb.append(getModifiedUserName());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>userName</column-name><column-value><![CDATA[");
sb.append(getUserName());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>email</column-name><column-value><![CDATA[");
sb.append(getEmail());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>comuneId</column-name><column-value><![CDATA[");
sb.append(getComuneId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>attivo</column-name><column-value><![CDATA[");
sb.append(getAttivo());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>password</column-name><column-value><![CDATA[");
sb.append(getPassword());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>passwordModifiedDate</column-name><column-value><![CDATA[");
sb.append(getPasswordModifiedDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>passwordModifiedUserId</column-name><column-value><![CDATA[");
sb.append(getPasswordModifiedUserId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>passwordModifiedUserName</column-name><column-value><![CDATA[");
sb.append(getPasswordModifiedUserName());
sb.append("]]></column-value></column>");
sb.append("</model>");
@ -495,11 +1033,23 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
private long _sportelloId;
private long _groupId;
private long _companyId;
private long _userId;
private String _userUuid;
private String _userName;
private Date _createDate;
private long _createUserId;
private String _createUserUuid;
private String _createUserName;
private Date _modifiedDate;
private long _modifiedUserId;
private String _modifiedUserUuid;
private String _modifiedUserName;
private String _userName;
private String _email;
private long _comuneId;
private boolean _attivo;
private String _password;
private Date _passwordModifiedDate;
private long _passwordModifiedUserId;
private String _passwordModifiedUserUuid;
private String _passwordModifiedUserName;
private BaseModel<?> _sportelloRemoteModel;
private Class<?> _clpSerializerClass = it.mwg.sicilia.sue.service.ClpSerializer.class;
}

247
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/SportelloModel.java

@ -18,7 +18,6 @@ import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.model.GroupedModel;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portlet.expando.model.ExpandoBridge;
@ -40,7 +39,7 @@ import java.util.Date;
* @see it.mwg.sicilia.sue.model.impl.SportelloModelImpl
* @generated
*/
public interface SportelloModel extends BaseModel<Sportello>, GroupedModel {
public interface SportelloModel extends BaseModel<Sportello> {
/*
* NOTE FOR DEVELOPERS:
*
@ -80,7 +79,6 @@ public interface SportelloModel extends BaseModel<Sportello>, GroupedModel {
*
* @return the group ID of this sportello
*/
@Override
public long getGroupId();
/**
@ -88,7 +86,6 @@ public interface SportelloModel extends BaseModel<Sportello>, GroupedModel {
*
* @param groupId the group ID of this sportello
*/
@Override
public void setGroupId(long groupId);
/**
@ -96,7 +93,6 @@ public interface SportelloModel extends BaseModel<Sportello>, GroupedModel {
*
* @return the company ID of this sportello
*/
@Override
public long getCompanyId();
/**
@ -104,41 +100,123 @@ public interface SportelloModel extends BaseModel<Sportello>, GroupedModel {
*
* @param companyId the company ID of this sportello
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this sportello.
* Returns the create date of this sportello.
*
* @return the user ID of this sportello
* @return the create date of this sportello
*/
@Override
public long getUserId();
public Date getCreateDate();
/**
* Sets the user ID of this sportello.
* Sets the create date of this sportello.
*
* @param userId the user ID of this sportello
* @param createDate the create date of this sportello
*/
@Override
public void setUserId(long userId);
public void setCreateDate(Date createDate);
/**
* Returns the user uuid of this sportello.
* Returns the create user ID of this sportello.
*
* @return the user uuid of this sportello
* @return the create user ID of this sportello
*/
public long getCreateUserId();
/**
* Sets the create user ID of this sportello.
*
* @param createUserId the create user ID of this sportello
*/
public void setCreateUserId(long createUserId);
/**
* Returns the create user uuid of this sportello.
*
* @return the create user uuid of this sportello
* @throws SystemException if a system exception occurred
*/
@Override
public String getUserUuid() throws SystemException;
public String getCreateUserUuid() throws SystemException;
/**
* Sets the user uuid of this sportello.
* Sets the create user uuid of this sportello.
*
* @param userUuid the user uuid of this sportello
* @param createUserUuid the create user uuid of this sportello
*/
@Override
public void setUserUuid(String userUuid);
public void setCreateUserUuid(String createUserUuid);
/**
* Returns the create user name of this sportello.
*
* @return the create user name of this sportello
*/
@AutoEscape
public String getCreateUserName();
/**
* Sets the create user name of this sportello.
*
* @param createUserName the create user name of this sportello
*/
public void setCreateUserName(String createUserName);
/**
* Returns the modified date of this sportello.
*
* @return the modified date of this sportello
*/
public Date getModifiedDate();
/**
* Sets the modified date of this sportello.
*
* @param modifiedDate the modified date of this sportello
*/
public void setModifiedDate(Date modifiedDate);
/**
* Returns the modified user ID of this sportello.
*
* @return the modified user ID of this sportello
*/
public long getModifiedUserId();
/**
* Sets the modified user ID of this sportello.
*
* @param modifiedUserId the modified user ID of this sportello
*/
public void setModifiedUserId(long modifiedUserId);
/**
* Returns the modified user uuid of this sportello.
*
* @return the modified user uuid of this sportello
* @throws SystemException if a system exception occurred
*/
public String getModifiedUserUuid() throws SystemException;
/**
* Sets the modified user uuid of this sportello.
*
* @param modifiedUserUuid the modified user uuid of this sportello
*/
public void setModifiedUserUuid(String modifiedUserUuid);
/**
* Returns the modified user name of this sportello.
*
* @return the modified user name of this sportello
*/
@AutoEscape
public String getModifiedUserName();
/**
* Sets the modified user name of this sportello.
*
* @param modifiedUserName the modified user name of this sportello
*/
public void setModifiedUserName(String modifiedUserName);
/**
* Returns the user name of this sportello.
@ -146,7 +224,6 @@ public interface SportelloModel extends BaseModel<Sportello>, GroupedModel {
* @return the user name of this sportello
*/
@AutoEscape
@Override
public String getUserName();
/**
@ -154,40 +231,130 @@ public interface SportelloModel extends BaseModel<Sportello>, GroupedModel {
*
* @param userName the user name of this sportello
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this sportello.
* Returns the email of this sportello.
*
* @return the create date of this sportello
* @return the email of this sportello
*/
@Override
public Date getCreateDate();
@AutoEscape
public String getEmail();
/**
* Sets the create date of this sportello.
* Sets the email of this sportello.
*
* @param createDate the create date of this sportello
* @param email the email of this sportello
*/
@Override
public void setCreateDate(Date createDate);
public void setEmail(String email);
/**
* Returns the modified date of this sportello.
* Returns the comune ID of this sportello.
*
* @return the modified date of this sportello
* @return the comune ID of this sportello
*/
@Override
public Date getModifiedDate();
public long getComuneId();
/**
* Sets the modified date of this sportello.
* Sets the comune ID of this sportello.
*
* @param modifiedDate the modified date of this sportello
* @param comuneId the comune ID of this sportello
*/
@Override
public void setModifiedDate(Date modifiedDate);
public void setComuneId(long comuneId);
/**
* Returns the attivo of this sportello.
*
* @return the attivo of this sportello
*/
public boolean getAttivo();
/**
* Returns <code>true</code> if this sportello is attivo.
*
* @return <code>true</code> if this sportello is attivo; <code>false</code> otherwise
*/
public boolean isAttivo();
/**
* Sets whether this sportello is attivo.
*
* @param attivo the attivo of this sportello
*/
public void setAttivo(boolean attivo);
/**
* Returns the password of this sportello.
*
* @return the password of this sportello
*/
@AutoEscape
public String getPassword();
/**
* Sets the password of this sportello.
*
* @param password the password of this sportello
*/
public void setPassword(String password);
/**
* Returns the password modified date of this sportello.
*
* @return the password modified date of this sportello
*/
public Date getPasswordModifiedDate();
/**
* Sets the password modified date of this sportello.
*
* @param passwordModifiedDate the password modified date of this sportello
*/
public void setPasswordModifiedDate(Date passwordModifiedDate);
/**
* Returns the password modified user ID of this sportello.
*
* @return the password modified user ID of this sportello
*/
public long getPasswordModifiedUserId();
/**
* Sets the password modified user ID of this sportello.
*
* @param passwordModifiedUserId the password modified user ID of this sportello
*/
public void setPasswordModifiedUserId(long passwordModifiedUserId);
/**
* Returns the password modified user uuid of this sportello.
*
* @return the password modified user uuid of this sportello
* @throws SystemException if a system exception occurred
*/
public String getPasswordModifiedUserUuid() throws SystemException;
/**
* Sets the password modified user uuid of this sportello.
*
* @param passwordModifiedUserUuid the password modified user uuid of this sportello
*/
public void setPasswordModifiedUserUuid(String passwordModifiedUserUuid);
/**
* Returns the password modified user name of this sportello.
*
* @return the password modified user name of this sportello
*/
@AutoEscape
public String getPasswordModifiedUserName();
/**
* Sets the password modified user name of this sportello.
*
* @param passwordModifiedUserName the password modified user name of this sportello
*/
public void setPasswordModifiedUserName(String passwordModifiedUserName);
@Override
public boolean isNew();

136
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/SportelloSoap.java

@ -34,10 +34,20 @@ public class SportelloSoap implements Serializable {
soapModel.setSportelloId(model.getSportelloId());
soapModel.setGroupId(model.getGroupId());
soapModel.setCompanyId(model.getCompanyId());
soapModel.setUserId(model.getUserId());
soapModel.setUserName(model.getUserName());
soapModel.setCreateDate(model.getCreateDate());
soapModel.setCreateUserId(model.getCreateUserId());
soapModel.setCreateUserName(model.getCreateUserName());
soapModel.setModifiedDate(model.getModifiedDate());
soapModel.setModifiedUserId(model.getModifiedUserId());
soapModel.setModifiedUserName(model.getModifiedUserName());
soapModel.setUserName(model.getUserName());
soapModel.setEmail(model.getEmail());
soapModel.setComuneId(model.getComuneId());
soapModel.setAttivo(model.getAttivo());
soapModel.setPassword(model.getPassword());
soapModel.setPasswordModifiedDate(model.getPasswordModifiedDate());
soapModel.setPasswordModifiedUserId(model.getPasswordModifiedUserId());
soapModel.setPasswordModifiedUserName(model.getPasswordModifiedUserName());
return soapModel;
}
@ -114,28 +124,28 @@ public class SportelloSoap implements Serializable {
_companyId = companyId;
}
public long getUserId() {
return _userId;
public Date getCreateDate() {
return _createDate;
}
public void setUserId(long userId) {
_userId = userId;
public void setCreateDate(Date createDate) {
_createDate = createDate;
}
public String getUserName() {
return _userName;
public long getCreateUserId() {
return _createUserId;
}
public void setUserName(String userName) {
_userName = userName;
public void setCreateUserId(long createUserId) {
_createUserId = createUserId;
}
public Date getCreateDate() {
return _createDate;
public String getCreateUserName() {
return _createUserName;
}
public void setCreateDate(Date createDate) {
_createDate = createDate;
public void setCreateUserName(String createUserName) {
_createUserName = createUserName;
}
public Date getModifiedDate() {
@ -146,11 +156,105 @@ public class SportelloSoap implements Serializable {
_modifiedDate = modifiedDate;
}
public long getModifiedUserId() {
return _modifiedUserId;
}
public void setModifiedUserId(long modifiedUserId) {
_modifiedUserId = modifiedUserId;
}
public String getModifiedUserName() {
return _modifiedUserName;
}
public void setModifiedUserName(String modifiedUserName) {
_modifiedUserName = modifiedUserName;
}
public String getUserName() {
return _userName;
}
public void setUserName(String userName) {
_userName = userName;
}
public String getEmail() {
return _email;
}
public void setEmail(String email) {
_email = email;
}
public long getComuneId() {
return _comuneId;
}
public void setComuneId(long comuneId) {
_comuneId = comuneId;
}
public boolean getAttivo() {
return _attivo;
}
public boolean isAttivo() {
return _attivo;
}
public void setAttivo(boolean attivo) {
_attivo = attivo;
}
public String getPassword() {
return _password;
}
public void setPassword(String password) {
_password = password;
}
public Date getPasswordModifiedDate() {
return _passwordModifiedDate;
}
public void setPasswordModifiedDate(Date passwordModifiedDate) {
_passwordModifiedDate = passwordModifiedDate;
}
public long getPasswordModifiedUserId() {
return _passwordModifiedUserId;
}
public void setPasswordModifiedUserId(long passwordModifiedUserId) {
_passwordModifiedUserId = passwordModifiedUserId;
}
public String getPasswordModifiedUserName() {
return _passwordModifiedUserName;
}
public void setPasswordModifiedUserName(String passwordModifiedUserName) {
_passwordModifiedUserName = passwordModifiedUserName;
}
private long _sportelloId;
private long _groupId;
private long _companyId;
private long _userId;
private String _userName;
private Date _createDate;
private long _createUserId;
private String _createUserName;
private Date _modifiedDate;
private long _modifiedUserId;
private String _modifiedUserName;
private String _userName;
private String _email;
private long _comuneId;
private boolean _attivo;
private String _password;
private Date _passwordModifiedDate;
private long _passwordModifiedUserId;
private String _passwordModifiedUserName;
}

458
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/model/SportelloWrapper.java

@ -52,10 +52,20 @@ public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
attributes.put("sportelloId", getSportelloId());
attributes.put("groupId", getGroupId());
attributes.put("companyId", getCompanyId());
attributes.put("userId", getUserId());
attributes.put("userName", getUserName());
attributes.put("createDate", getCreateDate());
attributes.put("createUserId", getCreateUserId());
attributes.put("createUserName", getCreateUserName());
attributes.put("modifiedDate", getModifiedDate());
attributes.put("modifiedUserId", getModifiedUserId());
attributes.put("modifiedUserName", getModifiedUserName());
attributes.put("userName", getUserName());
attributes.put("email", getEmail());
attributes.put("comuneId", getComuneId());
attributes.put("attivo", getAttivo());
attributes.put("password", getPassword());
attributes.put("passwordModifiedDate", getPasswordModifiedDate());
attributes.put("passwordModifiedUserId", getPasswordModifiedUserId());
attributes.put("passwordModifiedUserName", getPasswordModifiedUserName());
return attributes;
}
@ -80,22 +90,22 @@ public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
setCompanyId(companyId);
}
Long userId = (Long)attributes.get("userId");
Date createDate = (Date)attributes.get("createDate");
if (userId != null) {
setUserId(userId);
if (createDate != null) {
setCreateDate(createDate);
}
String userName = (String)attributes.get("userName");
Long createUserId = (Long)attributes.get("createUserId");
if (userName != null) {
setUserName(userName);
if (createUserId != null) {
setCreateUserId(createUserId);
}
Date createDate = (Date)attributes.get("createDate");
String createUserName = (String)attributes.get("createUserName");
if (createDate != null) {
setCreateDate(createDate);
if (createUserName != null) {
setCreateUserName(createUserName);
}
Date modifiedDate = (Date)attributes.get("modifiedDate");
@ -103,6 +113,68 @@ public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
if (modifiedDate != null) {
setModifiedDate(modifiedDate);
}
Long modifiedUserId = (Long)attributes.get("modifiedUserId");
if (modifiedUserId != null) {
setModifiedUserId(modifiedUserId);
}
String modifiedUserName = (String)attributes.get("modifiedUserName");
if (modifiedUserName != null) {
setModifiedUserName(modifiedUserName);
}
String userName = (String)attributes.get("userName");
if (userName != null) {
setUserName(userName);
}
String email = (String)attributes.get("email");
if (email != null) {
setEmail(email);
}
Long comuneId = (Long)attributes.get("comuneId");
if (comuneId != null) {
setComuneId(comuneId);
}
Boolean attivo = (Boolean)attributes.get("attivo");
if (attivo != null) {
setAttivo(attivo);
}
String password = (String)attributes.get("password");
if (password != null) {
setPassword(password);
}
Date passwordModifiedDate = (Date)attributes.get("passwordModifiedDate");
if (passwordModifiedDate != null) {
setPasswordModifiedDate(passwordModifiedDate);
}
Long passwordModifiedUserId = (Long)attributes.get(
"passwordModifiedUserId");
if (passwordModifiedUserId != null) {
setPasswordModifiedUserId(passwordModifiedUserId);
}
String passwordModifiedUserName = (String)attributes.get(
"passwordModifiedUserName");
if (passwordModifiedUserName != null) {
setPasswordModifiedUserName(passwordModifiedUserName);
}
}
/**
@ -186,45 +258,167 @@ public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
}
/**
* Returns the user ID of this sportello.
* Returns the create date of this sportello.
*
* @return the create date of this sportello
*/
@Override
public java.util.Date getCreateDate() {
return _sportello.getCreateDate();
}
/**
* Sets the create date of this sportello.
*
* @param createDate the create date of this sportello
*/
@Override
public void setCreateDate(java.util.Date createDate) {
_sportello.setCreateDate(createDate);
}
/**
* Returns the create user ID of this sportello.
*
* @return the user ID of this sportello
* @return the create user ID of this sportello
*/
@Override
public long getUserId() {
return _sportello.getUserId();
public long getCreateUserId() {
return _sportello.getCreateUserId();
}
/**
* Sets the user ID of this sportello.
* Sets the create user ID of this sportello.
*
* @param userId the user ID of this sportello
* @param createUserId the create user ID of this sportello
*/
@Override
public void setUserId(long userId) {
_sportello.setUserId(userId);
public void setCreateUserId(long createUserId) {
_sportello.setCreateUserId(createUserId);
}
/**
* Returns the user uuid of this sportello.
* Returns the create user uuid of this sportello.
*
* @return the user uuid of this sportello
* @return the create user uuid of this sportello
* @throws SystemException if a system exception occurred
*/
@Override
public java.lang.String getUserUuid()
public java.lang.String getCreateUserUuid()
throws com.liferay.portal.kernel.exception.SystemException {
return _sportello.getUserUuid();
return _sportello.getCreateUserUuid();
}
/**
* Sets the create user uuid of this sportello.
*
* @param createUserUuid the create user uuid of this sportello
*/
@Override
public void setCreateUserUuid(java.lang.String createUserUuid) {
_sportello.setCreateUserUuid(createUserUuid);
}
/**
* Returns the create user name of this sportello.
*
* @return the create user name of this sportello
*/
@Override
public java.lang.String getCreateUserName() {
return _sportello.getCreateUserName();
}
/**
* Sets the create user name of this sportello.
*
* @param createUserName the create user name of this sportello
*/
@Override
public void setCreateUserName(java.lang.String createUserName) {
_sportello.setCreateUserName(createUserName);
}
/**
* Sets the user uuid of this sportello.
* Returns the modified date of this sportello.
*
* @param userUuid the user uuid of this sportello
* @return the modified date of this sportello
*/
@Override
public void setUserUuid(java.lang.String userUuid) {
_sportello.setUserUuid(userUuid);
public java.util.Date getModifiedDate() {
return _sportello.getModifiedDate();
}
/**
* Sets the modified date of this sportello.
*
* @param modifiedDate the modified date of this sportello
*/
@Override
public void setModifiedDate(java.util.Date modifiedDate) {
_sportello.setModifiedDate(modifiedDate);
}
/**
* Returns the modified user ID of this sportello.
*
* @return the modified user ID of this sportello
*/
@Override
public long getModifiedUserId() {
return _sportello.getModifiedUserId();
}
/**
* Sets the modified user ID of this sportello.
*
* @param modifiedUserId the modified user ID of this sportello
*/
@Override
public void setModifiedUserId(long modifiedUserId) {
_sportello.setModifiedUserId(modifiedUserId);
}
/**
* Returns the modified user uuid of this sportello.
*
* @return the modified user uuid of this sportello
* @throws SystemException if a system exception occurred
*/
@Override
public java.lang.String getModifiedUserUuid()
throws com.liferay.portal.kernel.exception.SystemException {
return _sportello.getModifiedUserUuid();
}
/**
* Sets the modified user uuid of this sportello.
*
* @param modifiedUserUuid the modified user uuid of this sportello
*/
@Override
public void setModifiedUserUuid(java.lang.String modifiedUserUuid) {
_sportello.setModifiedUserUuid(modifiedUserUuid);
}
/**
* Returns the modified user name of this sportello.
*
* @return the modified user name of this sportello
*/
@Override
public java.lang.String getModifiedUserName() {
return _sportello.getModifiedUserName();
}
/**
* Sets the modified user name of this sportello.
*
* @param modifiedUserName the modified user name of this sportello
*/
@Override
public void setModifiedUserName(java.lang.String modifiedUserName) {
_sportello.setModifiedUserName(modifiedUserName);
}
/**
@ -248,43 +442,177 @@ public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
}
/**
* Returns the create date of this sportello.
* Returns the email of this sportello.
*
* @return the create date of this sportello
* @return the email of this sportello
*/
@Override
public java.util.Date getCreateDate() {
return _sportello.getCreateDate();
public java.lang.String getEmail() {
return _sportello.getEmail();
}
/**
* Sets the create date of this sportello.
* Sets the email of this sportello.
*
* @param createDate the create date of this sportello
* @param email the email of this sportello
*/
@Override
public void setCreateDate(java.util.Date createDate) {
_sportello.setCreateDate(createDate);
public void setEmail(java.lang.String email) {
_sportello.setEmail(email);
}
/**
* Returns the modified date of this sportello.
* Returns the comune ID of this sportello.
*
* @return the modified date of this sportello
* @return the comune ID of this sportello
*/
@Override
public java.util.Date getModifiedDate() {
return _sportello.getModifiedDate();
public long getComuneId() {
return _sportello.getComuneId();
}
/**
* Sets the modified date of this sportello.
* Sets the comune ID of this sportello.
*
* @param modifiedDate the modified date of this sportello
* @param comuneId the comune ID of this sportello
*/
@Override
public void setModifiedDate(java.util.Date modifiedDate) {
_sportello.setModifiedDate(modifiedDate);
public void setComuneId(long comuneId) {
_sportello.setComuneId(comuneId);
}
/**
* Returns the attivo of this sportello.
*
* @return the attivo of this sportello
*/
@Override
public boolean getAttivo() {
return _sportello.getAttivo();
}
/**
* Returns <code>true</code> if this sportello is attivo.
*
* @return <code>true</code> if this sportello is attivo; <code>false</code> otherwise
*/
@Override
public boolean isAttivo() {
return _sportello.isAttivo();
}
/**
* Sets whether this sportello is attivo.
*
* @param attivo the attivo of this sportello
*/
@Override
public void setAttivo(boolean attivo) {
_sportello.setAttivo(attivo);
}
/**
* Returns the password of this sportello.
*
* @return the password of this sportello
*/
@Override
public java.lang.String getPassword() {
return _sportello.getPassword();
}
/**
* Sets the password of this sportello.
*
* @param password the password of this sportello
*/
@Override
public void setPassword(java.lang.String password) {
_sportello.setPassword(password);
}
/**
* Returns the password modified date of this sportello.
*
* @return the password modified date of this sportello
*/
@Override
public java.util.Date getPasswordModifiedDate() {
return _sportello.getPasswordModifiedDate();
}
/**
* Sets the password modified date of this sportello.
*
* @param passwordModifiedDate the password modified date of this sportello
*/
@Override
public void setPasswordModifiedDate(java.util.Date passwordModifiedDate) {
_sportello.setPasswordModifiedDate(passwordModifiedDate);
}
/**
* Returns the password modified user ID of this sportello.
*
* @return the password modified user ID of this sportello
*/
@Override
public long getPasswordModifiedUserId() {
return _sportello.getPasswordModifiedUserId();
}
/**
* Sets the password modified user ID of this sportello.
*
* @param passwordModifiedUserId the password modified user ID of this sportello
*/
@Override
public void setPasswordModifiedUserId(long passwordModifiedUserId) {
_sportello.setPasswordModifiedUserId(passwordModifiedUserId);
}
/**
* Returns the password modified user uuid of this sportello.
*
* @return the password modified user uuid of this sportello
* @throws SystemException if a system exception occurred
*/
@Override
public java.lang.String getPasswordModifiedUserUuid()
throws com.liferay.portal.kernel.exception.SystemException {
return _sportello.getPasswordModifiedUserUuid();
}
/**
* Sets the password modified user uuid of this sportello.
*
* @param passwordModifiedUserUuid the password modified user uuid of this sportello
*/
@Override
public void setPasswordModifiedUserUuid(
java.lang.String passwordModifiedUserUuid) {
_sportello.setPasswordModifiedUserUuid(passwordModifiedUserUuid);
}
/**
* Returns the password modified user name of this sportello.
*
* @return the password modified user name of this sportello
*/
@Override
public java.lang.String getPasswordModifiedUserName() {
return _sportello.getPasswordModifiedUserName();
}
/**
* Sets the password modified user name of this sportello.
*
* @param passwordModifiedUserName the password modified user name of this sportello
*/
@Override
public void setPasswordModifiedUserName(
java.lang.String passwordModifiedUserName) {
_sportello.setPasswordModifiedUserName(passwordModifiedUserName);
}
@Override
@ -391,6 +719,50 @@ public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
_sportello.persist();
}
@Override
public java.lang.String encryptPassword(java.lang.String password) {
return _sportello.encryptPassword(password);
}
@Override
public boolean checkPassword(java.lang.String password) {
return _sportello.checkPassword(password);
}
@Override
public void setEncryptedPassword(java.lang.String password,
com.liferay.portal.model.User user) {
_sportello.setEncryptedPassword(password, user);
}
@Override
public java.lang.String getCodiceProvincia()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _sportello.getCodiceProvincia();
}
@Override
public java.lang.String getNomeComune()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _sportello.getNomeComune();
}
@Override
public java.lang.String getNomeProvincia()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _sportello.getNomeProvincia();
}
@Override
public it.tref.liferay.portos.bo.model.Comune getComune()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _sportello.getComune();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {

259
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingLocalService.java

@ -0,0 +1,259 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.search.IndexableType;
import com.liferay.portal.kernel.transaction.Isolation;
import com.liferay.portal.kernel.transaction.Propagation;
import com.liferay.portal.kernel.transaction.Transactional;
import com.liferay.portal.service.BaseLocalService;
import com.liferay.portal.service.InvokableLocalService;
import com.liferay.portal.service.PersistedModelLocalService;
/**
* Provides the local service interface for ApiSetting. Methods of this
* service will not have security checks based on the propagated JAAS
* credentials because this service can only be accessed from within the same
* VM.
*
* @author Manifattura Web Group Srl
* @see ApiSettingLocalServiceUtil
* @see it.mwg.sicilia.sue.service.base.ApiSettingLocalServiceBaseImpl
* @see it.mwg.sicilia.sue.service.impl.ApiSettingLocalServiceImpl
* @generated
*/
@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
PortalException.class, SystemException.class})
public interface ApiSettingLocalService extends BaseLocalService,
InvokableLocalService, PersistedModelLocalService {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link ApiSettingLocalServiceUtil} to access the api setting local service. Add custom service methods to {@link it.mwg.sicilia.sue.service.impl.ApiSettingLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
/**
* Adds the api setting to the database. Also notifies the appropriate model listeners.
*
* @param apiSetting the api setting
* @return the api setting that was added
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.mwg.sicilia.sue.model.ApiSetting addApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Creates a new api setting with the primary key. Does not add the api setting to the database.
*
* @param id the primary key for the new api setting
* @return the new api setting
*/
public it.mwg.sicilia.sue.model.ApiSetting createApiSetting(long id);
/**
* Deletes the api setting with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param id the primary key of the api setting
* @return the api setting that was removed
* @throws PortalException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
public it.mwg.sicilia.sue.model.ApiSetting deleteApiSetting(long id)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* Deletes the api setting from the database. Also notifies the appropriate model listeners.
*
* @param apiSetting the api setting
* @return the api setting that was removed
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
public it.mwg.sicilia.sue.model.ApiSetting deleteApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException;
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
/**
* Performs a dynamic query on the database and returns the matching rows.
*
* @param dynamicQuery the dynamic query
* @return the matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Performs a dynamic query on the database and returns a range of the matching rows.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @return the range of matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end) throws com.liferay.portal.kernel.exception.SystemException;
/**
* Performs a dynamic query on the database and returns an ordered range of the matching rows.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @param projection the projection to apply to the query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.mwg.sicilia.sue.model.ApiSetting fetchApiSetting(long id)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the api setting with the primary key.
*
* @param id the primary key of the api setting
* @return the api setting
* @throws PortalException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.mwg.sicilia.sue.model.ApiSetting getApiSetting(long id)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
@Override
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public com.liferay.portal.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the api settings.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 start the lower bound of the range of api settings
* @param end the upper bound of the range of api settings (not inclusive)
* @return the range of api settings
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<it.mwg.sicilia.sue.model.ApiSetting> getApiSettings(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of api settings.
*
* @return the number of api settings
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public int getApiSettingsCount()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Updates the api setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param apiSetting the api setting
* @return the api setting that was updated
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.mwg.sicilia.sue.model.ApiSetting updateApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
public java.lang.String getBeanIdentifier();
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
public void setBeanIdentifier(java.lang.String beanIdentifier);
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.lang.String get(long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException;
public void set(long companyId, long key, java.lang.String value)
throws com.liferay.portal.kernel.exception.SystemException;
}

770
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingLocalServiceClp.java

@ -0,0 +1,770 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service;
import com.liferay.portal.service.InvokableLocalService;
/**
* @author Manifattura Web Group Srl
* @generated
*/
public class ApiSettingLocalServiceClp implements ApiSettingLocalService {
public ApiSettingLocalServiceClp(
InvokableLocalService invokableLocalService) {
_invokableLocalService = invokableLocalService;
_methodName0 = "addApiSetting";
_methodParameterTypes0 = new String[] {
"it.mwg.sicilia.sue.model.ApiSetting"
};
_methodName1 = "createApiSetting";
_methodParameterTypes1 = new String[] { "long" };
_methodName2 = "deleteApiSetting";
_methodParameterTypes2 = new String[] { "long" };
_methodName3 = "deleteApiSetting";
_methodParameterTypes3 = new String[] {
"it.mwg.sicilia.sue.model.ApiSetting"
};
_methodName4 = "dynamicQuery";
_methodParameterTypes4 = new String[] { };
_methodName5 = "dynamicQuery";
_methodParameterTypes5 = new String[] {
"com.liferay.portal.kernel.dao.orm.DynamicQuery"
};
_methodName6 = "dynamicQuery";
_methodParameterTypes6 = new String[] {
"com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int"
};
_methodName7 = "dynamicQuery";
_methodParameterTypes7 = new String[] {
"com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int",
"com.liferay.portal.kernel.util.OrderByComparator"
};
_methodName8 = "dynamicQueryCount";
_methodParameterTypes8 = new String[] {
"com.liferay.portal.kernel.dao.orm.DynamicQuery"
};
_methodName9 = "dynamicQueryCount";
_methodParameterTypes9 = new String[] {
"com.liferay.portal.kernel.dao.orm.DynamicQuery",
"com.liferay.portal.kernel.dao.orm.Projection"
};
_methodName10 = "fetchApiSetting";
_methodParameterTypes10 = new String[] { "long" };
_methodName11 = "getApiSetting";
_methodParameterTypes11 = new String[] { "long" };
_methodName12 = "getPersistedModel";
_methodParameterTypes12 = new String[] { "java.io.Serializable" };
_methodName13 = "getApiSettings";
_methodParameterTypes13 = new String[] { "int", "int" };
_methodName14 = "getApiSettingsCount";
_methodParameterTypes14 = new String[] { };
_methodName15 = "updateApiSetting";
_methodParameterTypes15 = new String[] {
"it.mwg.sicilia.sue.model.ApiSetting"
};
_methodName16 = "getBeanIdentifier";
_methodParameterTypes16 = new String[] { };
_methodName17 = "setBeanIdentifier";
_methodParameterTypes17 = new String[] { "java.lang.String" };
_methodName19 = "get";
_methodParameterTypes19 = new String[] { "long", "long" };
_methodName20 = "set";
_methodParameterTypes20 = new String[] {
"long", "long", "java.lang.String"
};
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting addApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName0,
_methodParameterTypes0,
new Object[] { ClpSerializer.translateInput(apiSetting) });
}
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 (it.mwg.sicilia.sue.model.ApiSetting)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting createApiSetting(long id) {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName1,
_methodParameterTypes1, new Object[] { id });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.mwg.sicilia.sue.model.ApiSetting)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting deleteApiSetting(long id)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName2,
_methodParameterTypes2, new Object[] { id });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.mwg.sicilia.sue.model.ApiSetting)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting deleteApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName3,
_methodParameterTypes3,
new Object[] { ClpSerializer.translateInput(apiSetting) });
}
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 (it.mwg.sicilia.sue.model.ApiSetting)ClpSerializer.translateOutput(returnObj);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName4,
_methodParameterTypes4, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj);
}
@Override
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName5,
_methodParameterTypes5,
new Object[] { ClpSerializer.translateInput(dynamicQuery) });
}
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)ClpSerializer.translateOutput(returnObj);
}
@Override
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end) throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName6,
_methodParameterTypes6,
new Object[] {
ClpSerializer.translateInput(dynamicQuery),
start,
end
});
}
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)ClpSerializer.translateOutput(returnObj);
}
@Override
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName7,
_methodParameterTypes7,
new Object[] {
ClpSerializer.translateInput(dynamicQuery),
start,
end,
ClpSerializer.translateInput(orderByComparator)
});
}
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)ClpSerializer.translateOutput(returnObj);
}
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName8,
_methodParameterTypes8,
new Object[] { ClpSerializer.translateInput(dynamicQuery) });
}
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 ((Long)returnObj).longValue();
}
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName9,
_methodParameterTypes9,
new Object[] {
ClpSerializer.translateInput(dynamicQuery),
ClpSerializer.translateInput(projection)
});
}
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 ((Long)returnObj).longValue();
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting fetchApiSetting(long id)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName10,
_methodParameterTypes10, new Object[] { id });
}
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 (it.mwg.sicilia.sue.model.ApiSetting)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting getApiSetting(long id)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName11,
_methodParameterTypes11, new Object[] { id });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.mwg.sicilia.sue.model.ApiSetting)ClpSerializer.translateOutput(returnObj);
}
@Override
public com.liferay.portal.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName12,
_methodParameterTypes12,
new Object[] { ClpSerializer.translateInput(primaryKeyObj) });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<it.mwg.sicilia.sue.model.ApiSetting> getApiSettings(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName13,
_methodParameterTypes13, new Object[] { start, end });
}
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.mwg.sicilia.sue.model.ApiSetting>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int getApiSettingsCount()
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName14,
_methodParameterTypes14, new Object[] { });
}
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 ((Integer)returnObj).intValue();
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting updateApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName15,
_methodParameterTypes15,
new Object[] { ClpSerializer.translateInput(apiSetting) });
}
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 (it.mwg.sicilia.sue.model.ApiSetting)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.lang.String getBeanIdentifier() {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName16,
_methodParameterTypes16, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.lang.String)ClpSerializer.translateOutput(returnObj);
}
@Override
public void setBeanIdentifier(java.lang.String beanIdentifier) {
try {
_invokableLocalService.invokeMethod(_methodName17,
_methodParameterTypes17,
new Object[] { ClpSerializer.translateInput(beanIdentifier) });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
}
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
throw new UnsupportedOperationException();
}
@Override
public java.lang.String get(long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName19,
_methodParameterTypes19, new Object[] { companyId, key });
}
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.lang.String)ClpSerializer.translateOutput(returnObj);
}
@Override
public void set(long companyId, long key, java.lang.String value)
throws com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName20,
_methodParameterTypes20,
new Object[] { companyId, key, ClpSerializer.translateInput(
value) });
}
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");
}
}
}
private InvokableLocalService _invokableLocalService;
private String _methodName0;
private String[] _methodParameterTypes0;
private String _methodName1;
private String[] _methodParameterTypes1;
private String _methodName2;
private String[] _methodParameterTypes2;
private String _methodName3;
private String[] _methodParameterTypes3;
private String _methodName4;
private String[] _methodParameterTypes4;
private String _methodName5;
private String[] _methodParameterTypes5;
private String _methodName6;
private String[] _methodParameterTypes6;
private String _methodName7;
private String[] _methodParameterTypes7;
private String _methodName8;
private String[] _methodParameterTypes8;
private String _methodName9;
private String[] _methodParameterTypes9;
private String _methodName10;
private String[] _methodParameterTypes10;
private String _methodName11;
private String[] _methodParameterTypes11;
private String _methodName12;
private String[] _methodParameterTypes12;
private String _methodName13;
private String[] _methodParameterTypes13;
private String _methodName14;
private String[] _methodParameterTypes14;
private String _methodName15;
private String[] _methodParameterTypes15;
private String _methodName16;
private String[] _methodParameterTypes16;
private String _methodName17;
private String[] _methodParameterTypes17;
private String _methodName19;
private String[] _methodParameterTypes19;
private String _methodName20;
private String[] _methodParameterTypes20;
}

314
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingLocalServiceUtil.java

@ -0,0 +1,314 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service;
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;
import com.liferay.portal.service.InvokableLocalService;
/**
* Provides the local service utility for ApiSetting. This utility wraps
* {@link it.mwg.sicilia.sue.service.impl.ApiSettingLocalServiceImpl} and is the
* primary access point for service operations in application layer code running
* on the local server. Methods of this service will not have security checks
* based on the propagated JAAS credentials because this service can only be
* accessed from within the same VM.
*
* @author Manifattura Web Group Srl
* @see ApiSettingLocalService
* @see it.mwg.sicilia.sue.service.base.ApiSettingLocalServiceBaseImpl
* @see it.mwg.sicilia.sue.service.impl.ApiSettingLocalServiceImpl
* @generated
*/
public class ApiSettingLocalServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to {@link it.mwg.sicilia.sue.service.impl.ApiSettingLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
*/
/**
* Adds the api setting to the database. Also notifies the appropriate model listeners.
*
* @param apiSetting the api setting
* @return the api setting that was added
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting addApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().addApiSetting(apiSetting);
}
/**
* Creates a new api setting with the primary key. Does not add the api setting to the database.
*
* @param id the primary key for the new api setting
* @return the new api setting
*/
public static it.mwg.sicilia.sue.model.ApiSetting createApiSetting(long id) {
return getService().createApiSetting(id);
}
/**
* Deletes the api setting with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param id the primary key of the api setting
* @return the api setting that was removed
* @throws PortalException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting deleteApiSetting(long id)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().deleteApiSetting(id);
}
/**
* Deletes the api setting from the database. Also notifies the appropriate model listeners.
*
* @param apiSetting the api setting
* @return the api setting that was removed
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting deleteApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().deleteApiSetting(apiSetting);
}
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return getService().dynamicQuery();
}
/**
* Performs a dynamic query on the database and returns the matching rows.
*
* @param dynamicQuery the dynamic query
* @return the matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public static java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().dynamicQuery(dynamicQuery);
}
/**
* Performs a dynamic query on the database and returns a range of the matching rows.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @return the range of matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public static java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end) throws com.liferay.portal.kernel.exception.SystemException {
return getService().dynamicQuery(dynamicQuery, start, end);
}
/**
* Performs a dynamic query on the database and returns an ordered range of the matching rows.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching rows
* @throws SystemException if a system exception occurred
*/
@SuppressWarnings("rawtypes")
public static java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.dynamicQuery(dynamicQuery, start, end, orderByComparator);
}
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
public static long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().dynamicQueryCount(dynamicQuery);
}
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @param projection the projection to apply to the query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
public static long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().dynamicQueryCount(dynamicQuery, projection);
}
public static it.mwg.sicilia.sue.model.ApiSetting fetchApiSetting(long id)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchApiSetting(id);
}
/**
* Returns the api setting with the primary key.
*
* @param id the primary key of the api setting
* @return the api setting
* @throws PortalException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting getApiSetting(long id)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().getApiSetting(id);
}
public static com.liferay.portal.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().getPersistedModel(primaryKeyObj);
}
/**
* Returns a range of all the api settings.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 start the lower bound of the range of api settings
* @param end the upper bound of the range of api settings (not inclusive)
* @return the range of api settings
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.mwg.sicilia.sue.model.ApiSetting> getApiSettings(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getApiSettings(start, end);
}
/**
* Returns the number of api settings.
*
* @return the number of api settings
* @throws SystemException if a system exception occurred
*/
public static int getApiSettingsCount()
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getApiSettingsCount();
}
/**
* Updates the api setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param apiSetting the api setting
* @return the api setting that was updated
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting updateApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().updateApiSetting(apiSetting);
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
public static java.lang.String getBeanIdentifier() {
return getService().getBeanIdentifier();
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
public static void setBeanIdentifier(java.lang.String beanIdentifier) {
getService().setBeanIdentifier(beanIdentifier);
}
public static java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static java.lang.String get(long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().get(companyId, key);
}
public static void set(long companyId, long key, java.lang.String value)
throws com.liferay.portal.kernel.exception.SystemException {
getService().set(companyId, key, value);
}
public static void clearService() {
_service = null;
}
public static ApiSettingLocalService getService() {
if (_service == null) {
InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
ApiSettingLocalService.class.getName());
if (invokableLocalService instanceof ApiSettingLocalService) {
_service = (ApiSettingLocalService)invokableLocalService;
}
else {
_service = new ApiSettingLocalServiceClp(invokableLocalService);
}
ReferenceRegistry.registerReference(ApiSettingLocalServiceUtil.class,
"_service");
}
return _service;
}
/**
* @deprecated As of 6.2.0
*/
public void setService(ApiSettingLocalService service) {
}
private static ApiSettingLocalService _service;
}

324
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingLocalServiceWrapper.java

@ -0,0 +1,324 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service;
import com.liferay.portal.service.ServiceWrapper;
/**
* Provides a wrapper for {@link ApiSettingLocalService}.
*
* @author Manifattura Web Group Srl
* @see ApiSettingLocalService
* @generated
*/
public class ApiSettingLocalServiceWrapper implements ApiSettingLocalService,
ServiceWrapper<ApiSettingLocalService> {
public ApiSettingLocalServiceWrapper(
ApiSettingLocalService apiSettingLocalService) {
_apiSettingLocalService = apiSettingLocalService;
}
/**
* Adds the api setting to the database. Also notifies the appropriate model listeners.
*
* @param apiSetting the api setting
* @return the api setting that was added
* @throws SystemException if a system exception occurred
*/
@Override
public it.mwg.sicilia.sue.model.ApiSetting addApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.addApiSetting(apiSetting);
}
/**
* Creates a new api setting with the primary key. Does not add the api setting to the database.
*
* @param id the primary key for the new api setting
* @return the new api setting
*/
@Override
public it.mwg.sicilia.sue.model.ApiSetting createApiSetting(long id) {
return _apiSettingLocalService.createApiSetting(id);
}
/**
* Deletes the api setting with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param id the primary key of the api setting
* @return the api setting that was removed
* @throws PortalException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.mwg.sicilia.sue.model.ApiSetting deleteApiSetting(long id)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.deleteApiSetting(id);
}
/**
* Deletes the api setting from the database. Also notifies the appropriate model listeners.
*
* @param apiSetting the api setting
* @return the api setting that was removed
* @throws SystemException if a system exception occurred
*/
@Override
public it.mwg.sicilia.sue.model.ApiSetting deleteApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.deleteApiSetting(apiSetting);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _apiSettingLocalService.dynamicQuery();
}
/**
* Performs a dynamic query on the database and returns the matching rows.
*
* @param dynamicQuery the dynamic query
* @return the matching rows
* @throws SystemException if a system exception occurred
*/
@Override
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.dynamicQuery(dynamicQuery);
}
/**
* Performs a dynamic query on the database and returns a range of the matching rows.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @return the range of matching rows
* @throws SystemException if a system exception occurred
*/
@Override
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end) throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.dynamicQuery(dynamicQuery, start, end);
}
/**
* Performs a dynamic query on the database and returns an ordered range of the matching rows.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching rows
* @throws SystemException if a system exception occurred
*/
@Override
@SuppressWarnings("rawtypes")
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.dynamicQuery(dynamicQuery, start, end,
orderByComparator);
}
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.dynamicQueryCount(dynamicQuery);
}
/**
* Returns the number of rows that match the dynamic query.
*
* @param dynamicQuery the dynamic query
* @param projection the projection to apply to the query
* @return the number of rows that match the dynamic query
* @throws SystemException if a system exception occurred
*/
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.dynamicQueryCount(dynamicQuery,
projection);
}
@Override
public it.mwg.sicilia.sue.model.ApiSetting fetchApiSetting(long id)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.fetchApiSetting(id);
}
/**
* Returns the api setting with the primary key.
*
* @param id the primary key of the api setting
* @return the api setting
* @throws PortalException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.mwg.sicilia.sue.model.ApiSetting getApiSetting(long id)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.getApiSetting(id);
}
@Override
public com.liferay.portal.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.getPersistedModel(primaryKeyObj);
}
/**
* Returns a range of all the api settings.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 start the lower bound of the range of api settings
* @param end the upper bound of the range of api settings (not inclusive)
* @return the range of api settings
* @throws SystemException if a system exception occurred
*/
@Override
public java.util.List<it.mwg.sicilia.sue.model.ApiSetting> getApiSettings(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.getApiSettings(start, end);
}
/**
* Returns the number of api settings.
*
* @return the number of api settings
* @throws SystemException if a system exception occurred
*/
@Override
public int getApiSettingsCount()
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.getApiSettingsCount();
}
/**
* Updates the api setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param apiSetting the api setting
* @return the api setting that was updated
* @throws SystemException if a system exception occurred
*/
@Override
public it.mwg.sicilia.sue.model.ApiSetting updateApiSetting(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.updateApiSetting(apiSetting);
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
@Override
public java.lang.String getBeanIdentifier() {
return _apiSettingLocalService.getBeanIdentifier();
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
@Override
public void setBeanIdentifier(java.lang.String beanIdentifier) {
_apiSettingLocalService.setBeanIdentifier(beanIdentifier);
}
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return _apiSettingLocalService.invokeMethod(name, parameterTypes,
arguments);
}
@Override
public java.lang.String get(long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException {
return _apiSettingLocalService.get(companyId, key);
}
@Override
public void set(long companyId, long key, java.lang.String value)
throws com.liferay.portal.kernel.exception.SystemException {
_apiSettingLocalService.set(companyId, key, value);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/
public ApiSettingLocalService getWrappedApiSettingLocalService() {
return _apiSettingLocalService;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
*/
public void setWrappedApiSettingLocalService(
ApiSettingLocalService apiSettingLocalService) {
_apiSettingLocalService = apiSettingLocalService;
}
@Override
public ApiSettingLocalService getWrappedService() {
return _apiSettingLocalService;
}
@Override
public void setWrappedService(ApiSettingLocalService apiSettingLocalService) {
_apiSettingLocalService = apiSettingLocalService;
}
private ApiSettingLocalService _apiSettingLocalService;
}

66
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingService.java

@ -0,0 +1,66 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
import com.liferay.portal.kernel.transaction.Isolation;
import com.liferay.portal.kernel.transaction.Transactional;
import com.liferay.portal.security.ac.AccessControlled;
import com.liferay.portal.service.BaseService;
import com.liferay.portal.service.InvokableService;
/**
* Provides the remote service interface for ApiSetting. Methods of this
* service are expected to have security checks based on the propagated JAAS
* credentials because this service can be accessed remotely.
*
* @author Manifattura Web Group Srl
* @see ApiSettingServiceUtil
* @see it.mwg.sicilia.sue.service.base.ApiSettingServiceBaseImpl
* @see it.mwg.sicilia.sue.service.impl.ApiSettingServiceImpl
* @generated
*/
@AccessControlled
@JSONWebService
@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
PortalException.class, SystemException.class})
public interface ApiSettingService extends BaseService, InvokableService {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link ApiSettingServiceUtil} to access the api setting remote service. Add custom service methods to {@link it.mwg.sicilia.sue.service.impl.ApiSettingServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
public java.lang.String getBeanIdentifier();
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
public void setBeanIdentifier(java.lang.String beanIdentifier);
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
}

91
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingServiceClp.java

@ -0,0 +1,91 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service;
import com.liferay.portal.service.InvokableService;
/**
* @author Manifattura Web Group Srl
* @generated
*/
public class ApiSettingServiceClp implements ApiSettingService {
public ApiSettingServiceClp(InvokableService invokableService) {
_invokableService = invokableService;
_methodName0 = "getBeanIdentifier";
_methodParameterTypes0 = new String[] { };
_methodName1 = "setBeanIdentifier";
_methodParameterTypes1 = new String[] { "java.lang.String" };
}
@Override
public java.lang.String getBeanIdentifier() {
Object returnObj = null;
try {
returnObj = _invokableService.invokeMethod(_methodName0,
_methodParameterTypes0, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.lang.String)ClpSerializer.translateOutput(returnObj);
}
@Override
public void setBeanIdentifier(java.lang.String beanIdentifier) {
try {
_invokableService.invokeMethod(_methodName1,
_methodParameterTypes1,
new Object[] { ClpSerializer.translateInput(beanIdentifier) });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
}
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
throw new UnsupportedOperationException();
}
private InvokableService _invokableService;
private String _methodName0;
private String[] _methodParameterTypes0;
private String _methodName1;
private String[] _methodParameterTypes1;
}

96
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingServiceUtil.java

@ -0,0 +1,96 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service;
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;
import com.liferay.portal.service.InvokableService;
/**
* Provides the remote service utility for ApiSetting. This utility wraps
* {@link it.mwg.sicilia.sue.service.impl.ApiSettingServiceImpl} and is the
* primary access point for service operations in application layer code running
* on a remote server. Methods of this service are expected to have security
* checks based on the propagated JAAS credentials because this service can be
* accessed remotely.
*
* @author Manifattura Web Group Srl
* @see ApiSettingService
* @see it.mwg.sicilia.sue.service.base.ApiSettingServiceBaseImpl
* @see it.mwg.sicilia.sue.service.impl.ApiSettingServiceImpl
* @generated
*/
public class ApiSettingServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to {@link it.mwg.sicilia.sue.service.impl.ApiSettingServiceImpl} and rerun ServiceBuilder to regenerate this class.
*/
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
public static java.lang.String getBeanIdentifier() {
return getService().getBeanIdentifier();
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
public static void setBeanIdentifier(java.lang.String beanIdentifier) {
getService().setBeanIdentifier(beanIdentifier);
}
public static java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static void clearService() {
_service = null;
}
public static ApiSettingService getService() {
if (_service == null) {
InvokableService invokableService = (InvokableService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
ApiSettingService.class.getName());
if (invokableService instanceof ApiSettingService) {
_service = (ApiSettingService)invokableService;
}
else {
_service = new ApiSettingServiceClp(invokableService);
}
ReferenceRegistry.registerReference(ApiSettingServiceUtil.class,
"_service");
}
return _service;
}
/**
* @deprecated As of 6.2.0
*/
public void setService(ApiSettingService service) {
}
private static ApiSettingService _service;
}

84
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ApiSettingServiceWrapper.java

@ -0,0 +1,84 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service;
import com.liferay.portal.service.ServiceWrapper;
/**
* Provides a wrapper for {@link ApiSettingService}.
*
* @author Manifattura Web Group Srl
* @see ApiSettingService
* @generated
*/
public class ApiSettingServiceWrapper implements ApiSettingService,
ServiceWrapper<ApiSettingService> {
public ApiSettingServiceWrapper(ApiSettingService apiSettingService) {
_apiSettingService = apiSettingService;
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
@Override
public java.lang.String getBeanIdentifier() {
return _apiSettingService.getBeanIdentifier();
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
@Override
public void setBeanIdentifier(java.lang.String beanIdentifier) {
_apiSettingService.setBeanIdentifier(beanIdentifier);
}
@Override
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return _apiSettingService.invokeMethod(name, parameterTypes, arguments);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/
public ApiSettingService getWrappedApiSettingService() {
return _apiSettingService;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
*/
public void setWrappedApiSettingService(ApiSettingService apiSettingService) {
_apiSettingService = apiSettingService;
}
@Override
public ApiSettingService getWrappedService() {
return _apiSettingService;
}
@Override
public void setWrappedService(ApiSettingService apiSettingService) {
_apiSettingService = apiSettingService;
}
private ApiSettingService _apiSettingService;
}

78
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/ClpSerializer.java

@ -25,6 +25,7 @@ import com.liferay.portal.kernel.util.PropsUtil;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.model.BaseModel;
import it.mwg.sicilia.sue.model.ApiSettingClp;
import it.mwg.sicilia.sue.model.SportelloClp;
import java.io.ObjectInputStream;
@ -102,6 +103,10 @@ public class ClpSerializer {
String oldModelClassName = oldModelClass.getName();
if (oldModelClassName.equals(ApiSettingClp.class.getName())) {
return translateInputApiSetting(oldModel);
}
if (oldModelClassName.equals(SportelloClp.class.getName())) {
return translateInputSportello(oldModel);
}
@ -121,6 +126,16 @@ public class ClpSerializer {
return newList;
}
public static Object translateInputApiSetting(BaseModel<?> oldModel) {
ApiSettingClp oldClpModel = (ApiSettingClp)oldModel;
BaseModel<?> newModel = oldClpModel.getApiSettingRemoteModel();
newModel.setModelAttributes(oldClpModel.getModelAttributes());
return newModel;
}
public static Object translateInputSportello(BaseModel<?> oldModel) {
SportelloClp oldClpModel = (SportelloClp)oldModel;
@ -148,6 +163,43 @@ public class ClpSerializer {
String oldModelClassName = oldModelClass.getName();
if (oldModelClassName.equals(
"it.mwg.sicilia.sue.model.impl.ApiSettingImpl")) {
return translateOutputApiSetting(oldModel);
}
else if (oldModelClassName.endsWith("Clp")) {
try {
ClassLoader classLoader = ClpSerializer.class.getClassLoader();
Method getClpSerializerClassMethod = oldModelClass.getMethod(
"getClpSerializerClass");
Class<?> oldClpSerializerClass = (Class<?>)getClpSerializerClassMethod.invoke(oldModel);
Class<?> newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName());
Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput",
BaseModel.class);
Class<?> oldModelModelClass = oldModel.getModelClass();
Method getRemoteModelMethod = oldModelClass.getMethod("get" +
oldModelModelClass.getSimpleName() + "RemoteModel");
Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel);
BaseModel<?> newModel = (BaseModel<?>)translateOutputMethod.invoke(null,
oldRemoteModel);
return newModel;
}
catch (Throwable t) {
if (_log.isInfoEnabled()) {
_log.info("Unable to translate " + oldModelClassName, t);
}
}
}
if (oldModelClassName.equals(
"it.mwg.sicilia.sue.model.impl.SportelloImpl")) {
return translateOutputSportello(oldModel);
@ -265,6 +317,22 @@ public class ClpSerializer {
return new SystemException();
}
if (className.equals("it.mwg.sicilia.sue.ExpiredTokenException")) {
return new it.mwg.sicilia.sue.ExpiredTokenException();
}
if (className.equals("it.mwg.sicilia.sue.InactiveSportelloException")) {
return new it.mwg.sicilia.sue.InactiveSportelloException();
}
if (className.equals("it.mwg.sicilia.sue.InvalidTokenException")) {
return new it.mwg.sicilia.sue.InvalidTokenException();
}
if (className.equals("it.mwg.sicilia.sue.NoSuchApiSettingException")) {
return new it.mwg.sicilia.sue.NoSuchApiSettingException();
}
if (className.equals("it.mwg.sicilia.sue.NoSuchSportelloException")) {
return new it.mwg.sicilia.sue.NoSuchSportelloException();
}
@ -272,6 +340,16 @@ public class ClpSerializer {
return throwable;
}
public static Object translateOutputApiSetting(BaseModel<?> oldModel) {
ApiSettingClp newModel = new ApiSettingClp();
newModel.setModelAttributes(oldModel.getModelAttributes());
newModel.setApiSettingRemoteModel(oldModel);
return newModel;
}
public static Object translateOutputSportello(BaseModel<?> oldModel) {
SportelloClp newModel = new SportelloClp();

5
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloLocalService.java

@ -249,4 +249,9 @@ public interface SportelloLocalService extends BaseLocalService,
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
public it.mwg.sicilia.sue.model.Sportello findByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException;
}

41
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloLocalServiceClp.java

@ -113,6 +113,10 @@ public class SportelloLocalServiceClp implements SportelloLocalService {
_methodName17 = "setBeanIdentifier";
_methodParameterTypes17 = new String[] { "java.lang.String" };
_methodName19 = "findByUserName";
_methodParameterTypes19 = new String[] { "java.lang.String" };
}
@Override
@ -661,6 +665,41 @@ public class SportelloLocalServiceClp implements SportelloLocalService {
throw new UnsupportedOperationException();
}
@Override
public it.mwg.sicilia.sue.model.Sportello findByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName19,
_methodParameterTypes19,
new Object[] { ClpSerializer.translateInput(userName) });
}
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 it.mwg.sicilia.sue.NoSuchSportelloException) {
throw (it.mwg.sicilia.sue.NoSuchSportelloException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.mwg.sicilia.sue.model.Sportello)ClpSerializer.translateOutput(returnObj);
}
private InvokableLocalService _invokableLocalService;
private String _methodName0;
private String[] _methodParameterTypes0;
@ -698,4 +737,6 @@ public class SportelloLocalServiceClp implements SportelloLocalService {
private String[] _methodParameterTypes16;
private String _methodName17;
private String[] _methodParameterTypes17;
private String _methodName19;
private String[] _methodParameterTypes19;
}

7
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloLocalServiceUtil.java

@ -275,6 +275,13 @@ public class SportelloLocalServiceUtil {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static it.mwg.sicilia.sue.model.Sportello findByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException {
return getService().findByUserName(userName);
}
public static void clearService() {
_service = null;
}

8
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloLocalServiceWrapper.java

@ -282,6 +282,14 @@ public class SportelloLocalServiceWrapper implements SportelloLocalService,
arguments);
}
@Override
public it.mwg.sicilia.sue.model.Sportello findByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException {
return _sportelloLocalService.findByUserName(userName);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/

2
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloService.java

@ -63,4 +63,6 @@ public interface SportelloService extends BaseService, InvokableService {
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
public java.lang.String generaPassword(int lunghezza);
}

29
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloServiceClp.java

@ -31,6 +31,10 @@ public class SportelloServiceClp implements SportelloService {
_methodName1 = "setBeanIdentifier";
_methodParameterTypes1 = new String[] { "java.lang.String" };
_methodName3 = "generaPassword";
_methodParameterTypes3 = new String[] { "int" };
}
@Override
@ -83,9 +87,34 @@ public class SportelloServiceClp implements SportelloService {
throw new UnsupportedOperationException();
}
@Override
public java.lang.String generaPassword(int lunghezza) {
Object returnObj = null;
try {
returnObj = _invokableService.invokeMethod(_methodName3,
_methodParameterTypes3, new Object[] { lunghezza });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.lang.String)ClpSerializer.translateOutput(returnObj);
}
private InvokableService _invokableService;
private String _methodName0;
private String[] _methodParameterTypes0;
private String _methodName1;
private String[] _methodParameterTypes1;
private String _methodName3;
private String[] _methodParameterTypes3;
}

4
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloServiceUtil.java

@ -63,6 +63,10 @@ public class SportelloServiceUtil {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static java.lang.String generaPassword(int lunghezza) {
return getService().generaPassword(lunghezza);
}
public static void clearService() {
_service = null;
}

5
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/SportelloServiceWrapper.java

@ -56,6 +56,11 @@ public class SportelloServiceWrapper implements SportelloService,
return _sportelloService.invokeMethod(name, parameterTypes, arguments);
}
@Override
public java.lang.String generaPassword(int lunghezza) {
return _sportelloService.generaPassword(lunghezza);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/

5
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/messaging/ClpMessageListener.java

@ -17,6 +17,8 @@ package it.mwg.sicilia.sue.service.messaging;
import com.liferay.portal.kernel.messaging.BaseMessageListener;
import com.liferay.portal.kernel.messaging.Message;
import it.mwg.sicilia.sue.service.ApiSettingLocalServiceUtil;
import it.mwg.sicilia.sue.service.ApiSettingServiceUtil;
import it.mwg.sicilia.sue.service.ClpSerializer;
import it.mwg.sicilia.sue.service.SportelloLocalServiceUtil;
import it.mwg.sicilia.sue.service.SportelloServiceUtil;
@ -36,6 +38,9 @@ public class ClpMessageListener extends BaseMessageListener {
if (command.equals("undeploy") &&
servletContextName.equals(getServletContextName())) {
ApiSettingLocalServiceUtil.clearService();
ApiSettingServiceUtil.clearService();
SportelloLocalServiceUtil.clearService();
SportelloServiceUtil.clearService();

37
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/ApiSettingActionableDynamicQuery.java

@ -0,0 +1,37 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service.persistence;
import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery;
import com.liferay.portal.kernel.exception.SystemException;
import it.mwg.sicilia.sue.model.ApiSetting;
import it.mwg.sicilia.sue.service.ApiSettingLocalServiceUtil;
/**
* @author Manifattura Web Group Srl
* @generated
*/
public abstract class ApiSettingActionableDynamicQuery
extends BaseActionableDynamicQuery {
public ApiSettingActionableDynamicQuery() throws SystemException {
setBaseLocalService(ApiSettingLocalServiceUtil.getService());
setClass(ApiSetting.class);
setClassLoader(it.mwg.sicilia.sue.service.ClpSerializer.class.getClassLoader());
setPrimaryKeyPropertyName("id");
}
}

223
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/ApiSettingPersistence.java

@ -0,0 +1,223 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service.persistence;
import com.liferay.portal.service.persistence.BasePersistence;
import it.mwg.sicilia.sue.model.ApiSetting;
/**
* The persistence interface for the api setting service.
*
* <p>
* Caching information and settings can be found in <code>portal.properties</code>
* </p>
*
* @author Manifattura Web Group Srl
* @see ApiSettingPersistenceImpl
* @see ApiSettingUtil
* @generated
*/
public interface ApiSettingPersistence extends BasePersistence<ApiSetting> {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link ApiSettingUtil} to access the api setting persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns the api setting where companyId = &#63; and key = &#63; or throws a {@link it.mwg.sicilia.sue.NoSuchApiSettingException} if it could not be found.
*
* @param companyId the company ID
* @param key the key
* @return the matching api setting
* @throws it.mwg.sicilia.sue.NoSuchApiSettingException if a matching api setting could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.ApiSetting findByCompanyIdKey(
long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchApiSettingException;
/**
* Returns the api setting where companyId = &#63; and key = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param companyId the company ID
* @param key the key
* @return the matching api setting, or <code>null</code> if a matching api setting could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.ApiSetting fetchByCompanyIdKey(
long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the api setting where companyId = &#63; and key = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param companyId the company ID
* @param key the key
* @param retrieveFromCache whether to use the finder cache
* @return the matching api setting, or <code>null</code> if a matching api setting could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.ApiSetting fetchByCompanyIdKey(
long companyId, long key, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the api setting where companyId = &#63; and key = &#63; from the database.
*
* @param companyId the company ID
* @param key the key
* @return the api setting that was removed
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.ApiSetting removeByCompanyIdKey(
long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchApiSettingException;
/**
* Returns the number of api settings where companyId = &#63; and key = &#63;.
*
* @param companyId the company ID
* @param key the key
* @return the number of matching api settings
* @throws SystemException if a system exception occurred
*/
public int countByCompanyIdKey(long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Caches the api setting in the entity cache if it is enabled.
*
* @param apiSetting the api setting
*/
public void cacheResult(it.mwg.sicilia.sue.model.ApiSetting apiSetting);
/**
* Caches the api settings in the entity cache if it is enabled.
*
* @param apiSettings the api settings
*/
public void cacheResult(
java.util.List<it.mwg.sicilia.sue.model.ApiSetting> apiSettings);
/**
* Creates a new api setting with the primary key. Does not add the api setting to the database.
*
* @param id the primary key for the new api setting
* @return the new api setting
*/
public it.mwg.sicilia.sue.model.ApiSetting create(long id);
/**
* Removes the api setting with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param id the primary key of the api setting
* @return the api setting that was removed
* @throws it.mwg.sicilia.sue.NoSuchApiSettingException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.ApiSetting remove(long id)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchApiSettingException;
public it.mwg.sicilia.sue.model.ApiSetting updateImpl(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the api setting with the primary key or throws a {@link it.mwg.sicilia.sue.NoSuchApiSettingException} if it could not be found.
*
* @param id the primary key of the api setting
* @return the api setting
* @throws it.mwg.sicilia.sue.NoSuchApiSettingException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.ApiSetting findByPrimaryKey(long id)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchApiSettingException;
/**
* Returns the api setting with the primary key or returns <code>null</code> if it could not be found.
*
* @param id the primary key of the api setting
* @return the api setting, or <code>null</code> if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.ApiSetting fetchByPrimaryKey(long id)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the api settings.
*
* @return the api settings
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.mwg.sicilia.sue.model.ApiSetting> findAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the api settings.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 start the lower bound of the range of api settings
* @param end the upper bound of the range of api settings (not inclusive)
* @return the range of api settings
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.mwg.sicilia.sue.model.ApiSetting> findAll(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the api settings.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 start the lower bound of the range of api settings
* @param end the upper bound of the range of api settings (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of api settings
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.mwg.sicilia.sue.model.ApiSetting> findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes all the api settings from the database.
*
* @throws SystemException if a system exception occurred
*/
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of api settings.
*
* @return the number of api settings
* @throws SystemException if a system exception occurred
*/
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException;
}

352
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/ApiSettingUtil.java

@ -0,0 +1,352 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package it.mwg.sicilia.sue.service.persistence;
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.portal.kernel.util.ReferenceRegistry;
import com.liferay.portal.service.ServiceContext;
import it.mwg.sicilia.sue.model.ApiSetting;
import java.util.List;
/**
* The persistence utility for the api setting service. This utility wraps {@link ApiSettingPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
*
* <p>
* Caching information and settings can be found in <code>portal.properties</code>
* </p>
*
* @author Manifattura Web Group Srl
* @see ApiSettingPersistence
* @see ApiSettingPersistenceImpl
* @generated
*/
public class ApiSettingUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
*/
/**
* @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
*/
public static void clearCache() {
getPersistence().clearCache();
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
*/
public static void clearCache(ApiSetting apiSetting) {
getPersistence().clearCache(apiSetting);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
*/
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException {
return getPersistence().countWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
*/
public static List<ApiSetting> findWithDynamicQuery(
DynamicQuery dynamicQuery) throws SystemException {
return getPersistence().findWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
*/
public static List<ApiSetting> findWithDynamicQuery(
DynamicQuery dynamicQuery, int start, int end)
throws SystemException {
return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
*/
public static List<ApiSetting> findWithDynamicQuery(
DynamicQuery dynamicQuery, int start, int end,
OrderByComparator orderByComparator) throws SystemException {
return getPersistence()
.findWithDynamicQuery(dynamicQuery, start, end,
orderByComparator);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel)
*/
public static ApiSetting update(ApiSetting apiSetting)
throws SystemException {
return getPersistence().update(apiSetting);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext)
*/
public static ApiSetting update(ApiSetting apiSetting,
ServiceContext serviceContext) throws SystemException {
return getPersistence().update(apiSetting, serviceContext);
}
/**
* Returns the api setting where companyId = &#63; and key = &#63; or throws a {@link it.mwg.sicilia.sue.NoSuchApiSettingException} if it could not be found.
*
* @param companyId the company ID
* @param key the key
* @return the matching api setting
* @throws it.mwg.sicilia.sue.NoSuchApiSettingException if a matching api setting could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting findByCompanyIdKey(
long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchApiSettingException {
return getPersistence().findByCompanyIdKey(companyId, key);
}
/**
* Returns the api setting where companyId = &#63; and key = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param companyId the company ID
* @param key the key
* @return the matching api setting, or <code>null</code> if a matching api setting could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting fetchByCompanyIdKey(
long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByCompanyIdKey(companyId, key);
}
/**
* Returns the api setting where companyId = &#63; and key = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param companyId the company ID
* @param key the key
* @param retrieveFromCache whether to use the finder cache
* @return the matching api setting, or <code>null</code> if a matching api setting could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting fetchByCompanyIdKey(
long companyId, long key, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByCompanyIdKey(companyId, key, retrieveFromCache);
}
/**
* Removes the api setting where companyId = &#63; and key = &#63; from the database.
*
* @param companyId the company ID
* @param key the key
* @return the api setting that was removed
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting removeByCompanyIdKey(
long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchApiSettingException {
return getPersistence().removeByCompanyIdKey(companyId, key);
}
/**
* Returns the number of api settings where companyId = &#63; and key = &#63;.
*
* @param companyId the company ID
* @param key the key
* @return the number of matching api settings
* @throws SystemException if a system exception occurred
*/
public static int countByCompanyIdKey(long companyId, long key)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByCompanyIdKey(companyId, key);
}
/**
* Caches the api setting in the entity cache if it is enabled.
*
* @param apiSetting the api setting
*/
public static void cacheResult(
it.mwg.sicilia.sue.model.ApiSetting apiSetting) {
getPersistence().cacheResult(apiSetting);
}
/**
* Caches the api settings in the entity cache if it is enabled.
*
* @param apiSettings the api settings
*/
public static void cacheResult(
java.util.List<it.mwg.sicilia.sue.model.ApiSetting> apiSettings) {
getPersistence().cacheResult(apiSettings);
}
/**
* Creates a new api setting with the primary key. Does not add the api setting to the database.
*
* @param id the primary key for the new api setting
* @return the new api setting
*/
public static it.mwg.sicilia.sue.model.ApiSetting create(long id) {
return getPersistence().create(id);
}
/**
* Removes the api setting with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param id the primary key of the api setting
* @return the api setting that was removed
* @throws it.mwg.sicilia.sue.NoSuchApiSettingException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting remove(long id)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchApiSettingException {
return getPersistence().remove(id);
}
public static it.mwg.sicilia.sue.model.ApiSetting updateImpl(
it.mwg.sicilia.sue.model.ApiSetting apiSetting)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().updateImpl(apiSetting);
}
/**
* Returns the api setting with the primary key or throws a {@link it.mwg.sicilia.sue.NoSuchApiSettingException} if it could not be found.
*
* @param id the primary key of the api setting
* @return the api setting
* @throws it.mwg.sicilia.sue.NoSuchApiSettingException if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting findByPrimaryKey(long id)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchApiSettingException {
return getPersistence().findByPrimaryKey(id);
}
/**
* Returns the api setting with the primary key or returns <code>null</code> if it could not be found.
*
* @param id the primary key of the api setting
* @return the api setting, or <code>null</code> if a api setting with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.ApiSetting fetchByPrimaryKey(long id)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByPrimaryKey(id);
}
/**
* Returns all the api settings.
*
* @return the api settings
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.mwg.sicilia.sue.model.ApiSetting> findAll()
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findAll();
}
/**
* Returns a range of all the api settings.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 start the lower bound of the range of api settings
* @param end the upper bound of the range of api settings (not inclusive)
* @return the range of api settings
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.mwg.sicilia.sue.model.ApiSetting> findAll(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findAll(start, end);
}
/**
* Returns an ordered range of all the api settings.
*
* <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.mwg.sicilia.sue.model.impl.ApiSettingModelImpl}. 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 start the lower bound of the range of api settings
* @param end the upper bound of the range of api settings (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of api settings
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.mwg.sicilia.sue.model.ApiSetting> findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findAll(start, end, orderByComparator);
}
/**
* Removes all the api settings from the database.
*
* @throws SystemException if a system exception occurred
*/
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence().removeAll();
}
/**
* Returns the number of api settings.
*
* @return the number of api settings
* @throws SystemException if a system exception occurred
*/
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countAll();
}
public static ApiSettingPersistence getPersistence() {
if (_persistence == null) {
_persistence = (ApiSettingPersistence)PortletBeanLocatorUtil.locate(it.mwg.sicilia.sue.service.ClpSerializer.getServletContextName(),
ApiSettingPersistence.class.getName());
ReferenceRegistry.registerReference(ApiSettingUtil.class,
"_persistence");
}
return _persistence;
}
/**
* @deprecated As of 6.2.0
*/
public void setPersistence(ApiSettingPersistence persistence) {
}
private static ApiSettingPersistence _persistence;
}

113
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/SportelloPersistence.java

@ -37,6 +37,119 @@ public interface SportelloPersistence extends BasePersistence<Sportello> {
* Never modify or reference this interface directly. Always use {@link SportelloUtil} to access the sportello persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns the sportello where comuneId = &#63; or throws a {@link it.mwg.sicilia.sue.NoSuchSportelloException} if it could not be found.
*
* @param comuneId the comune ID
* @return the matching sportello
* @throws it.mwg.sicilia.sue.NoSuchSportelloException if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.Sportello findByComuneId(long comuneId)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException;
/**
* Returns the sportello where comuneId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param comuneId the comune ID
* @return the matching sportello, or <code>null</code> if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.Sportello fetchByComuneId(long comuneId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the sportello where comuneId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param comuneId the comune ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching sportello, or <code>null</code> if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.Sportello fetchByComuneId(long comuneId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the sportello where comuneId = &#63; from the database.
*
* @param comuneId the comune ID
* @return the sportello that was removed
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.Sportello removeByComuneId(long comuneId)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException;
/**
* Returns the number of sportellos where comuneId = &#63;.
*
* @param comuneId the comune ID
* @return the number of matching sportellos
* @throws SystemException if a system exception occurred
*/
public int countByComuneId(long comuneId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the sportello where userName = &#63; or throws a {@link it.mwg.sicilia.sue.NoSuchSportelloException} if it could not be found.
*
* @param userName the user name
* @return the matching sportello
* @throws it.mwg.sicilia.sue.NoSuchSportelloException if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.Sportello findByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException;
/**
* Returns the sportello where userName = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param userName the user name
* @return the matching sportello, or <code>null</code> if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.Sportello fetchByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the sportello where userName = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param userName the user name
* @param retrieveFromCache whether to use the finder cache
* @return the matching sportello, or <code>null</code> if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.Sportello fetchByUserName(
java.lang.String userName, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the sportello where userName = &#63; from the database.
*
* @param userName the user name
* @return the sportello that was removed
* @throws SystemException if a system exception occurred
*/
public it.mwg.sicilia.sue.model.Sportello removeByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException;
/**
* Returns the number of sportellos where userName = &#63;.
*
* @param userName the user name
* @return the number of matching sportellos
* @throws SystemException if a system exception occurred
*/
public int countByUserName(java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Caches the sportello in the entity cache if it is enabled.
*

136
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/service/it/mwg/sicilia/sue/service/persistence/SportelloUtil.java

@ -110,6 +110,142 @@ public class SportelloUtil {
return getPersistence().update(sportello, serviceContext);
}
/**
* Returns the sportello where comuneId = &#63; or throws a {@link it.mwg.sicilia.sue.NoSuchSportelloException} if it could not be found.
*
* @param comuneId the comune ID
* @return the matching sportello
* @throws it.mwg.sicilia.sue.NoSuchSportelloException if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.Sportello findByComuneId(
long comuneId)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException {
return getPersistence().findByComuneId(comuneId);
}
/**
* Returns the sportello where comuneId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param comuneId the comune ID
* @return the matching sportello, or <code>null</code> if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.Sportello fetchByComuneId(
long comuneId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByComuneId(comuneId);
}
/**
* Returns the sportello where comuneId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param comuneId the comune ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching sportello, or <code>null</code> if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.Sportello fetchByComuneId(
long comuneId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByComuneId(comuneId, retrieveFromCache);
}
/**
* Removes the sportello where comuneId = &#63; from the database.
*
* @param comuneId the comune ID
* @return the sportello that was removed
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.Sportello removeByComuneId(
long comuneId)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException {
return getPersistence().removeByComuneId(comuneId);
}
/**
* Returns the number of sportellos where comuneId = &#63;.
*
* @param comuneId the comune ID
* @return the number of matching sportellos
* @throws SystemException if a system exception occurred
*/
public static int countByComuneId(long comuneId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByComuneId(comuneId);
}
/**
* Returns the sportello where userName = &#63; or throws a {@link it.mwg.sicilia.sue.NoSuchSportelloException} if it could not be found.
*
* @param userName the user name
* @return the matching sportello
* @throws it.mwg.sicilia.sue.NoSuchSportelloException if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.Sportello findByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException {
return getPersistence().findByUserName(userName);
}
/**
* Returns the sportello where userName = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param userName the user name
* @return the matching sportello, or <code>null</code> if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.Sportello fetchByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByUserName(userName);
}
/**
* Returns the sportello where userName = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param userName the user name
* @param retrieveFromCache whether to use the finder cache
* @return the matching sportello, or <code>null</code> if a matching sportello could not be found
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.Sportello fetchByUserName(
java.lang.String userName, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByUserName(userName, retrieveFromCache);
}
/**
* Removes the sportello where userName = &#63; from the database.
*
* @param userName the user name
* @return the sportello that was removed
* @throws SystemException if a system exception occurred
*/
public static it.mwg.sicilia.sue.model.Sportello removeByUserName(
java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException,
it.mwg.sicilia.sue.NoSuchSportelloException {
return getPersistence().removeByUserName(userName);
}
/**
* Returns the number of sportellos where userName = &#63;.
*
* @param userName the user name
* @return the number of matching sportellos
* @throws SystemException if a system exception occurred
*/
public static int countByUserName(java.lang.String userName)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByUserName(userName);
}
/**
* Caches the sportello in the entity cache if it is enabled.
*

4
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/sql/indexes.properties

@ -0,0 +1,4 @@
IX_7B780A8D=sicilia_sue_ApiSetting.CompanyIdKey
IX_8B2AB20B=sicilia_sue_Sportello.ComuneId
IX_F4E738BB=sicilia_sue_Sportello.UserName

4
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/sql/indexes.sql

@ -0,0 +1,4 @@
create unique index IX_7B780A8D on sicilia_sue_ApiSetting (companyId, key_);
create unique index IX_8B2AB20B on sicilia_sue_Sportello (comuneId);
create unique index IX_F4E738BB on sicilia_sue_Sportello (userName);

23
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/sql/tables.sql

@ -1,9 +1,26 @@
create table sicilia_sue_ApiSetting (
id_ LONG not null primary key,
companyId LONG,
key_ LONG,
value STRING null
);
create table sicilia_sue_Sportello (
sportelloId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null
createUserId LONG,
createUserName VARCHAR(75) null,
modifiedDate DATE null,
modifiedUserId LONG,
modifiedUserName VARCHAR(75) null,
userName VARCHAR(75) null,
email VARCHAR(240) null,
comuneId LONG,
attivo BOOLEAN,
password_ VARCHAR(75) null,
passwordModifiedDate DATE null,
passwordModifiedUserId LONG,
passwordModifiedUserName VARCHAR(240) null
);

24
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml

@ -2,7 +2,17 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-lazy="false" auto-import="false">
<import class="it.mwg.sicilia.sue.model.ApiSetting" />
<import class="it.mwg.sicilia.sue.model.Sportello" />
<class name="it.mwg.sicilia.sue.model.impl.ApiSettingImpl" table="sicilia_sue_ApiSetting">
<cache usage="read-write" />
<id name="id" column="id_" type="long">
<generator class="assigned" />
</id>
<property name="companyId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="key" type="com.liferay.portal.dao.orm.hibernate.LongType" column="key_" />
<property name="value" type="com.liferay.portal.dao.orm.hibernate.StringType" />
</class>
<class name="it.mwg.sicilia.sue.model.impl.SportelloImpl" table="sicilia_sue_Sportello">
<cache usage="read-write" />
<id name="sportelloId" type="long">
@ -10,9 +20,19 @@
</id>
<property name="groupId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="companyId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="userId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="userName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="createDate" type="org.hibernate.type.TimestampType" />
<property name="createUserId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="createUserName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="modifiedDate" type="org.hibernate.type.TimestampType" />
<property name="modifiedUserId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="modifiedUserName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="userName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="email" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="comuneId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="attivo" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="password" type="com.liferay.portal.dao.orm.hibernate.StringType" column="password_" />
<property name="passwordModifiedDate" type="org.hibernate.type.TimestampType" />
<property name="passwordModifiedUserId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="passwordModifiedUserName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
</class>
</hibernate-mapping>

26
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml

@ -1,13 +1,35 @@
<?xml version="1.0"?>
<model-hints>
<model name="it.mwg.sicilia.sue.model.ApiSetting">
<field name="id" type="long" />
<field name="companyId" type="long" />
<field name="key" type="long" />
<field name="value" type="String">
<hint name="max-length">4000</hint>
</field>
</model>
<model name="it.mwg.sicilia.sue.model.Sportello">
<field name="sportelloId" type="long" />
<field name="groupId" type="long" />
<field name="companyId" type="long" />
<field name="userId" type="long" />
<field name="userName" type="String" />
<field name="createDate" type="Date" />
<field name="createUserId" type="long" />
<field name="createUserName" type="String" />
<field name="modifiedDate" type="Date" />
<field name="modifiedUserId" type="long" />
<field name="modifiedUserName" type="String" />
<field name="userName" type="String" />
<field name="email" type="String">
<hint name="max-length">240</hint>
</field>
<field name="comuneId" type="long" />
<field name="attivo" type="boolean" />
<field name="password" type="String" />
<field name="passwordModifiedDate" type="Date" />
<field name="passwordModifiedUserId" type="long" />
<field name="passwordModifiedUserName" type="String">
<hint name="max-length">240</hint>
</field>
</model>
</model-hints>

Some files were not shown because too many files have changed in this diff Show More

Caricamento…
Annulla
Salva