Sfoglia il codice sorgente

Ricerca backoffice per codice fiscale e correzione export csv

master
Ture La Manna 10 mesi fa
parent
commit
f9db355ae7
  1. BIN
      liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar
  2. BIN
      liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar
  3. 2
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/ivy.xml
  4. 2
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/ivy.xml
  5. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath
  6. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/hms-taglib-hook-service.jar
  7. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-portlet-service.jar
  8. 1717
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  9. 32
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/AllegatoManuale.xml
  10. 83
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Asseverazione.xml
  11. 106
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Avviso.xml
  12. 65
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Collaudo.xml
  13. 58
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Comune.xml
  14. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Comunicazione.xml
  15. 23
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Configurazione.xml
  16. 41
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/ControlloPratica.xml
  17. 94
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Delega.xml
  18. 284
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/DettPratica.xml
  19. 39
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/DocAggiuntiva.xml
  20. 81
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/DocPratica.xml
  21. 78
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/FineLavori.xml
  22. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/HistoryWorkflowAction.xml
  23. 65
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/IntPratica.xml
  24. 67
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Pagamento.xml
  25. 45
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/ParereGeologo.xml
  26. 26
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/PraticaAttenzionata.xml
  27. 36
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Provincia.xml
  28. 162
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Soggetto.xml
  29. 70
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Sorteggio.xml
  30. 35
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/StoricoSoggettoPratica.xml
  31. 42
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Tempistica.xml
  32. 59
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml.d/Territorio.xml
  33. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  34. 527
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  35. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  36. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  37. 263
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java
  38. 20
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/ControlloPraticaIndexer.java
  39. 18
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/indexer/IntPraticaIndexer.java
  40. 22
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/FascicoloPortlet.java
  41. 527
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  42. 20
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  43. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AllegatoManualePersistenceImpl.java
  44. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java
  45. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AvvisoPersistenceImpl.java
  46. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistenceImpl.java
  47. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunePersistenceImpl.java
  48. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunicazionePersistenceImpl.java
  49. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ConfigurazionePersistenceImpl.java
  50. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ControlloPraticaPersistenceImpl.java
  51. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DelegaPersistenceImpl.java
  52. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java
  53. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocAggiuntivaPersistenceImpl.java
  54. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocPraticaPersistenceImpl.java
  55. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistenceImpl.java
  56. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/HistoryWorkflowActionPersistenceImpl.java
  57. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java
  58. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java
  59. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistenceImpl.java
  60. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PraticaAttenzionataPersistenceImpl.java
  61. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ProvinciaPersistenceImpl.java
  62. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SoggettoPersistenceImpl.java
  63. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SorteggioPersistenceImpl.java
  64. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/StoricoSoggettoPraticaPersistenceImpl.java
  65. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TempisticaPersistenceImpl.java
  66. 1
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TerritorioPersistenceImpl.java
  67. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  68. 2
      liferay-plugins-sdk-6.2/portlets/portos-comunicazioni-portlet/ivy.xml
  69. 2
      liferay-plugins-sdk-6.2/portlets/portos-deploy-alert-portlet/ivy.xml
  70. 2
      liferay-plugins-sdk-6.2/portlets/portos-jbpm-log-task-portlet/ivy.xml
  71. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/commons-collections.jar
  72. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/commons-lang.jar
  73. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/commons-logging.jar
  74. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/jstl-api.jar
  75. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/jstl-impl.jar
  76. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/log4j.jar
  77. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/util-bridges.jar
  78. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/util-taglib.jar
  79. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/velocity-tools.jar
  80. BIN
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/velocity.jar
  81. 10
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/liferay-portlet.xml
  82. 24
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service.xml
  83. 35
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachment.java
  84. 301
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachmentClp.java
  85. 146
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachmentModel.java
  86. 111
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachmentSoap.java
  87. 278
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachmentWrapper.java
  88. 256
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/EmailTemplateAttachmentLocalService.java
  89. 733
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/EmailTemplateAttachmentLocalServiceClp.java
  90. 313
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/EmailTemplateAttachmentLocalServiceUtil.java
  91. 320
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/EmailTemplateAttachmentLocalServiceWrapper.java
  92. 38
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/persistence/EmailTemplateAttachmentActionableDynamicQuery.java
  93. 140
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/persistence/EmailTemplateAttachmentPK.java
  94. 362
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/persistence/EmailTemplateAttachmentPersistence.java
  95. 526
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/service/persistence/EmailTemplateAttachmentUtil.java
  96. 17
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/hook/listener/DLFileEntryListener.java
  97. 50
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/model/impl/EmailTemplateAttachmentBaseImpl.java
  98. 76
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/model/impl/EmailTemplateAttachmentCacheModel.java
  99. 34
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/model/impl/EmailTemplateAttachmentImpl.java
  100. 318
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/model/impl/EmailTemplateAttachmentModelImpl.java
  101. Some files were not shown because too many files have changed in this diff Show More

BIN
liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar vendored

File binario non mostrato.

2
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/ivy.xml

@ -13,6 +13,6 @@
<dependencies defaultconf="default">
<dependency conf="test->default" name="arquillian-junit-container" org="org.jboss.arquillian.junit" rev="1.1.6.Final" />
<dependency conf="test->default" name="arquillian-tomcat-remote-7" org="org.jboss.arquillian.container" rev="1.0.0.CR6" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0-SNAPSHOT" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0" />
</dependencies>
</ivy-module>

2
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/ivy.xml

@ -13,6 +13,6 @@
<dependencies defaultconf="default">
<dependency conf="test->default" name="arquillian-junit-container" org="org.jboss.arquillian.junit" rev="1.1.6.Final" />
<dependency conf="test->default" name="arquillian-tomcat-remote-7" org="org.jboss.arquillian.container" rev="1.0.0.CR6" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0-SNAPSHOT" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0" />
</dependencies>
</ivy-module>

1
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath

@ -20,5 +20,6 @@
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=portos-bo-portlet&amp;ivyXmlPath=ivy.xml&amp;confs=*"/>
<classpathentry kind="src" path="/portos-bo-shared"/>
<classpathentry kind="output" path="docroot/WEB-INF/classes"/>
</classpath>

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

File binario non mostrato.

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

File binario non mostrato.

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

File diff soppresso perché troppo grande Load Diff

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

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="AllegatoManuale" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="allegatoManualeId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="avvisoId" type="long" />
<column name="fileEntryId" type="long" />
<column name="oldFileEntryId" type="long" />
<!-- Other fields -->
<column name="descrizione" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Asseverazione" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="asseverazioneId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="fileEntryId" type="long" />
<column name="soggettoId" type="long" />
<!-- Other fields -->
<column name="tipologia" type="String" />
<column name="esito" type="String" />
<column name="dtEsito" type="Date" />
<column name="mezzo" type="String" />
<column name="codiceFiscale" type="String" />
<column name="dichiarazioni" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="IntPratica_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_InEsito">
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_CodiceFiscale_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_Tipologia_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_Tipologia_InEsito">
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,106 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Avviso" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="avvisoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="descLong" type="String" />
<column name="dtAvviso" type="Date" />
<column name="tipoAvviso" type="String" />
<column name="tipoDocumento" type="String" />
<column name="fileEntryIdTemplate" type="long" />
<column name="fileEntryIdBase" type="long" />
<column name="fileEntryIdInvio" type="long" />
<column name="fileEntryIdProtocollo" type="long" />
<column name="oldFileEntryIdBase" type="long" />
<column name="oldFileEntryIdInvio" type="long" />
<column name="dtCreateFileEntryInvio" type="Date" />
<column name="userCodiceFiscalePrimaFirma" type="String" />
<column name="firmaInCorso" type="boolean" />
<column name="transactionIdPrimaFirma" type="String" />
<column name="inviato" type="String" />
<column name="dtInvio" type="Date" />
<column name="annullato" type="boolean" />
<column name="errore" type="boolean" />
<column name="signal" type="boolean" />
<column name="dtInvioSignal" type="Date" />
<column name="tempistica" type="boolean" />
<column name="dtTempistica" type="Date" />
<column name="jsonParameters" type="String" />
<column name="protocollo" type="String" />
<column name="dtProtocollo" type="Date" />
<column name="oggettoProtocollo" type="String" />
<column name="inviatoTecnico" type="boolean" />
<column name="rifiutato" type="boolean" />
<column name="dtRifiuto" type="Date" />
<column name="commentoRifiuto" type="String" />
<!-- Campi usati da portos 2 -->
<column name="oldAvvisoId" type="long" />
<column name="intPraticaId" type="long" />
<column name="controlloPraticaId" type="long" />
<!-- Campi Id referenziati -->
<column name="classPk" type="long" />
<column name="className" type="String" />
<order by="desc">
<order-column name="dtAvviso" />
</order>
<!-- Finder -->
<finder return-type="Avviso" name="oldAvvisoId">
<finder-column name="oldAvvisoId" />
</finder>
<finder return-type="Collection" name="IntPraticaId_tipoDocumento">
<finder-column name="intPraticaId" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="IntPraticaIds_tipoDocumento">
<finder-column name="intPraticaId" arrayable-operator="OR" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="ControlloPraticaId_tipoDocumento">
<finder-column name="controlloPraticaId" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="ControlloPraticaIds_tipoDocumento">
<finder-column name="controlloPraticaId" arrayable-operator="OR" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="ControlloPratica">
<finder-column name="controlloPraticaId" />
</finder>
<finder return-type="Collection" name="ClassPk_tipoDocumento">
<finder-column name="classPk" />
<finder-column name="tipoDocumento" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_Inviato">
<finder-column name="intPraticaId" />
<finder-column name="inviato" />
</finder>
<finder return-type="Collection" name="ClassPk">
<finder-column name="classPk" />
</finder>
<finder return-type="Avviso" name="C_G_Protocollo">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="protocollo" />
</finder>
<finder return-type="Avviso" name="Protocollo">
<finder-column name="protocollo" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Collaudo" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="collaudoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica -->
<column name="intPraticaId" type="long" />
<!-- Campi Id referenziati -->
<column name="docPratiche" type="Collection" entity="DocPratica" mapping-key="collaudoId" />
<!-- Other fields -->
<column name="protocollo" type="String" />
<column name="dtProtocollo" type="Date" />
<column name="parziale" type="boolean" />
<column name="completata" type="boolean" />
<column name="gestita" type="boolean" />
<column name="numero" type="long" />
<column name="codiceFiscaleDelegato" type="String" />
<column name="dataEffettuazione" type="Date" />
<column name="dataCollaudo" type="Date" />
<column name="noteCollaudo" type="String" />
<column name="pagamentoId" type="long" />
<column name="codicePagamento" type="String" />
<column name="causalePagamento" type="String" />
<column name="mezzoPagamento" type="String" />
<column name="normEsenteBollo" type="boolean" />
<column name="importoBolli" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collaudo" name="Protocollo">
<finder-column name="protocollo" />
</finder>
<finder return-type="Collaudo" name="C_G_Protocollo">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscaleDelegato" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Completata">
<finder-column name="intPraticaId" />
<finder-column name="completata" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_Completata">
<finder-column name="codiceFiscaleDelegato" />
<finder-column name="completata" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Parziale">
<finder-column name="intPraticaId" />
<finder-column name="parziale" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Comune" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="comuneId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<!-- Other fields -->
<column name="codiceProvincia" type="String" />
<column name="codiceComune" type="String" />
<column name="codiceIstat" type="String" />
<column name="codiceBelfiore" type="String" />
<column name="denominazione" type="String" />
<column name="provincia" type="boolean" />
<column name="stato" type="boolean" />
<column name="disabilitato" type="boolean" />
<column name="mailSuap" type="String" />
<column name="mailSue" type="String" />
<column name="praticaOspedali" type="boolean" />
<!-- Order -->
<order by="asc">
<order-column name="denominazione" />
</order>
<!-- Finder -->
<finder name="CompanyId" return-type="Collection">
<finder-column name="companyId" />
</finder>
<finder name="C_CI" return-type="Comune" unique="true">
<finder-column name="companyId" />
<finder-column name="codiceIstat" />
</finder>
<finder name="CI" return-type="Comune" unique="true">
<finder-column name="codiceIstat" />
</finder>
<finder name="C_CB" return-type="Comune" unique="true">
<finder-column name="companyId" />
<finder-column name="codiceBelfiore" />
</finder>
<finder name="C_CP" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="codiceProvincia" />
</finder>
<finder name="C_Stato" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="stato" />
</finder>
<finder name="C_Denominazione" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="denominazione" comparator="LIKE" case-sensitive="false" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Comunicazione" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="comunicazioneId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Fascicolo (intPraticaId si riferisce al proprietario del fascicolo) -->
<column name="intPraticaId" type="long" />
<!-- Other fields -->
<column name="domanda" type="String" />
<column name="risposta" type="String" />
<column name="dtRisposta" type="Date" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity cache-enabled="false" name="Configurazione" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="configurazioneId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="chiave" type="String" />
<column name="valore" type="String" />
<finder return-type="Configurazione" name="C_Chiave" unique="true" db-index="true">
<finder-column name="companyId" />
<finder-column name="chiave" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="ControlloPratica" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="controlloPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="dettPraticaId" type="long" />
<column name="intPraticaId" type="long" />
<!-- Other fields -->
<column name="parereGeologo" type="String" />
<column name="status" type="int" />
<column name="statusByUserId" type="long" />
<column name="statusByUserName" type="String" />
<column name="statusDate" type="Date" />
<!-- Finder -->
<finder return-type="Collection" name="DettPraticaId">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Status">
<finder-column name="intPraticaId" />
<finder-column name="status" />
</finder>
<reference package-path="com.liferay.portal" entity="WorkflowInstanceLink" />
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry" />
<reference package-path="com.liferay.portlet.asset" entity="AssetCategory" />
<reference package-path="com.liferay.portlet.asset" entity="AssetVocabulary" />
<reference package-path="com.liferay.portlet.asset" entity="AssetLink" />
</entity>
</service-builder>

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

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Delega" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="delegaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<!-- Other fields -->
<column name="tipologia" type="String" />
<column name="esito" type="String" />
<column name="dtEsito" type="Date" />
<column name="codiceFiscale" type="String" />
<column name="dichiarazioni" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="CodiceFiscale">
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="IntPratica_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_InEsito">
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_CodiceFiscale_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_CodiceFiscale_Tipologia_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" arrayable-operator="IN" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_Tipologia_InEsito">
<finder-column name="dettPraticaId" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="DettPratica_Tipologie_InEsiti">
<finder-column name="dettPraticaId" />
<finder-column name="tipologia" arrayable-operator="IN" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_Tipologia_InEsito">
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale_Tipologia_InEsito">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologia" />
<finder-column name="esito" arrayable-operator="IN" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,284 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="DettPratica" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="dettPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<column name="intPraticaId" type="long" />
<column name="integrazione" type="long" />
<column name="protocollo" type="String" />
<column name="dtProtocollo" type="Date" />
<column name="tipoIntegrazione" type="String" />
<column name="completa" type="boolean" />
<column name="gestita" type="boolean" />
<column name="importoSpeseIstruttoria" type="String" />
<column name="codicePagamentoOneri" type="String" />
<column name="causalePagamentoOneri" type="String" />
<column name="mezzoPagamentoOneri" type="String" />
<column name="importoBolli" type="String" />
<column name="codicePagamentoBolli" type="String" />
<column name="causalePagamentoBolli" type="String" />
<column name="mezzoPagamentoBolli" type="String" />
<column name="dataEffettuazione" type="Date" />
<column name="version" type="int" />
<column name="versionata" type="boolean" />
<!-- Campi Id referenziati -->
<column name="avvisi" type="Collection" entity="Avviso" mapping-key="dettPraticaId" />
<column name="docPratiche" type="Collection" entity="DocPratica" mapping-key="dettPraticaId" />
<column name="soggetti" type="Collection" entity="Soggetto" mapping-key="dettPraticaId" />
<!-- Workflow -->
<column name="status" type="int" />
<column name="statusByUserId" type="long" />
<column name="statusByUserName" type="String" />
<column name="statusDate" type="Date" />
<column name="statusTask" type="int" />
<column name="workflowForzato" type="boolean" />
<column name="soggettoSostituitoId" type="long" />
<column name="dtInvioSignal" type="Date" />
<!-- Campi aggiuntivi provenienti da intPratica -->
<column name="destinazione" type="String" />
<column name="ag" type="String" />
<column name="descLongIntervento" type="String" />
<column name="via" type="String" />
<column name="localita" type="String" />
<column name="estremiCatastali" type="String" />
<column name="estremiPratCom" type="String" />
<column name="contestoPaesaggistico" type="String" />
<column name="livelloDiTutela" type="String" />
<column name="vincoli" type="String" />
<column name="variataDa" type="long" />
<column name="varianteNumero" type="long" />
<column name="varianteSostanziale" type="boolean" />
<column name="operaConforme" type="boolean" />
<column name="collaudoStatico" type="boolean" />
<column name="codiceFiscaleDelegato" type="String" />
<column name="codiceRuoloDelegato" type="String" />
<column name="codiceFiscaleDelegatoCommittente" type="String" />
<column name="codiceFiscaleDelegatoFineLavori" type="String" />
<column name="codiceFiscaleDelegatoCollaudo" type="String" />
<column name="codiceFiscalePrincipaleCommittente" type="String" />
<column name="codiceFiscalePrincipaleCollaudatore" type="String" />
<column name="codiceFiscalePrincipaleProgettista" type="String" />
<column name="codiceFiscalePrincipaleDirettoreLavori" type="String" />
<column name="codiceFiscalePrincipaleDitta" type="String" />
<column name="codiceFiscalePrincipaleGeologo" type="String" />
<column name="lavoriInEconomiaCommittente" type="boolean" />
<column name="inizioLavoriContestualeOpera" type="boolean" />
<column name="dataInizioLavoriOpera" type="Date" />
<column name="dataInizioEsecuzioneOpera" type="Date" />
<column name="dataFineEsecuzioneOpera" type="Date" />
<column name="metratura" type="String" />
<column name="lavoriPubblici" type="boolean" />
<!-- Campo aggiunto per evolutive al fine lavori -->
<column name="dataInserimentoInizioLavoriOpera" type="Date" />
<!-- Campi aggiuntivi solo per Portos 2 -->
<column name="pagamentoIdOneri" type="long" />
<column name="pagamentoIdBolli" type="long" />
<column name="lavoriPubbliciPercentuale" type="int" />
<column name="numeroCivico" type="String" />
<column name="dcParticelle" type="String" />
<column name="dcFoglio" type="String" />
<column name="dcAllegato" type="String" />
<column name="dePiani" type="String" />
<column name="deAltezza" type="String" />
<column name="deInterrati" type="String" />
<column name="deSuperficie" type="String" />
<column name="deCostruzione" type="String" />
<column name="deRistrutturazione" type="String" />
<column name="deUso" type="String" />
<column name="dePubblica" type="String" />
<column name="dePrivata" type="String" />
<column name="deUtilizzazione" type="String" />
<column name="dePosizioneEdificio" type="String" />
<column name="deInfStradalePonte" type="boolean" />
<column name="deInfStradaleStrada" type="boolean" />
<column name="deInfStradaleAltro" type="boolean" />
<column name="deInfIdraulicaLong" type="boolean" />
<column name="deInfIdraulicaTrasv" type="boolean" />
<column name="deInfIdraulicaAltro" type="boolean" />
<column name="deInfOperaAccStradale" type="boolean" />
<column name="deInfOperaAccIdraulica" type="boolean" />
<column name="deInfOperaAccAltro" type="boolean" />
<column name="deInfAltraInfrastruttura" type="boolean" />
<column name="deInfAltro" type="boolean" />
<column name="deInfAltroDesc" type="String" />
<column name="dccFondazioni" type="String" />
<column name="dccStruttureEleMuraturePietrame" type="boolean" />
<column name="dccStruttureEleMuratureLaterizio" type="boolean" />
<column name="dccStruttureEleMuratureMisto" type="boolean" />
<column name="dccStruttureEleMuratureStoriche" type="boolean" />
<column name="dccStruttureEleAcciaio" type="String" />
<column name="dccStruttureEleCA" type="String" />
<column name="dccStruttureEleLegno" type="String" />
<column name="dccStruttureEleMistoCA" type="boolean" />
<column name="dccStruttureEleMistoAcciaio" type="boolean" />
<column name="dccStruttureEleMistoMuratura" type="boolean" />
<column name="dccStruttureEleMistoLegno" type="boolean" />
<column name="dccStruttureElePrefabbricato" type="boolean" />
<column name="dccStruttureEleAltro" type="boolean" />
<column name="dccStruttureEleAltroDescrizione" type="String" />
<column name="dccOrizzontamentiCAAcciaio" type="boolean" />
<column name="dccOrizzontamentiLegno" type="boolean" />
<column name="dccOrizzontamentiLegnoCA" type="boolean" />
<column name="dccOrizzontamentiLamieraGrecata" type="boolean" />
<column name="dccOrizzontamentiVolte" type="boolean" />
<column name="dccOrizzontamentiAltro" type="boolean" />
<column name="dccOrizzontamentiAltroDescrizione" type="String" />
<column name="dccCopertura" type="String" />
<column name="dccCoperturaCAAcciaio" type="boolean" />
<column name="dccCoperturaLegno" type="boolean" />
<column name="dccCoperturaLegnoCA" type="boolean" />
<column name="dccCoperturaLamieraGrecata" type="boolean" />
<column name="dccCoperturaPannelli" type="boolean" />
<column name="dccCoperturaPVCTelonati" type="boolean" />
<column name="dccCoperturaLeggere" type="boolean" />
<column name="dccCoperturaAltro" type="boolean" />
<column name="dccCoperturaAltroDesrizione" type="String" />
<column name="dccElemNonStrutLaterizio" type="boolean" />
<column name="dccElemNonStrutCartongesso" type="boolean" />
<column name="dccElemNonStrutCalcestruzzo" type="boolean" />
<column name="dccElemNonStrutLegno" type="boolean" />
<column name="dccElemNonStrutAltro" type="boolean" />
<column name="dccElemNonStrutAltroDescrizione" type="String" />
<column name="dccOpereDiRinforzoInsCatene" type="boolean" />
<column name="dccOpereDiRinforzoInsCordoli" type="boolean" />
<column name="dccOpereDiRinforzoIniArmate" type="boolean" />
<column name="dccOpereDiRinforzoPlaccaggi" type="boolean" />
<column name="dccOpereDiRinforzoIrrSolai" type="boolean" />
<column name="dccOpereDiRinforzoRinforziFRP" type="boolean" />
<column name="dccOpereDiRinforzoTelaiECerchiature" type="boolean" />
<column name="dccOpereDiRinforzoInsRompitratta" type="boolean" />
<column name="dccOpereDiRinforzoAltro" type="boolean" />
<column name="dccOpereDiRinforzoAltroDescrizione" type="String" />
<column name="geoClasseIndagine" type="String" />
<column name="geoCategoriaSottosuolo" type="String" />
<column name="geoCategoriaTopografica" type="String" />
<column name="geoConsolidamento" type="String" />
<column name="geoPericolositaGeologica" type="String" />
<column name="geoPericolositaSismica" type="String" />
<column name="geoPericolositaIdraulica" type="String" />
<column name="geoPericolositaGeomorfica" type="String" />
<column name="geoRischioGeomorfologicoPai" type="String" />
<column name="geoPericolositaIdraulicaPai" type="String" />
<column name="geoRischioIdraulicoPai" type="String" />
<column name="geoFattibilitaGeologica" type="String" />
<column name="geoFattibilitaSismica" type="String" />
<column name="geoFattibilitaIdraulica" type="String" />
<column name="geoOperaRilevante" type="String" />
<column name="geoOpereDiSostegno" type="String" />
<column name="geoOpereInSotterranea" type="String" />
<column name="geoPresenzaPrescrizioni" type="String" />
<column name="geoNotePrescrizioni" type="String" />
<column name="geoNoteIndagini" type="String" />
<column name="geoEvidenzeGeomorfiche" type="String" />
<column name="geoEvidenzeGeologiche" type="String" />
<column name="geoDtRelazione" type="Date" />
<column name="pagNuoveCostruzioni" type="boolean" />
<column name="pagAdeguamentoSismico" type="int" />
<column name="pagMiglioramentoSismico" type="int" />
<column name="pagMiglioramentoSismicoSicilia" type="boolean" />
<column name="pagRiparazioneInterventoLocale" type="boolean" />
<column name="pagOperaNonQuantificabile" type="boolean" />
<column name="pagNuovaCostruzione" type="int" />
<column name="pagVarianti" type="boolean" />
<column name="pagAltro" type="int" />
<column name="pagCalcolatoAdeguamentoSismico" type="String" />
<column name="pagCalcolatoMiglioramentoSismico" type="String" />
<column name="pagCalcolatoRiparazioneInterventoLocale" type="String" />
<column name="pagCalcolatoOperaNonQuantificabile" type="String" />
<column name="pagEffettivoAdeguamentoSismico" type="String" />
<column name="pagEffettivoMiglioramentoSismico" type="String" />
<column name="pagEffettivoRiparazioneInterventoLocale" type="String" />
<column name="pagEffettivoOperaNonQuantificabile" type="String" />
<column name="pagNoteUtente" type="String" />
<column name="note" type="String" />
<column name="noteUfficio" type="String" />
<column name="localizzazioneGeografica" type="String" />
<!-- Campi al posto di tipologia sistemi costruttivi -->
<column name="tcNuovaCostruzione" type="boolean" />
<column name="tcNuovaCostruzioneComplessa" type="boolean" />
<column name="tcAdeguamentoSismico" type="boolean" />
<column name="tcMiglioramentoSismico" type="boolean" />
<column name="tcRiparazioneInterventoLocale" type="boolean" />
<!-- Campi prima presenti in sistemi costruttivi -->
<column name="tcInCA" type="boolean" />
<column name="tcInOpera" type="boolean" />
<column name="tcPrefabbricato" type="boolean" />
<column name="tcInAcciaio" type="boolean" />
<column name="tcMista" type="boolean" />
<column name="tcInMuratura" type="boolean" />
<column name="tcInMuraturaOrdinaria" type="boolean" />
<column name="tcInMuraturaArmata" type="boolean" />
<column name="tcInMuraturaMista" type="boolean" />
<column name="tcInLegno" type="boolean" />
<column name="tcAltro" type="boolean" />
<column name="tcAltroDescrizione" type="String" />
<column name="tcConDispositivi" type="boolean" />
<!-- Campi aggiunti che non so se vanno importati dal vecchio -->
<column name="normLavoriInProprio" type="boolean" />
<column name="normEsenteBollo" type="boolean" />
<column name="normEsenteSpese" type="boolean" />
<column name="normDpr01Dep" type="boolean" />
<column name="normDpr02Dep" type="boolean" />
<column name="normDpr01Aut" type="boolean" />
<column name="normDpr02Aut" type="boolean" />
<column name="normDpr03" type="boolean" />
<column name="normDpr04" type="boolean" />
<column name="normDpr05" type="boolean" />
<column name="normDm01" type="boolean" />
<column name="normDm02" type="boolean" />
<column name="normDm03" type="boolean" />
<column name="normDm2018" type="boolean" />
<column name="normDm04" type="boolean" />
<column name="normDm05" type="boolean" />
<column name="normDprg01" type="boolean" />
<column name="normDprg02" type="boolean" />
<column name="normAnr" type="boolean" />
<column name="normOrd01" type="boolean" />
<column name="normCI01" type="boolean" />
<column name="normLTC01" type="boolean" />
<column name="normArt3com3" type="boolean" />
<column name="normArt3com4" type="boolean" />
<column name="dpdc" type="boolean" />
<column name="normSismaBonus" type="boolean" />
<column name="clRischioPreInt" type="String" />
<column name="clRischioPostInt" type="String" />
<column name="intervFinPub" type="boolean" />
<column name="intervFinPubDesc" type="String" />
<column name="suap" type="boolean" />
<finder return-type="DettPratica" name="Protocollo">
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="DettPratica" name="C_G_Protocollo">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId_TipoIntegrazione_Completa" db-index="true">
<finder-column name="intPraticaId" />
<finder-column name="tipoIntegrazione" />
<finder-column name="completa" />
</finder>
<finder return-type="Collection" name="IntPraticaId_TipoIntegrazione" db-index="true">
<finder-column name="intPraticaId" />
<finder-column name="tipoIntegrazione" />
</finder>
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry" />
<reference package-path="com.liferay.portlet.asset" entity="AssetCategory" />
<reference package-path="com.liferay.portlet.asset" entity="AssetVocabulary" />
<reference package-path="com.liferay.portlet.asset" entity="AssetLink" />
<reference package-path="com.liferay.portlet.expando" entity="ExpandoValue" />
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="DocAggiuntiva" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="docAggiuntivaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="fileEntryId" type="long" />
<column name="oldFileEntryId" type="long" />
<!-- Other fields -->
<column name="descrizione" type="String" />
<column name="feVisible" type="boolean" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_FeVisible">
<finder-column name="intPraticaId" />
<finder-column name="feVisible" />
</finder>
<finder return-type="DocAggiuntiva" name="oldFileEntryId">
<finder-column name="oldFileEntryId" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="DocPratica" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="docPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Campi Id referenziati -->
<column name="classPk" type="long" />
<column name="className" type="String" />
<column name="intPraticaId" type="long" />
<column name="dlFileEntryId" type="long" />
<column name="oldDlFileEntryId" type="long" />
<!-- Other fields -->
<column name="version" type="String" />
<column name="praticaValidata" type="boolean" />
<column name="descLong" type="String" />
<column name="tipologia" type="String" />
<column name="sha256" type="String" />
<!-- MD5 viene mantenuto per l importazione dei vecchi files -->
<column name="md5" type="String" />
<column name="aggiornato" type="boolean" />
<column name="jsonFirmatari" type="String" />
<!-- Aggiunti per Portos 2 -->
<column name="status" type="long" />
<column name="errorCode" type="String" />
<column name="oldDocPraticaId" type="long" />
<column name="rimosso" type="boolean" />
<column name="dettPraticaIdRimozione" type="long" />
<column name="dtDataRimozione" type="Date" />
<!-- Finder -->
<finder return-type="DocPratica" name="DlFileEntry">
<finder-column name="dlFileEntryId" />
</finder>
<finder return-type="DocPratica" name="OldDocPratica">
<finder-column name="oldDocPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="ClassPk">
<finder-column name="classPk" />
</finder>
<finder return-type="Collection" name="ClassPk_Status">
<finder-column name="classPk" />
<finder-column name="status" />
</finder>
<finder return-type="Collection" name="ClassPk_Status_InTipologia">
<finder-column name="classPk" />
<finder-column name="status" />
<finder-column name="tipologia" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="Status">
<finder-column name="status" />
</finder>
<finder return-type="Collection" name="Status_InTipologia">
<finder-column name="status" />
<finder-column name="tipologia" arrayable-operator="IN" />
</finder>
<finder return-type="Collection" name="ClassPk_Tipologia">
<finder-column name="classPk" />
<finder-column name="tipologia" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipologia">
<finder-column name="intPraticaId" />
<finder-column name="tipologia" />
</finder>
<finder return-type="DocPratica" name="DlFileEntry_Version">
<finder-column name="dlFileEntryId" />
<finder-column name="version" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="FineLavori" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="fineLavoriId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica -->
<column name="intPraticaId" type="long" />
<!-- Campi Id referenziati -->
<column name="docPratiche" type="Collection" entity="DocPratica" mapping-key="fineLavoriId" />
<!-- Other fields -->
<column name="protocollo" type="String" />
<column name="dtProtocollo" type="Date" />
<column name="parziale" type="boolean" />
<column name="completata" type="boolean" />
<column name="gestita" type="boolean" />
<column name="numero" type="long" />
<column name="codiceFiscaleDelegato" type="String" />
<column name="dataEffettuazione" type="Date" />
<column name="dataFineLavori" type="Date" />
<column name="normEsenteBollo" type="boolean" />
<column name="normEsenteSpese" type="boolean" />
<column name="normEsenteCollaudo" type="boolean" />
<column name="comunicazioneDirettoreLavori" type="String" />
<column name="pagamentoId" type="long" />
<column name="pagamentoSpeseId" type="long" />
<column name="codicePagamento" type="String" />
<column name="codicePagamentoSpese" type="String" />
<column name="causalePagamento" type="String" />
<column name="causalePagamentoSpese" type="String" />
<column name="mezzoPagamento" type="String" />
<column name="mezzoPagamentoSpese" type="String" />
<column name="importoBolli" type="String" />
<column name="importoSpese" type="String" />
<column name="richiestaAttestazione" type="boolean" />
<!-- Finder -->
<finder return-type="FineLavori" name="Protocollo">
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="FineLavori" name="C_G_Protocollo">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="protocollo" />
</finder>
<finder return-type="Collection" name="IntPraticaId_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscaleDelegato" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Completata">
<finder-column name="intPraticaId" />
<finder-column name="completata" />
</finder>
<finder return-type="Collection" name="CodiceFiscale_Completata">
<finder-column name="codiceFiscaleDelegato" />
<finder-column name="completata" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Parziale">
<finder-column name="intPraticaId" />
<finder-column name="parziale" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Parziale_Completata">
<finder-column name="intPraticaId" />
<finder-column name="parziale" />
<finder-column name="completata" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="HistoryWorkflowAction" local-service="true" remote-service="true">
<column name="historyWorkflowActionId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="numeroProgetto" type="String" />
<column name="attivato" type="boolean" />
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaAndDettPratica">
<finder-column name="intPraticaId" />
<finder-column name="dettPraticaId" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="IntPratica" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="intPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Campi Id referenziati -->
<column name="tipoPratica" type="String" />
<column name="territorioId" type="long" />
<column name="tipoProcedura" type="String" />
<!-- Annullamento fields -->
<column name="dtAnnullamento" type="Date" />
<column name="docPraticaAnnullamentoId" type="long" />
<!-- Other fields -->
<column name="dtSorteggio" type="Date" />
<column name="statoPratica" type="String" />
<column name="numeroProgetto" type="String" />
<column name="validata" type="boolean" />
<column name="status" type="int" />
<column name="statusByUserId" type="long" />
<column name="statusDate" type="Date" />
<column name="esitoControllo" type="int" />
<column name="dtPratica" type="Date" />
<column name="sospesa" type="boolean" />
<column name="dtSospensione" type="Date" />
<column name="codiceFiscaleDelegatoFineLavori" type="String" />
<column name="codiceFiscaleDelegatoCollaudo" type="String" />
<column name="fineLavoriParziale" type="boolean" />
<column name="fineLavoriTotale" type="boolean" />
<column name="collaudoParziale" type="boolean" />
<column name="collaudoTotale" type="boolean" />
<column name="controlloObbligatorio" type="boolean" />
<column name="praticaOspedaliera" type="boolean" />
<column name="dettPratiche" type="Collection" entity="DettPratica" mapping-key="intPraticaId" />
<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 -->
<finder name="C_UserId" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="userId" />
</finder>
<finder name="TerritorioId" return-type="Collection">
<finder-column name="territorioId" />
</finder>
<finder name="C_Group" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder name="P" return-type="Collection">
<finder-column name="status" />
<finder-column name="dtPratica" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Pagamento" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="pagamentoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Riferimento Pratica che ha generato il nuovo pagamento -->
<column name="intPraticaId" type="long" />
<column name="classPk" type="long" />
<column name="className" type="String" />
<column name="fileEntryId" type="long" />
<column name="oldFileEntryId" type="long" />
<!-- Other fields -->
<column name="tipoPagamento" type="String" />
<column name="url" type="String" />
<column name="codice" type="String" />
<column name="causale" type="String" />
<column name="mezzo" type="String" />
<column name="codiceFiscaleCommittente" type="String" />
<column name="importo" type="String" />
<column name="utilizzata" type="String" />
<column name="utilizzataSostituita" type="String" />
<column name="otf" type="boolean" />
<column name="otfCreateDate" type="Date" />
<column name="emailPending" type="boolean" />
<column name="numeroBollettino" type="String" />
<column name="oldPagamentoId" type="long" />
<!-- Finder -->
<finder return-type="Collection" name="ClassPk_Mezzo">
<finder-column name="classPk" />
<finder-column name="mezzo" />
</finder>
<finder return-type="Collection" name="Mezzo_Utilizzata">
<finder-column name="mezzo" />
<finder-column name="utilizzata" />
</finder>
<finder return-type="Collection" name="Mezzo_Utilizzata_CreateDate">
<finder-column name="mezzo" />
<finder-column name="utilizzata" />
<finder-column name="createDate" comparator="&lt;" />
</finder>
<finder return-type="Collection" name="Mezzo_Utilizzata_EmailPending_CreateDate">
<finder-column name="mezzo" />
<finder-column name="utilizzata" />
<finder-column name="emailPending" />
<finder-column name="createDate" comparator="&lt;" />
</finder>
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="ClassPk">
<finder-column name="classPk" />
</finder>
<finder return-type="Pagamento" name="OldPagamentoId">
<finder-column name="oldPagamentoId" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="ParereGeologo" local-service="true" remote-service="true" uuid="true" table="portos_bo_ParereGeo">
<!-- PK fields -->
<column name="parereGeologoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="geologoUserId" type="long" />
<column name="parere" type="String" />
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="fileEntryId" type="long" />
<column name="dtRichista" type="Date" />
<column name="dtCompilazione" type="Date" />
<column name="status" type="int" />
<!-- Finder -->
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaId_Parere">
<finder-column name="intPraticaId" />
<finder-column name="parere" />
</finder>
<finder return-type="Collection" name="IntPraticaId_GeologoId">
<finder-column name="intPraticaId" />
<finder-column name="geologoUserId" />
</finder>
<finder return-type="Collection" name="GeologoId">
<finder-column name="geologoUserId" />
</finder>
<finder return-type="Collection" name="C_GroupId">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="PraticaAttenzionata" local-service="true" remote-service="true" uuid="true">
<column name="praticaAttenzionataId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="intPraticaId" type="long" />
<column name="fineLavoriId" type="long" />
<column name="numeroProgetto" type="String" />
<column name="dataFineLavoriTotale" type="Date" />
<column name="dataRelazioneFineLavoriTotale" type="Date" />
<column name="verificata" type="boolean" />
<column name="dataVerifica" type="Date" />
<finder return-type="Collection" name="Verificata">
<finder-column name="verificata" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Provincia" local-service="true" remote-service="true">
<!-- PK fields -->
<column name="provinciaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<!-- Other fields -->
<column name="codiceProvincia" type="String" />
<column name="provincia" type="String" />
<column name="regione" type="String" />
<column name="sigla" type="String" />
<!-- Order -->
<order by="asc">
<order-column name="codiceProvincia" />
</order>
<!-- Finder -->
<finder name="CompanyId" return-type="Collection">
<finder-column name="companyId" />
</finder>
<finder name="C_C" return-type="Provincia" unique="true">
<finder-column name="companyId" />
<finder-column name="codiceProvincia" />
</finder>
<finder name="C_S" return-type="Provincia" unique="true">
<finder-column name="companyId" />
<finder-column name="sigla" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,162 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Soggetto" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="soggettoId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Campi Id referenziati -->
<column name="dettPraticaId" type="long" />
<column name="intPraticaId" type="long" />
<!-- Other fields -->
<column name="nome" type="String" />
<column name="cognome" type="String" />
<column name="codiceFiscale" type="String" />
<column name="codiceFiscaleDelegato" type="String" />
<!-- Dati nascita -->
<column name="dataNascita" type="Date" />
<column name="provinciaNascita" type="String" />
<column name="comuneNascita" type="String" />
<!-- Dati domicilio -->
<column name="comuneDomicilio" type="String" />
<column name="comuneDomicilioEstero" type="String" />
<column name="provinciaDomicilio" type="String" />
<column name="viaDomicilio" type="String" />
<column name="numeroCivicoDomicilio" type="String" />
<column name="capDomicilio" type="String" />
<column name="domicilioExtra" type="String" />
<!-- Dati residenza o sede della ditta -->
<column name="comune" type="String" />
<column name="comuneEstero" type="String" />
<column name="provincia" type="String" />
<column name="via" type="String" />
<column name="numeroCivico" type="String" />
<column name="cap" type="String" />
<!-- Solo per ditta -->
<column name="denominazione" type="String" />
<column name="sedeLegale" type="String" />
<column name="legaleRap" type="String" />
<column name="dataNascitaRap" type="Date" />
<column name="provinciaNascitaRap" type="String" />
<column name="comuneNascitaRap" type="String" />
<column name="viaRap" type="String" />
<column name="numeroCivicoRap" type="String" />
<column name="capRap" type="String" />
<column name="provinciaRap" type="String" />
<column name="comuneRap" type="String" />
<column name="comuneRapEstero" type="String" />
<!-- Solo professionista -->
<column name="albo" type="String" />
<column name="alboDescr" type="String" />
<column name="regAlbo" type="String" />
<column name="provinciaAlbo" type="String" />
<column name="numIscrAlbo" type="String" />
<!-- Contatti -->
<column name="telefono" type="String" />
<column name="fax" type="String" />
<column name="email" type="String" />
<!-- Tipologia -->
<column name="tipologiaSoggetto" type="String" />
<column name="aggiuntivo" type="boolean" />
<column name="rimosso" type="boolean" />
<!-- Campi aggiunti solo per Porto 2 -->
<column name="tmp" type="boolean" />
<column name="ambitoAttivita" type="String" />
<column name="ambitoProfessione" type="String" />
<column name="intPraticaIdRimozione" type="long" />
<column name="dettPraticaIdRimozione" type="long" />
<column name="dtDataRimozione" type="Date" />
<column name="sostituitoDa" type="long" />
<column name="soggettoSostituitoId" type="long" />
<column name="oldSoggettoId" type="long" />
<column name="fileVariazioneId" type="long" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="DettPratica">
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_TipologiaSoggetto">
<finder-column name="intPraticaId" />
<finder-column name="tipologiaSoggetto" />
</finder>
<finder return-type="Collection" name="DettPratica_TipologiaSoggetto">
<finder-column name="dettPraticaId" />
<finder-column name="tipologiaSoggetto" />
</finder>
<finder return-type="Soggetto" name="oldSoggettoId">
<finder-column name="oldSoggettoId" />
</finder>
<finder return-type="Collection" name="DettPratica_TipologiaSoggetto_Aggiuntivo">
<finder-column name="dettPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="aggiuntivo" />
</finder>
<finder return-type="Collection" name="DettPratica_TipologiaSoggetto_Aggiuntivo_Rimosso">
<finder-column name="dettPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="aggiuntivo" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection" name="IntPratica_TipologiaSoggetto_Rimosso">
<finder-column name="intPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection" name="IntPratica_TipologiaSoggetto_DettPraticaIdRimozione">
<finder-column name="intPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="dettPraticaIdRimozione" />
</finder>
<finder return-type="Collection" name="IntPratica_TipologiaSoggetto_Aggiuntivo_Rimosso">
<finder-column name="intPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="aggiuntivo" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection" name="DettPratica_CodiceFiscale">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="DettPratica_TipologiaSoggetto_CodiceFiscale">
<finder-column name="dettPraticaId" />
<finder-column name="tipologiaSoggetto" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="IntPratica_CodiceFiscale_Rimosso">
<finder-column name="intPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection" name="DettPratica_CodiceFiscale_Rimosso">
<finder-column name="dettPraticaId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="rimosso" />
</finder>
<finder return-type="Collection" name="UserId">
<finder-column name="userId" />
</finder>
<finder return-type="Collection" name="UserId_CodiceFiscale">
<finder-column name="userId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
</finder>
<finder return-type="Collection" name="UserId_CodiceFiscale_TipologiaSoggetto">
<finder-column name="userId" />
<finder-column name="codiceFiscale" case-sensitive="false" />
<finder-column name="tipologiaSoggetto" />
</finder>
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" />
</entity>
</service-builder>

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

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Sorteggio" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="sorteggioId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Workflow fields -->
<column name="status" type="int" />
<column name="statusByUserId" type="long" />
<column name="statusByUserName" type="String" />
<column name="statusDate" type="Date" />
<!-- Entity IntPratica -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="note" type="String" />
<column name="anno" type="String" />
<column name="mese" type="String" />
<column name="settimana" type="int" />
<column name="dtSorteggio" type="Date" />
<column name="stato" type="String" />
<column name="dettagli" type="String" />
<!-- x Ricerca -->
<column name="numeroEstrazione" type="long" />
<column name="pratica" type="String" />
<column name="committente" type="String" />
<column name="comune" type="String" />
<column name="provincia" type="String" />
<column name="tecnico" type="String" />
<column name="mesePrecedente" type="String" />
<!-- Pratiche da table esterna -->
<column name="esterna" type="boolean" />
<column name="praticaEsternaId" type="long" />
<!-- Usate da Portos 2 -->
<column name="oldSorteggioId" type="long" />
<!-- Finder -->
<finder return-type="Sorteggio" name="OldSorteggioId">
<finder-column name="oldSorteggioId" />
</finder>
<finder return-type="Collection" name="C_GroupId">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder return-type="Collection" name="C_DettPratica">
<finder-column name="companyId" />
<finder-column name="dettPraticaId" />
</finder>
<finder return-type="Collection" name="IntPraticaId">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="GroupId_Anno_Mese_Settimana">
<finder-column name="groupId" />
<finder-column name="anno" />
<finder-column name="mese" />
<finder-column name="settimana" />
</finder>
<finder return-type="Collection" name="Anno_Mese_Settimana">
<finder-column name="anno" />
<finder-column name="mese" />
<finder-column name="settimana" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="StoricoSoggettoPratica" local-service="true" remote-service="true" uuid="false">
<!-- PK fields -->
<column name="storicoSoggettoPraticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="intPraticaId" type="long" />
<column name="nome" type="String" />
<column name="cognome" type="String" />
<column name="codiceFiscale" type="String" />
<!-- aggiunti per portos 2 -->
<column name="oldStoricoSoggettoPraticaId" type="long" />
<!-- Order -->
<order>
<order-column name="createDate" order-by="asc" />
</order>
<!-- Finder -->
<finder return-type="Collection" name="C_IntPratica">
<finder-column name="companyId" />
<finder-column name="intPraticaId" />
</finder>
<finder return-type="StoricoSoggettoPratica" name="OldStoricoSoggettoPraticaId">
<finder-column name="oldStoricoSoggettoPraticaId" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Tempistica" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="tempisticaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="intPraticaId" type="long" />
<column name="dettPraticaId" type="long" />
<column name="tipo" type="String" />
<column name="start" type="long" />
<column name="stop" type="long" />
<column name="wait" type="long" />
<column name="completo" type="boolean" />
<column name="oldTempisticaId" type="long" />
<!-- Finder -->
<finder return-type="Collection" name="IntPratica">
<finder-column name="intPraticaId" />
</finder>
<finder return-type="Collection" name="IntPratica_Tipo">
<finder-column name="intPraticaId" />
<finder-column name="tipo" />
</finder>
<finder return-type="Tempistica" name="OldTempisticaId">
<finder-column name="oldTempisticaId" />
</finder>
<finder return-type="Collection" name="C_IntPratica_Tipo_Completo">
<finder-column name="companyId" />
<finder-column name="intPraticaId" />
<finder-column name="tipo" />
<finder-column name="completo" />
</finder>
</entity>
</service-builder>

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

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.liferay.portos.bo">
<entity name="Territorio" local-service="true" remote-service="true">
<!-- PK fields -->
<column name="territorioId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Campi Id referenziati -->
<column name="zona" type="String" />
<column name="fascia" type="String" />
<column name="comuneId" type="long" />
<column name="codiceProvincia" type="String" />
<column name="articolo61" type="boolean" />
<column name="dtIni" type="Date" />
<column name="dtFin" type="Date" />
<column name="oldTerritorioId" type="long" />
<column name="artLeggiComune" type="Collection" entity="ArtLeggeTerritorio" mapping-key="territorioId" />
<column name="intPratiche" type="Collection" entity="IntPratica" mapping-key="territorioId" />
<column name="agMin" type="String" />
<column name="agMax" type="String" />
<!-- Finder -->
<finder return-type="Collection" name="ComuneId">
<finder-column name="comuneId" />
</finder>
<finder return-type="Collection" name="Zona">
<finder-column name="zona" />
</finder>
<finder return-type="Collection" name="Fascia">
<finder-column name="fascia" />
</finder>
<finder return-type="Territorio" name="C_G_Z_F_D" unique="true" db-index="true">
<finder-column name="comuneId" />
<finder-column name="groupId" />
<finder-column name="zona" />
<finder-column name="fascia" />
<finder-column name="dtIni" />
</finder>
<finder name="C_Group" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder name="Group" return-type="Collection">
<finder-column name="groupId" />
</finder>
<finder name="C" return-type="Collection">
<finder-column name="companyId" />
</finder>
<finder name="OldTerritorioId" return-type="Territorio">
<finder-column name="oldTerritorioId" />
</finder>
</entity>
</service-builder>

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

@ -341,6 +341,12 @@ public interface IntPraticaLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> getIntPraticas(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.tref.liferay.portos.bo.model.IntPratica addIntPratica(
long territorioId, java.lang.String tipoProcedura,

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

File diff soppresso perché troppo grande Load Diff

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

@ -371,6 +371,13 @@ public class IntPraticaLocalServiceUtil {
return getService().findSorteggiabili(companyId, dtSorteggio);
}
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> getIntPraticas(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getIntPraticas(start, end, orderByComparator);
}
public static it.tref.liferay.portos.bo.model.IntPratica addIntPratica(
long territorioId, java.lang.String tipoProcedura,
boolean isOspedaliera,

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

@ -395,6 +395,15 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
return _intPraticaLocalService.findSorteggiabili(companyId, dtSorteggio);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> getIntPraticas(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.getIntPraticas(start, end,
orderByComparator);
}
@Override
public it.tref.liferay.portos.bo.model.IntPratica addIntPratica(
long territorioId, java.lang.String tipoProcedura,

263
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java

@ -18,6 +18,7 @@ import it.tref.liferay.portos.bo.model.ParereGeologo;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.model.impl.CollaudoImpl;
import it.tref.liferay.portos.bo.model.impl.FineLavoriImpl;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import it.tref.liferay.portos.bo.service.AllegatoManualeLocalServiceUtil;
import it.tref.liferay.portos.bo.service.AsseverazioneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil;
@ -37,7 +38,6 @@ import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants;
import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil;
import it.tref.liferay.portos.bo.util.AvvisoUtil;
import it.tref.liferay.portos.bo.util.Constants;
import it.tref.liferay.portos.bo.util.PraticaUtil;
import it.tref.liferay.portos.bo.util.WorkflowConstants;
import java.io.Serializable;
@ -48,10 +48,8 @@ import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;
import javax.portlet.ActionRequest;
@ -65,14 +63,13 @@ import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.repository.model.FileEntry;
import com.liferay.portal.kernel.repository.model.Folder;
import com.liferay.portal.kernel.servlet.SessionErrors;
import com.liferay.portal.kernel.util.GetterUtil;
import com.liferay.portal.kernel.util.LocaleUtil;
import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil;
import com.liferay.portal.kernel.util.ParamUtil;
import com.liferay.portal.kernel.util.StringPool;
@ -120,6 +117,7 @@ import com.liferay.portlet.documentlibrary.model.DLFolder;
import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil;
public class SismicaUtil {
private static final Log _log = LogFactoryUtil.getLog(SismicaUtil.class);
private static final SimpleDateFormat dfmt = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss");
@ -345,16 +343,18 @@ public class SismicaUtil {
List<ControlloPratica> controlli = ControlloPraticaLocalServiceUtil.findByIntPraticaId_Status(intPraticaId,
WorkflowConstants.STATUS_PENDING);
if (0 == controlli.size()) {
if(Constants.PROCEDURA_C.equalsIgnoreCase(pratica.getTipoProcedura())){
_log.info("Avrei avviato il WORKFLOW per procedura di tipo C per pratica numero " + numeroProgetto);
if (Constants.PROCEDURA_C.equalsIgnoreCase(pratica.getTipoProcedura())) {
if (_log.isDebugEnabled()) {
_log.debug("Avrei avviato il WORKFLOW per procedura di tipo C per pratica numero " + numeroProgetto);
}
} else {
esitoLog(esito, "Aggiungo controllo pratica numero " + numeroProgetto);
ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(companyId);
serviceContext.setScopeGroupId(dettPraticaId);
serviceContext.setUserId(userId);
ControlloPraticaLocalServiceUtil.addControlloPratica(groupId, userId, intPraticaId, dettPraticaId, true,
serviceContext);
ControlloPraticaLocalServiceUtil.addControlloPratica(groupId, userId, intPraticaId, dettPraticaId,
true, serviceContext);
}
} else {
esitoLog(esito, "Controllo pratica già presente");
@ -417,12 +417,14 @@ public class SismicaUtil {
public static List<String> reIndexFascicoli(long companyId) {
OrderByComparator orderByComparator = OrderByComparatorFactoryUtil.create(IntPraticaImpl.TABLE_NAME,
"intPraticaId", false);
List<String> esito = new ArrayList<>();
int totale = 0;
List<IntPratica> pratiche = null;
do {
try {
pratiche = IntPraticaLocalServiceUtil.getIntPraticas(totale, totale + SLICE);
pratiche = IntPraticaLocalServiceUtil.getIntPraticas(totale, totale + SLICE, orderByComparator);
} catch (SystemException e) {
pratiche = new ArrayList<>();
}
@ -722,13 +724,15 @@ public class SismicaUtil {
controllo = controlli.get(controlli.size() - 1);
} catch (Exception e1) {
try {
if(Constants.PROCEDURA_C.equalsIgnoreCase(pratica.getTipoProcedura())){
_log.info("Avrei avviato il WORKFLOW per procedura di tipo C per pratica numero " + pratica.getNumeroProgetto());
if (Constants.PROCEDURA_C.equalsIgnoreCase(pratica.getTipoProcedura())) {
_log.info("Avrei avviato il WORKFLOW per procedura di tipo C per pratica numero "
+ pratica.getNumeroProgetto());
} else {
esitoLog(esito, "Aggiungo controllo pratica numero " + pratica.getNumeroProgetto());
controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(
dettPratica.getGroupId(), dettPratica.getUserId(), pratica.getIntPraticaId(),
dettPratica.getDettPraticaId(), false, serviceContext);
dettPratica.getGroupId(), dettPratica.getUserId(),
pratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false,
serviceContext);
}
} catch (PortalException | SystemException e2) {
esitoLog(esito, "Errore durante la creazione di un controllo pratica per progetto "
@ -790,12 +794,14 @@ public class SismicaUtil {
controlli = new ArrayList<>();
}
if (pratica.getStatoPratica().equals(StatoPraticaConstants.VIDIMATA) && (controlli.size() == 0)) {
esitoLog(
esito,
"Progetto: " + pratica.getNumeroProgetto() + " (" + pratica.getIntPraticaId()
+ "), procedura=" + pratica.getTipoProcedura() + ", avvisi="
+ totali.size() + ", stato=" + pratica.getStatoPratica() + ", controlli="
+ controlli.size());
if (_log.isDebugEnabled()) {
esitoLog(
esito,
"Progetto: " + pratica.getNumeroProgetto() + " (" + pratica.getIntPraticaId()
+ "), procedura=" + pratica.getTipoProcedura() + ", avvisi="
+ totali.size() + ", stato=" + pratica.getStatoPratica()
+ ", controlli=" + controlli.size());
}
DettPratica dettPratica;
try {
dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(pratica
@ -804,8 +810,11 @@ public class SismicaUtil {
dettPratica = null;
}
if (Validator.isNotNull(dettPratica)) {
if(Constants.PROCEDURA_C.equalsIgnoreCase(pratica.getTipoProcedura())){
_log.info("Avrei avviato il WORKFLOW per procedura di tipo C per pratica numero " + pratica.getNumeroProgetto());
if (Constants.PROCEDURA_C.equalsIgnoreCase(pratica.getTipoProcedura())) {
if (_log.isDebugEnabled()) {
_log.debug("Avrei avviato il WORKFLOW per procedura di tipo C per pratica numero "
+ pratica.getNumeroProgetto());
}
} else {
ServiceContext serviceContext = new ServiceContext();
serviceContext.setCompanyId(dettPratica.getCompanyId());
@ -813,7 +822,8 @@ public class SismicaUtil {
serviceContext.setUserId(dettPratica.getUserId());
ControlloPratica controllo;
try {
esitoLog(esito, "Aggiungo controllo pratica numero " + pratica.getNumeroProgetto());
esitoLog(esito,
"Aggiungo controllo pratica numero " + pratica.getNumeroProgetto());
controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(
dettPratica.getGroupId(), dettPratica.getUserId(),
pratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false,
@ -838,10 +848,11 @@ public class SismicaUtil {
if (!pratica.getTipoProcedura().equalsIgnoreCase(Constants.PROCEDURA_C)) {
AvvisoLocalServiceUtil.addAvviso(pratica.getIntPraticaId(),
"Attestazione di deposito progetto", new Date(),
AvvisoUtil.TIPO_AVVISO_DIRETTO, StatoPraticaConstants.CONFORME,
fileEntryIdTemplate, dettPratica.getDettPraticaId(),
DettPratica.class.getName(), controllo.getControlloPraticaId(),
serviceContext);
AvvisoUtil.TIPO_AVVISO_DIRETTO,
StatoPraticaConstants.CONFORME, fileEntryIdTemplate,
dettPratica.getDettPraticaId(),
DettPratica.class.getName(),
controllo.getControlloPraticaId(), serviceContext);
}
pratica.setStatoPratica(StatoPraticaConstants.CONFORME);
IntPraticaLocalServiceUtil.updateIntPratica(pratica);
@ -1014,204 +1025,6 @@ public class SismicaUtil {
}
}
private static Map<String, String> templateByKey;
private static Map<Long, String> templateById;
private static Map<String, Long> templateIdByKey;
private static final Date inizio = stringToDate("2019-12-31");
// private static List<String> riparaDocumenti(long companyId) throws SystemException, PortalException {
//
// List<String> esito = new ArrayList<String>();
// esitoLog(esito, "Riparazione generazione documenti");
// initTemplate(companyId);
// List<IntPratica> intPratiche = null;
// int index = 0;
// do {
// try {
// intPratiche = IntPraticaLocalServiceUtil.getIntPraticas(index, index + SLICE);
// } catch (SystemException e) {
// esitoLog(esito, "Errore caricamento intPratiche: " + e.getMessage());
// }
// for (IntPratica intPratica : intPratiche) {
// esito.addAll(verificaAvvisi(intPratica));
// }
// index += SLICE;
// } while (intPratiche.size() > 0);
// return esito;
// }
// private static void initTemplate(long companyId) throws SystemException, PortalException {
//
// templateById = new LinkedHashMap<>();
// templateByKey = new LinkedHashMap<>();
// templateIdByKey = new LinkedHashMap<>();
// Map<String, String> elenco = AvvisoUtil.getAllTipoDocumentoFileTemplateProps();
// for (Entry<String, String> template : elenco.entrySet()) {
// long fileEntryId = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, template.getValue());
// if (fileEntryId != 0) {
// FileEntry fileEntry = DLAppServiceUtil.getFileEntry(fileEntryId);
// templateById.put(fileEntryId, fileEntry.getTitle());
// templateByKey.put(template.getKey(), fileEntry.getTitle());
// templateIdByKey.put(template.getKey(), fileEntryId);
// }
// }
// }
// private static List<String> verificaAvvisi(IntPratica intPratica) {
//
// List<String> esito = new ArrayList<String>();
// if (Validator.isNotNull(intPratica.getStatoPratica())
// && !intPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.ANNULLATA)) {
// long intPraticaId = intPratica.getIntPraticaId();
// List<ControlloPratica> controlli = null;
// try {
// controlli = ControlloPraticaLocalServiceUtil.findByIntPratica(intPraticaId);
// } catch (SystemException e) {
// controlli = new ArrayList<ControlloPratica>();
// }
// ControlloPratica controllo = null;
// ServiceContext serviceContext = null;
// if (controlli.size() > 0) {
// controllo = controlli.get(controlli.size() - 1);
// serviceContext = new ServiceContext();
// serviceContext.setCompanyId(controllo.getCompanyId());
// serviceContext.setScopeGroupId(controllo.getGroupId());
// serviceContext.setUserId(controllo.getUserId());
// } else {
// serviceContext = new ServiceContext();
// serviceContext.setCompanyId(intPratica.getCompanyId());
// try {
// serviceContext.setScopeGroupId(TerritorioLocalServiceUtil.getTerritorio(
// intPratica.getTerritorioId()).getGroupId());
// } catch (PortalException | SystemException e) {}
// serviceContext.setUserId(intPratica.getUserId());
// }
// List<Avviso> avvisi = getAvvisiPratica(intPraticaId);
// List<Avviso> avvisiFermi = new ArrayList<>();
// List<String> avvisiInviati = new ArrayList<>();
// Date ultimaData = null;
// for (Avviso avviso : avvisi) {
// if ((ultimaData == null) || avviso.getModifiedDate().after(ultimaData)) {
// ultimaData = avviso.getModifiedDate();
// }
// if (!avviso.getAnnullato()) {
// String template = templateById.get(avviso.getFileEntryIdTemplate());
// if (avviso.getDtAvviso().after(inizio) && !avviso.getAnnullato()
// && (avviso.getInviato().equalsIgnoreCase(AvvisoUtil.DOCUMENTO_NON_INVIATO))) {
// avvisiFermi.add(avviso);
// if (template == null)
// template = templateByKey.get(avviso.getTipoDocumento());
// } else if (avviso.getInviato().equalsIgnoreCase(AvvisoUtil.DOCUMENTO_INVIATO)) {
// avvisiInviati.add(template);
// }
// }
// }
// if ((ultimaData != null) && (new Date().getTime() - ultimaData.getTime() > 7200000)) {
// for (Avviso avviso : avvisiFermi) {
// long templateId = avviso.getFileEntryIdTemplate();
// String template = templateById.get(templateId);
// if (Validator.isNull(template) && templateByKey.containsKey(avviso.getTipoDocumento())) {
// template = templateByKey.get(avviso.getTipoDocumento());
// templateId = templateIdByKey.get(avviso.getTipoDocumento());
// }
// if (!avvisiInviati.contains(template)) {
// switch (avviso.getTipoDocumento()) {
// case "MA":
// case StatoPraticaConstants.NON_CONFORME:
// case StatoPraticaConstants.INTEGRAZIONE:
// break;
// case StatoPraticaConstants.AUTORIZZATA:
// case StatoPraticaConstants.CONFORME:
// case StatoPraticaConstants.SOTTOPOSTA_A_PARERE:
// case StatoPraticaConstants.VIDIMATA:
// if (avviso.getTipoAvviso().equals(AvvisoUtil.TIPO_AVVISO_DIRETTO)) {
// esito.addAll(addStoricoAvvisi(intPratica, avvisi));
// esitoLog(esito, "Invio " + template + " (" + controlli.size() + " controlli)");
// try {
// if (Validator.isNull(controllo)) {
// controllo = aggiungiControlloPratica(intPratica);
// esitoLog(esito, intPratica.getNumeroProgetto()
// + " aggiunto ControlloPratica " + controllo.getControlloPraticaId());
// }
// AvvisoLocalServiceUtil.addAvviso(intPraticaId, StringPool.BLANK,
// avviso.getDtAvviso(), AvvisoUtil.TIPO_AVVISO_DIRETTO,
// avviso.getTipoDocumento(), templateId, controllo.getDettPraticaId(),
// DettPratica.class.getName(), controllo.getControlloPraticaId(),
// serviceContext);
// } catch (Exception e) {
// esitoLog(esito, "Errore durante l'invio: " + e.getMessage());
// }
// }
// break;
// default:
// if (avviso.getTipoAvviso().equals(AvvisoUtil.TIPO_AVVISO_DIRETTO)) {
// esito.addAll(addStoricoAvvisi(intPratica, avvisi));
// esitoLog(esito, "Procederei all'invio di avviso " + template);
// }
// break;
// }
// }
// }
// }
// }
// return esito;
// }
// private static ControlloPratica aggiungiControlloPratica(IntPratica intPratica) throws PortalException,
// SystemException {
//
// DettPratica dettPratica = DettPraticaLocalServiceUtil
// .getLastCompletedByIntPratica(intPratica.getIntPraticaId());
// ServiceContext serviceContext = new ServiceContext();
// serviceContext.setCompanyId(dettPratica.getCompanyId());
// serviceContext.setScopeGroupId(dettPratica.getGroupId());
// serviceContext.setUserId(dettPratica.getUserId());
// _log.info("Aggiungo controllo pratica numero " + intPratica.getNumeroProgetto());
// ControlloPratica controllo = ControlloPraticaLocalServiceUtil.addControlloPratica(intPratica.getGroupId(),
// intPratica.getUserId(), intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false,
// serviceContext);
// return controllo;
// }
// private static List<Avviso> getAvvisiPratica(long intPraticaId) {
//
// List<Avviso> avvisi = null;
// try {
// avvisi = AvvisoLocalServiceUtil.findByIntPratica(
// intPraticaId,
// QueryUtil.ALL_POS,
// QueryUtil.ALL_POS,
// OrderByComparatorFactoryUtil.getOrderByComparatorFactory().create("portos_bo_Avviso", "dtAvviso",
// true));
// } catch (SystemException e) {
// _log.error("Errore recupero avvisi" + e.getMessage());
// avvisi = new ArrayList<Avviso>();
// }
// return avvisi;
// }
//
// private static List<String> addStoricoAvvisi(IntPratica intPratica, List<Avviso> avvisi) {
//
// List<String> esito = new ArrayList<String>();
// String tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-" + intPratica.getTipoPratica());
// esitoLog(esito,
// "* intPraticaId=" + intPratica.getIntPraticaId() + ", numeroProgetto=" + intPratica.getNumeroProgetto()
// + ", procedura=" + intPratica.getTipoProcedura() + ", stato=" + intPratica.getStatoPratica()
// + ", tipo=" + tipoPratica + ", data=" + dfmt.format(intPratica.getCreateDate())
// + ", modificata=" + dfmt.format(intPratica.getModifiedDate()));
// for (Avviso avviso : avvisi) {
// String template = templateById.get(avviso.getFileEntryIdTemplate());
// if (template == null)
// template = templateByKey.get(avviso.getTipoDocumento());
// ;
// boolean inviato = avviso.getInviato().equalsIgnoreCase(AvvisoUtil.DOCUMENTO_INVIATO);
// esitoLog(esito, dfmt.format(avviso.getDtAvviso()) + " Avviso " + template + StringPool.SPACE
// + (inviato ? "inviato " + dfmt.format(avviso.getDtInvio()) : "non inviato") + " - tipo avviso "
// + avviso.getTipoAvviso() + " - tipo documento " + avviso.getTipoDocumento());
// }
// return esito;
// }
public static List<String> trasformaFLC(long companyId, String numeroPratica, String tipoDaRiaprire)
throws SystemException, PortalException {

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

@ -64,6 +64,7 @@ import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil;
import com.liferay.portal.util.PortalUtil;
public class ControlloPraticaIndexer extends BaseIndexer {
public static final String[] CLASS_NAMES = { ControlloPratica.class.getName() };
public static final String PORTLET_ID = "1_WAR_portosfeportlet";
public static final Format DATE_FORMAT = FastDateFormatFactoryUtil.getSimpleDateFormat("yyyyMMdd");
@ -137,15 +138,15 @@ public class ControlloPraticaIndexer extends BaseIndexer {
document.addKeyword(PortosIndexField.ISTRUTTORE_USER_ID, intPratica.getStatusByUserId());
User userIstruttore = UserLocalServiceUtil.fetchUser(intPratica.getStatusByUserId());
if (userIstruttore != null) {
document.addKeyword(PortosIndexField.ISTRUTTORE_FULL_NAME, userIstruttore.getFullName()
.toUpperCase());
document.addText(PortosIndexField.ISTRUTTORE_FULL_NAME,
new String[] { userIstruttore.getFullName(), userIstruttore.getScreenName() });
}
}
if (intPratica.getUserId() != 0L) {
User proprietarioDigitale = UserLocalServiceUtil.fetchUser(intPratica.getUserId());
if (proprietarioDigitale != null) {
document.addKeyword(PortosIndexField.PROPRIETARIO_DIGITALE_FULL_NAME, proprietarioDigitale
.getFullName().toUpperCase());
document.addText(PortosIndexField.PROPRIETARIO_DIGITALE_FULL_NAME, new String[] {
proprietarioDigitale.getFullName(), proprietarioDigitale.getScreenName() });
}
}
// Informazioni sullo stato della pratica
@ -239,10 +240,11 @@ public class ControlloPraticaIndexer extends BaseIndexer {
// Creao una stringa contenente tutti i codFisc legati alla IntPratica separati da ,
List<String> listaSoggetti = new ArrayList<String>();
for (Soggetto soggetto : committenti) {
listaSoggetti.add(soggetto.getNome().toUpperCase() + " " + soggetto.getCognome().toUpperCase());
listaSoggetti.add(soggetto.getNome() + " " + soggetto.getCognome());
listaSoggetti.add(soggetto.getCodiceFiscale());
}
document.addKeyword(PortosIndexField.SOGGETTI_INTERESSATI, listaSoggetti.toArray(new String[0]));
document.addKeyword(PortosIndexField.COMMITTENTI, listaSoggetti.toArray(new String[0]));
document.addText(PortosIndexField.SOGGETTI_INTERESSATI, listaSoggetti.toArray(new String[0]));
document.addText(PortosIndexField.COMMITTENTI, listaSoggetti.toArray(new String[0]));
}
// Soggetti Interconnessi
List<Soggetto> listSoggettiInterconnessi = SoggettoLocalServiceUtil
@ -250,7 +252,8 @@ public class ControlloPraticaIndexer extends BaseIndexer {
if (listSoggettiInterconnessi != null && !listSoggettiInterconnessi.isEmpty()) {
List<String> listaStringata = new ArrayList<String>();
for (Soggetto sog : listSoggettiInterconnessi) {
listaStringata.add(sog.getNome().toUpperCase() + " " + sog.getCognome().toUpperCase());
listaStringata.add(sog.getNome() + " " + sog.getCognome());
listaStringata.add(sog.getCodiceFiscale());
}
document.addKeyword(PortosIndexField.SOGGETTI_INTERCONNESSI, listaStringata.toArray(new String[0]));
}
@ -403,6 +406,7 @@ public class ControlloPraticaIndexer extends BaseIndexer {
@Override
protected void doReindex(String[] ids) throws Exception {
_log.debug("doReindex ControlloPratica");
if (ids != null && ids.length > 0) {
long companyId = GetterUtil.getLong(ids[0]);

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

@ -162,7 +162,7 @@ public class IntPraticaIndexer extends BaseIndexer {
if (tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_B1))
tipoProcedura = Constants.PROCEDURA_B;
document.addKeyword(PortosIndexField.TIPO_PROCEDURA, tipoProcedura);
if(intPratica.isPraticaOspedaliera()){
if (intPratica.isPraticaOspedaliera()) {
_log.debug("Adding praticaOspedaliera Index on intpratica " + intPratica.getIntPraticaId());
document.addKeyword("praticaospedaliera", intPratica.isPraticaOspedaliera());
}
@ -215,14 +215,15 @@ public class IntPraticaIndexer extends BaseIndexer {
if (intPratica.getStatusByUserId() != 0L) {
User userIstruttore = UserLocalServiceUtil.fetchUser(intPratica.getStatusByUserId());
if (userIstruttore != null) {
document.addText(PortosIndexField.ISTRUTTORE_FULL_NAME, userIstruttore.getFullName());
document.addText(PortosIndexField.ISTRUTTORE_FULL_NAME, new String[] {
userIstruttore.getFullName(), userIstruttore.getScreenName() });
}
}
if (intPratica.getUserId() != 0L) {
User proprietarioDigitale = UserLocalServiceUtil.fetchUser(intPratica.getUserId());
if (proprietarioDigitale != null) {
document.addText(PortosIndexField.PROPRIETARIO_DIGITALE_FULL_NAME,
proprietarioDigitale.getFullName());
document.addText(PortosIndexField.PROPRIETARIO_DIGITALE_FULL_NAME, new String[] {
proprietarioDigitale.getFullName(), proprietarioDigitale.getScreenName() });
}
}
// Prendo la lista dei soggetti committenti legati a IntPratica
@ -289,6 +290,7 @@ public class IntPraticaIndexer extends BaseIndexer {
if (Validator.isNotNull(soggetto.getDenominazione())) {
listaSoggetti.add(soggetto.getDenominazione());
}
listaSoggetti.add(soggetto.getCodiceFiscale());
}
document.addText(PortosIndexField.COMMITTENTI, listaSoggetti.toArray(new String[0]));
}
@ -332,10 +334,13 @@ public class IntPraticaIndexer extends BaseIndexer {
if (listSoggettiInterconnessi != null && !listSoggettiInterconnessi.isEmpty()) {
List<String> listaStringata = new ArrayList<String>();
for (Soggetto sog : listSoggettiInterconnessi) {
if (Validator.isNotNull(sog.getCognome()))
if (Validator.isNotNull(sog.getCognome())) {
listaStringata.add(sog.getNome() + " " + sog.getCognome());
if (Validator.isNotNull(sog.getDenominazione()))
}
if (Validator.isNotNull(sog.getDenominazione())) {
listaStringata.add(sog.getDenominazione());
}
listaStringata.add(sog.getCodiceFiscale());
}
document.addText(PortosIndexField.SOGGETTI_INTERCONNESSI, listaStringata.toArray(new String[0]));
}
@ -437,6 +442,7 @@ public class IntPraticaIndexer extends BaseIndexer {
@Override
protected void performAction(Object object) throws PortalException {
if (object != null) {
IntPratica intPratica = (IntPratica) object;
if (intPratica != null) {

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

@ -236,11 +236,12 @@ public class FascicoloPortlet extends MVCPortlet {
}
public void searchURL(ActionRequest actionRequest, ActionResponse actionResponse) {
String numeroProgetto = actionRequest.getParameter("numeroProgetto");
String protocollo = actionRequest.getParameter("protocollo");
// String tipoPratica = actionRequest.getParameter("tipoPratica");
String tipoProcedura = actionRequest.getParameter("tipoProcedura");
// String praticaospedaliera = String.valueOf(ParamUtil.getBoolean(actionRequest, "praticaospedaliera"));
// String praticaospedaliera = String.valueOf(ParamUtil.getBoolean(actionRequest, "praticaospedaliera"));
String statoPratica = actionRequest.getParameter("statoPratica");
String committente = actionRequest.getParameter("committente");
String descInterventoSearch = actionRequest.getParameter("descIntervento");
@ -278,7 +279,7 @@ public class FascicoloPortlet extends MVCPortlet {
actionResponse.setRenderParameter("praticaAperta", praticaAperta);
actionResponse.setRenderParameter("descIntervento", descInterventoSearch);
actionResponse.setRenderParameter("protocollo", protocollo);
// actionResponse.setRenderParameter("praticaospedaliera", praticaospedaliera);
// actionResponse.setRenderParameter("praticaospedaliera", praticaospedaliera);
actionResponse.setRenderParameter("tipoProcedura", tipoProcedura);
actionResponse.setRenderParameter("statoPratica", statoPratica);
actionResponse.setRenderParameter("committente", committente);
@ -310,6 +311,7 @@ public class FascicoloPortlet extends MVCPortlet {
@Override
public void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException,
PortletException {
String id = resourceRequest.getResourceID();
try {
if ("downloadAllDocPratica".equals(id)) {
@ -374,8 +376,10 @@ public class FascicoloPortlet extends MVCPortlet {
comumeList.add(comune);
}
Collections.sort(comumeList, new Comparator<Comune>() {
@Override
public int compare(Comune o1, Comune o2) {
return o1.getDenominazione().compareTo(o2.getDenominazione());
}
});
@ -481,8 +485,9 @@ public class FascicoloPortlet extends MVCPortlet {
builder.append(committente.getTitle()).append(" - ").append(committente.getCodiceFiscale())
.append(StringPool.COMMA_AND_SPACE);
}
if (builder.length() > 0)
builder.setLength(builder.length() - 12);
if (builder.length() > 0) {
builder.setLength(builder.length() - 2);
}
sb.append(builder.toString()).append(StringPool.SEMICOLON);
User istruttore = UserLocalServiceUtil.fetchUser(intPratica.getStatusByUserId());
if (istruttore != null) {
@ -501,12 +506,11 @@ public class FascicoloPortlet extends MVCPortlet {
sb.append(comune.getDenominazione());
}
sb.append(StringPool.SEMICOLON);
// ADT BUG-ID=15 Sezione Ricerca / Export csv - Max 30 chars
int MAX_LENGHT_DESCR_INTERVENTO = 30;
int MAX_LENGHT_DESCR_INTERVENTO = 120;
if (Validator.isNotNull(lastDettPratica.getDescLongIntervento())) {
sb.append(lastDettPratica.getDescLongIntervento().length() > MAX_LENGHT_DESCR_INTERVENTO
? lastDettPratica.getDescLongIntervento().substring(0, MAX_LENGHT_DESCR_INTERVENTO)
: lastDettPratica.getDescLongIntervento());
sb.append(lastDettPratica.getDescLongIntervento().length() > MAX_LENGHT_DESCR_INTERVENTO ? lastDettPratica
.getDescLongIntervento().substring(0, MAX_LENGHT_DESCR_INTERVENTO) : lastDettPratica
.getDescLongIntervento());
}
sb.append(StringPool.SEMICOLON);
} catch (Throwable e) {

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

File diff soppresso perché troppo grande Load Diff

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

@ -85,6 +85,7 @@ import com.liferay.portal.kernel.search.Indexer;
import com.liferay.portal.kernel.search.IndexerRegistryUtil;
import com.liferay.portal.kernel.util.LocaleUtil;
import com.liferay.portal.kernel.util.MimeTypesUtil;
import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.kernel.workflow.WorkflowException;
@ -112,6 +113,7 @@ import com.liferay.portlet.documentlibrary.NoSuchFolderException;
* @see it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil
*/
public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
/*
* NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link
* it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil} to access the int pratica local service.
@ -231,19 +233,26 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
}
return ret;
}
@Override
public List<IntPratica> getIntPraticas(int start, int end, OrderByComparator orderByComparator)
throws SystemException {
return intPraticaPersistence.findAll(start, end, orderByComparator);
}
@Override
@Indexable(type = IndexableType.REINDEX)
public IntPratica addIntPratica(long territorioId, String tipoProcedura, boolean isOspedaliera,
ServiceContext serviceContext) throws SystemException, PortalException {
if(isOspedaliera){
if (isOspedaliera) {
tipoProcedura = Constants.PROCEDURA_H;
}
return addIntPratica(territorioId, tipoProcedura, serviceContext);
}
@Override
@Indexable(type = IndexableType.REINDEX)
public IntPratica addIntPratica(long territorioId, String tipoProcedura, ServiceContext serviceContext)
@ -262,7 +271,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
intPratica.setModifiedDate(serviceContext.getModifiedDate(now));
intPratica.setTipoPratica(Constants.PRATICA_ZONE.get(tipoProcedura));
intPratica.setTerritorioId(territorioId);
if(tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_H)){
if (tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_H)) {
tipoProcedura = Constants.PROCEDURA_B;
intPratica.setPraticaOspedaliera(true);
}
@ -1371,6 +1380,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
@Override
public List<Object[]> reportTempisticheIstruttorieAvvisiAutorizzazioni(Date dtMin, Date dtMax, long groupId,
String type) throws SystemException {
return IntPraticaFinderUtil.reportTempisticheIstruttorieAvvisiAutorizzazioni(dtMin, dtMax, groupId, type);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchParereGeologoException;
import it.tref.liferay.portos.bo.model.ParereGeologo;
import it.tref.liferay.portos.bo.model.impl.ParereGeologoImpl;
import it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl;
import it.tref.liferay.portos.bo.service.persistence.ParereGeologoPersistence;
import java.io.Serializable;

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchPraticaAttenzionataException;
import it.tref.liferay.portos.bo.model.PraticaAttenzionata;
import it.tref.liferay.portos.bo.model.impl.PraticaAttenzionataImpl;
import it.tref.liferay.portos.bo.model.impl.PraticaAttenzionataModelImpl;
import it.tref.liferay.portos.bo.service.persistence.PraticaAttenzionataPersistence;
import java.io.Serializable;

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

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

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

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

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchSorteggioException;
import it.tref.liferay.portos.bo.model.Sorteggio;
import it.tref.liferay.portos.bo.model.impl.SorteggioImpl;
import it.tref.liferay.portos.bo.model.impl.SorteggioModelImpl;
import it.tref.liferay.portos.bo.service.persistence.SorteggioPersistence;
import java.io.Serializable;

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

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

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

@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchTempisticaException;
import it.tref.liferay.portos.bo.model.Tempistica;
import it.tref.liferay.portos.bo.model.impl.TempisticaImpl;
import it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl;
import it.tref.liferay.portos.bo.service.persistence.TempisticaPersistence;
import java.io.Serializable;

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

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

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

@ -13,8 +13,8 @@
##
build.namespace=portos_bo
build.number=2985
build.date=1722424256719
build.number=2988
build.date=1762472831691
build.auto.upgrade=true
##

2
liferay-plugins-sdk-6.2/portlets/portos-comunicazioni-portlet/ivy.xml

@ -13,6 +13,6 @@
<dependencies defaultconf="default">
<dependency conf="test->default" name="arquillian-junit-container" org="org.jboss.arquillian.junit" rev="1.1.6.Final" />
<dependency conf="test->default" name="arquillian-tomcat-remote-7" org="org.jboss.arquillian.container" rev="1.0.0.CR6" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0-SNAPSHOT" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0" />
</dependencies>
</ivy-module>

2
liferay-plugins-sdk-6.2/portlets/portos-deploy-alert-portlet/ivy.xml

@ -13,6 +13,6 @@
<dependencies defaultconf="default">
<dependency conf="test->default" name="arquillian-junit-container" org="org.jboss.arquillian.junit" rev="1.1.6.Final" />
<dependency conf="test->default" name="arquillian-tomcat-remote-7" org="org.jboss.arquillian.container" rev="1.0.0.CR6" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0-SNAPSHOT" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0" />
</dependencies>
</ivy-module>

2
liferay-plugins-sdk-6.2/portlets/portos-jbpm-log-task-portlet/ivy.xml

@ -13,6 +13,6 @@
<dependencies defaultconf="default">
<dependency conf="test->default" name="arquillian-junit-container" org="org.jboss.arquillian.junit" rev="1.1.6.Final" />
<dependency conf="test->default" name="arquillian-tomcat-remote-7" org="org.jboss.arquillian.container" rev="1.0.0.CR6" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0-SNAPSHOT" />
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0" />
</dependencies>
</ivy-module>

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/commons-collections.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/commons-lang.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/commons-logging.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/jstl-api.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/jstl-impl.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/log4j.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/util-bridges.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/util-taglib.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/velocity-tools.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/lib/velocity.jar

File binario non mostrato.

10
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/liferay-portlet.xml

@ -5,7 +5,7 @@
<portlet>
<portlet-name>1</portlet-name>
<icon>/icon.png</icon>
<scheduler-entry>
<scheduler-event-listener-class>it.tref.liferay.portos.mailmanager.messaging.SendMailMessageListener</scheduler-event-listener-class>
<trigger>
@ -15,14 +15,14 @@
</simple>
</trigger>
</scheduler-entry>
<control-panel-entry-category>configuration</control-panel-entry-category>
<control-panel-entry-weight>1.5</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>mail-manager-portlet</css-class-wrapper>
<add-default-resource>true</add-default-resource>
</portlet>

24
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service.xml

@ -48,7 +48,7 @@
<column name="classNameId" type="long" />
<column name="classPK" type="long" />
<column name="templateName" type="String"></column>
<!-- Order -->
@ -62,18 +62,18 @@
<finder name="Company" return-type="Collection">
<finder-column name="companyId" />
</finder>
<finder name="C_G" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder name="C_T" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="templateName" />
</finder>
<finder name="C_G_T" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
@ -85,7 +85,7 @@
<finder-column name="classNameId" />
<finder-column name="classPK" />
</finder>
<finder name="C_G_C_C" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
@ -97,12 +97,12 @@
<reference package-path="com.liferay.portal" entity="Company" />
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
entity="DLApp" />
</entity>
<entity name="EmailAttachment" local-service="true"
remote-service="false">
remote-service="false">
<!-- PK fields -->
@ -123,12 +123,12 @@
<reference package-path="com.liferay.portal" entity="Company" />
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
entity="DLApp" />
</entity>
<entity name="EmailTemplate" local-service="true"
remote-service="true">
remote-service="true">
<!-- PK fields -->
@ -156,10 +156,10 @@
<column name="ccn" type="String" />
<column name="subject" type="String" />
<column name="body" type="String" />
<column name="attachmentPermitted" type="boolean" />
<column name="additionalParameters" type="String" />
<!-- Order -->
@ -183,7 +183,7 @@
<finder-column name="groupId" />
<finder-column name="templateName" />
</finder>
<finder name="C_Name" return-type="EmailTemplate" unique="true">
<finder-column name="companyId" />
<finder-column name="templateName" />

35
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachment.java

@ -0,0 +1,35 @@
/**
* 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.tref.liferay.portos.mailmanager.model;
import com.liferay.portal.model.PersistedModel;
/**
* The extended model interface for the EmailTemplateAttachment service. Represents a row in the &quot;portos_Mail_EmailTemplateAttachment&quot; database table, with each column mapped to a property of this class.
*
* @author
* @see EmailTemplateAttachmentModel
* @see it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentImpl
* @see it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl
* @generated
*/
public interface EmailTemplateAttachment extends EmailTemplateAttachmentModel,
PersistedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
}

301
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachmentClp.java

@ -0,0 +1,301 @@
/**
* 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.tref.liferay.portos.mailmanager.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.tref.liferay.portos.mailmanager.service.ClpSerializer;
import it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalServiceUtil;
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
/**
* @author $author$
*/
public class EmailTemplateAttachmentClp extends BaseModelImpl<EmailTemplateAttachment>
implements EmailTemplateAttachment {
public EmailTemplateAttachmentClp() {
}
@Override
public Class<?> getModelClass() {
return EmailTemplateAttachment.class;
}
@Override
public String getModelClassName() {
return EmailTemplateAttachment.class.getName();
}
@Override
public EmailTemplateAttachmentPK getPrimaryKey() {
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId);
}
@Override
public void setPrimaryKey(EmailTemplateAttachmentPK primaryKey) {
setEmailTemplateId(primaryKey.emailTemplateId);
setFileEntryId(primaryKey.fileEntryId);
}
@Override
public Serializable getPrimaryKeyObj() {
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId);
}
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj) {
setPrimaryKey((EmailTemplateAttachmentPK)primaryKeyObj);
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("emailTemplateId", getEmailTemplateId());
attributes.put("fileEntryId", getFileEntryId());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long emailTemplateId = (Long)attributes.get("emailTemplateId");
if (emailTemplateId != null) {
setEmailTemplateId(emailTemplateId);
}
Long fileEntryId = (Long)attributes.get("fileEntryId");
if (fileEntryId != null) {
setFileEntryId(fileEntryId);
}
}
@Override
public long getEmailTemplateId() {
return _emailTemplateId;
}
@Override
public void setEmailTemplateId(long emailTemplateId) {
_emailTemplateId = emailTemplateId;
if (_emailTemplateAttachmentRemoteModel != null) {
try {
Class<?> clazz = _emailTemplateAttachmentRemoteModel.getClass();
Method method = clazz.getMethod("setEmailTemplateId", long.class);
method.invoke(_emailTemplateAttachmentRemoteModel,
emailTemplateId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getFileEntryId() {
return _fileEntryId;
}
@Override
public void setFileEntryId(long fileEntryId) {
_fileEntryId = fileEntryId;
if (_emailTemplateAttachmentRemoteModel != null) {
try {
Class<?> clazz = _emailTemplateAttachmentRemoteModel.getClass();
Method method = clazz.getMethod("setFileEntryId", long.class);
method.invoke(_emailTemplateAttachmentRemoteModel, fileEntryId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
public BaseModel<?> getEmailTemplateAttachmentRemoteModel() {
return _emailTemplateAttachmentRemoteModel;
}
public void setEmailTemplateAttachmentRemoteModel(
BaseModel<?> emailTemplateAttachmentRemoteModel) {
_emailTemplateAttachmentRemoteModel = emailTemplateAttachmentRemoteModel;
}
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 = _emailTemplateAttachmentRemoteModel.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(_emailTemplateAttachmentRemoteModel,
remoteParameterValues);
if (returnValue != null) {
returnValue = ClpSerializer.translateOutput(returnValue);
}
return returnValue;
}
@Override
public void persist() throws SystemException {
if (this.isNew()) {
EmailTemplateAttachmentLocalServiceUtil.addEmailTemplateAttachment(this);
}
else {
EmailTemplateAttachmentLocalServiceUtil.updateEmailTemplateAttachment(this);
}
}
@Override
public EmailTemplateAttachment toEscapedModel() {
return (EmailTemplateAttachment)ProxyUtil.newProxyInstance(EmailTemplateAttachment.class.getClassLoader(),
new Class[] { EmailTemplateAttachment.class },
new AutoEscapeBeanHandler(this));
}
@Override
public Object clone() {
EmailTemplateAttachmentClp clone = new EmailTemplateAttachmentClp();
clone.setEmailTemplateId(getEmailTemplateId());
clone.setFileEntryId(getFileEntryId());
return clone;
}
@Override
public int compareTo(EmailTemplateAttachment emailTemplateAttachment) {
EmailTemplateAttachmentPK primaryKey = emailTemplateAttachment.getPrimaryKey();
return getPrimaryKey().compareTo(primaryKey);
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof EmailTemplateAttachmentClp)) {
return false;
}
EmailTemplateAttachmentClp emailTemplateAttachment = (EmailTemplateAttachmentClp)obj;
EmailTemplateAttachmentPK primaryKey = emailTemplateAttachment.getPrimaryKey();
if (getPrimaryKey().equals(primaryKey)) {
return true;
}
else {
return false;
}
}
public Class<?> getClpSerializerClass() {
return _clpSerializerClass;
}
@Override
public int hashCode() {
return getPrimaryKey().hashCode();
}
@Override
public String toString() {
StringBundler sb = new StringBundler(5);
sb.append("{emailTemplateId=");
sb.append(getEmailTemplateId());
sb.append(", fileEntryId=");
sb.append(getFileEntryId());
sb.append("}");
return sb.toString();
}
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(10);
sb.append("<model><model-name>");
sb.append(
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment");
sb.append("</model-name>");
sb.append(
"<column><column-name>emailTemplateId</column-name><column-value><![CDATA[");
sb.append(getEmailTemplateId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>fileEntryId</column-name><column-value><![CDATA[");
sb.append(getFileEntryId());
sb.append("]]></column-value></column>");
sb.append("</model>");
return sb.toString();
}
private long _emailTemplateId;
private long _fileEntryId;
private BaseModel<?> _emailTemplateAttachmentRemoteModel;
private Class<?> _clpSerializerClass = it.tref.liferay.portos.mailmanager.service.ClpSerializer.class;
}

146
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachmentModel.java

@ -0,0 +1,146 @@
/**
* 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.tref.liferay.portos.mailmanager.model;
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 it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK;
import java.io.Serializable;
/**
* The base model interface for the EmailTemplateAttachment service. Represents a row in the &quot;portos_Mail_EmailTemplateAttachment&quot; database table, with each column mapped to a property of this class.
*
* <p>
* This interface and its corresponding implementation {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl} 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.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentImpl}.
* </p>
*
* @author
* @see EmailTemplateAttachment
* @see it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentImpl
* @see it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl
* @generated
*/
public interface EmailTemplateAttachmentModel extends BaseModel<EmailTemplateAttachment> {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a email template attachment model instance should use the {@link EmailTemplateAttachment} interface instead.
*/
/**
* Returns the primary key of this email template attachment.
*
* @return the primary key of this email template attachment
*/
public EmailTemplateAttachmentPK getPrimaryKey();
/**
* Sets the primary key of this email template attachment.
*
* @param primaryKey the primary key of this email template attachment
*/
public void setPrimaryKey(EmailTemplateAttachmentPK primaryKey);
/**
* Returns the email template ID of this email template attachment.
*
* @return the email template ID of this email template attachment
*/
public long getEmailTemplateId();
/**
* Sets the email template ID of this email template attachment.
*
* @param emailTemplateId the email template ID of this email template attachment
*/
public void setEmailTemplateId(long emailTemplateId);
/**
* Returns the file entry ID of this email template attachment.
*
* @return the file entry ID of this email template attachment
*/
public long getFileEntryId();
/**
* Sets the file entry ID of this email template attachment.
*
* @param fileEntryId the file entry ID of this email template attachment
*/
public void setFileEntryId(long fileEntryId);
@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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment);
@Override
public int hashCode();
@Override
public CacheModel<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> toCacheModel();
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment toEscapedModel();
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}

111
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachmentSoap.java

@ -0,0 +1,111 @@
/**
* 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.tref.liferay.portos.mailmanager.model;
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* This class is used by SOAP remote services.
*
* @author
* @generated
*/
public class EmailTemplateAttachmentSoap implements Serializable {
public static EmailTemplateAttachmentSoap toSoapModel(
EmailTemplateAttachment model) {
EmailTemplateAttachmentSoap soapModel = new EmailTemplateAttachmentSoap();
soapModel.setEmailTemplateId(model.getEmailTemplateId());
soapModel.setFileEntryId(model.getFileEntryId());
return soapModel;
}
public static EmailTemplateAttachmentSoap[] toSoapModels(
EmailTemplateAttachment[] models) {
EmailTemplateAttachmentSoap[] soapModels = new EmailTemplateAttachmentSoap[models.length];
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModel(models[i]);
}
return soapModels;
}
public static EmailTemplateAttachmentSoap[][] toSoapModels(
EmailTemplateAttachment[][] models) {
EmailTemplateAttachmentSoap[][] soapModels = null;
if (models.length > 0) {
soapModels = new EmailTemplateAttachmentSoap[models.length][models[0].length];
}
else {
soapModels = new EmailTemplateAttachmentSoap[0][0];
}
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModels(models[i]);
}
return soapModels;
}
public static EmailTemplateAttachmentSoap[] toSoapModels(
List<EmailTemplateAttachment> models) {
List<EmailTemplateAttachmentSoap> soapModels = new ArrayList<EmailTemplateAttachmentSoap>(models.size());
for (EmailTemplateAttachment model : models) {
soapModels.add(toSoapModel(model));
}
return soapModels.toArray(new EmailTemplateAttachmentSoap[soapModels.size()]);
}
public EmailTemplateAttachmentSoap() {
}
public EmailTemplateAttachmentPK getPrimaryKey() {
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId);
}
public void setPrimaryKey(EmailTemplateAttachmentPK pk) {
setEmailTemplateId(pk.emailTemplateId);
setFileEntryId(pk.fileEntryId);
}
public long getEmailTemplateId() {
return _emailTemplateId;
}
public void setEmailTemplateId(long emailTemplateId) {
_emailTemplateId = emailTemplateId;
}
public long getFileEntryId() {
return _fileEntryId;
}
public void setFileEntryId(long fileEntryId) {
_fileEntryId = fileEntryId;
}
private long _emailTemplateId;
private long _fileEntryId;
}

278
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/mailmanager/model/EmailTemplateAttachmentWrapper.java

@ -0,0 +1,278 @@
/**
* 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.tref.liferay.portos.mailmanager.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 EmailTemplateAttachment}.
* </p>
*
* @author
* @see EmailTemplateAttachment
* @generated
*/
public class EmailTemplateAttachmentWrapper implements EmailTemplateAttachment,
ModelWrapper<EmailTemplateAttachment> {
public EmailTemplateAttachmentWrapper(
EmailTemplateAttachment emailTemplateAttachment) {
_emailTemplateAttachment = emailTemplateAttachment;
}
@Override
public Class<?> getModelClass() {
return EmailTemplateAttachment.class;
}
@Override
public String getModelClassName() {
return EmailTemplateAttachment.class.getName();
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("emailTemplateId", getEmailTemplateId());
attributes.put("fileEntryId", getFileEntryId());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long emailTemplateId = (Long)attributes.get("emailTemplateId");
if (emailTemplateId != null) {
setEmailTemplateId(emailTemplateId);
}
Long fileEntryId = (Long)attributes.get("fileEntryId");
if (fileEntryId != null) {
setFileEntryId(fileEntryId);
}
}
/**
* Returns the primary key of this email template attachment.
*
* @return the primary key of this email template attachment
*/
@Override
public it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK getPrimaryKey() {
return _emailTemplateAttachment.getPrimaryKey();
}
/**
* Sets the primary key of this email template attachment.
*
* @param primaryKey the primary key of this email template attachment
*/
@Override
public void setPrimaryKey(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK primaryKey) {
_emailTemplateAttachment.setPrimaryKey(primaryKey);
}
/**
* Returns the email template ID of this email template attachment.
*
* @return the email template ID of this email template attachment
*/
@Override
public long getEmailTemplateId() {
return _emailTemplateAttachment.getEmailTemplateId();
}
/**
* Sets the email template ID of this email template attachment.
*
* @param emailTemplateId the email template ID of this email template attachment
*/
@Override
public void setEmailTemplateId(long emailTemplateId) {
_emailTemplateAttachment.setEmailTemplateId(emailTemplateId);
}
/**
* Returns the file entry ID of this email template attachment.
*
* @return the file entry ID of this email template attachment
*/
@Override
public long getFileEntryId() {
return _emailTemplateAttachment.getFileEntryId();
}
/**
* Sets the file entry ID of this email template attachment.
*
* @param fileEntryId the file entry ID of this email template attachment
*/
@Override
public void setFileEntryId(long fileEntryId) {
_emailTemplateAttachment.setFileEntryId(fileEntryId);
}
@Override
public boolean isNew() {
return _emailTemplateAttachment.isNew();
}
@Override
public void setNew(boolean n) {
_emailTemplateAttachment.setNew(n);
}
@Override
public boolean isCachedModel() {
return _emailTemplateAttachment.isCachedModel();
}
@Override
public void setCachedModel(boolean cachedModel) {
_emailTemplateAttachment.setCachedModel(cachedModel);
}
@Override
public boolean isEscapedModel() {
return _emailTemplateAttachment.isEscapedModel();
}
@Override
public java.io.Serializable getPrimaryKeyObj() {
return _emailTemplateAttachment.getPrimaryKeyObj();
}
@Override
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
_emailTemplateAttachment.setPrimaryKeyObj(primaryKeyObj);
}
@Override
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
return _emailTemplateAttachment.getExpandoBridge();
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.model.BaseModel<?> baseModel) {
_emailTemplateAttachment.setExpandoBridgeAttributes(baseModel);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
_emailTemplateAttachment.setExpandoBridgeAttributes(expandoBridge);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.service.ServiceContext serviceContext) {
_emailTemplateAttachment.setExpandoBridgeAttributes(serviceContext);
}
@Override
public java.lang.Object clone() {
return new EmailTemplateAttachmentWrapper((EmailTemplateAttachment)_emailTemplateAttachment.clone());
}
@Override
public int compareTo(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) {
return _emailTemplateAttachment.compareTo(emailTemplateAttachment);
}
@Override
public int hashCode() {
return _emailTemplateAttachment.hashCode();
}
@Override
public com.liferay.portal.model.CacheModel<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> toCacheModel() {
return _emailTemplateAttachment.toCacheModel();
}
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment toEscapedModel() {
return new EmailTemplateAttachmentWrapper(_emailTemplateAttachment.toEscapedModel());
}
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment toUnescapedModel() {
return new EmailTemplateAttachmentWrapper(_emailTemplateAttachment.toUnescapedModel());
}
@Override
public java.lang.String toString() {
return _emailTemplateAttachment.toString();
}
@Override
public java.lang.String toXmlString() {
return _emailTemplateAttachment.toXmlString();
}
@Override
public void persist()
throws com.liferay.portal.kernel.exception.SystemException {
_emailTemplateAttachment.persist();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof EmailTemplateAttachmentWrapper)) {
return false;
}
EmailTemplateAttachmentWrapper emailTemplateAttachmentWrapper = (EmailTemplateAttachmentWrapper)obj;
if (Validator.equals(_emailTemplateAttachment,
emailTemplateAttachmentWrapper._emailTemplateAttachment)) {
return true;
}
return false;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
*/
public EmailTemplateAttachment getWrappedEmailTemplateAttachment() {
return _emailTemplateAttachment;
}
@Override
public EmailTemplateAttachment getWrappedModel() {
return _emailTemplateAttachment;
}
@Override
public void resetOriginalValues() {
_emailTemplateAttachment.resetOriginalValues();
}
private EmailTemplateAttachment _emailTemplateAttachment;
}

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

@ -0,0 +1,256 @@
/**
* 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.tref.liferay.portos.mailmanager.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 EmailTemplateAttachment. 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
* @see EmailTemplateAttachmentLocalServiceUtil
* @see it.tref.liferay.portos.mailmanager.service.base.EmailTemplateAttachmentLocalServiceBaseImpl
* @see it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl
* @generated
*/
@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
PortalException.class, SystemException.class})
public interface EmailTemplateAttachmentLocalService extends BaseLocalService,
InvokableLocalService, PersistedModelLocalService {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link EmailTemplateAttachmentLocalServiceUtil} to access the email template attachment local service. Add custom service methods to {@link it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
/**
* Adds the email template attachment to the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachment the email template attachment
* @return the email template attachment that was added
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment addEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database.
*
* @param emailTemplateAttachmentPK the primary key for the new email template attachment
* @return the new email template attachment
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment createEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK);
/**
* Deletes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment that was removed
* @throws PortalException if a email template attachment 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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* Deletes the email template attachment from the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachment the email template attachment
* @return the email template attachment that was removed
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
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.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the email template attachment with the primary key.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment
* @throws PortalException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment getEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
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 email template attachments.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @return the range of email template attachments
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> getEmailTemplateAttachments(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of email template attachments.
*
* @return the number of email template attachments
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public int getEmailTemplateAttachmentsCount()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Updates the email template attachment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachment the email template attachment
* @return the email template attachment that was updated
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
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;
}

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

@ -0,0 +1,733 @@
/**
* 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.tref.liferay.portos.mailmanager.service;
import com.liferay.portal.service.InvokableLocalService;
/**
* @author
* @generated
*/
public class EmailTemplateAttachmentLocalServiceClp
implements EmailTemplateAttachmentLocalService {
public EmailTemplateAttachmentLocalServiceClp(
InvokableLocalService invokableLocalService) {
_invokableLocalService = invokableLocalService;
_methodName0 = "addEmailTemplateAttachment";
_methodParameterTypes0 = new String[] {
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"
};
_methodName1 = "createEmailTemplateAttachment";
_methodParameterTypes1 = new String[] {
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK"
};
_methodName2 = "deleteEmailTemplateAttachment";
_methodParameterTypes2 = new String[] {
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK"
};
_methodName3 = "deleteEmailTemplateAttachment";
_methodParameterTypes3 = new String[] {
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"
};
_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 = "fetchEmailTemplateAttachment";
_methodParameterTypes10 = new String[] {
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK"
};
_methodName11 = "getEmailTemplateAttachment";
_methodParameterTypes11 = new String[] {
"it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK"
};
_methodName12 = "getPersistedModel";
_methodParameterTypes12 = new String[] { "java.io.Serializable" };
_methodName13 = "getEmailTemplateAttachments";
_methodParameterTypes13 = new String[] { "int", "int" };
_methodName14 = "getEmailTemplateAttachmentsCount";
_methodParameterTypes14 = new String[] { };
_methodName15 = "updateEmailTemplateAttachment";
_methodParameterTypes15 = new String[] {
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"
};
_methodName16 = "getBeanIdentifier";
_methodParameterTypes16 = new String[] { };
_methodName17 = "setBeanIdentifier";
_methodParameterTypes17 = new String[] { "java.lang.String" };
}
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment addEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName0,
_methodParameterTypes0,
new Object[] {
ClpSerializer.translateInput(emailTemplateAttachment)
});
}
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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment createEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName1,
_methodParameterTypes1,
new Object[] {
ClpSerializer.translateInput(emailTemplateAttachmentPK)
});
}
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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName2,
_methodParameterTypes2,
new Object[] {
ClpSerializer.translateInput(emailTemplateAttachmentPK)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName3,
_methodParameterTypes3,
new Object[] {
ClpSerializer.translateInput(emailTemplateAttachment)
});
}
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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName10,
_methodParameterTypes10,
new Object[] {
ClpSerializer.translateInput(emailTemplateAttachmentPK)
});
}
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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment getEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName11,
_methodParameterTypes11,
new Object[] {
ClpSerializer.translateInput(emailTemplateAttachmentPK)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> getEmailTemplateAttachments(
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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int getEmailTemplateAttachmentsCount()
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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName15,
_methodParameterTypes15,
new Object[] {
ClpSerializer.translateInput(emailTemplateAttachment)
});
}
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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment)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();
}
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;
}

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

@ -0,0 +1,313 @@
/**
* 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.tref.liferay.portos.mailmanager.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 EmailTemplateAttachment. This utility wraps
* {@link it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl} 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
* @see EmailTemplateAttachmentLocalService
* @see it.tref.liferay.portos.mailmanager.service.base.EmailTemplateAttachmentLocalServiceBaseImpl
* @see it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl
* @generated
*/
public class EmailTemplateAttachmentLocalServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.mailmanager.service.impl.EmailTemplateAttachmentLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
*/
/**
* Adds the email template attachment to the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachment the email template attachment
* @return the email template attachment that was added
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment addEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().addEmailTemplateAttachment(emailTemplateAttachment);
}
/**
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database.
*
* @param emailTemplateAttachmentPK the primary key for the new email template attachment
* @return the new email template attachment
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment createEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) {
return getService()
.createEmailTemplateAttachment(emailTemplateAttachmentPK);
}
/**
* Deletes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment that was removed
* @throws PortalException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService()
.deleteEmailTemplateAttachment(emailTemplateAttachmentPK);
}
/**
* Deletes the email template attachment from the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachment the email template attachment
* @return the email template attachment that was removed
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.deleteEmailTemplateAttachment(emailTemplateAttachment);
}
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.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.fetchEmailTemplateAttachment(emailTemplateAttachmentPK);
}
/**
* Returns the email template attachment with the primary key.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment
* @throws PortalException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment getEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().getEmailTemplateAttachment(emailTemplateAttachmentPK);
}
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 email template attachments.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @return the range of email template attachments
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> getEmailTemplateAttachments(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getEmailTemplateAttachments(start, end);
}
/**
* Returns the number of email template attachments.
*
* @return the number of email template attachments
* @throws SystemException if a system exception occurred
*/
public static int getEmailTemplateAttachmentsCount()
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getEmailTemplateAttachmentsCount();
}
/**
* Updates the email template attachment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachment the email template attachment
* @return the email template attachment that was updated
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.updateEmailTemplateAttachment(emailTemplateAttachment);
}
/**
* 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 EmailTemplateAttachmentLocalService getService() {
if (_service == null) {
InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
EmailTemplateAttachmentLocalService.class.getName());
if (invokableLocalService instanceof EmailTemplateAttachmentLocalService) {
_service = (EmailTemplateAttachmentLocalService)invokableLocalService;
}
else {
_service = new EmailTemplateAttachmentLocalServiceClp(invokableLocalService);
}
ReferenceRegistry.registerReference(EmailTemplateAttachmentLocalServiceUtil.class,
"_service");
}
return _service;
}
/**
* @deprecated As of 6.2.0
*/
public void setService(EmailTemplateAttachmentLocalService service) {
}
private static EmailTemplateAttachmentLocalService _service;
}

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

@ -0,0 +1,320 @@
/**
* 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.tref.liferay.portos.mailmanager.service;
import com.liferay.portal.service.ServiceWrapper;
/**
* Provides a wrapper for {@link EmailTemplateAttachmentLocalService}.
*
* @author
* @see EmailTemplateAttachmentLocalService
* @generated
*/
public class EmailTemplateAttachmentLocalServiceWrapper
implements EmailTemplateAttachmentLocalService,
ServiceWrapper<EmailTemplateAttachmentLocalService> {
public EmailTemplateAttachmentLocalServiceWrapper(
EmailTemplateAttachmentLocalService emailTemplateAttachmentLocalService) {
_emailTemplateAttachmentLocalService = emailTemplateAttachmentLocalService;
}
/**
* Adds the email template attachment to the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachment the email template attachment
* @return the email template attachment that was added
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment addEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
return _emailTemplateAttachmentLocalService.addEmailTemplateAttachment(emailTemplateAttachment);
}
/**
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database.
*
* @param emailTemplateAttachmentPK the primary key for the new email template attachment
* @return the new email template attachment
*/
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment createEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) {
return _emailTemplateAttachmentLocalService.createEmailTemplateAttachment(emailTemplateAttachmentPK);
}
/**
* Deletes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment that was removed
* @throws PortalException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _emailTemplateAttachmentLocalService.deleteEmailTemplateAttachment(emailTemplateAttachmentPK);
}
/**
* Deletes the email template attachment from the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachment the email template attachment
* @return the email template attachment that was removed
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment deleteEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
return _emailTemplateAttachmentLocalService.deleteEmailTemplateAttachment(emailTemplateAttachment);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _emailTemplateAttachmentLocalService.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 _emailTemplateAttachmentLocalService.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.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 _emailTemplateAttachmentLocalService.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.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 _emailTemplateAttachmentLocalService.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 _emailTemplateAttachmentLocalService.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 _emailTemplateAttachmentLocalService.dynamicQueryCount(dynamicQuery,
projection);
}
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException {
return _emailTemplateAttachmentLocalService.fetchEmailTemplateAttachment(emailTemplateAttachmentPK);
}
/**
* Returns the email template attachment with the primary key.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment
* @throws PortalException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment getEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _emailTemplateAttachmentLocalService.getEmailTemplateAttachment(emailTemplateAttachmentPK);
}
@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 _emailTemplateAttachmentLocalService.getPersistedModel(primaryKeyObj);
}
/**
* Returns a range of all the email template attachments.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @return the range of email template attachments
* @throws SystemException if a system exception occurred
*/
@Override
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> getEmailTemplateAttachments(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _emailTemplateAttachmentLocalService.getEmailTemplateAttachments(start,
end);
}
/**
* Returns the number of email template attachments.
*
* @return the number of email template attachments
* @throws SystemException if a system exception occurred
*/
@Override
public int getEmailTemplateAttachmentsCount()
throws com.liferay.portal.kernel.exception.SystemException {
return _emailTemplateAttachmentLocalService.getEmailTemplateAttachmentsCount();
}
/**
* Updates the email template attachment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachment the email template attachment
* @return the email template attachment that was updated
* @throws SystemException if a system exception occurred
*/
@Override
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateEmailTemplateAttachment(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
return _emailTemplateAttachmentLocalService.updateEmailTemplateAttachment(emailTemplateAttachment);
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
@Override
public java.lang.String getBeanIdentifier() {
return _emailTemplateAttachmentLocalService.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) {
_emailTemplateAttachmentLocalService.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 _emailTemplateAttachmentLocalService.invokeMethod(name,
parameterTypes, arguments);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/
public EmailTemplateAttachmentLocalService getWrappedEmailTemplateAttachmentLocalService() {
return _emailTemplateAttachmentLocalService;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
*/
public void setWrappedEmailTemplateAttachmentLocalService(
EmailTemplateAttachmentLocalService emailTemplateAttachmentLocalService) {
_emailTemplateAttachmentLocalService = emailTemplateAttachmentLocalService;
}
@Override
public EmailTemplateAttachmentLocalService getWrappedService() {
return _emailTemplateAttachmentLocalService;
}
@Override
public void setWrappedService(
EmailTemplateAttachmentLocalService emailTemplateAttachmentLocalService) {
_emailTemplateAttachmentLocalService = emailTemplateAttachmentLocalService;
}
private EmailTemplateAttachmentLocalService _emailTemplateAttachmentLocalService;
}

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

@ -0,0 +1,38 @@
/**
* 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.tref.liferay.portos.mailmanager.service.persistence;
import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery;
import com.liferay.portal.kernel.exception.SystemException;
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment;
import it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalServiceUtil;
/**
* @author
* @generated
*/
public abstract class EmailTemplateAttachmentActionableDynamicQuery
extends BaseActionableDynamicQuery {
public EmailTemplateAttachmentActionableDynamicQuery()
throws SystemException {
setBaseLocalService(EmailTemplateAttachmentLocalServiceUtil.getService());
setClass(EmailTemplateAttachment.class);
setClassLoader(it.tref.liferay.portos.mailmanager.service.ClpSerializer.class.getClassLoader());
setPrimaryKeyPropertyName("primaryKey.emailTemplateId");
}
}

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

@ -0,0 +1,140 @@
/**
* 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.tref.liferay.portos.mailmanager.service.persistence;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.util.StringPool;
import java.io.Serializable;
/**
* @author
* @generated
*/
public class EmailTemplateAttachmentPK implements Comparable<EmailTemplateAttachmentPK>,
Serializable {
public long emailTemplateId;
public long fileEntryId;
public EmailTemplateAttachmentPK() {
}
public EmailTemplateAttachmentPK(long emailTemplateId, long fileEntryId) {
this.emailTemplateId = emailTemplateId;
this.fileEntryId = fileEntryId;
}
public long getEmailTemplateId() {
return emailTemplateId;
}
public void setEmailTemplateId(long emailTemplateId) {
this.emailTemplateId = emailTemplateId;
}
public long getFileEntryId() {
return fileEntryId;
}
public void setFileEntryId(long fileEntryId) {
this.fileEntryId = fileEntryId;
}
@Override
public int compareTo(EmailTemplateAttachmentPK pk) {
if (pk == null) {
return -1;
}
int value = 0;
if (emailTemplateId < pk.emailTemplateId) {
value = -1;
}
else if (emailTemplateId > pk.emailTemplateId) {
value = 1;
}
else {
value = 0;
}
if (value != 0) {
return value;
}
if (fileEntryId < pk.fileEntryId) {
value = -1;
}
else if (fileEntryId > pk.fileEntryId) {
value = 1;
}
else {
value = 0;
}
if (value != 0) {
return value;
}
return 0;
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof EmailTemplateAttachmentPK)) {
return false;
}
EmailTemplateAttachmentPK pk = (EmailTemplateAttachmentPK)obj;
if ((emailTemplateId == pk.emailTemplateId) &&
(fileEntryId == pk.fileEntryId)) {
return true;
}
else {
return false;
}
}
@Override
public int hashCode() {
return (String.valueOf(emailTemplateId) + String.valueOf(fileEntryId)).hashCode();
}
@Override
public String toString() {
StringBundler sb = new StringBundler(10);
sb.append(StringPool.OPEN_CURLY_BRACE);
sb.append("emailTemplateId");
sb.append(StringPool.EQUAL);
sb.append(emailTemplateId);
sb.append(StringPool.COMMA);
sb.append(StringPool.SPACE);
sb.append("fileEntryId");
sb.append(StringPool.EQUAL);
sb.append(fileEntryId);
sb.append(StringPool.CLOSE_CURLY_BRACE);
return sb.toString();
}
}

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

@ -0,0 +1,362 @@
/**
* 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.tref.liferay.portos.mailmanager.service.persistence;
import com.liferay.portal.service.persistence.BasePersistence;
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment;
/**
* The persistence interface for the email template attachment service.
*
* <p>
* Caching information and settings can be found in <code>portal.properties</code>
* </p>
*
* @author
* @see EmailTemplateAttachmentPersistenceImpl
* @see EmailTemplateAttachmentUtil
* @generated
*/
public interface EmailTemplateAttachmentPersistence extends BasePersistence<EmailTemplateAttachment> {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link EmailTemplateAttachmentUtil} to access the email template attachment persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the email template attachments where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @return the matching email template attachments
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId(
long emailTemplateId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the email template attachments where emailTemplateId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 emailTemplateId the email template ID
* @param start the lower bound of the range of email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @return the range of matching email template attachments
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId(
long emailTemplateId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the email template attachments where emailTemplateId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 emailTemplateId the email template ID
* @param start the lower bound of the range of email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching email template attachments
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId(
long emailTemplateId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByEmailTemplateId_First(
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException;
/**
* Returns the first email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching email template attachment, or <code>null</code> if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByEmailTemplateId_First(
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByEmailTemplateId_Last(
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException;
/**
* Returns the last email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching email template attachment, or <code>null</code> if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByEmailTemplateId_Last(
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the email template attachments before and after the current email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateAttachmentPK the primary key of the current email template attachment
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment[] findByEmailTemplateId_PrevAndNext(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK,
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException;
/**
* Removes all the email template attachments where emailTemplateId = &#63; from the database.
*
* @param emailTemplateId the email template ID
* @throws SystemException if a system exception occurred
*/
public void removeByEmailTemplateId(long emailTemplateId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of email template attachments where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @return the number of matching email template attachments
* @throws SystemException if a system exception occurred
*/
public int countByEmailTemplateId(long emailTemplateId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the email template attachment where fileEntryId = &#63; or throws a {@link it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException} if it could not be found.
*
* @param fileEntryId the file entry ID
* @return the matching email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByFileEntryId(
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException;
/**
* Returns the email template attachment where fileEntryId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param fileEntryId the file entry ID
* @return the matching email template attachment, or <code>null</code> if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByFileEntryId(
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the email template attachment where fileEntryId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param fileEntryId the file entry ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching email template attachment, or <code>null</code> if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByFileEntryId(
long fileEntryId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes the email template attachment where fileEntryId = &#63; from the database.
*
* @param fileEntryId the file entry ID
* @return the email template attachment that was removed
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment removeByFileEntryId(
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException;
/**
* Returns the number of email template attachments where fileEntryId = &#63;.
*
* @param fileEntryId the file entry ID
* @return the number of matching email template attachments
* @throws SystemException if a system exception occurred
*/
public int countByFileEntryId(long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Caches the email template attachment in the entity cache if it is enabled.
*
* @param emailTemplateAttachment the email template attachment
*/
public void cacheResult(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment);
/**
* Caches the email template attachments in the entity cache if it is enabled.
*
* @param emailTemplateAttachments the email template attachments
*/
public void cacheResult(
java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> emailTemplateAttachments);
/**
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database.
*
* @param emailTemplateAttachmentPK the primary key for the new email template attachment
* @return the new email template attachment
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment create(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK);
/**
* Removes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment that was removed
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment remove(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException;
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateImpl(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the email template attachment with the primary key or throws a {@link it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException} if it could not be found.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByPrimaryKey(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException;
/**
* Returns the email template attachment with the primary key or returns <code>null</code> if it could not be found.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment, or <code>null</code> if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByPrimaryKey(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the email template attachments.
*
* @return the email template attachments
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the email template attachments.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @return the range of email template attachments
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the email template attachments.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of email template attachments
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes all the email template attachments from the database.
*
* @throws SystemException if a system exception occurred
*/
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of email template attachments.
*
* @return the number of email template attachments
* @throws SystemException if a system exception occurred
*/
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException;
}

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

@ -0,0 +1,526 @@
/**
* 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.tref.liferay.portos.mailmanager.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.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment;
import java.util.List;
/**
* The persistence utility for the email template attachment service. This utility wraps {@link EmailTemplateAttachmentPersistenceImpl} 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
* @see EmailTemplateAttachmentPersistence
* @see EmailTemplateAttachmentPersistenceImpl
* @generated
*/
public class EmailTemplateAttachmentUtil {
/*
* 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(
EmailTemplateAttachment emailTemplateAttachment) {
getPersistence().clearCache(emailTemplateAttachment);
}
/**
* @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<EmailTemplateAttachment> findWithDynamicQuery(
DynamicQuery dynamicQuery) throws SystemException {
return getPersistence().findWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
*/
public static List<EmailTemplateAttachment> 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<EmailTemplateAttachment> 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 EmailTemplateAttachment update(
EmailTemplateAttachment emailTemplateAttachment)
throws SystemException {
return getPersistence().update(emailTemplateAttachment);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext)
*/
public static EmailTemplateAttachment update(
EmailTemplateAttachment emailTemplateAttachment,
ServiceContext serviceContext) throws SystemException {
return getPersistence().update(emailTemplateAttachment, serviceContext);
}
/**
* Returns all the email template attachments where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @return the matching email template attachments
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId(
long emailTemplateId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findByEmailTemplateId(emailTemplateId);
}
/**
* Returns a range of all the email template attachments where emailTemplateId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 emailTemplateId the email template ID
* @param start the lower bound of the range of email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @return the range of matching email template attachments
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId(
long emailTemplateId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByEmailTemplateId(emailTemplateId, start, end);
}
/**
* Returns an ordered range of all the email template attachments where emailTemplateId = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 emailTemplateId the email template ID
* @param start the lower bound of the range of email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching email template attachments
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findByEmailTemplateId(
long emailTemplateId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByEmailTemplateId(emailTemplateId, start, end,
orderByComparator);
}
/**
* Returns the first email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByEmailTemplateId_First(
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException {
return getPersistence()
.findByEmailTemplateId_First(emailTemplateId,
orderByComparator);
}
/**
* Returns the first email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching email template attachment, or <code>null</code> if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByEmailTemplateId_First(
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByEmailTemplateId_First(emailTemplateId,
orderByComparator);
}
/**
* Returns the last email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByEmailTemplateId_Last(
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException {
return getPersistence()
.findByEmailTemplateId_Last(emailTemplateId,
orderByComparator);
}
/**
* Returns the last email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching email template attachment, or <code>null</code> if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByEmailTemplateId_Last(
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByEmailTemplateId_Last(emailTemplateId,
orderByComparator);
}
/**
* Returns the email template attachments before and after the current email template attachment in the ordered set where emailTemplateId = &#63;.
*
* @param emailTemplateAttachmentPK the primary key of the current email template attachment
* @param emailTemplateId the email template ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment[] findByEmailTemplateId_PrevAndNext(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK,
long emailTemplateId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException {
return getPersistence()
.findByEmailTemplateId_PrevAndNext(emailTemplateAttachmentPK,
emailTemplateId, orderByComparator);
}
/**
* Removes all the email template attachments where emailTemplateId = &#63; from the database.
*
* @param emailTemplateId the email template ID
* @throws SystemException if a system exception occurred
*/
public static void removeByEmailTemplateId(long emailTemplateId)
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence().removeByEmailTemplateId(emailTemplateId);
}
/**
* Returns the number of email template attachments where emailTemplateId = &#63;.
*
* @param emailTemplateId the email template ID
* @return the number of matching email template attachments
* @throws SystemException if a system exception occurred
*/
public static int countByEmailTemplateId(long emailTemplateId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByEmailTemplateId(emailTemplateId);
}
/**
* Returns the email template attachment where fileEntryId = &#63; or throws a {@link it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException} if it could not be found.
*
* @param fileEntryId the file entry ID
* @return the matching email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByFileEntryId(
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException {
return getPersistence().findByFileEntryId(fileEntryId);
}
/**
* Returns the email template attachment where fileEntryId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param fileEntryId the file entry ID
* @return the matching email template attachment, or <code>null</code> if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByFileEntryId(
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByFileEntryId(fileEntryId);
}
/**
* Returns the email template attachment where fileEntryId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param fileEntryId the file entry ID
* @param retrieveFromCache whether to use the finder cache
* @return the matching email template attachment, or <code>null</code> if a matching email template attachment could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByFileEntryId(
long fileEntryId, boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByFileEntryId(fileEntryId, retrieveFromCache);
}
/**
* Removes the email template attachment where fileEntryId = &#63; from the database.
*
* @param fileEntryId the file entry ID
* @return the email template attachment that was removed
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment removeByFileEntryId(
long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException {
return getPersistence().removeByFileEntryId(fileEntryId);
}
/**
* Returns the number of email template attachments where fileEntryId = &#63;.
*
* @param fileEntryId the file entry ID
* @return the number of matching email template attachments
* @throws SystemException if a system exception occurred
*/
public static int countByFileEntryId(long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByFileEntryId(fileEntryId);
}
/**
* Caches the email template attachment in the entity cache if it is enabled.
*
* @param emailTemplateAttachment the email template attachment
*/
public static void cacheResult(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment) {
getPersistence().cacheResult(emailTemplateAttachment);
}
/**
* Caches the email template attachments in the entity cache if it is enabled.
*
* @param emailTemplateAttachments the email template attachments
*/
public static void cacheResult(
java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> emailTemplateAttachments) {
getPersistence().cacheResult(emailTemplateAttachments);
}
/**
* Creates a new email template attachment with the primary key. Does not add the email template attachment to the database.
*
* @param emailTemplateAttachmentPK the primary key for the new email template attachment
* @return the new email template attachment
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment create(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK) {
return getPersistence().create(emailTemplateAttachmentPK);
}
/**
* Removes the email template attachment with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment that was removed
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment remove(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException {
return getPersistence().remove(emailTemplateAttachmentPK);
}
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment updateImpl(
it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment emailTemplateAttachment)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().updateImpl(emailTemplateAttachment);
}
/**
* Returns the email template attachment with the primary key or throws a {@link it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException} if it could not be found.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment
* @throws it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment findByPrimaryKey(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.mailmanager.NoSuchEmailTemplateAttachmentException {
return getPersistence().findByPrimaryKey(emailTemplateAttachmentPK);
}
/**
* Returns the email template attachment with the primary key or returns <code>null</code> if it could not be found.
*
* @param emailTemplateAttachmentPK the primary key of the email template attachment
* @return the email template attachment, or <code>null</code> if a email template attachment with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment fetchByPrimaryKey(
it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK emailTemplateAttachmentPK)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByPrimaryKey(emailTemplateAttachmentPK);
}
/**
* Returns all the email template attachments.
*
* @return the email template attachments
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll()
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findAll();
}
/**
* Returns a range of all the email template attachments.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @return the range of email template attachments
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> findAll(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findAll(start, end);
}
/**
* Returns an ordered range of all the email template attachments.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.mailmanager.model.impl.EmailTemplateAttachmentModelImpl}. 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 email template attachments
* @param end the upper bound of the range of email template attachments (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of email template attachments
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment> 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 email template attachments 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 email template attachments.
*
* @return the number of email template attachments
* @throws SystemException if a system exception occurred
*/
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countAll();
}
public static EmailTemplateAttachmentPersistence getPersistence() {
if (_persistence == null) {
_persistence = (EmailTemplateAttachmentPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.mailmanager.service.ClpSerializer.getServletContextName(),
EmailTemplateAttachmentPersistence.class.getName());
ReferenceRegistry.registerReference(EmailTemplateAttachmentUtil.class,
"_persistence");
}
return _persistence;
}
/**
* @deprecated As of 6.2.0
*/
public void setPersistence(EmailTemplateAttachmentPersistence persistence) {
}
private static EmailTemplateAttachmentPersistence _persistence;
}

17
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/hook/listener/DLFileEntryListener.java

@ -1,11 +1,26 @@
package it.tref.liferay.portos.mailmanager.hook.listener;
import it.tref.liferay.portos.mailmanager.model.EmailAttachment;
import it.tref.liferay.portos.mailmanager.service.EmailAttachmentLocalServiceUtil;
import com.liferay.portal.ModelListenerException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModelListener;
import com.liferay.portlet.documentlibrary.model.DLFileEntry;
public class DLFileEntryListener extends BaseModelListener<DLFileEntry> {
@Override
public void onBeforeRemove(DLFileEntry model) throws ModelListenerException {}
public void onBeforeRemove(DLFileEntry model) throws ModelListenerException {
try {
EmailAttachment emailAttachment = EmailAttachmentLocalServiceUtil
.fetchByFileEntryId(model.getFileEntryId());
if (emailAttachment != null) {
throw new ModelListenerException();
}
} catch (SystemException e) {
throw new ModelListenerException(e);
}
}
}

50
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/model/impl/EmailTemplateAttachmentBaseImpl.java

@ -0,0 +1,50 @@
/**
* 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.tref.liferay.portos.mailmanager.model.impl;
import com.liferay.portal.kernel.exception.SystemException;
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment;
import it.tref.liferay.portos.mailmanager.service.EmailTemplateAttachmentLocalServiceUtil;
/**
* The extended model base implementation for the EmailTemplateAttachment service. Represents a row in the &quot;portos_Mail_EmailTemplateAttachment&quot; database table, with each column mapped to a property of this class.
*
* <p>
* This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link EmailTemplateAttachmentImpl}.
* </p>
*
* @author
* @see EmailTemplateAttachmentImpl
* @see it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment
* @generated
*/
public abstract class EmailTemplateAttachmentBaseImpl
extends EmailTemplateAttachmentModelImpl implements EmailTemplateAttachment {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. All methods that expect a email template attachment model instance should use the {@link EmailTemplateAttachment} interface instead.
*/
@Override
public void persist() throws SystemException {
if (this.isNew()) {
EmailTemplateAttachmentLocalServiceUtil.addEmailTemplateAttachment(this);
}
else {
EmailTemplateAttachmentLocalServiceUtil.updateEmailTemplateAttachment(this);
}
}
}

76
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/model/impl/EmailTemplateAttachmentCacheModel.java

@ -0,0 +1,76 @@
/**
* 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.tref.liferay.portos.mailmanager.model.impl;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.model.CacheModel;
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
/**
* The cache model class for representing EmailTemplateAttachment in entity cache.
*
* @author
* @see EmailTemplateAttachment
* @generated
*/
public class EmailTemplateAttachmentCacheModel implements CacheModel<EmailTemplateAttachment>,
Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(5);
sb.append("{emailTemplateId=");
sb.append(emailTemplateId);
sb.append(", fileEntryId=");
sb.append(fileEntryId);
sb.append("}");
return sb.toString();
}
@Override
public EmailTemplateAttachment toEntityModel() {
EmailTemplateAttachmentImpl emailTemplateAttachmentImpl = new EmailTemplateAttachmentImpl();
emailTemplateAttachmentImpl.setEmailTemplateId(emailTemplateId);
emailTemplateAttachmentImpl.setFileEntryId(fileEntryId);
emailTemplateAttachmentImpl.resetOriginalValues();
return emailTemplateAttachmentImpl;
}
@Override
public void readExternal(ObjectInput objectInput) throws IOException {
emailTemplateId = objectInput.readLong();
fileEntryId = objectInput.readLong();
}
@Override
public void writeExternal(ObjectOutput objectOutput)
throws IOException {
objectOutput.writeLong(emailTemplateId);
objectOutput.writeLong(fileEntryId);
}
public long emailTemplateId;
public long fileEntryId;
}

34
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/model/impl/EmailTemplateAttachmentImpl.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.tref.liferay.portos.mailmanager.model.impl;
/**
* The extended model implementation for the EmailTemplateAttachment service. Represents a row in the &quot;portos_Mail_EmailTemplateAttachment&quot; database table, with each column mapped to a property of this class.
*
* <p>
* Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment} interface.
* </p>
*
* @author
*/
public class EmailTemplateAttachmentImpl extends EmailTemplateAttachmentBaseImpl {
/*
* NOTE FOR DEVELOPERS:
*
* Never reference this class directly. All methods that expect a email template attachment model instance should use the {@link it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment} interface instead.
*/
public EmailTemplateAttachmentImpl() {
}
}

318
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/mailmanager/model/impl/EmailTemplateAttachmentModelImpl.java

@ -0,0 +1,318 @@
/**
* 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.tref.liferay.portos.mailmanager.model.impl;
import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
import com.liferay.portal.kernel.util.GetterUtil;
import com.liferay.portal.kernel.util.ProxyUtil;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.model.impl.BaseModelImpl;
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment;
import it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachmentModel;
import it.tref.liferay.portos.mailmanager.service.persistence.EmailTemplateAttachmentPK;
import java.io.Serializable;
import java.sql.Types;
import java.util.HashMap;
import java.util.Map;
/**
* The base model implementation for the EmailTemplateAttachment service. Represents a row in the &quot;portos_Mail_EmailTemplateAttachment&quot; database table, with each column mapped to a property of this class.
*
* <p>
* This implementation and its corresponding interface {@link it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachmentModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link EmailTemplateAttachmentImpl}.
* </p>
*
* @author
* @see EmailTemplateAttachmentImpl
* @see it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment
* @see it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachmentModel
* @generated
*/
public class EmailTemplateAttachmentModelImpl extends BaseModelImpl<EmailTemplateAttachment>
implements EmailTemplateAttachmentModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. All methods that expect a email template attachment model instance should use the {@link it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment} interface instead.
*/
public static final String TABLE_NAME = "portos_Mail_EmailTemplateAttachment";
public static final Object[][] TABLE_COLUMNS = {
{ "emailTemplateId", Types.BIGINT },
{ "fileEntryId", Types.BIGINT }
};
public static final String TABLE_SQL_CREATE = "create table portos_Mail_EmailTemplateAttachment (emailTemplateId LONG not null,fileEntryId LONG not null,primary key (emailTemplateId, fileEntryId))";
public static final String TABLE_SQL_DROP = "drop table portos_Mail_EmailTemplateAttachment";
public static final String ORDER_BY_JPQL = " ORDER BY emailTemplateAttachment.id.emailTemplateId ASC, emailTemplateAttachment.id.fileEntryId ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_Mail_EmailTemplateAttachment.emailTemplateId ASC, portos_Mail_EmailTemplateAttachment.fileEntryId ASC";
public static final String DATA_SOURCE = "liferayDataSource";
public static final String SESSION_FACTORY = "liferaySessionFactory";
public static final String TX_MANAGER = "liferayTransactionManager";
public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.entity.cache.enabled.it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"),
true);
public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.finder.cache.enabled.it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"),
true);
public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.column.bitmask.enabled.it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"),
true);
public static long EMAILTEMPLATEID_COLUMN_BITMASK = 1L;
public static long FILEENTRYID_COLUMN_BITMASK = 2L;
public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get(
"lock.expiration.time.it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment"));
public EmailTemplateAttachmentModelImpl() {
}
@Override
public EmailTemplateAttachmentPK getPrimaryKey() {
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId);
}
@Override
public void setPrimaryKey(EmailTemplateAttachmentPK primaryKey) {
setEmailTemplateId(primaryKey.emailTemplateId);
setFileEntryId(primaryKey.fileEntryId);
}
@Override
public Serializable getPrimaryKeyObj() {
return new EmailTemplateAttachmentPK(_emailTemplateId, _fileEntryId);
}
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj) {
setPrimaryKey((EmailTemplateAttachmentPK)primaryKeyObj);
}
@Override
public Class<?> getModelClass() {
return EmailTemplateAttachment.class;
}
@Override
public String getModelClassName() {
return EmailTemplateAttachment.class.getName();
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("emailTemplateId", getEmailTemplateId());
attributes.put("fileEntryId", getFileEntryId());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long emailTemplateId = (Long)attributes.get("emailTemplateId");
if (emailTemplateId != null) {
setEmailTemplateId(emailTemplateId);
}
Long fileEntryId = (Long)attributes.get("fileEntryId");
if (fileEntryId != null) {
setFileEntryId(fileEntryId);
}
}
@Override
public long getEmailTemplateId() {
return _emailTemplateId;
}
@Override
public void setEmailTemplateId(long emailTemplateId) {
_columnBitmask |= EMAILTEMPLATEID_COLUMN_BITMASK;
if (!_setOriginalEmailTemplateId) {
_setOriginalEmailTemplateId = true;
_originalEmailTemplateId = _emailTemplateId;
}
_emailTemplateId = emailTemplateId;
}
public long getOriginalEmailTemplateId() {
return _originalEmailTemplateId;
}
@Override
public long getFileEntryId() {
return _fileEntryId;
}
@Override
public void setFileEntryId(long fileEntryId) {
_columnBitmask |= FILEENTRYID_COLUMN_BITMASK;
if (!_setOriginalFileEntryId) {
_setOriginalFileEntryId = true;
_originalFileEntryId = _fileEntryId;
}
_fileEntryId = fileEntryId;
}
public long getOriginalFileEntryId() {
return _originalFileEntryId;
}
public long getColumnBitmask() {
return _columnBitmask;
}
@Override
public EmailTemplateAttachment toEscapedModel() {
if (_escapedModel == null) {
_escapedModel = (EmailTemplateAttachment)ProxyUtil.newProxyInstance(_classLoader,
_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
}
return _escapedModel;
}
@Override
public Object clone() {
EmailTemplateAttachmentImpl emailTemplateAttachmentImpl = new EmailTemplateAttachmentImpl();
emailTemplateAttachmentImpl.setEmailTemplateId(getEmailTemplateId());
emailTemplateAttachmentImpl.setFileEntryId(getFileEntryId());
emailTemplateAttachmentImpl.resetOriginalValues();
return emailTemplateAttachmentImpl;
}
@Override
public int compareTo(EmailTemplateAttachment emailTemplateAttachment) {
EmailTemplateAttachmentPK primaryKey = emailTemplateAttachment.getPrimaryKey();
return getPrimaryKey().compareTo(primaryKey);
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof EmailTemplateAttachment)) {
return false;
}
EmailTemplateAttachment emailTemplateAttachment = (EmailTemplateAttachment)obj;
EmailTemplateAttachmentPK primaryKey = emailTemplateAttachment.getPrimaryKey();
if (getPrimaryKey().equals(primaryKey)) {
return true;
}
else {
return false;
}
}
@Override
public int hashCode() {
return getPrimaryKey().hashCode();
}
@Override
public void resetOriginalValues() {
EmailTemplateAttachmentModelImpl emailTemplateAttachmentModelImpl = this;
emailTemplateAttachmentModelImpl._originalEmailTemplateId = emailTemplateAttachmentModelImpl._emailTemplateId;
emailTemplateAttachmentModelImpl._setOriginalEmailTemplateId = false;
emailTemplateAttachmentModelImpl._originalFileEntryId = emailTemplateAttachmentModelImpl._fileEntryId;
emailTemplateAttachmentModelImpl._setOriginalFileEntryId = false;
emailTemplateAttachmentModelImpl._columnBitmask = 0;
}
@Override
public CacheModel<EmailTemplateAttachment> toCacheModel() {
EmailTemplateAttachmentCacheModel emailTemplateAttachmentCacheModel = new EmailTemplateAttachmentCacheModel();
emailTemplateAttachmentCacheModel.emailTemplateId = getEmailTemplateId();
emailTemplateAttachmentCacheModel.fileEntryId = getFileEntryId();
return emailTemplateAttachmentCacheModel;
}
@Override
public String toString() {
StringBundler sb = new StringBundler(5);
sb.append("{emailTemplateId=");
sb.append(getEmailTemplateId());
sb.append(", fileEntryId=");
sb.append(getFileEntryId());
sb.append("}");
return sb.toString();
}
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(10);
sb.append("<model><model-name>");
sb.append(
"it.tref.liferay.portos.mailmanager.model.EmailTemplateAttachment");
sb.append("</model-name>");
sb.append(
"<column><column-name>emailTemplateId</column-name><column-value><![CDATA[");
sb.append(getEmailTemplateId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>fileEntryId</column-name><column-value><![CDATA[");
sb.append(getFileEntryId());
sb.append("]]></column-value></column>");
sb.append("</model>");
return sb.toString();
}
private static ClassLoader _classLoader = EmailTemplateAttachment.class.getClassLoader();
private static Class<?>[] _escapedModelInterfaces = new Class[] {
EmailTemplateAttachment.class
};
private long _emailTemplateId;
private long _originalEmailTemplateId;
private boolean _setOriginalEmailTemplateId;
private long _fileEntryId;
private long _originalFileEntryId;
private boolean _setOriginalFileEntryId;
private long _columnBitmask;
private EmailTemplateAttachment _escapedModel;
}

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

Caricamento…
Annulla
Salva