Sfoglia il codice sorgente

implement db to object workflow feature

feature/kafka-integrator
E-A 1 anno fa
parent
commit
7eaedf0e13
  1. 27
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.classpath
  2. 48
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.project
  3. 1
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.tern-project
  4. 6
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/build.xml
  5. 3
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/META-INF/MANIFEST.MF
  6. 1
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/.gitignore
  7. BIN
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/commons-logging.jar
  8. BIN
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/jstl-api.jar
  9. BIN
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/jstl-impl.jar
  10. BIN
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/log4j.jar
  11. BIN
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/util-bridges.jar
  12. BIN
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/util-taglib.jar
  13. 9
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-display.xml
  14. 15
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-plugin-package.properties
  15. 48
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-portlet.xml
  16. 65
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/portlet.xml
  17. 36
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service.xml
  18. 34
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Foo.java
  19. 698
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooClp.java
  20. 327
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooModel.java
  21. 210
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooSoap.java
  22. 576
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooWrapper.java
  23. 32
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Sportello.java
  24. 832
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloClp.java
  25. 360
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloModel.java
  26. 250
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloSoap.java
  27. 657
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloWrapper.java
  28. 248
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalService.java
  29. 691
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceClp.java
  30. 302
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceUtil.java
  31. 304
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceWrapper.java
  32. 66
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooService.java
  33. 91
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceClp.java
  34. 95
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceUtil.java
  35. 84
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceWrapper.java
  36. 66
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloService.java
  37. 91
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceClp.java
  38. 96
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceUtil.java
  39. 84
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceWrapper.java
  40. 38
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooActionableDynamicQuery.java
  41. 289
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooPersistence.java
  42. 429
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooUtil.java
  43. 159
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloPersistence.java
  44. 277
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloUtil.java
  45. 43
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/integratore/IntegratoreSchedulato.java
  46. 38
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloBaseImpl.java
  47. 315
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloCacheModel.java
  48. 34
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloImpl.java
  49. 910
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloModelImpl.java
  50. 321
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceBaseImpl.java
  51. 57
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceClpInvoker.java
  52. 58
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/http/SportelloServiceSoap.java
  53. 39
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/impl/SportelloServiceImpl.java
  54. 683
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/persistence/SportelloPersistenceImpl.java
  55. 37
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/pratica/PraticaPortlet.java
  56. 2568
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/aui.tld
  57. 538
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld
  58. 158
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet.tld
  59. 106
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-security.tld
  60. 65
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-theme.tld
  61. 4696
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-ui.tld
  62. 141
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-util.tld
  63. 3
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/web.xml
  64. 0
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/css/main.css
  65. 20
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/init.jsp
  66. 7
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/pratica/view.jsp
  67. BIN
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/icon.png
  68. 0
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/js/main.js
  69. 22
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/view.jsp
  70. 18
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml
  71. 1
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml.MD5
  72. 15
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/test/integration/arquillian.xml

27
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.classpath

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="docroot/WEB-INF/src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/com.liferay.ide.eclipse.server.tomcat.runtimeClasspathProvider/Liferay v6.2 CE (Tomcat 7)">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="con" path="com.liferay.ide.eclipse.server.plugin.container/portlet">
<attributes>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=schedulatore-portos-pratiche-portlet&amp;ivyXmlPath=ivy.xml&amp;confs=*&amp;ivySettingsPath=%24%7Bliferay_sdk_dir%3Aschedulatore-portos-pratiche-portlet%7D%2Fivy-settings.xml&amp;loadSettingsOnDemand=false&amp;ivyUserDir=%24%7Bliferay_sdk_dir%3Aschedulatore-portos-pratiche-portlet%7D%2F.ivy&amp;propertyFiles=">
<attributes>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="docroot/WEB-INF/classes"/>
</classpath>

48
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.project

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>schedulatore-portos-pratiche-portlet</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.apache.ivyde.eclipse.ivynature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
<filteredResources>
<filter>
<id>1683013922482</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>

1
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.tern-project

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

6
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/build.xml

@ -0,0 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE project>
<project name="schedulatore-portos-pratiche-portlet" basedir="." default="deploy">
<import file="../build-common-portlet.xml" />
</project>

3
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/META-INF/MANIFEST.MF

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

1
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/.gitignore vendored

@ -0,0 +1 @@
/classes/

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

9
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-display.xml

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd">
<display>
<category name="category.sample">
<portlet id="schedulatore-portos-pratiche" />
<portlet id="pratica"></portlet>
</category>
</display>

15
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-plugin-package.properties

@ -0,0 +1,15 @@
name=Schedulatore Portos Pratiche
module-group-id=liferay
module-incremental-version=1
tags=
short-description=
long-description=
change-log=
page-url=http://www.liferay.com
author=Liferay, Inc.
licenses=LGPL
liferay-versions=6.2.0+
portal-dependency-jars=\
jstl-api.jar,\
jstl-impl.jar

48
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/liferay-portlet.xml

@ -0,0 +1,48 @@
<?xml version="1.0"?>
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.2.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd">
<liferay-portlet-app>
<portlet>
<portlet-name>schedulatore-portos-pratiche</portlet-name>
<icon>/icon.png</icon>
<scheduler-entry>
<scheduler-description>dati pratiche</scheduler-description>
<scheduler-event-listener-class>integratore.IntegratoreSchedulato</scheduler-event-listener-class>
<trigger>
<simple>
<simple-trigger-value>30</simple-trigger-value>
<time-unit>second</time-unit>
</simple>
</trigger>
</scheduler-entry>
<header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
<css-class-wrapper>schedulatore-portos-pratiche-portlet</css-class-wrapper>
</portlet>
<portlet>
<portlet-name>pratica</portlet-name>
<icon>/icon.png</icon>
<header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>
/js/main.js
</footer-portlet-javascript>
<css-class-wrapper>pratica-portlet</css-class-wrapper>
</portlet>
<role-mapper>
<role-name>administrator</role-name>
<role-link>Administrator</role-link>
</role-mapper>
<role-mapper>
<role-name>guest</role-name>
<role-link>Guest</role-link>
</role-mapper>
<role-mapper>
<role-name>power-user</role-name>
<role-link>Power User</role-link>
</role-mapper>
<role-mapper>
<role-name>user</role-name>
<role-link>User</role-link>
</role-mapper>
</liferay-portlet-app>

65
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/portlet.xml

@ -0,0 +1,65 @@
<?xml version="1.0"?>
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0">
<portlet>
<portlet-name>schedulatore-portos-pratiche</portlet-name>
<display-name>Schedulatore Portos Pratiche</display-name>
<portlet-class>com.liferay.util.bridges.mvc.MVCPortlet</portlet-class>
<init-param>
<name>view-template</name>
<value>/view.jsp</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
</supports>
<portlet-info>
<title>Schedulatore Portos Pratiche</title>
<short-title>Schedulatore Portos Pratiche</short-title>
<keywords>Schedulatore Portos Pratiche</keywords>
</portlet-info>
<security-role-ref>
<role-name>administrator</role-name>
</security-role-ref>
<security-role-ref>
<role-name>guest</role-name>
</security-role-ref>
<security-role-ref>
<role-name>power-user</role-name>
</security-role-ref>
<security-role-ref>
<role-name>user</role-name>
</security-role-ref>
</portlet>
<portlet>
<portlet-name>pratica</portlet-name>
<display-name>Pratica</display-name>
<portlet-class>pratica.PraticaPortlet</portlet-class>
<init-param>
<name>view-template</name>
<value>/html/pratica/view.jsp</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports>
<portlet-info>
<title>Pratica</title>
<short-title>Pratica</short-title>
<keywords></keywords>
</portlet-info>
<security-role-ref>
<role-name>administrator</role-name>
</security-role-ref>
<security-role-ref>
<role-name>guest</role-name>
</security-role-ref>
<security-role-ref>
<role-name>power-user</role-name>
</security-role-ref>
<security-role-ref>
<role-name>user</role-name>
</security-role-ref>
</portlet>
</portlet-app>

36
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service.xml

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.2.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd">
<service-builder package-path="portos.nextmind">
<author>ebusu</author>
<namespace>portos</namespace>
<entity name="Sportello" table="sportello" data-source="sue-suap" remote-service="true">
<column name="id" primary="true" type="long" db-name="id" />
<column name="application" type="String" db-name="application"/>
<column name="clientId" type="String" db-name="client_id" />
<column name="context" type="String" db-name="context" />
<column name="instanceId" type="String" db-name="instance_id" />
<column name="ipaCode" type="String" db-name="ipa_code" />
<column name="proceedingType" type="String" db-name="proceeding_type" />
<column name="url" type="String" db-name="url" />
<column name="contentType" type="String" db-name="content_type" />
<column name="operation" type="String" db-name="operation" />
<column name="cadastralCode" type="String" db-name="cadastral_code" />
<column name="digitalHolderTaxCode" type="String" db-name="digital_holder_tax_code" />
<column name="stato" type="boolean" db-name="stato" />
<column name="creationDate" type="Date" db-name="creation_date" />
<column name="lastUpdateDate" type="Date" db-name="last_update_date" />
<column name="sentToPortosDate" type="Date" db-name="sent_to_portos_date" />
</entity>
<entity name="SportelloHeader" table="sportello_header" data-source="sue-suap" remote-service="true">
<column name="requestAction" type="String" db-name="wios_requestAction"></column>
<column name="sender" type="String" db-name="wios_sender"></column>
<column name="recipients" type="String" db-name="wios_recipients"></column>
<column name="digitalHolderTaxCode" type="String" db-name="wios_digitalHolderTaxCode"></column>
<column name="instanceId" type="String" db-name="wios_instanceId"></column>
<column name="correlationId" type="String" db-name="kafka_correlationId"></column>
<column name="replyTo" type="String" db-name="wios_replyTo"></column>
<column name="operation" type="String" db-name="wios_operation"></column>
<column name="queueLocation" type="String" db-name="wios_queueLocation"></column>
<column name="sportello" type="long" db-name="sportello_id"></column>
</entity>
</service-builder>

34
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Foo.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 potos.nextmind.model;
import com.liferay.portal.model.PersistedModel;
/**
* The extended model interface for the Foo service. Represents a row in the &quot;portos_Foo&quot; database table, with each column mapped to a property of this class.
*
* @author ebusu
* @see FooModel
* @see potos.nextmind.model.impl.FooImpl
* @see potos.nextmind.model.impl.FooModelImpl
* @generated
*/
public interface Foo extends FooModel, PersistedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to {@link potos.nextmind.model.impl.FooImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
}

698
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooClp.java

@ -0,0 +1,698 @@
/**
* 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 potos.nextmind.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 com.liferay.portal.util.PortalUtil;
import potos.nextmind.service.ClpSerializer;
import potos.nextmind.service.FooLocalServiceUtil;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* @author ebusu
*/
public class FooClp extends BaseModelImpl<Foo> implements Foo {
public FooClp() {
}
@Override
public Class<?> getModelClass() {
return Foo.class;
}
@Override
public String getModelClassName() {
return Foo.class.getName();
}
@Override
public long getPrimaryKey() {
return _fooId;
}
@Override
public void setPrimaryKey(long primaryKey) {
setFooId(primaryKey);
}
@Override
public Serializable getPrimaryKeyObj() {
return _fooId;
}
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj) {
setPrimaryKey(((Long)primaryKeyObj).longValue());
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("fooId", getFooId());
attributes.put("groupId", getGroupId());
attributes.put("companyId", getCompanyId());
attributes.put("userId", getUserId());
attributes.put("userName", getUserName());
attributes.put("createDate", getCreateDate());
attributes.put("modifiedDate", getModifiedDate());
attributes.put("field1", getField1());
attributes.put("field2", getField2());
attributes.put("field3", getField3());
attributes.put("field4", getField4());
attributes.put("field5", getField5());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long fooId = (Long)attributes.get("fooId");
if (fooId != null) {
setFooId(fooId);
}
Long groupId = (Long)attributes.get("groupId");
if (groupId != null) {
setGroupId(groupId);
}
Long companyId = (Long)attributes.get("companyId");
if (companyId != null) {
setCompanyId(companyId);
}
Long userId = (Long)attributes.get("userId");
if (userId != null) {
setUserId(userId);
}
String userName = (String)attributes.get("userName");
if (userName != null) {
setUserName(userName);
}
Date createDate = (Date)attributes.get("createDate");
if (createDate != null) {
setCreateDate(createDate);
}
Date modifiedDate = (Date)attributes.get("modifiedDate");
if (modifiedDate != null) {
setModifiedDate(modifiedDate);
}
String field1 = (String)attributes.get("field1");
if (field1 != null) {
setField1(field1);
}
Boolean field2 = (Boolean)attributes.get("field2");
if (field2 != null) {
setField2(field2);
}
Integer field3 = (Integer)attributes.get("field3");
if (field3 != null) {
setField3(field3);
}
Date field4 = (Date)attributes.get("field4");
if (field4 != null) {
setField4(field4);
}
String field5 = (String)attributes.get("field5");
if (field5 != null) {
setField5(field5);
}
}
@Override
public long getFooId() {
return _fooId;
}
@Override
public void setFooId(long fooId) {
_fooId = fooId;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setFooId", long.class);
method.invoke(_fooRemoteModel, fooId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getGroupId() {
return _groupId;
}
@Override
public void setGroupId(long groupId) {
_groupId = groupId;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setGroupId", long.class);
method.invoke(_fooRemoteModel, groupId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getCompanyId() {
return _companyId;
}
@Override
public void setCompanyId(long companyId) {
_companyId = companyId;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setCompanyId", long.class);
method.invoke(_fooRemoteModel, companyId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public long getUserId() {
return _userId;
}
@Override
public void setUserId(long userId) {
_userId = userId;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setUserId", long.class);
method.invoke(_fooRemoteModel, userId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getUserUuid() throws SystemException {
return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
}
@Override
public void setUserUuid(String userUuid) {
_userUuid = userUuid;
}
@Override
public String getUserName() {
return _userName;
}
@Override
public void setUserName(String userName) {
_userName = userName;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setUserName", String.class);
method.invoke(_fooRemoteModel, userName);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getCreateDate() {
return _createDate;
}
@Override
public void setCreateDate(Date createDate) {
_createDate = createDate;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setCreateDate", Date.class);
method.invoke(_fooRemoteModel, createDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getModifiedDate() {
return _modifiedDate;
}
@Override
public void setModifiedDate(Date modifiedDate) {
_modifiedDate = modifiedDate;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setModifiedDate", Date.class);
method.invoke(_fooRemoteModel, modifiedDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getField1() {
return _field1;
}
@Override
public void setField1(String field1) {
_field1 = field1;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setField1", String.class);
method.invoke(_fooRemoteModel, field1);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public boolean getField2() {
return _field2;
}
@Override
public boolean isField2() {
return _field2;
}
@Override
public void setField2(boolean field2) {
_field2 = field2;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setField2", boolean.class);
method.invoke(_fooRemoteModel, field2);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public int getField3() {
return _field3;
}
@Override
public void setField3(int field3) {
_field3 = field3;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setField3", int.class);
method.invoke(_fooRemoteModel, field3);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getField4() {
return _field4;
}
@Override
public void setField4(Date field4) {
_field4 = field4;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setField4", Date.class);
method.invoke(_fooRemoteModel, field4);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getField5() {
return _field5;
}
@Override
public void setField5(String field5) {
_field5 = field5;
if (_fooRemoteModel != null) {
try {
Class<?> clazz = _fooRemoteModel.getClass();
Method method = clazz.getMethod("setField5", String.class);
method.invoke(_fooRemoteModel, field5);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
public BaseModel<?> getFooRemoteModel() {
return _fooRemoteModel;
}
public void setFooRemoteModel(BaseModel<?> fooRemoteModel) {
_fooRemoteModel = fooRemoteModel;
}
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 = _fooRemoteModel.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(_fooRemoteModel,
remoteParameterValues);
if (returnValue != null) {
returnValue = ClpSerializer.translateOutput(returnValue);
}
return returnValue;
}
@Override
public void persist() throws SystemException {
if (this.isNew()) {
FooLocalServiceUtil.addFoo(this);
}
else {
FooLocalServiceUtil.updateFoo(this);
}
}
@Override
public Foo toEscapedModel() {
return (Foo)ProxyUtil.newProxyInstance(Foo.class.getClassLoader(),
new Class[] { Foo.class }, new AutoEscapeBeanHandler(this));
}
@Override
public Object clone() {
FooClp clone = new FooClp();
clone.setFooId(getFooId());
clone.setGroupId(getGroupId());
clone.setCompanyId(getCompanyId());
clone.setUserId(getUserId());
clone.setUserName(getUserName());
clone.setCreateDate(getCreateDate());
clone.setModifiedDate(getModifiedDate());
clone.setField1(getField1());
clone.setField2(getField2());
clone.setField3(getField3());
clone.setField4(getField4());
clone.setField5(getField5());
return clone;
}
@Override
public int compareTo(Foo foo) {
int value = 0;
value = getField1().compareTo(foo.getField1());
if (value != 0) {
return value;
}
return 0;
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof FooClp)) {
return false;
}
FooClp foo = (FooClp)obj;
long primaryKey = foo.getPrimaryKey();
if (getPrimaryKey() == primaryKey) {
return true;
}
else {
return false;
}
}
public Class<?> getClpSerializerClass() {
return _clpSerializerClass;
}
@Override
public int hashCode() {
return (int)getPrimaryKey();
}
@Override
public String toString() {
StringBundler sb = new StringBundler(25);
sb.append("{fooId=");
sb.append(getFooId());
sb.append(", groupId=");
sb.append(getGroupId());
sb.append(", companyId=");
sb.append(getCompanyId());
sb.append(", userId=");
sb.append(getUserId());
sb.append(", userName=");
sb.append(getUserName());
sb.append(", createDate=");
sb.append(getCreateDate());
sb.append(", modifiedDate=");
sb.append(getModifiedDate());
sb.append(", field1=");
sb.append(getField1());
sb.append(", field2=");
sb.append(getField2());
sb.append(", field3=");
sb.append(getField3());
sb.append(", field4=");
sb.append(getField4());
sb.append(", field5=");
sb.append(getField5());
sb.append("}");
return sb.toString();
}
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(40);
sb.append("<model><model-name>");
sb.append("potos.nextmind.model.Foo");
sb.append("</model-name>");
sb.append(
"<column><column-name>fooId</column-name><column-value><![CDATA[");
sb.append(getFooId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>groupId</column-name><column-value><![CDATA[");
sb.append(getGroupId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>companyId</column-name><column-value><![CDATA[");
sb.append(getCompanyId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>userId</column-name><column-value><![CDATA[");
sb.append(getUserId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>userName</column-name><column-value><![CDATA[");
sb.append(getUserName());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>createDate</column-name><column-value><![CDATA[");
sb.append(getCreateDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
sb.append(getModifiedDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>field1</column-name><column-value><![CDATA[");
sb.append(getField1());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>field2</column-name><column-value><![CDATA[");
sb.append(getField2());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>field3</column-name><column-value><![CDATA[");
sb.append(getField3());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>field4</column-name><column-value><![CDATA[");
sb.append(getField4());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>field5</column-name><column-value><![CDATA[");
sb.append(getField5());
sb.append("]]></column-value></column>");
sb.append("</model>");
return sb.toString();
}
private long _fooId;
private long _groupId;
private long _companyId;
private long _userId;
private String _userUuid;
private String _userName;
private Date _createDate;
private Date _modifiedDate;
private String _field1;
private boolean _field2;
private int _field3;
private Date _field4;
private String _field5;
private BaseModel<?> _fooRemoteModel;
private Class<?> _clpSerializerClass = potos.nextmind.service.ClpSerializer.class;
}

327
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooModel.java

@ -0,0 +1,327 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package potos.nextmind.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.model.GroupedModel;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portlet.expando.model.ExpandoBridge;
import java.io.Serializable;
import java.util.Date;
/**
* The base model interface for the Foo service. Represents a row in the &quot;portos_Foo&quot; database table, with each column mapped to a property of this class.
*
* <p>
* This interface and its corresponding implementation {@link potos.nextmind.model.impl.FooModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link potos.nextmind.model.impl.FooImpl}.
* </p>
*
* @author ebusu
* @see Foo
* @see potos.nextmind.model.impl.FooImpl
* @see potos.nextmind.model.impl.FooModelImpl
* @generated
*/
public interface FooModel extends BaseModel<Foo>, GroupedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a foo model instance should use the {@link Foo} interface instead.
*/
/**
* Returns the primary key of this foo.
*
* @return the primary key of this foo
*/
public long getPrimaryKey();
/**
* Sets the primary key of this foo.
*
* @param primaryKey the primary key of this foo
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the foo ID of this foo.
*
* @return the foo ID of this foo
*/
public long getFooId();
/**
* Sets the foo ID of this foo.
*
* @param fooId the foo ID of this foo
*/
public void setFooId(long fooId);
/**
* Returns the group ID of this foo.
*
* @return the group ID of this foo
*/
@Override
public long getGroupId();
/**
* Sets the group ID of this foo.
*
* @param groupId the group ID of this foo
*/
@Override
public void setGroupId(long groupId);
/**
* Returns the company ID of this foo.
*
* @return the company ID of this foo
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this foo.
*
* @param companyId the company ID of this foo
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this foo.
*
* @return the user ID of this foo
*/
@Override
public long getUserId();
/**
* Sets the user ID of this foo.
*
* @param userId the user ID of this foo
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this foo.
*
* @return the user uuid of this foo
* @throws SystemException if a system exception occurred
*/
@Override
public String getUserUuid() throws SystemException;
/**
* Sets the user uuid of this foo.
*
* @param userUuid the user uuid of this foo
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this foo.
*
* @return the user name of this foo
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this foo.
*
* @param userName the user name of this foo
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this foo.
*
* @return the create date of this foo
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this foo.
*
* @param createDate the create date of this foo
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this foo.
*
* @return the modified date of this foo
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this foo.
*
* @param modifiedDate the modified date of this foo
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the field1 of this foo.
*
* @return the field1 of this foo
*/
@AutoEscape
public String getField1();
/**
* Sets the field1 of this foo.
*
* @param field1 the field1 of this foo
*/
public void setField1(String field1);
/**
* Returns the field2 of this foo.
*
* @return the field2 of this foo
*/
public boolean getField2();
/**
* Returns <code>true</code> if this foo is field2.
*
* @return <code>true</code> if this foo is field2; <code>false</code> otherwise
*/
public boolean isField2();
/**
* Sets whether this foo is field2.
*
* @param field2 the field2 of this foo
*/
public void setField2(boolean field2);
/**
* Returns the field3 of this foo.
*
* @return the field3 of this foo
*/
public int getField3();
/**
* Sets the field3 of this foo.
*
* @param field3 the field3 of this foo
*/
public void setField3(int field3);
/**
* Returns the field4 of this foo.
*
* @return the field4 of this foo
*/
public Date getField4();
/**
* Sets the field4 of this foo.
*
* @param field4 the field4 of this foo
*/
public void setField4(Date field4);
/**
* Returns the field5 of this foo.
*
* @return the field5 of this foo
*/
@AutoEscape
public String getField5();
/**
* Sets the field5 of this foo.
*
* @param field5 the field5 of this foo
*/
public void setField5(String field5);
@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(potos.nextmind.model.Foo foo);
@Override
public int hashCode();
@Override
public CacheModel<potos.nextmind.model.Foo> toCacheModel();
@Override
public potos.nextmind.model.Foo toEscapedModel();
@Override
public potos.nextmind.model.Foo toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}

210
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooSoap.java

@ -0,0 +1,210 @@
/**
* 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 potos.nextmind.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* This class is used by SOAP remote services, specifically {@link potos.nextmind.service.http.FooServiceSoap}.
*
* @author ebusu
* @see potos.nextmind.service.http.FooServiceSoap
* @generated
*/
public class FooSoap implements Serializable {
public static FooSoap toSoapModel(Foo model) {
FooSoap soapModel = new FooSoap();
soapModel.setFooId(model.getFooId());
soapModel.setGroupId(model.getGroupId());
soapModel.setCompanyId(model.getCompanyId());
soapModel.setUserId(model.getUserId());
soapModel.setUserName(model.getUserName());
soapModel.setCreateDate(model.getCreateDate());
soapModel.setModifiedDate(model.getModifiedDate());
soapModel.setField1(model.getField1());
soapModel.setField2(model.getField2());
soapModel.setField3(model.getField3());
soapModel.setField4(model.getField4());
soapModel.setField5(model.getField5());
return soapModel;
}
public static FooSoap[] toSoapModels(Foo[] models) {
FooSoap[] soapModels = new FooSoap[models.length];
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModel(models[i]);
}
return soapModels;
}
public static FooSoap[][] toSoapModels(Foo[][] models) {
FooSoap[][] soapModels = null;
if (models.length > 0) {
soapModels = new FooSoap[models.length][models[0].length];
}
else {
soapModels = new FooSoap[0][0];
}
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModels(models[i]);
}
return soapModels;
}
public static FooSoap[] toSoapModels(List<Foo> models) {
List<FooSoap> soapModels = new ArrayList<FooSoap>(models.size());
for (Foo model : models) {
soapModels.add(toSoapModel(model));
}
return soapModels.toArray(new FooSoap[soapModels.size()]);
}
public FooSoap() {
}
public long getPrimaryKey() {
return _fooId;
}
public void setPrimaryKey(long pk) {
setFooId(pk);
}
public long getFooId() {
return _fooId;
}
public void setFooId(long fooId) {
_fooId = fooId;
}
public long getGroupId() {
return _groupId;
}
public void setGroupId(long groupId) {
_groupId = groupId;
}
public long getCompanyId() {
return _companyId;
}
public void setCompanyId(long companyId) {
_companyId = companyId;
}
public long getUserId() {
return _userId;
}
public void setUserId(long userId) {
_userId = userId;
}
public String getUserName() {
return _userName;
}
public void setUserName(String userName) {
_userName = userName;
}
public Date getCreateDate() {
return _createDate;
}
public void setCreateDate(Date createDate) {
_createDate = createDate;
}
public Date getModifiedDate() {
return _modifiedDate;
}
public void setModifiedDate(Date modifiedDate) {
_modifiedDate = modifiedDate;
}
public String getField1() {
return _field1;
}
public void setField1(String field1) {
_field1 = field1;
}
public boolean getField2() {
return _field2;
}
public boolean isField2() {
return _field2;
}
public void setField2(boolean field2) {
_field2 = field2;
}
public int getField3() {
return _field3;
}
public void setField3(int field3) {
_field3 = field3;
}
public Date getField4() {
return _field4;
}
public void setField4(Date field4) {
_field4 = field4;
}
public String getField5() {
return _field5;
}
public void setField5(String field5) {
_field5 = field5;
}
private long _fooId;
private long _groupId;
private long _companyId;
private long _userId;
private String _userName;
private Date _createDate;
private Date _modifiedDate;
private String _field1;
private boolean _field2;
private int _field3;
private Date _field4;
private String _field5;
}

576
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/FooWrapper.java

@ -0,0 +1,576 @@
/**
* 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 potos.nextmind.model;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.model.ModelWrapper;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* <p>
* This class is a wrapper for {@link Foo}.
* </p>
*
* @author ebusu
* @see Foo
* @generated
*/
public class FooWrapper implements Foo, ModelWrapper<Foo> {
public FooWrapper(Foo foo) {
_foo = foo;
}
@Override
public Class<?> getModelClass() {
return Foo.class;
}
@Override
public String getModelClassName() {
return Foo.class.getName();
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("fooId", getFooId());
attributes.put("groupId", getGroupId());
attributes.put("companyId", getCompanyId());
attributes.put("userId", getUserId());
attributes.put("userName", getUserName());
attributes.put("createDate", getCreateDate());
attributes.put("modifiedDate", getModifiedDate());
attributes.put("field1", getField1());
attributes.put("field2", getField2());
attributes.put("field3", getField3());
attributes.put("field4", getField4());
attributes.put("field5", getField5());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long fooId = (Long)attributes.get("fooId");
if (fooId != null) {
setFooId(fooId);
}
Long groupId = (Long)attributes.get("groupId");
if (groupId != null) {
setGroupId(groupId);
}
Long companyId = (Long)attributes.get("companyId");
if (companyId != null) {
setCompanyId(companyId);
}
Long userId = (Long)attributes.get("userId");
if (userId != null) {
setUserId(userId);
}
String userName = (String)attributes.get("userName");
if (userName != null) {
setUserName(userName);
}
Date createDate = (Date)attributes.get("createDate");
if (createDate != null) {
setCreateDate(createDate);
}
Date modifiedDate = (Date)attributes.get("modifiedDate");
if (modifiedDate != null) {
setModifiedDate(modifiedDate);
}
String field1 = (String)attributes.get("field1");
if (field1 != null) {
setField1(field1);
}
Boolean field2 = (Boolean)attributes.get("field2");
if (field2 != null) {
setField2(field2);
}
Integer field3 = (Integer)attributes.get("field3");
if (field3 != null) {
setField3(field3);
}
Date field4 = (Date)attributes.get("field4");
if (field4 != null) {
setField4(field4);
}
String field5 = (String)attributes.get("field5");
if (field5 != null) {
setField5(field5);
}
}
/**
* Returns the primary key of this foo.
*
* @return the primary key of this foo
*/
@Override
public long getPrimaryKey() {
return _foo.getPrimaryKey();
}
/**
* Sets the primary key of this foo.
*
* @param primaryKey the primary key of this foo
*/
@Override
public void setPrimaryKey(long primaryKey) {
_foo.setPrimaryKey(primaryKey);
}
/**
* Returns the foo ID of this foo.
*
* @return the foo ID of this foo
*/
@Override
public long getFooId() {
return _foo.getFooId();
}
/**
* Sets the foo ID of this foo.
*
* @param fooId the foo ID of this foo
*/
@Override
public void setFooId(long fooId) {
_foo.setFooId(fooId);
}
/**
* Returns the group ID of this foo.
*
* @return the group ID of this foo
*/
@Override
public long getGroupId() {
return _foo.getGroupId();
}
/**
* Sets the group ID of this foo.
*
* @param groupId the group ID of this foo
*/
@Override
public void setGroupId(long groupId) {
_foo.setGroupId(groupId);
}
/**
* Returns the company ID of this foo.
*
* @return the company ID of this foo
*/
@Override
public long getCompanyId() {
return _foo.getCompanyId();
}
/**
* Sets the company ID of this foo.
*
* @param companyId the company ID of this foo
*/
@Override
public void setCompanyId(long companyId) {
_foo.setCompanyId(companyId);
}
/**
* Returns the user ID of this foo.
*
* @return the user ID of this foo
*/
@Override
public long getUserId() {
return _foo.getUserId();
}
/**
* Sets the user ID of this foo.
*
* @param userId the user ID of this foo
*/
@Override
public void setUserId(long userId) {
_foo.setUserId(userId);
}
/**
* Returns the user uuid of this foo.
*
* @return the user uuid of this foo
* @throws SystemException if a system exception occurred
*/
@Override
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException {
return _foo.getUserUuid();
}
/**
* Sets the user uuid of this foo.
*
* @param userUuid the user uuid of this foo
*/
@Override
public void setUserUuid(java.lang.String userUuid) {
_foo.setUserUuid(userUuid);
}
/**
* Returns the user name of this foo.
*
* @return the user name of this foo
*/
@Override
public java.lang.String getUserName() {
return _foo.getUserName();
}
/**
* Sets the user name of this foo.
*
* @param userName the user name of this foo
*/
@Override
public void setUserName(java.lang.String userName) {
_foo.setUserName(userName);
}
/**
* Returns the create date of this foo.
*
* @return the create date of this foo
*/
@Override
public java.util.Date getCreateDate() {
return _foo.getCreateDate();
}
/**
* Sets the create date of this foo.
*
* @param createDate the create date of this foo
*/
@Override
public void setCreateDate(java.util.Date createDate) {
_foo.setCreateDate(createDate);
}
/**
* Returns the modified date of this foo.
*
* @return the modified date of this foo
*/
@Override
public java.util.Date getModifiedDate() {
return _foo.getModifiedDate();
}
/**
* Sets the modified date of this foo.
*
* @param modifiedDate the modified date of this foo
*/
@Override
public void setModifiedDate(java.util.Date modifiedDate) {
_foo.setModifiedDate(modifiedDate);
}
/**
* Returns the field1 of this foo.
*
* @return the field1 of this foo
*/
@Override
public java.lang.String getField1() {
return _foo.getField1();
}
/**
* Sets the field1 of this foo.
*
* @param field1 the field1 of this foo
*/
@Override
public void setField1(java.lang.String field1) {
_foo.setField1(field1);
}
/**
* Returns the field2 of this foo.
*
* @return the field2 of this foo
*/
@Override
public boolean getField2() {
return _foo.getField2();
}
/**
* Returns <code>true</code> if this foo is field2.
*
* @return <code>true</code> if this foo is field2; <code>false</code> otherwise
*/
@Override
public boolean isField2() {
return _foo.isField2();
}
/**
* Sets whether this foo is field2.
*
* @param field2 the field2 of this foo
*/
@Override
public void setField2(boolean field2) {
_foo.setField2(field2);
}
/**
* Returns the field3 of this foo.
*
* @return the field3 of this foo
*/
@Override
public int getField3() {
return _foo.getField3();
}
/**
* Sets the field3 of this foo.
*
* @param field3 the field3 of this foo
*/
@Override
public void setField3(int field3) {
_foo.setField3(field3);
}
/**
* Returns the field4 of this foo.
*
* @return the field4 of this foo
*/
@Override
public java.util.Date getField4() {
return _foo.getField4();
}
/**
* Sets the field4 of this foo.
*
* @param field4 the field4 of this foo
*/
@Override
public void setField4(java.util.Date field4) {
_foo.setField4(field4);
}
/**
* Returns the field5 of this foo.
*
* @return the field5 of this foo
*/
@Override
public java.lang.String getField5() {
return _foo.getField5();
}
/**
* Sets the field5 of this foo.
*
* @param field5 the field5 of this foo
*/
@Override
public void setField5(java.lang.String field5) {
_foo.setField5(field5);
}
@Override
public boolean isNew() {
return _foo.isNew();
}
@Override
public void setNew(boolean n) {
_foo.setNew(n);
}
@Override
public boolean isCachedModel() {
return _foo.isCachedModel();
}
@Override
public void setCachedModel(boolean cachedModel) {
_foo.setCachedModel(cachedModel);
}
@Override
public boolean isEscapedModel() {
return _foo.isEscapedModel();
}
@Override
public java.io.Serializable getPrimaryKeyObj() {
return _foo.getPrimaryKeyObj();
}
@Override
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
_foo.setPrimaryKeyObj(primaryKeyObj);
}
@Override
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
return _foo.getExpandoBridge();
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.model.BaseModel<?> baseModel) {
_foo.setExpandoBridgeAttributes(baseModel);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
_foo.setExpandoBridgeAttributes(expandoBridge);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.service.ServiceContext serviceContext) {
_foo.setExpandoBridgeAttributes(serviceContext);
}
@Override
public java.lang.Object clone() {
return new FooWrapper((Foo)_foo.clone());
}
@Override
public int compareTo(potos.nextmind.model.Foo foo) {
return _foo.compareTo(foo);
}
@Override
public int hashCode() {
return _foo.hashCode();
}
@Override
public com.liferay.portal.model.CacheModel<potos.nextmind.model.Foo> toCacheModel() {
return _foo.toCacheModel();
}
@Override
public potos.nextmind.model.Foo toEscapedModel() {
return new FooWrapper(_foo.toEscapedModel());
}
@Override
public potos.nextmind.model.Foo toUnescapedModel() {
return new FooWrapper(_foo.toUnescapedModel());
}
@Override
public java.lang.String toString() {
return _foo.toString();
}
@Override
public java.lang.String toXmlString() {
return _foo.toXmlString();
}
@Override
public void persist()
throws com.liferay.portal.kernel.exception.SystemException {
_foo.persist();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof FooWrapper)) {
return false;
}
FooWrapper fooWrapper = (FooWrapper)obj;
if (Validator.equals(_foo, fooWrapper._foo)) {
return true;
}
return false;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
*/
public Foo getWrappedFoo() {
return _foo;
}
@Override
public Foo getWrappedModel() {
return _foo;
}
@Override
public void resetOriginalValues() {
_foo.resetOriginalValues();
}
private Foo _foo;
}

32
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/Sportello.java

@ -0,0 +1,32 @@
/**
* 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 potos.nextmind.model;
/**
* The extended model interface for the Sportello service. Represents a row in the &quot;sportello&quot; database table, with each column mapped to a property of this class.
*
* @author ebusu
* @see SportelloModel
* @see potos.nextmind.model.impl.SportelloImpl
* @see potos.nextmind.model.impl.SportelloModelImpl
* @generated
*/
public interface Sportello extends SportelloModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to {@link potos.nextmind.model.impl.SportelloImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
}

832
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloClp.java

@ -0,0 +1,832 @@
/**
* 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 potos.nextmind.model;
import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
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 potos.nextmind.service.ClpSerializer;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* @author ebusu
*/
public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello {
public SportelloClp() {
}
@Override
public Class<?> getModelClass() {
return Sportello.class;
}
@Override
public String getModelClassName() {
return Sportello.class.getName();
}
@Override
public long getPrimaryKey() {
return _id;
}
@Override
public void setPrimaryKey(long primaryKey) {
setId(primaryKey);
}
@Override
public Serializable getPrimaryKeyObj() {
return _id;
}
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj) {
setPrimaryKey(((Long)primaryKeyObj).longValue());
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("id", getId());
attributes.put("application", getApplication());
attributes.put("clientId", getClientId());
attributes.put("context", getContext());
attributes.put("instanceId", getInstanceId());
attributes.put("ipaCode", getIpaCode());
attributes.put("proceedingType", getProceedingType());
attributes.put("url", getUrl());
attributes.put("contentType", getContentType());
attributes.put("operation", getOperation());
attributes.put("cadastralCode", getCadastralCode());
attributes.put("digitalHolderTaxCode", getDigitalHolderTaxCode());
attributes.put("stato", getStato());
attributes.put("creationDate", getCreationDate());
attributes.put("lastUpdateDate", getLastUpdateDate());
attributes.put("sentToPortosDate", getSentToPortosDate());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long id = (Long)attributes.get("id");
if (id != null) {
setId(id);
}
String application = (String)attributes.get("application");
if (application != null) {
setApplication(application);
}
String clientId = (String)attributes.get("clientId");
if (clientId != null) {
setClientId(clientId);
}
String context = (String)attributes.get("context");
if (context != null) {
setContext(context);
}
String instanceId = (String)attributes.get("instanceId");
if (instanceId != null) {
setInstanceId(instanceId);
}
String ipaCode = (String)attributes.get("ipaCode");
if (ipaCode != null) {
setIpaCode(ipaCode);
}
String proceedingType = (String)attributes.get("proceedingType");
if (proceedingType != null) {
setProceedingType(proceedingType);
}
String url = (String)attributes.get("url");
if (url != null) {
setUrl(url);
}
String contentType = (String)attributes.get("contentType");
if (contentType != null) {
setContentType(contentType);
}
String operation = (String)attributes.get("operation");
if (operation != null) {
setOperation(operation);
}
String cadastralCode = (String)attributes.get("cadastralCode");
if (cadastralCode != null) {
setCadastralCode(cadastralCode);
}
String digitalHolderTaxCode = (String)attributes.get(
"digitalHolderTaxCode");
if (digitalHolderTaxCode != null) {
setDigitalHolderTaxCode(digitalHolderTaxCode);
}
Boolean stato = (Boolean)attributes.get("stato");
if (stato != null) {
setStato(stato);
}
Date creationDate = (Date)attributes.get("creationDate");
if (creationDate != null) {
setCreationDate(creationDate);
}
Date lastUpdateDate = (Date)attributes.get("lastUpdateDate");
if (lastUpdateDate != null) {
setLastUpdateDate(lastUpdateDate);
}
Date sentToPortosDate = (Date)attributes.get("sentToPortosDate");
if (sentToPortosDate != null) {
setSentToPortosDate(sentToPortosDate);
}
}
@Override
public long getId() {
return _id;
}
@Override
public void setId(long id) {
_id = id;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setId", long.class);
method.invoke(_sportelloRemoteModel, id);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getApplication() {
return _application;
}
@Override
public void setApplication(String application) {
_application = application;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setApplication", String.class);
method.invoke(_sportelloRemoteModel, application);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getClientId() {
return _clientId;
}
@Override
public void setClientId(String clientId) {
_clientId = clientId;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setClientId", String.class);
method.invoke(_sportelloRemoteModel, clientId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getContext() {
return _context;
}
@Override
public void setContext(String context) {
_context = context;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setContext", String.class);
method.invoke(_sportelloRemoteModel, context);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getInstanceId() {
return _instanceId;
}
@Override
public void setInstanceId(String instanceId) {
_instanceId = instanceId;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setInstanceId", String.class);
method.invoke(_sportelloRemoteModel, instanceId);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getIpaCode() {
return _ipaCode;
}
@Override
public void setIpaCode(String ipaCode) {
_ipaCode = ipaCode;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setIpaCode", String.class);
method.invoke(_sportelloRemoteModel, ipaCode);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getProceedingType() {
return _proceedingType;
}
@Override
public void setProceedingType(String proceedingType) {
_proceedingType = proceedingType;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setProceedingType",
String.class);
method.invoke(_sportelloRemoteModel, proceedingType);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getUrl() {
return _url;
}
@Override
public void setUrl(String url) {
_url = url;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setUrl", String.class);
method.invoke(_sportelloRemoteModel, url);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getContentType() {
return _contentType;
}
@Override
public void setContentType(String contentType) {
_contentType = contentType;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setContentType", String.class);
method.invoke(_sportelloRemoteModel, contentType);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getOperation() {
return _operation;
}
@Override
public void setOperation(String operation) {
_operation = operation;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setOperation", String.class);
method.invoke(_sportelloRemoteModel, operation);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getCadastralCode() {
return _cadastralCode;
}
@Override
public void setCadastralCode(String cadastralCode) {
_cadastralCode = cadastralCode;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setCadastralCode", String.class);
method.invoke(_sportelloRemoteModel, cadastralCode);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public String getDigitalHolderTaxCode() {
return _digitalHolderTaxCode;
}
@Override
public void setDigitalHolderTaxCode(String digitalHolderTaxCode) {
_digitalHolderTaxCode = digitalHolderTaxCode;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setDigitalHolderTaxCode",
String.class);
method.invoke(_sportelloRemoteModel, digitalHolderTaxCode);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public boolean getStato() {
return _stato;
}
@Override
public boolean isStato() {
return _stato;
}
@Override
public void setStato(boolean stato) {
_stato = stato;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setStato", boolean.class);
method.invoke(_sportelloRemoteModel, stato);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getCreationDate() {
return _creationDate;
}
@Override
public void setCreationDate(Date creationDate) {
_creationDate = creationDate;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setCreationDate", Date.class);
method.invoke(_sportelloRemoteModel, creationDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getLastUpdateDate() {
return _lastUpdateDate;
}
@Override
public void setLastUpdateDate(Date lastUpdateDate) {
_lastUpdateDate = lastUpdateDate;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setLastUpdateDate", Date.class);
method.invoke(_sportelloRemoteModel, lastUpdateDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getSentToPortosDate() {
return _sentToPortosDate;
}
@Override
public void setSentToPortosDate(Date sentToPortosDate) {
_sentToPortosDate = sentToPortosDate;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setSentToPortosDate",
Date.class);
method.invoke(_sportelloRemoteModel, sentToPortosDate);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
public BaseModel<?> getSportelloRemoteModel() {
return _sportelloRemoteModel;
}
public void setSportelloRemoteModel(BaseModel<?> sportelloRemoteModel) {
_sportelloRemoteModel = sportelloRemoteModel;
}
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 = _sportelloRemoteModel.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(_sportelloRemoteModel,
remoteParameterValues);
if (returnValue != null) {
returnValue = ClpSerializer.translateOutput(returnValue);
}
return returnValue;
}
@Override
public Sportello toEscapedModel() {
return (Sportello)ProxyUtil.newProxyInstance(Sportello.class.getClassLoader(),
new Class[] { Sportello.class }, new AutoEscapeBeanHandler(this));
}
@Override
public Object clone() {
SportelloClp clone = new SportelloClp();
clone.setId(getId());
clone.setApplication(getApplication());
clone.setClientId(getClientId());
clone.setContext(getContext());
clone.setInstanceId(getInstanceId());
clone.setIpaCode(getIpaCode());
clone.setProceedingType(getProceedingType());
clone.setUrl(getUrl());
clone.setContentType(getContentType());
clone.setOperation(getOperation());
clone.setCadastralCode(getCadastralCode());
clone.setDigitalHolderTaxCode(getDigitalHolderTaxCode());
clone.setStato(getStato());
clone.setCreationDate(getCreationDate());
clone.setLastUpdateDate(getLastUpdateDate());
clone.setSentToPortosDate(getSentToPortosDate());
return clone;
}
@Override
public int compareTo(Sportello sportello) {
long primaryKey = sportello.getPrimaryKey();
if (getPrimaryKey() < primaryKey) {
return -1;
}
else if (getPrimaryKey() > primaryKey) {
return 1;
}
else {
return 0;
}
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof SportelloClp)) {
return false;
}
SportelloClp sportello = (SportelloClp)obj;
long primaryKey = sportello.getPrimaryKey();
if (getPrimaryKey() == primaryKey) {
return true;
}
else {
return false;
}
}
public Class<?> getClpSerializerClass() {
return _clpSerializerClass;
}
@Override
public int hashCode() {
return (int)getPrimaryKey();
}
@Override
public String toString() {
StringBundler sb = new StringBundler(33);
sb.append("{id=");
sb.append(getId());
sb.append(", application=");
sb.append(getApplication());
sb.append(", clientId=");
sb.append(getClientId());
sb.append(", context=");
sb.append(getContext());
sb.append(", instanceId=");
sb.append(getInstanceId());
sb.append(", ipaCode=");
sb.append(getIpaCode());
sb.append(", proceedingType=");
sb.append(getProceedingType());
sb.append(", url=");
sb.append(getUrl());
sb.append(", contentType=");
sb.append(getContentType());
sb.append(", operation=");
sb.append(getOperation());
sb.append(", cadastralCode=");
sb.append(getCadastralCode());
sb.append(", digitalHolderTaxCode=");
sb.append(getDigitalHolderTaxCode());
sb.append(", stato=");
sb.append(getStato());
sb.append(", creationDate=");
sb.append(getCreationDate());
sb.append(", lastUpdateDate=");
sb.append(getLastUpdateDate());
sb.append(", sentToPortosDate=");
sb.append(getSentToPortosDate());
sb.append("}");
return sb.toString();
}
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(52);
sb.append("<model><model-name>");
sb.append("potos.nextmind.model.Sportello");
sb.append("</model-name>");
sb.append(
"<column><column-name>id</column-name><column-value><![CDATA[");
sb.append(getId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>application</column-name><column-value><![CDATA[");
sb.append(getApplication());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>clientId</column-name><column-value><![CDATA[");
sb.append(getClientId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>context</column-name><column-value><![CDATA[");
sb.append(getContext());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>instanceId</column-name><column-value><![CDATA[");
sb.append(getInstanceId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>ipaCode</column-name><column-value><![CDATA[");
sb.append(getIpaCode());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>proceedingType</column-name><column-value><![CDATA[");
sb.append(getProceedingType());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>url</column-name><column-value><![CDATA[");
sb.append(getUrl());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>contentType</column-name><column-value><![CDATA[");
sb.append(getContentType());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>operation</column-name><column-value><![CDATA[");
sb.append(getOperation());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>cadastralCode</column-name><column-value><![CDATA[");
sb.append(getCadastralCode());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>digitalHolderTaxCode</column-name><column-value><![CDATA[");
sb.append(getDigitalHolderTaxCode());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>stato</column-name><column-value><![CDATA[");
sb.append(getStato());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>creationDate</column-name><column-value><![CDATA[");
sb.append(getCreationDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>lastUpdateDate</column-name><column-value><![CDATA[");
sb.append(getLastUpdateDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>sentToPortosDate</column-name><column-value><![CDATA[");
sb.append(getSentToPortosDate());
sb.append("]]></column-value></column>");
sb.append("</model>");
return sb.toString();
}
private long _id;
private String _application;
private String _clientId;
private String _context;
private String _instanceId;
private String _ipaCode;
private String _proceedingType;
private String _url;
private String _contentType;
private String _operation;
private String _cadastralCode;
private String _digitalHolderTaxCode;
private boolean _stato;
private Date _creationDate;
private Date _lastUpdateDate;
private Date _sentToPortosDate;
private BaseModel<?> _sportelloRemoteModel;
private Class<?> _clpSerializerClass = potos.nextmind.service.ClpSerializer.class;
}

360
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloModel.java

@ -0,0 +1,360 @@
/**
* 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 potos.nextmind.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portlet.expando.model.ExpandoBridge;
import java.io.Serializable;
import java.util.Date;
/**
* The base model interface for the Sportello service. Represents a row in the &quot;sportello&quot; database table, with each column mapped to a property of this class.
*
* <p>
* This interface and its corresponding implementation {@link potos.nextmind.model.impl.SportelloModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link potos.nextmind.model.impl.SportelloImpl}.
* </p>
*
* @author ebusu
* @see Sportello
* @see potos.nextmind.model.impl.SportelloImpl
* @see potos.nextmind.model.impl.SportelloModelImpl
* @generated
*/
public interface SportelloModel extends BaseModel<Sportello> {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a sportello model instance should use the {@link Sportello} interface instead.
*/
/**
* Returns the primary key of this sportello.
*
* @return the primary key of this sportello
*/
public long getPrimaryKey();
/**
* Sets the primary key of this sportello.
*
* @param primaryKey the primary key of this sportello
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the ID of this sportello.
*
* @return the ID of this sportello
*/
public long getId();
/**
* Sets the ID of this sportello.
*
* @param id the ID of this sportello
*/
public void setId(long id);
/**
* Returns the application of this sportello.
*
* @return the application of this sportello
*/
@AutoEscape
public String getApplication();
/**
* Sets the application of this sportello.
*
* @param application the application of this sportello
*/
public void setApplication(String application);
/**
* Returns the client ID of this sportello.
*
* @return the client ID of this sportello
*/
@AutoEscape
public String getClientId();
/**
* Sets the client ID of this sportello.
*
* @param clientId the client ID of this sportello
*/
public void setClientId(String clientId);
/**
* Returns the context of this sportello.
*
* @return the context of this sportello
*/
@AutoEscape
public String getContext();
/**
* Sets the context of this sportello.
*
* @param context the context of this sportello
*/
public void setContext(String context);
/**
* Returns the instance ID of this sportello.
*
* @return the instance ID of this sportello
*/
@AutoEscape
public String getInstanceId();
/**
* Sets the instance ID of this sportello.
*
* @param instanceId the instance ID of this sportello
*/
public void setInstanceId(String instanceId);
/**
* Returns the ipa code of this sportello.
*
* @return the ipa code of this sportello
*/
@AutoEscape
public String getIpaCode();
/**
* Sets the ipa code of this sportello.
*
* @param ipaCode the ipa code of this sportello
*/
public void setIpaCode(String ipaCode);
/**
* Returns the proceeding type of this sportello.
*
* @return the proceeding type of this sportello
*/
@AutoEscape
public String getProceedingType();
/**
* Sets the proceeding type of this sportello.
*
* @param proceedingType the proceeding type of this sportello
*/
public void setProceedingType(String proceedingType);
/**
* Returns the url of this sportello.
*
* @return the url of this sportello
*/
@AutoEscape
public String getUrl();
/**
* Sets the url of this sportello.
*
* @param url the url of this sportello
*/
public void setUrl(String url);
/**
* Returns the content type of this sportello.
*
* @return the content type of this sportello
*/
@AutoEscape
public String getContentType();
/**
* Sets the content type of this sportello.
*
* @param contentType the content type of this sportello
*/
public void setContentType(String contentType);
/**
* Returns the operation of this sportello.
*
* @return the operation of this sportello
*/
@AutoEscape
public String getOperation();
/**
* Sets the operation of this sportello.
*
* @param operation the operation of this sportello
*/
public void setOperation(String operation);
/**
* Returns the cadastral code of this sportello.
*
* @return the cadastral code of this sportello
*/
@AutoEscape
public String getCadastralCode();
/**
* Sets the cadastral code of this sportello.
*
* @param cadastralCode the cadastral code of this sportello
*/
public void setCadastralCode(String cadastralCode);
/**
* Returns the digital holder tax code of this sportello.
*
* @return the digital holder tax code of this sportello
*/
@AutoEscape
public String getDigitalHolderTaxCode();
/**
* Sets the digital holder tax code of this sportello.
*
* @param digitalHolderTaxCode the digital holder tax code of this sportello
*/
public void setDigitalHolderTaxCode(String digitalHolderTaxCode);
/**
* Returns the stato of this sportello.
*
* @return the stato of this sportello
*/
public boolean getStato();
/**
* Returns <code>true</code> if this sportello is stato.
*
* @return <code>true</code> if this sportello is stato; <code>false</code> otherwise
*/
public boolean isStato();
/**
* Sets whether this sportello is stato.
*
* @param stato the stato of this sportello
*/
public void setStato(boolean stato);
/**
* Returns the creation date of this sportello.
*
* @return the creation date of this sportello
*/
public Date getCreationDate();
/**
* Sets the creation date of this sportello.
*
* @param creationDate the creation date of this sportello
*/
public void setCreationDate(Date creationDate);
/**
* Returns the last update date of this sportello.
*
* @return the last update date of this sportello
*/
public Date getLastUpdateDate();
/**
* Sets the last update date of this sportello.
*
* @param lastUpdateDate the last update date of this sportello
*/
public void setLastUpdateDate(Date lastUpdateDate);
/**
* Returns the sent to portos date of this sportello.
*
* @return the sent to portos date of this sportello
*/
public Date getSentToPortosDate();
/**
* Sets the sent to portos date of this sportello.
*
* @param sentToPortosDate the sent to portos date of this sportello
*/
public void setSentToPortosDate(Date sentToPortosDate);
@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(potos.nextmind.model.Sportello sportello);
@Override
public int hashCode();
@Override
public CacheModel<potos.nextmind.model.Sportello> toCacheModel();
@Override
public potos.nextmind.model.Sportello toEscapedModel();
@Override
public potos.nextmind.model.Sportello toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}

250
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloSoap.java

@ -0,0 +1,250 @@
/**
* 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 potos.nextmind.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* This class is used by SOAP remote services, specifically {@link potos.nextmind.service.http.SportelloServiceSoap}.
*
* @author ebusu
* @see potos.nextmind.service.http.SportelloServiceSoap
* @generated
*/
public class SportelloSoap implements Serializable {
public static SportelloSoap toSoapModel(Sportello model) {
SportelloSoap soapModel = new SportelloSoap();
soapModel.setId(model.getId());
soapModel.setApplication(model.getApplication());
soapModel.setClientId(model.getClientId());
soapModel.setContext(model.getContext());
soapModel.setInstanceId(model.getInstanceId());
soapModel.setIpaCode(model.getIpaCode());
soapModel.setProceedingType(model.getProceedingType());
soapModel.setUrl(model.getUrl());
soapModel.setContentType(model.getContentType());
soapModel.setOperation(model.getOperation());
soapModel.setCadastralCode(model.getCadastralCode());
soapModel.setDigitalHolderTaxCode(model.getDigitalHolderTaxCode());
soapModel.setStato(model.getStato());
soapModel.setCreationDate(model.getCreationDate());
soapModel.setLastUpdateDate(model.getLastUpdateDate());
soapModel.setSentToPortosDate(model.getSentToPortosDate());
return soapModel;
}
public static SportelloSoap[] toSoapModels(Sportello[] models) {
SportelloSoap[] soapModels = new SportelloSoap[models.length];
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModel(models[i]);
}
return soapModels;
}
public static SportelloSoap[][] toSoapModels(Sportello[][] models) {
SportelloSoap[][] soapModels = null;
if (models.length > 0) {
soapModels = new SportelloSoap[models.length][models[0].length];
}
else {
soapModels = new SportelloSoap[0][0];
}
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModels(models[i]);
}
return soapModels;
}
public static SportelloSoap[] toSoapModels(List<Sportello> models) {
List<SportelloSoap> soapModels = new ArrayList<SportelloSoap>(models.size());
for (Sportello model : models) {
soapModels.add(toSoapModel(model));
}
return soapModels.toArray(new SportelloSoap[soapModels.size()]);
}
public SportelloSoap() {
}
public long getPrimaryKey() {
return _id;
}
public void setPrimaryKey(long pk) {
setId(pk);
}
public long getId() {
return _id;
}
public void setId(long id) {
_id = id;
}
public String getApplication() {
return _application;
}
public void setApplication(String application) {
_application = application;
}
public String getClientId() {
return _clientId;
}
public void setClientId(String clientId) {
_clientId = clientId;
}
public String getContext() {
return _context;
}
public void setContext(String context) {
_context = context;
}
public String getInstanceId() {
return _instanceId;
}
public void setInstanceId(String instanceId) {
_instanceId = instanceId;
}
public String getIpaCode() {
return _ipaCode;
}
public void setIpaCode(String ipaCode) {
_ipaCode = ipaCode;
}
public String getProceedingType() {
return _proceedingType;
}
public void setProceedingType(String proceedingType) {
_proceedingType = proceedingType;
}
public String getUrl() {
return _url;
}
public void setUrl(String url) {
_url = url;
}
public String getContentType() {
return _contentType;
}
public void setContentType(String contentType) {
_contentType = contentType;
}
public String getOperation() {
return _operation;
}
public void setOperation(String operation) {
_operation = operation;
}
public String getCadastralCode() {
return _cadastralCode;
}
public void setCadastralCode(String cadastralCode) {
_cadastralCode = cadastralCode;
}
public String getDigitalHolderTaxCode() {
return _digitalHolderTaxCode;
}
public void setDigitalHolderTaxCode(String digitalHolderTaxCode) {
_digitalHolderTaxCode = digitalHolderTaxCode;
}
public boolean getStato() {
return _stato;
}
public boolean isStato() {
return _stato;
}
public void setStato(boolean stato) {
_stato = stato;
}
public Date getCreationDate() {
return _creationDate;
}
public void setCreationDate(Date creationDate) {
_creationDate = creationDate;
}
public Date getLastUpdateDate() {
return _lastUpdateDate;
}
public void setLastUpdateDate(Date lastUpdateDate) {
_lastUpdateDate = lastUpdateDate;
}
public Date getSentToPortosDate() {
return _sentToPortosDate;
}
public void setSentToPortosDate(Date sentToPortosDate) {
_sentToPortosDate = sentToPortosDate;
}
private long _id;
private String _application;
private String _clientId;
private String _context;
private String _instanceId;
private String _ipaCode;
private String _proceedingType;
private String _url;
private String _contentType;
private String _operation;
private String _cadastralCode;
private String _digitalHolderTaxCode;
private boolean _stato;
private Date _creationDate;
private Date _lastUpdateDate;
private Date _sentToPortosDate;
}

657
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/model/SportelloWrapper.java

@ -0,0 +1,657 @@
/**
* 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 potos.nextmind.model;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.model.ModelWrapper;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* <p>
* This class is a wrapper for {@link Sportello}.
* </p>
*
* @author ebusu
* @see Sportello
* @generated
*/
public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
public SportelloWrapper(Sportello sportello) {
_sportello = sportello;
}
@Override
public Class<?> getModelClass() {
return Sportello.class;
}
@Override
public String getModelClassName() {
return Sportello.class.getName();
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("id", getId());
attributes.put("application", getApplication());
attributes.put("clientId", getClientId());
attributes.put("context", getContext());
attributes.put("instanceId", getInstanceId());
attributes.put("ipaCode", getIpaCode());
attributes.put("proceedingType", getProceedingType());
attributes.put("url", getUrl());
attributes.put("contentType", getContentType());
attributes.put("operation", getOperation());
attributes.put("cadastralCode", getCadastralCode());
attributes.put("digitalHolderTaxCode", getDigitalHolderTaxCode());
attributes.put("stato", getStato());
attributes.put("creationDate", getCreationDate());
attributes.put("lastUpdateDate", getLastUpdateDate());
attributes.put("sentToPortosDate", getSentToPortosDate());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long id = (Long)attributes.get("id");
if (id != null) {
setId(id);
}
String application = (String)attributes.get("application");
if (application != null) {
setApplication(application);
}
String clientId = (String)attributes.get("clientId");
if (clientId != null) {
setClientId(clientId);
}
String context = (String)attributes.get("context");
if (context != null) {
setContext(context);
}
String instanceId = (String)attributes.get("instanceId");
if (instanceId != null) {
setInstanceId(instanceId);
}
String ipaCode = (String)attributes.get("ipaCode");
if (ipaCode != null) {
setIpaCode(ipaCode);
}
String proceedingType = (String)attributes.get("proceedingType");
if (proceedingType != null) {
setProceedingType(proceedingType);
}
String url = (String)attributes.get("url");
if (url != null) {
setUrl(url);
}
String contentType = (String)attributes.get("contentType");
if (contentType != null) {
setContentType(contentType);
}
String operation = (String)attributes.get("operation");
if (operation != null) {
setOperation(operation);
}
String cadastralCode = (String)attributes.get("cadastralCode");
if (cadastralCode != null) {
setCadastralCode(cadastralCode);
}
String digitalHolderTaxCode = (String)attributes.get(
"digitalHolderTaxCode");
if (digitalHolderTaxCode != null) {
setDigitalHolderTaxCode(digitalHolderTaxCode);
}
Boolean stato = (Boolean)attributes.get("stato");
if (stato != null) {
setStato(stato);
}
Date creationDate = (Date)attributes.get("creationDate");
if (creationDate != null) {
setCreationDate(creationDate);
}
Date lastUpdateDate = (Date)attributes.get("lastUpdateDate");
if (lastUpdateDate != null) {
setLastUpdateDate(lastUpdateDate);
}
Date sentToPortosDate = (Date)attributes.get("sentToPortosDate");
if (sentToPortosDate != null) {
setSentToPortosDate(sentToPortosDate);
}
}
/**
* Returns the primary key of this sportello.
*
* @return the primary key of this sportello
*/
@Override
public long getPrimaryKey() {
return _sportello.getPrimaryKey();
}
/**
* Sets the primary key of this sportello.
*
* @param primaryKey the primary key of this sportello
*/
@Override
public void setPrimaryKey(long primaryKey) {
_sportello.setPrimaryKey(primaryKey);
}
/**
* Returns the ID of this sportello.
*
* @return the ID of this sportello
*/
@Override
public long getId() {
return _sportello.getId();
}
/**
* Sets the ID of this sportello.
*
* @param id the ID of this sportello
*/
@Override
public void setId(long id) {
_sportello.setId(id);
}
/**
* Returns the application of this sportello.
*
* @return the application of this sportello
*/
@Override
public java.lang.String getApplication() {
return _sportello.getApplication();
}
/**
* Sets the application of this sportello.
*
* @param application the application of this sportello
*/
@Override
public void setApplication(java.lang.String application) {
_sportello.setApplication(application);
}
/**
* Returns the client ID of this sportello.
*
* @return the client ID of this sportello
*/
@Override
public java.lang.String getClientId() {
return _sportello.getClientId();
}
/**
* Sets the client ID of this sportello.
*
* @param clientId the client ID of this sportello
*/
@Override
public void setClientId(java.lang.String clientId) {
_sportello.setClientId(clientId);
}
/**
* Returns the context of this sportello.
*
* @return the context of this sportello
*/
@Override
public java.lang.String getContext() {
return _sportello.getContext();
}
/**
* Sets the context of this sportello.
*
* @param context the context of this sportello
*/
@Override
public void setContext(java.lang.String context) {
_sportello.setContext(context);
}
/**
* Returns the instance ID of this sportello.
*
* @return the instance ID of this sportello
*/
@Override
public java.lang.String getInstanceId() {
return _sportello.getInstanceId();
}
/**
* Sets the instance ID of this sportello.
*
* @param instanceId the instance ID of this sportello
*/
@Override
public void setInstanceId(java.lang.String instanceId) {
_sportello.setInstanceId(instanceId);
}
/**
* Returns the ipa code of this sportello.
*
* @return the ipa code of this sportello
*/
@Override
public java.lang.String getIpaCode() {
return _sportello.getIpaCode();
}
/**
* Sets the ipa code of this sportello.
*
* @param ipaCode the ipa code of this sportello
*/
@Override
public void setIpaCode(java.lang.String ipaCode) {
_sportello.setIpaCode(ipaCode);
}
/**
* Returns the proceeding type of this sportello.
*
* @return the proceeding type of this sportello
*/
@Override
public java.lang.String getProceedingType() {
return _sportello.getProceedingType();
}
/**
* Sets the proceeding type of this sportello.
*
* @param proceedingType the proceeding type of this sportello
*/
@Override
public void setProceedingType(java.lang.String proceedingType) {
_sportello.setProceedingType(proceedingType);
}
/**
* Returns the url of this sportello.
*
* @return the url of this sportello
*/
@Override
public java.lang.String getUrl() {
return _sportello.getUrl();
}
/**
* Sets the url of this sportello.
*
* @param url the url of this sportello
*/
@Override
public void setUrl(java.lang.String url) {
_sportello.setUrl(url);
}
/**
* Returns the content type of this sportello.
*
* @return the content type of this sportello
*/
@Override
public java.lang.String getContentType() {
return _sportello.getContentType();
}
/**
* Sets the content type of this sportello.
*
* @param contentType the content type of this sportello
*/
@Override
public void setContentType(java.lang.String contentType) {
_sportello.setContentType(contentType);
}
/**
* Returns the operation of this sportello.
*
* @return the operation of this sportello
*/
@Override
public java.lang.String getOperation() {
return _sportello.getOperation();
}
/**
* Sets the operation of this sportello.
*
* @param operation the operation of this sportello
*/
@Override
public void setOperation(java.lang.String operation) {
_sportello.setOperation(operation);
}
/**
* Returns the cadastral code of this sportello.
*
* @return the cadastral code of this sportello
*/
@Override
public java.lang.String getCadastralCode() {
return _sportello.getCadastralCode();
}
/**
* Sets the cadastral code of this sportello.
*
* @param cadastralCode the cadastral code of this sportello
*/
@Override
public void setCadastralCode(java.lang.String cadastralCode) {
_sportello.setCadastralCode(cadastralCode);
}
/**
* Returns the digital holder tax code of this sportello.
*
* @return the digital holder tax code of this sportello
*/
@Override
public java.lang.String getDigitalHolderTaxCode() {
return _sportello.getDigitalHolderTaxCode();
}
/**
* Sets the digital holder tax code of this sportello.
*
* @param digitalHolderTaxCode the digital holder tax code of this sportello
*/
@Override
public void setDigitalHolderTaxCode(java.lang.String digitalHolderTaxCode) {
_sportello.setDigitalHolderTaxCode(digitalHolderTaxCode);
}
/**
* Returns the stato of this sportello.
*
* @return the stato of this sportello
*/
@Override
public boolean getStato() {
return _sportello.getStato();
}
/**
* Returns <code>true</code> if this sportello is stato.
*
* @return <code>true</code> if this sportello is stato; <code>false</code> otherwise
*/
@Override
public boolean isStato() {
return _sportello.isStato();
}
/**
* Sets whether this sportello is stato.
*
* @param stato the stato of this sportello
*/
@Override
public void setStato(boolean stato) {
_sportello.setStato(stato);
}
/**
* Returns the creation date of this sportello.
*
* @return the creation date of this sportello
*/
@Override
public java.util.Date getCreationDate() {
return _sportello.getCreationDate();
}
/**
* Sets the creation date of this sportello.
*
* @param creationDate the creation date of this sportello
*/
@Override
public void setCreationDate(java.util.Date creationDate) {
_sportello.setCreationDate(creationDate);
}
/**
* Returns the last update date of this sportello.
*
* @return the last update date of this sportello
*/
@Override
public java.util.Date getLastUpdateDate() {
return _sportello.getLastUpdateDate();
}
/**
* Sets the last update date of this sportello.
*
* @param lastUpdateDate the last update date of this sportello
*/
@Override
public void setLastUpdateDate(java.util.Date lastUpdateDate) {
_sportello.setLastUpdateDate(lastUpdateDate);
}
/**
* Returns the sent to portos date of this sportello.
*
* @return the sent to portos date of this sportello
*/
@Override
public java.util.Date getSentToPortosDate() {
return _sportello.getSentToPortosDate();
}
/**
* Sets the sent to portos date of this sportello.
*
* @param sentToPortosDate the sent to portos date of this sportello
*/
@Override
public void setSentToPortosDate(java.util.Date sentToPortosDate) {
_sportello.setSentToPortosDate(sentToPortosDate);
}
@Override
public boolean isNew() {
return _sportello.isNew();
}
@Override
public void setNew(boolean n) {
_sportello.setNew(n);
}
@Override
public boolean isCachedModel() {
return _sportello.isCachedModel();
}
@Override
public void setCachedModel(boolean cachedModel) {
_sportello.setCachedModel(cachedModel);
}
@Override
public boolean isEscapedModel() {
return _sportello.isEscapedModel();
}
@Override
public java.io.Serializable getPrimaryKeyObj() {
return _sportello.getPrimaryKeyObj();
}
@Override
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
_sportello.setPrimaryKeyObj(primaryKeyObj);
}
@Override
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
return _sportello.getExpandoBridge();
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.model.BaseModel<?> baseModel) {
_sportello.setExpandoBridgeAttributes(baseModel);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
_sportello.setExpandoBridgeAttributes(expandoBridge);
}
@Override
public void setExpandoBridgeAttributes(
com.liferay.portal.service.ServiceContext serviceContext) {
_sportello.setExpandoBridgeAttributes(serviceContext);
}
@Override
public java.lang.Object clone() {
return new SportelloWrapper((Sportello)_sportello.clone());
}
@Override
public int compareTo(potos.nextmind.model.Sportello sportello) {
return _sportello.compareTo(sportello);
}
@Override
public int hashCode() {
return _sportello.hashCode();
}
@Override
public com.liferay.portal.model.CacheModel<potos.nextmind.model.Sportello> toCacheModel() {
return _sportello.toCacheModel();
}
@Override
public potos.nextmind.model.Sportello toEscapedModel() {
return new SportelloWrapper(_sportello.toEscapedModel());
}
@Override
public potos.nextmind.model.Sportello toUnescapedModel() {
return new SportelloWrapper(_sportello.toUnescapedModel());
}
@Override
public java.lang.String toString() {
return _sportello.toString();
}
@Override
public java.lang.String toXmlString() {
return _sportello.toXmlString();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof SportelloWrapper)) {
return false;
}
SportelloWrapper sportelloWrapper = (SportelloWrapper)obj;
if (Validator.equals(_sportello, sportelloWrapper._sportello)) {
return true;
}
return false;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
*/
public Sportello getWrappedSportello() {
return _sportello;
}
@Override
public Sportello getWrappedModel() {
return _sportello;
}
@Override
public void resetOriginalValues() {
_sportello.resetOriginalValues();
}
private Sportello _sportello;
}

248
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalService.java

@ -0,0 +1,248 @@
/**
* 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 potos.nextmind.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 Foo. 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 ebusu
* @see FooLocalServiceUtil
* @see potos.nextmind.service.base.FooLocalServiceBaseImpl
* @see potos.nextmind.service.impl.FooLocalServiceImpl
* @generated
*/
@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
PortalException.class, SystemException.class})
public interface FooLocalService extends BaseLocalService, InvokableLocalService,
PersistedModelLocalService {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link FooLocalServiceUtil} to access the foo local service. Add custom service methods to {@link potos.nextmind.service.impl.FooLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
/**
* Adds the foo to the database. Also notifies the appropriate model listeners.
*
* @param foo the foo
* @return the foo that was added
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public potos.nextmind.model.Foo addFoo(potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Creates a new foo with the primary key. Does not add the foo to the database.
*
* @param fooId the primary key for the new foo
* @return the new foo
*/
public potos.nextmind.model.Foo createFoo(long fooId);
/**
* Deletes the foo with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param fooId the primary key of the foo
* @return the foo that was removed
* @throws PortalException if a foo 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 potos.nextmind.model.Foo deleteFoo(long fooId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* Deletes the foo from the database. Also notifies the appropriate model listeners.
*
* @param foo the foo
* @return the foo that was removed
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
public potos.nextmind.model.Foo deleteFoo(potos.nextmind.model.Foo foo)
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 potos.nextmind.model.impl.FooModelImpl}. 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 potos.nextmind.model.impl.FooModelImpl}. 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 potos.nextmind.model.Foo fetchFoo(long fooId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the foo with the primary key.
*
* @param fooId the primary key of the foo
* @return the foo
* @throws PortalException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public potos.nextmind.model.Foo getFoo(long fooId)
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 foos.
*
* <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 potos.nextmind.model.impl.FooModelImpl}. 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 foos
* @param end the upper bound of the range of foos (not inclusive)
* @return the range of foos
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<potos.nextmind.model.Foo> getFoos(int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of foos.
*
* @return the number of foos
* @throws SystemException if a system exception occurred
*/
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public int getFoosCount()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Updates the foo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param foo the foo
* @return the foo that was updated
* @throws SystemException if a system exception occurred
*/
@com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
public potos.nextmind.model.Foo updateFoo(potos.nextmind.model.Foo foo)
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;
}

691
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceClp.java

@ -0,0 +1,691 @@
/**
* 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 potos.nextmind.service;
import com.liferay.portal.service.InvokableLocalService;
/**
* @author ebusu
* @generated
*/
public class FooLocalServiceClp implements FooLocalService {
public FooLocalServiceClp(InvokableLocalService invokableLocalService) {
_invokableLocalService = invokableLocalService;
_methodName0 = "addFoo";
_methodParameterTypes0 = new String[] { "potos.nextmind.model.Foo" };
_methodName1 = "createFoo";
_methodParameterTypes1 = new String[] { "long" };
_methodName2 = "deleteFoo";
_methodParameterTypes2 = new String[] { "long" };
_methodName3 = "deleteFoo";
_methodParameterTypes3 = new String[] { "potos.nextmind.model.Foo" };
_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 = "fetchFoo";
_methodParameterTypes10 = new String[] { "long" };
_methodName11 = "getFoo";
_methodParameterTypes11 = new String[] { "long" };
_methodName12 = "getPersistedModel";
_methodParameterTypes12 = new String[] { "java.io.Serializable" };
_methodName13 = "getFoos";
_methodParameterTypes13 = new String[] { "int", "int" };
_methodName14 = "getFoosCount";
_methodParameterTypes14 = new String[] { };
_methodName15 = "updateFoo";
_methodParameterTypes15 = new String[] { "potos.nextmind.model.Foo" };
_methodName16 = "getBeanIdentifier";
_methodParameterTypes16 = new String[] { };
_methodName17 = "setBeanIdentifier";
_methodParameterTypes17 = new String[] { "java.lang.String" };
}
@Override
public potos.nextmind.model.Foo addFoo(potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName0,
_methodParameterTypes0,
new Object[] { ClpSerializer.translateInput(foo) });
}
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 (potos.nextmind.model.Foo)ClpSerializer.translateOutput(returnObj);
}
@Override
public potos.nextmind.model.Foo createFoo(long fooId) {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName1,
_methodParameterTypes1, new Object[] { fooId });
}
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 (potos.nextmind.model.Foo)ClpSerializer.translateOutput(returnObj);
}
@Override
public potos.nextmind.model.Foo deleteFoo(long fooId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName2,
_methodParameterTypes2, new Object[] { fooId });
}
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 (potos.nextmind.model.Foo)ClpSerializer.translateOutput(returnObj);
}
@Override
public potos.nextmind.model.Foo deleteFoo(potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName3,
_methodParameterTypes3,
new Object[] { ClpSerializer.translateInput(foo) });
}
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 (potos.nextmind.model.Foo)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 potos.nextmind.model.Foo fetchFoo(long fooId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName10,
_methodParameterTypes10, new Object[] { fooId });
}
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 (potos.nextmind.model.Foo)ClpSerializer.translateOutput(returnObj);
}
@Override
public potos.nextmind.model.Foo getFoo(long fooId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName11,
_methodParameterTypes11, new Object[] { fooId });
}
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 (potos.nextmind.model.Foo)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<potos.nextmind.model.Foo> getFoos(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<potos.nextmind.model.Foo>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int getFoosCount()
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 potos.nextmind.model.Foo updateFoo(potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName15,
_methodParameterTypes15,
new Object[] { ClpSerializer.translateInput(foo) });
}
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 (potos.nextmind.model.Foo)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;
}

302
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceUtil.java

@ -0,0 +1,302 @@
/**
* 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 potos.nextmind.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 Foo. This utility wraps
* {@link potos.nextmind.service.impl.FooLocalServiceImpl} 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 ebusu
* @see FooLocalService
* @see potos.nextmind.service.base.FooLocalServiceBaseImpl
* @see potos.nextmind.service.impl.FooLocalServiceImpl
* @generated
*/
public class FooLocalServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to {@link potos.nextmind.service.impl.FooLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
*/
/**
* Adds the foo to the database. Also notifies the appropriate model listeners.
*
* @param foo the foo
* @return the foo that was added
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo addFoo(potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().addFoo(foo);
}
/**
* Creates a new foo with the primary key. Does not add the foo to the database.
*
* @param fooId the primary key for the new foo
* @return the new foo
*/
public static potos.nextmind.model.Foo createFoo(long fooId) {
return getService().createFoo(fooId);
}
/**
* Deletes the foo with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param fooId the primary key of the foo
* @return the foo that was removed
* @throws PortalException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo deleteFoo(long fooId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().deleteFoo(fooId);
}
/**
* Deletes the foo from the database. Also notifies the appropriate model listeners.
*
* @param foo the foo
* @return the foo that was removed
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo deleteFoo(
potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().deleteFoo(foo);
}
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 potos.nextmind.model.impl.FooModelImpl}. 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 potos.nextmind.model.impl.FooModelImpl}. 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 potos.nextmind.model.Foo fetchFoo(long fooId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchFoo(fooId);
}
/**
* Returns the foo with the primary key.
*
* @param fooId the primary key of the foo
* @return the foo
* @throws PortalException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo getFoo(long fooId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().getFoo(fooId);
}
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 foos.
*
* <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 potos.nextmind.model.impl.FooModelImpl}. 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 foos
* @param end the upper bound of the range of foos (not inclusive)
* @return the range of foos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Foo> getFoos(int start,
int end) throws com.liferay.portal.kernel.exception.SystemException {
return getService().getFoos(start, end);
}
/**
* Returns the number of foos.
*
* @return the number of foos
* @throws SystemException if a system exception occurred
*/
public static int getFoosCount()
throws com.liferay.portal.kernel.exception.SystemException {
return getService().getFoosCount();
}
/**
* Updates the foo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param foo the foo
* @return the foo that was updated
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo updateFoo(
potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().updateFoo(foo);
}
/**
* 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 FooLocalService getService() {
if (_service == null) {
InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
FooLocalService.class.getName());
if (invokableLocalService instanceof FooLocalService) {
_service = (FooLocalService)invokableLocalService;
}
else {
_service = new FooLocalServiceClp(invokableLocalService);
}
ReferenceRegistry.registerReference(FooLocalServiceUtil.class,
"_service");
}
return _service;
}
/**
* @deprecated As of 6.2.0
*/
public void setService(FooLocalService service) {
}
private static FooLocalService _service;
}

304
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooLocalServiceWrapper.java

@ -0,0 +1,304 @@
/**
* 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 potos.nextmind.service;
import com.liferay.portal.service.ServiceWrapper;
/**
* Provides a wrapper for {@link FooLocalService}.
*
* @author ebusu
* @see FooLocalService
* @generated
*/
public class FooLocalServiceWrapper implements FooLocalService,
ServiceWrapper<FooLocalService> {
public FooLocalServiceWrapper(FooLocalService fooLocalService) {
_fooLocalService = fooLocalService;
}
/**
* Adds the foo to the database. Also notifies the appropriate model listeners.
*
* @param foo the foo
* @return the foo that was added
* @throws SystemException if a system exception occurred
*/
@Override
public potos.nextmind.model.Foo addFoo(potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
return _fooLocalService.addFoo(foo);
}
/**
* Creates a new foo with the primary key. Does not add the foo to the database.
*
* @param fooId the primary key for the new foo
* @return the new foo
*/
@Override
public potos.nextmind.model.Foo createFoo(long fooId) {
return _fooLocalService.createFoo(fooId);
}
/**
* Deletes the foo with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param fooId the primary key of the foo
* @return the foo that was removed
* @throws PortalException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public potos.nextmind.model.Foo deleteFoo(long fooId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fooLocalService.deleteFoo(fooId);
}
/**
* Deletes the foo from the database. Also notifies the appropriate model listeners.
*
* @param foo the foo
* @return the foo that was removed
* @throws SystemException if a system exception occurred
*/
@Override
public potos.nextmind.model.Foo deleteFoo(potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
return _fooLocalService.deleteFoo(foo);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _fooLocalService.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 _fooLocalService.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 potos.nextmind.model.impl.FooModelImpl}. 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 _fooLocalService.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 potos.nextmind.model.impl.FooModelImpl}. 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 _fooLocalService.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 _fooLocalService.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 _fooLocalService.dynamicQueryCount(dynamicQuery, projection);
}
@Override
public potos.nextmind.model.Foo fetchFoo(long fooId)
throws com.liferay.portal.kernel.exception.SystemException {
return _fooLocalService.fetchFoo(fooId);
}
/**
* Returns the foo with the primary key.
*
* @param fooId the primary key of the foo
* @return the foo
* @throws PortalException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public potos.nextmind.model.Foo getFoo(long fooId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _fooLocalService.getFoo(fooId);
}
@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 _fooLocalService.getPersistedModel(primaryKeyObj);
}
/**
* Returns a range of all the foos.
*
* <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 potos.nextmind.model.impl.FooModelImpl}. 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 foos
* @param end the upper bound of the range of foos (not inclusive)
* @return the range of foos
* @throws SystemException if a system exception occurred
*/
@Override
public java.util.List<potos.nextmind.model.Foo> getFoos(int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _fooLocalService.getFoos(start, end);
}
/**
* Returns the number of foos.
*
* @return the number of foos
* @throws SystemException if a system exception occurred
*/
@Override
public int getFoosCount()
throws com.liferay.portal.kernel.exception.SystemException {
return _fooLocalService.getFoosCount();
}
/**
* Updates the foo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param foo the foo
* @return the foo that was updated
* @throws SystemException if a system exception occurred
*/
@Override
public potos.nextmind.model.Foo updateFoo(potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
return _fooLocalService.updateFoo(foo);
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
@Override
public java.lang.String getBeanIdentifier() {
return _fooLocalService.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) {
_fooLocalService.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 _fooLocalService.invokeMethod(name, parameterTypes, arguments);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/
public FooLocalService getWrappedFooLocalService() {
return _fooLocalService;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
*/
public void setWrappedFooLocalService(FooLocalService fooLocalService) {
_fooLocalService = fooLocalService;
}
@Override
public FooLocalService getWrappedService() {
return _fooLocalService;
}
@Override
public void setWrappedService(FooLocalService fooLocalService) {
_fooLocalService = fooLocalService;
}
private FooLocalService _fooLocalService;
}

66
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooService.java

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

91
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceClp.java

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

95
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceUtil.java

@ -0,0 +1,95 @@
/**
* 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 potos.nextmind.service;
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;
import com.liferay.portal.service.InvokableService;
/**
* Provides the remote service utility for Foo. This utility wraps
* {@link potos.nextmind.service.impl.FooServiceImpl} and is the
* primary access point for service operations in application layer code running
* on a remote server. Methods of this service are expected to have security
* checks based on the propagated JAAS credentials because this service can be
* accessed remotely.
*
* @author ebusu
* @see FooService
* @see potos.nextmind.service.base.FooServiceBaseImpl
* @see potos.nextmind.service.impl.FooServiceImpl
* @generated
*/
public class FooServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to {@link potos.nextmind.service.impl.FooServiceImpl} and rerun ServiceBuilder to regenerate this class.
*/
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
public static java.lang.String getBeanIdentifier() {
return getService().getBeanIdentifier();
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
public static void setBeanIdentifier(java.lang.String beanIdentifier) {
getService().setBeanIdentifier(beanIdentifier);
}
public static java.lang.Object invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static void clearService() {
_service = null;
}
public static FooService getService() {
if (_service == null) {
InvokableService invokableService = (InvokableService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
FooService.class.getName());
if (invokableService instanceof FooService) {
_service = (FooService)invokableService;
}
else {
_service = new FooServiceClp(invokableService);
}
ReferenceRegistry.registerReference(FooServiceUtil.class, "_service");
}
return _service;
}
/**
* @deprecated As of 6.2.0
*/
public void setService(FooService service) {
}
private static FooService _service;
}

84
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/FooServiceWrapper.java

@ -0,0 +1,84 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package potos.nextmind.service;
import com.liferay.portal.service.ServiceWrapper;
/**
* Provides a wrapper for {@link FooService}.
*
* @author ebusu
* @see FooService
* @generated
*/
public class FooServiceWrapper implements FooService,
ServiceWrapper<FooService> {
public FooServiceWrapper(FooService fooService) {
_fooService = fooService;
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
@Override
public java.lang.String getBeanIdentifier() {
return _fooService.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) {
_fooService.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 _fooService.invokeMethod(name, parameterTypes, arguments);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/
public FooService getWrappedFooService() {
return _fooService;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
*/
public void setWrappedFooService(FooService fooService) {
_fooService = fooService;
}
@Override
public FooService getWrappedService() {
return _fooService;
}
@Override
public void setWrappedService(FooService fooService) {
_fooService = fooService;
}
private FooService _fooService;
}

66
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloService.java

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

91
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceClp.java

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

96
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceUtil.java

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

84
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/SportelloServiceWrapper.java

@ -0,0 +1,84 @@
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package potos.nextmind.service;
import com.liferay.portal.service.ServiceWrapper;
/**
* Provides a wrapper for {@link SportelloService}.
*
* @author ebusu
* @see SportelloService
* @generated
*/
public class SportelloServiceWrapper implements SportelloService,
ServiceWrapper<SportelloService> {
public SportelloServiceWrapper(SportelloService sportelloService) {
_sportelloService = sportelloService;
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
@Override
public java.lang.String getBeanIdentifier() {
return _sportelloService.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) {
_sportelloService.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 _sportelloService.invokeMethod(name, parameterTypes, arguments);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/
public SportelloService getWrappedSportelloService() {
return _sportelloService;
}
/**
* @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
*/
public void setWrappedSportelloService(SportelloService sportelloService) {
_sportelloService = sportelloService;
}
@Override
public SportelloService getWrappedService() {
return _sportelloService;
}
@Override
public void setWrappedService(SportelloService sportelloService) {
_sportelloService = sportelloService;
}
private SportelloService _sportelloService;
}

38
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooActionableDynamicQuery.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 potos.nextmind.service.persistence;
import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery;
import com.liferay.portal.kernel.exception.SystemException;
import potos.nextmind.model.Foo;
import potos.nextmind.service.FooLocalServiceUtil;
/**
* @author ebusu
* @generated
*/
public abstract class FooActionableDynamicQuery
extends BaseActionableDynamicQuery {
public FooActionableDynamicQuery() throws SystemException {
setBaseLocalService(FooLocalServiceUtil.getService());
setClass(Foo.class);
setClassLoader(potos.nextmind.service.ClpSerializer.class.getClassLoader());
setPrimaryKeyPropertyName("fooId");
}
}

289
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooPersistence.java

@ -0,0 +1,289 @@
/**
* 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 potos.nextmind.service.persistence;
import com.liferay.portal.service.persistence.BasePersistence;
import potos.nextmind.model.Foo;
/**
* The persistence interface for the foo service.
*
* <p>
* Caching information and settings can be found in <code>portal.properties</code>
* </p>
*
* @author ebusu
* @see FooPersistenceImpl
* @see FooUtil
* @generated
*/
public interface FooPersistence extends BasePersistence<Foo> {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link FooUtil} to access the foo persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the foos where field2 = &#63;.
*
* @param field2 the field2
* @return the matching foos
* @throws SystemException if a system exception occurred
*/
public java.util.List<potos.nextmind.model.Foo> findByField2(boolean field2)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the foos where field2 = &#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 potos.nextmind.model.impl.FooModelImpl}. 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 field2 the field2
* @param start the lower bound of the range of foos
* @param end the upper bound of the range of foos (not inclusive)
* @return the range of matching foos
* @throws SystemException if a system exception occurred
*/
public java.util.List<potos.nextmind.model.Foo> findByField2(
boolean field2, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the foos where field2 = &#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 potos.nextmind.model.impl.FooModelImpl}. 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 field2 the field2
* @param start the lower bound of the range of foos
* @param end the upper bound of the range of foos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching foos
* @throws SystemException if a system exception occurred
*/
public java.util.List<potos.nextmind.model.Foo> findByField2(
boolean field2, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first foo in the ordered set where field2 = &#63;.
*
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching foo
* @throws potos.nextmind.NoSuchFooException if a matching foo could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Foo findByField2_First(boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException;
/**
* Returns the first foo in the ordered set where field2 = &#63;.
*
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching foo, or <code>null</code> if a matching foo could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Foo fetchByField2_First(boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last foo in the ordered set where field2 = &#63;.
*
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching foo
* @throws potos.nextmind.NoSuchFooException if a matching foo could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Foo findByField2_Last(boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException;
/**
* Returns the last foo in the ordered set where field2 = &#63;.
*
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching foo, or <code>null</code> if a matching foo could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Foo fetchByField2_Last(boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the foos before and after the current foo in the ordered set where field2 = &#63;.
*
* @param fooId the primary key of the current foo
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next foo
* @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Foo[] findByField2_PrevAndNext(long fooId,
boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException;
/**
* Removes all the foos where field2 = &#63; from the database.
*
* @param field2 the field2
* @throws SystemException if a system exception occurred
*/
public void removeByField2(boolean field2)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of foos where field2 = &#63;.
*
* @param field2 the field2
* @return the number of matching foos
* @throws SystemException if a system exception occurred
*/
public int countByField2(boolean field2)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Caches the foo in the entity cache if it is enabled.
*
* @param foo the foo
*/
public void cacheResult(potos.nextmind.model.Foo foo);
/**
* Caches the foos in the entity cache if it is enabled.
*
* @param foos the foos
*/
public void cacheResult(java.util.List<potos.nextmind.model.Foo> foos);
/**
* Creates a new foo with the primary key. Does not add the foo to the database.
*
* @param fooId the primary key for the new foo
* @return the new foo
*/
public potos.nextmind.model.Foo create(long fooId);
/**
* Removes the foo with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param fooId the primary key of the foo
* @return the foo that was removed
* @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Foo remove(long fooId)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException;
public potos.nextmind.model.Foo updateImpl(potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the foo with the primary key or throws a {@link potos.nextmind.NoSuchFooException} if it could not be found.
*
* @param fooId the primary key of the foo
* @return the foo
* @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Foo findByPrimaryKey(long fooId)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException;
/**
* Returns the foo with the primary key or returns <code>null</code> if it could not be found.
*
* @param fooId the primary key of the foo
* @return the foo, or <code>null</code> if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Foo fetchByPrimaryKey(long fooId)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the foos.
*
* @return the foos
* @throws SystemException if a system exception occurred
*/
public java.util.List<potos.nextmind.model.Foo> findAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the foos.
*
* <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 potos.nextmind.model.impl.FooModelImpl}. 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 foos
* @param end the upper bound of the range of foos (not inclusive)
* @return the range of foos
* @throws SystemException if a system exception occurred
*/
public java.util.List<potos.nextmind.model.Foo> findAll(int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the foos.
*
* <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 potos.nextmind.model.impl.FooModelImpl}. 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 foos
* @param end the upper bound of the range of foos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of foos
* @throws SystemException if a system exception occurred
*/
public java.util.List<potos.nextmind.model.Foo> findAll(int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes all the foos from the database.
*
* @throws SystemException if a system exception occurred
*/
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of foos.
*
* @return the number of foos
* @throws SystemException if a system exception occurred
*/
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException;
}

429
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/FooUtil.java

@ -0,0 +1,429 @@
/**
* 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 potos.nextmind.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 potos.nextmind.model.Foo;
import java.util.List;
/**
* The persistence utility for the foo service. This utility wraps {@link FooPersistenceImpl} 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 ebusu
* @see FooPersistence
* @see FooPersistenceImpl
* @generated
*/
public class FooUtil {
/*
* 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(Foo foo) {
getPersistence().clearCache(foo);
}
/**
* @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<Foo> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException {
return getPersistence().findWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
*/
public static List<Foo> 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<Foo> 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 Foo update(Foo foo) throws SystemException {
return getPersistence().update(foo);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext)
*/
public static Foo update(Foo foo, ServiceContext serviceContext)
throws SystemException {
return getPersistence().update(foo, serviceContext);
}
/**
* Returns all the foos where field2 = &#63;.
*
* @param field2 the field2
* @return the matching foos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Foo> findByField2(
boolean field2)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findByField2(field2);
}
/**
* Returns a range of all the foos where field2 = &#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 potos.nextmind.model.impl.FooModelImpl}. 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 field2 the field2
* @param start the lower bound of the range of foos
* @param end the upper bound of the range of foos (not inclusive)
* @return the range of matching foos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Foo> findByField2(
boolean field2, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findByField2(field2, start, end);
}
/**
* Returns an ordered range of all the foos where field2 = &#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 potos.nextmind.model.impl.FooModelImpl}. 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 field2 the field2
* @param start the lower bound of the range of foos
* @param end the upper bound of the range of foos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching foos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Foo> findByField2(
boolean field2, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByField2(field2, start, end, orderByComparator);
}
/**
* Returns the first foo in the ordered set where field2 = &#63;.
*
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching foo
* @throws potos.nextmind.NoSuchFooException if a matching foo could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo findByField2_First(boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException {
return getPersistence().findByField2_First(field2, orderByComparator);
}
/**
* Returns the first foo in the ordered set where field2 = &#63;.
*
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching foo, or <code>null</code> if a matching foo could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo fetchByField2_First(boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByField2_First(field2, orderByComparator);
}
/**
* Returns the last foo in the ordered set where field2 = &#63;.
*
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching foo
* @throws potos.nextmind.NoSuchFooException if a matching foo could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo findByField2_Last(boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException {
return getPersistence().findByField2_Last(field2, orderByComparator);
}
/**
* Returns the last foo in the ordered set where field2 = &#63;.
*
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching foo, or <code>null</code> if a matching foo could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo fetchByField2_Last(boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByField2_Last(field2, orderByComparator);
}
/**
* Returns the foos before and after the current foo in the ordered set where field2 = &#63;.
*
* @param fooId the primary key of the current foo
* @param field2 the field2
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next foo
* @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo[] findByField2_PrevAndNext(
long fooId, boolean field2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException {
return getPersistence()
.findByField2_PrevAndNext(fooId, field2, orderByComparator);
}
/**
* Removes all the foos where field2 = &#63; from the database.
*
* @param field2 the field2
* @throws SystemException if a system exception occurred
*/
public static void removeByField2(boolean field2)
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence().removeByField2(field2);
}
/**
* Returns the number of foos where field2 = &#63;.
*
* @param field2 the field2
* @return the number of matching foos
* @throws SystemException if a system exception occurred
*/
public static int countByField2(boolean field2)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countByField2(field2);
}
/**
* Caches the foo in the entity cache if it is enabled.
*
* @param foo the foo
*/
public static void cacheResult(potos.nextmind.model.Foo foo) {
getPersistence().cacheResult(foo);
}
/**
* Caches the foos in the entity cache if it is enabled.
*
* @param foos the foos
*/
public static void cacheResult(
java.util.List<potos.nextmind.model.Foo> foos) {
getPersistence().cacheResult(foos);
}
/**
* Creates a new foo with the primary key. Does not add the foo to the database.
*
* @param fooId the primary key for the new foo
* @return the new foo
*/
public static potos.nextmind.model.Foo create(long fooId) {
return getPersistence().create(fooId);
}
/**
* Removes the foo with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param fooId the primary key of the foo
* @return the foo that was removed
* @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo remove(long fooId)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException {
return getPersistence().remove(fooId);
}
public static potos.nextmind.model.Foo updateImpl(
potos.nextmind.model.Foo foo)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().updateImpl(foo);
}
/**
* Returns the foo with the primary key or throws a {@link potos.nextmind.NoSuchFooException} if it could not be found.
*
* @param fooId the primary key of the foo
* @return the foo
* @throws potos.nextmind.NoSuchFooException if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo findByPrimaryKey(long fooId)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchFooException {
return getPersistence().findByPrimaryKey(fooId);
}
/**
* Returns the foo with the primary key or returns <code>null</code> if it could not be found.
*
* @param fooId the primary key of the foo
* @return the foo, or <code>null</code> if a foo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Foo fetchByPrimaryKey(long fooId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByPrimaryKey(fooId);
}
/**
* Returns all the foos.
*
* @return the foos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Foo> findAll()
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findAll();
}
/**
* Returns a range of all the foos.
*
* <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 potos.nextmind.model.impl.FooModelImpl}. 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 foos
* @param end the upper bound of the range of foos (not inclusive)
* @return the range of foos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Foo> findAll(int start,
int end) throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findAll(start, end);
}
/**
* Returns an ordered range of all the foos.
*
* <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 potos.nextmind.model.impl.FooModelImpl}. 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 foos
* @param end the upper bound of the range of foos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of foos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Foo> 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 foos 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 foos.
*
* @return the number of foos
* @throws SystemException if a system exception occurred
*/
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countAll();
}
public static FooPersistence getPersistence() {
if (_persistence == null) {
_persistence = (FooPersistence)PortletBeanLocatorUtil.locate(potos.nextmind.service.ClpSerializer.getServletContextName(),
FooPersistence.class.getName());
ReferenceRegistry.registerReference(FooUtil.class, "_persistence");
}
return _persistence;
}
/**
* @deprecated As of 6.2.0
*/
public void setPersistence(FooPersistence persistence) {
}
private static FooPersistence _persistence;
}

159
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloPersistence.java

@ -0,0 +1,159 @@
/**
* 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 potos.nextmind.service.persistence;
import com.liferay.portal.service.persistence.BasePersistence;
import potos.nextmind.model.Sportello;
/**
* The persistence interface for the sportello service.
*
* <p>
* Caching information and settings can be found in <code>portal.properties</code>
* </p>
*
* @author ebusu
* @see SportelloPersistenceImpl
* @see SportelloUtil
* @generated
*/
public interface SportelloPersistence extends BasePersistence<Sportello> {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link SportelloUtil} to access the sportello persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Caches the sportello in the entity cache if it is enabled.
*
* @param sportello the sportello
*/
public void cacheResult(potos.nextmind.model.Sportello sportello);
/**
* Caches the sportellos in the entity cache if it is enabled.
*
* @param sportellos the sportellos
*/
public void cacheResult(
java.util.List<potos.nextmind.model.Sportello> sportellos);
/**
* Creates a new sportello with the primary key. Does not add the sportello to the database.
*
* @param id the primary key for the new sportello
* @return the new sportello
*/
public potos.nextmind.model.Sportello create(long id);
/**
* Removes the sportello with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param id the primary key of the sportello
* @return the sportello that was removed
* @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Sportello remove(long id)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchSportelloException;
public potos.nextmind.model.Sportello updateImpl(
potos.nextmind.model.Sportello sportello)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the sportello with the primary key or throws a {@link potos.nextmind.NoSuchSportelloException} if it could not be found.
*
* @param id the primary key of the sportello
* @return the sportello
* @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Sportello findByPrimaryKey(long id)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchSportelloException;
/**
* Returns the sportello with the primary key or returns <code>null</code> if it could not be found.
*
* @param id the primary key of the sportello
* @return the sportello, or <code>null</code> if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public potos.nextmind.model.Sportello fetchByPrimaryKey(long id)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the sportellos.
*
* @return the sportellos
* @throws SystemException if a system exception occurred
*/
public java.util.List<potos.nextmind.model.Sportello> findAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the sportellos.
*
* <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 potos.nextmind.model.impl.SportelloModelImpl}. 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 sportellos
* @param end the upper bound of the range of sportellos (not inclusive)
* @return the range of sportellos
* @throws SystemException if a system exception occurred
*/
public java.util.List<potos.nextmind.model.Sportello> findAll(int start,
int end) throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the sportellos.
*
* <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 potos.nextmind.model.impl.SportelloModelImpl}. 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 sportellos
* @param end the upper bound of the range of sportellos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of sportellos
* @throws SystemException if a system exception occurred
*/
public java.util.List<potos.nextmind.model.Sportello> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes all the sportellos from the database.
*
* @throws SystemException if a system exception occurred
*/
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of sportellos.
*
* @return the number of sportellos
* @throws SystemException if a system exception occurred
*/
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException;
}

277
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/potos/nextmind/service/persistence/SportelloUtil.java

@ -0,0 +1,277 @@
/**
* 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 potos.nextmind.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 potos.nextmind.model.Sportello;
import java.util.List;
/**
* The persistence utility for the sportello service. This utility wraps {@link SportelloPersistenceImpl} 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 ebusu
* @see SportelloPersistence
* @see SportelloPersistenceImpl
* @generated
*/
public class SportelloUtil {
/*
* 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(Sportello sportello) {
getPersistence().clearCache(sportello);
}
/**
* @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<Sportello> findWithDynamicQuery(
DynamicQuery dynamicQuery) throws SystemException {
return getPersistence().findWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
*/
public static List<Sportello> 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<Sportello> 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 Sportello update(Sportello sportello)
throws SystemException {
return getPersistence().update(sportello);
}
/**
* @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext)
*/
public static Sportello update(Sportello sportello,
ServiceContext serviceContext) throws SystemException {
return getPersistence().update(sportello, serviceContext);
}
/**
* Caches the sportello in the entity cache if it is enabled.
*
* @param sportello the sportello
*/
public static void cacheResult(potos.nextmind.model.Sportello sportello) {
getPersistence().cacheResult(sportello);
}
/**
* Caches the sportellos in the entity cache if it is enabled.
*
* @param sportellos the sportellos
*/
public static void cacheResult(
java.util.List<potos.nextmind.model.Sportello> sportellos) {
getPersistence().cacheResult(sportellos);
}
/**
* Creates a new sportello with the primary key. Does not add the sportello to the database.
*
* @param id the primary key for the new sportello
* @return the new sportello
*/
public static potos.nextmind.model.Sportello create(long id) {
return getPersistence().create(id);
}
/**
* Removes the sportello with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param id the primary key of the sportello
* @return the sportello that was removed
* @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Sportello remove(long id)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchSportelloException {
return getPersistence().remove(id);
}
public static potos.nextmind.model.Sportello updateImpl(
potos.nextmind.model.Sportello sportello)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().updateImpl(sportello);
}
/**
* Returns the sportello with the primary key or throws a {@link potos.nextmind.NoSuchSportelloException} if it could not be found.
*
* @param id the primary key of the sportello
* @return the sportello
* @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Sportello findByPrimaryKey(long id)
throws com.liferay.portal.kernel.exception.SystemException,
potos.nextmind.NoSuchSportelloException {
return getPersistence().findByPrimaryKey(id);
}
/**
* Returns the sportello with the primary key or returns <code>null</code> if it could not be found.
*
* @param id the primary key of the sportello
* @return the sportello, or <code>null</code> if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static potos.nextmind.model.Sportello fetchByPrimaryKey(long id)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().fetchByPrimaryKey(id);
}
/**
* Returns all the sportellos.
*
* @return the sportellos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Sportello> findAll()
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findAll();
}
/**
* Returns a range of all the sportellos.
*
* <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 potos.nextmind.model.impl.SportelloModelImpl}. 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 sportellos
* @param end the upper bound of the range of sportellos (not inclusive)
* @return the range of sportellos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Sportello> findAll(
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findAll(start, end);
}
/**
* Returns an ordered range of all the sportellos.
*
* <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 potos.nextmind.model.impl.SportelloModelImpl}. 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 sportellos
* @param end the upper bound of the range of sportellos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of sportellos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<potos.nextmind.model.Sportello> 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 sportellos 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 sportellos.
*
* @return the number of sportellos
* @throws SystemException if a system exception occurred
*/
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().countAll();
}
public static SportelloPersistence getPersistence() {
if (_persistence == null) {
_persistence = (SportelloPersistence)PortletBeanLocatorUtil.locate(potos.nextmind.service.ClpSerializer.getServletContextName(),
SportelloPersistence.class.getName());
ReferenceRegistry.registerReference(SportelloUtil.class,
"_persistence");
}
return _persistence;
}
/**
* @deprecated As of 6.2.0
*/
public void setPersistence(SportelloPersistence persistence) {
}
private static SportelloPersistence _persistence;
}

43
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/integratore/IntegratoreSchedulato.java

@ -0,0 +1,43 @@
package integratore;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.messaging.Message;
import com.liferay.portal.kernel.messaging.MessageListener;
import com.liferay.portal.kernel.messaging.MessageListenerException;
import com.liferay.portal.model.Company;
import com.liferay.portal.model.Role;
import com.liferay.portal.model.RoleConstants;
import com.liferay.portal.model.User;
import com.liferay.portal.security.permission.PermissionChecker;
import com.liferay.portal.security.permission.PermissionCheckerFactoryUtil;
import com.liferay.portal.security.permission.PermissionThreadLocal;
import com.liferay.portal.service.CompanyLocalServiceUtil;
import com.liferay.portal.service.RoleLocalServiceUtil;
import com.liferay.portal.service.UserLocalServiceUtil;
public class IntegratoreSchedulato implements MessageListener {
@Override
public void receive(Message arg0) throws MessageListenerException {
// TODO Auto-generated method stub
try {
getPraticaInformation(arg0);
} catch (SystemException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (PortalException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public void getPraticaInformation(Message message) throws SystemException, PortalException, Exception {
System.out.println("get information from db and create an obj");
}
}

38
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloBaseImpl.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 potos.nextmind.model.impl;
import potos.nextmind.model.Sportello;
/**
* The extended model base implementation for the Sportello service. Represents a row in the &quot;sportello&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 SportelloImpl}.
* </p>
*
* @author ebusu
* @see SportelloImpl
* @see potos.nextmind.model.Sportello
* @generated
*/
public abstract class SportelloBaseImpl extends SportelloModelImpl
implements Sportello {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. All methods that expect a sportello model instance should use the {@link Sportello} interface instead.
*/
}

315
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloCacheModel.java

@ -0,0 +1,315 @@
/**
* 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 potos.nextmind.model.impl;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.model.CacheModel;
import potos.nextmind.model.Sportello;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.Date;
/**
* The cache model class for representing Sportello in entity cache.
*
* @author ebusu
* @see Sportello
* @generated
*/
public class SportelloCacheModel implements CacheModel<Sportello>,
Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(33);
sb.append("{id=");
sb.append(id);
sb.append(", application=");
sb.append(application);
sb.append(", clientId=");
sb.append(clientId);
sb.append(", context=");
sb.append(context);
sb.append(", instanceId=");
sb.append(instanceId);
sb.append(", ipaCode=");
sb.append(ipaCode);
sb.append(", proceedingType=");
sb.append(proceedingType);
sb.append(", url=");
sb.append(url);
sb.append(", contentType=");
sb.append(contentType);
sb.append(", operation=");
sb.append(operation);
sb.append(", cadastralCode=");
sb.append(cadastralCode);
sb.append(", digitalHolderTaxCode=");
sb.append(digitalHolderTaxCode);
sb.append(", stato=");
sb.append(stato);
sb.append(", creationDate=");
sb.append(creationDate);
sb.append(", lastUpdateDate=");
sb.append(lastUpdateDate);
sb.append(", sentToPortosDate=");
sb.append(sentToPortosDate);
sb.append("}");
return sb.toString();
}
@Override
public Sportello toEntityModel() {
SportelloImpl sportelloImpl = new SportelloImpl();
sportelloImpl.setId(id);
if (application == null) {
sportelloImpl.setApplication(StringPool.BLANK);
}
else {
sportelloImpl.setApplication(application);
}
if (clientId == null) {
sportelloImpl.setClientId(StringPool.BLANK);
}
else {
sportelloImpl.setClientId(clientId);
}
if (context == null) {
sportelloImpl.setContext(StringPool.BLANK);
}
else {
sportelloImpl.setContext(context);
}
if (instanceId == null) {
sportelloImpl.setInstanceId(StringPool.BLANK);
}
else {
sportelloImpl.setInstanceId(instanceId);
}
if (ipaCode == null) {
sportelloImpl.setIpaCode(StringPool.BLANK);
}
else {
sportelloImpl.setIpaCode(ipaCode);
}
if (proceedingType == null) {
sportelloImpl.setProceedingType(StringPool.BLANK);
}
else {
sportelloImpl.setProceedingType(proceedingType);
}
if (url == null) {
sportelloImpl.setUrl(StringPool.BLANK);
}
else {
sportelloImpl.setUrl(url);
}
if (contentType == null) {
sportelloImpl.setContentType(StringPool.BLANK);
}
else {
sportelloImpl.setContentType(contentType);
}
if (operation == null) {
sportelloImpl.setOperation(StringPool.BLANK);
}
else {
sportelloImpl.setOperation(operation);
}
if (cadastralCode == null) {
sportelloImpl.setCadastralCode(StringPool.BLANK);
}
else {
sportelloImpl.setCadastralCode(cadastralCode);
}
if (digitalHolderTaxCode == null) {
sportelloImpl.setDigitalHolderTaxCode(StringPool.BLANK);
}
else {
sportelloImpl.setDigitalHolderTaxCode(digitalHolderTaxCode);
}
sportelloImpl.setStato(stato);
if (creationDate == Long.MIN_VALUE) {
sportelloImpl.setCreationDate(null);
}
else {
sportelloImpl.setCreationDate(new Date(creationDate));
}
if (lastUpdateDate == Long.MIN_VALUE) {
sportelloImpl.setLastUpdateDate(null);
}
else {
sportelloImpl.setLastUpdateDate(new Date(lastUpdateDate));
}
if (sentToPortosDate == Long.MIN_VALUE) {
sportelloImpl.setSentToPortosDate(null);
}
else {
sportelloImpl.setSentToPortosDate(new Date(sentToPortosDate));
}
sportelloImpl.resetOriginalValues();
return sportelloImpl;
}
@Override
public void readExternal(ObjectInput objectInput) throws IOException {
id = objectInput.readLong();
application = objectInput.readUTF();
clientId = objectInput.readUTF();
context = objectInput.readUTF();
instanceId = objectInput.readUTF();
ipaCode = objectInput.readUTF();
proceedingType = objectInput.readUTF();
url = objectInput.readUTF();
contentType = objectInput.readUTF();
operation = objectInput.readUTF();
cadastralCode = objectInput.readUTF();
digitalHolderTaxCode = objectInput.readUTF();
stato = objectInput.readBoolean();
creationDate = objectInput.readLong();
lastUpdateDate = objectInput.readLong();
sentToPortosDate = objectInput.readLong();
}
@Override
public void writeExternal(ObjectOutput objectOutput)
throws IOException {
objectOutput.writeLong(id);
if (application == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(application);
}
if (clientId == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(clientId);
}
if (context == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(context);
}
if (instanceId == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(instanceId);
}
if (ipaCode == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(ipaCode);
}
if (proceedingType == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(proceedingType);
}
if (url == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(url);
}
if (contentType == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(contentType);
}
if (operation == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(operation);
}
if (cadastralCode == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(cadastralCode);
}
if (digitalHolderTaxCode == null) {
objectOutput.writeUTF(StringPool.BLANK);
}
else {
objectOutput.writeUTF(digitalHolderTaxCode);
}
objectOutput.writeBoolean(stato);
objectOutput.writeLong(creationDate);
objectOutput.writeLong(lastUpdateDate);
objectOutput.writeLong(sentToPortosDate);
}
public long id;
public String application;
public String clientId;
public String context;
public String instanceId;
public String ipaCode;
public String proceedingType;
public String url;
public String contentType;
public String operation;
public String cadastralCode;
public String digitalHolderTaxCode;
public boolean stato;
public long creationDate;
public long lastUpdateDate;
public long sentToPortosDate;
}

34
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloImpl.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 potos.nextmind.model.impl;
/**
* The extended model implementation for the Sportello service. Represents a row in the &quot;sportello&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 potos.nextmind.model.Sportello} interface.
* </p>
*
* @author ebusu
*/
public class SportelloImpl extends SportelloBaseImpl {
/*
* NOTE FOR DEVELOPERS:
*
* Never reference this class directly. All methods that expect a sportello model instance should use the {@link potos.nextmind.model.Sportello} interface instead.
*/
public SportelloImpl() {
}
}

910
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/model/impl/SportelloModelImpl.java

@ -0,0 +1,910 @@
/**
* 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 potos.nextmind.model.impl;
import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
import com.liferay.portal.kernel.json.JSON;
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.kernel.util.StringPool;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.model.impl.BaseModelImpl;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portlet.expando.model.ExpandoBridge;
import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
import potos.nextmind.model.Sportello;
import potos.nextmind.model.SportelloModel;
import potos.nextmind.model.SportelloSoap;
import java.io.Serializable;
import java.sql.Types;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* The base model implementation for the Sportello service. Represents a row in the &quot;sportello&quot; database table, with each column mapped to a property of this class.
*
* <p>
* This implementation and its corresponding interface {@link potos.nextmind.model.SportelloModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link SportelloImpl}.
* </p>
*
* @author ebusu
* @see SportelloImpl
* @see potos.nextmind.model.Sportello
* @see potos.nextmind.model.SportelloModel
* @generated
*/
@JSON(strict = true)
public class SportelloModelImpl extends BaseModelImpl<Sportello>
implements SportelloModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. All methods that expect a sportello model instance should use the {@link potos.nextmind.model.Sportello} interface instead.
*/
public static final String TABLE_NAME = "sportello";
public static final Object[][] TABLE_COLUMNS = {
{ "id", Types.BIGINT },
{ "application", Types.VARCHAR },
{ "client_id", Types.VARCHAR },
{ "context", Types.VARCHAR },
{ "instance_id", Types.VARCHAR },
{ "ipa_code", Types.VARCHAR },
{ "proceeding_type", Types.VARCHAR },
{ "url", Types.VARCHAR },
{ "content_type", Types.VARCHAR },
{ "operation", Types.VARCHAR },
{ "cadastral_code", Types.VARCHAR },
{ "digital_holder_tax_code", Types.VARCHAR },
{ "stato", Types.BOOLEAN },
{ "creation_date", Types.TIMESTAMP },
{ "last_update_date", Types.TIMESTAMP },
{ "sent_to_portos_date", Types.TIMESTAMP }
};
public static final String TABLE_SQL_CREATE = "create table sportello (id LONG not null primary key,application VARCHAR(75) null,client_id VARCHAR(75) null,context VARCHAR(75) null,instance_id VARCHAR(75) null,ipa_code VARCHAR(75) null,proceeding_type VARCHAR(75) null,url VARCHAR(75) null,content_type VARCHAR(75) null,operation VARCHAR(75) null,cadastral_code VARCHAR(75) null,digital_holder_tax_code VARCHAR(75) null,stato BOOLEAN,creation_date DATE null,last_update_date DATE null,sent_to_portos_date DATE null)";
public static final String TABLE_SQL_DROP = "drop table sportello";
public static final String ORDER_BY_JPQL = " ORDER BY sportello.id ASC";
public static final String ORDER_BY_SQL = " ORDER BY sportello.id ASC";
public static final String DATA_SOURCE = "sue-suap";
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.potos.nextmind.model.Sportello"),
true);
public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.finder.cache.enabled.potos.nextmind.model.Sportello"),
true);
public static final boolean COLUMN_BITMASK_ENABLED = false;
/**
* Converts the soap model instance into a normal model instance.
*
* @param soapModel the soap model instance to convert
* @return the normal model instance
*/
public static Sportello toModel(SportelloSoap soapModel) {
if (soapModel == null) {
return null;
}
Sportello model = new SportelloImpl();
model.setId(soapModel.getId());
model.setApplication(soapModel.getApplication());
model.setClientId(soapModel.getClientId());
model.setContext(soapModel.getContext());
model.setInstanceId(soapModel.getInstanceId());
model.setIpaCode(soapModel.getIpaCode());
model.setProceedingType(soapModel.getProceedingType());
model.setUrl(soapModel.getUrl());
model.setContentType(soapModel.getContentType());
model.setOperation(soapModel.getOperation());
model.setCadastralCode(soapModel.getCadastralCode());
model.setDigitalHolderTaxCode(soapModel.getDigitalHolderTaxCode());
model.setStato(soapModel.getStato());
model.setCreationDate(soapModel.getCreationDate());
model.setLastUpdateDate(soapModel.getLastUpdateDate());
model.setSentToPortosDate(soapModel.getSentToPortosDate());
return model;
}
/**
* Converts the soap model instances into normal model instances.
*
* @param soapModels the soap model instances to convert
* @return the normal model instances
*/
public static List<Sportello> toModels(SportelloSoap[] soapModels) {
if (soapModels == null) {
return null;
}
List<Sportello> models = new ArrayList<Sportello>(soapModels.length);
for (SportelloSoap soapModel : soapModels) {
models.add(toModel(soapModel));
}
return models;
}
public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get(
"lock.expiration.time.potos.nextmind.model.Sportello"));
public SportelloModelImpl() {
}
@Override
public long getPrimaryKey() {
return _id;
}
@Override
public void setPrimaryKey(long primaryKey) {
setId(primaryKey);
}
@Override
public Serializable getPrimaryKeyObj() {
return _id;
}
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj) {
setPrimaryKey(((Long)primaryKeyObj).longValue());
}
@Override
public Class<?> getModelClass() {
return Sportello.class;
}
@Override
public String getModelClassName() {
return Sportello.class.getName();
}
@Override
public Map<String, Object> getModelAttributes() {
Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put("id", getId());
attributes.put("application", getApplication());
attributes.put("clientId", getClientId());
attributes.put("context", getContext());
attributes.put("instanceId", getInstanceId());
attributes.put("ipaCode", getIpaCode());
attributes.put("proceedingType", getProceedingType());
attributes.put("url", getUrl());
attributes.put("contentType", getContentType());
attributes.put("operation", getOperation());
attributes.put("cadastralCode", getCadastralCode());
attributes.put("digitalHolderTaxCode", getDigitalHolderTaxCode());
attributes.put("stato", getStato());
attributes.put("creationDate", getCreationDate());
attributes.put("lastUpdateDate", getLastUpdateDate());
attributes.put("sentToPortosDate", getSentToPortosDate());
return attributes;
}
@Override
public void setModelAttributes(Map<String, Object> attributes) {
Long id = (Long)attributes.get("id");
if (id != null) {
setId(id);
}
String application = (String)attributes.get("application");
if (application != null) {
setApplication(application);
}
String clientId = (String)attributes.get("clientId");
if (clientId != null) {
setClientId(clientId);
}
String context = (String)attributes.get("context");
if (context != null) {
setContext(context);
}
String instanceId = (String)attributes.get("instanceId");
if (instanceId != null) {
setInstanceId(instanceId);
}
String ipaCode = (String)attributes.get("ipaCode");
if (ipaCode != null) {
setIpaCode(ipaCode);
}
String proceedingType = (String)attributes.get("proceedingType");
if (proceedingType != null) {
setProceedingType(proceedingType);
}
String url = (String)attributes.get("url");
if (url != null) {
setUrl(url);
}
String contentType = (String)attributes.get("contentType");
if (contentType != null) {
setContentType(contentType);
}
String operation = (String)attributes.get("operation");
if (operation != null) {
setOperation(operation);
}
String cadastralCode = (String)attributes.get("cadastralCode");
if (cadastralCode != null) {
setCadastralCode(cadastralCode);
}
String digitalHolderTaxCode = (String)attributes.get(
"digitalHolderTaxCode");
if (digitalHolderTaxCode != null) {
setDigitalHolderTaxCode(digitalHolderTaxCode);
}
Boolean stato = (Boolean)attributes.get("stato");
if (stato != null) {
setStato(stato);
}
Date creationDate = (Date)attributes.get("creationDate");
if (creationDate != null) {
setCreationDate(creationDate);
}
Date lastUpdateDate = (Date)attributes.get("lastUpdateDate");
if (lastUpdateDate != null) {
setLastUpdateDate(lastUpdateDate);
}
Date sentToPortosDate = (Date)attributes.get("sentToPortosDate");
if (sentToPortosDate != null) {
setSentToPortosDate(sentToPortosDate);
}
}
@JSON
@Override
public long getId() {
return _id;
}
@Override
public void setId(long id) {
_id = id;
}
@JSON
@Override
public String getApplication() {
if (_application == null) {
return StringPool.BLANK;
}
else {
return _application;
}
}
@Override
public void setApplication(String application) {
_application = application;
}
@JSON
@Override
public String getClientId() {
if (_clientId == null) {
return StringPool.BLANK;
}
else {
return _clientId;
}
}
@Override
public void setClientId(String clientId) {
_clientId = clientId;
}
@JSON
@Override
public String getContext() {
if (_context == null) {
return StringPool.BLANK;
}
else {
return _context;
}
}
@Override
public void setContext(String context) {
_context = context;
}
@JSON
@Override
public String getInstanceId() {
if (_instanceId == null) {
return StringPool.BLANK;
}
else {
return _instanceId;
}
}
@Override
public void setInstanceId(String instanceId) {
_instanceId = instanceId;
}
@JSON
@Override
public String getIpaCode() {
if (_ipaCode == null) {
return StringPool.BLANK;
}
else {
return _ipaCode;
}
}
@Override
public void setIpaCode(String ipaCode) {
_ipaCode = ipaCode;
}
@JSON
@Override
public String getProceedingType() {
if (_proceedingType == null) {
return StringPool.BLANK;
}
else {
return _proceedingType;
}
}
@Override
public void setProceedingType(String proceedingType) {
_proceedingType = proceedingType;
}
@JSON
@Override
public String getUrl() {
if (_url == null) {
return StringPool.BLANK;
}
else {
return _url;
}
}
@Override
public void setUrl(String url) {
_url = url;
}
@JSON
@Override
public String getContentType() {
if (_contentType == null) {
return StringPool.BLANK;
}
else {
return _contentType;
}
}
@Override
public void setContentType(String contentType) {
_contentType = contentType;
}
@JSON
@Override
public String getOperation() {
if (_operation == null) {
return StringPool.BLANK;
}
else {
return _operation;
}
}
@Override
public void setOperation(String operation) {
_operation = operation;
}
@JSON
@Override
public String getCadastralCode() {
if (_cadastralCode == null) {
return StringPool.BLANK;
}
else {
return _cadastralCode;
}
}
@Override
public void setCadastralCode(String cadastralCode) {
_cadastralCode = cadastralCode;
}
@JSON
@Override
public String getDigitalHolderTaxCode() {
if (_digitalHolderTaxCode == null) {
return StringPool.BLANK;
}
else {
return _digitalHolderTaxCode;
}
}
@Override
public void setDigitalHolderTaxCode(String digitalHolderTaxCode) {
_digitalHolderTaxCode = digitalHolderTaxCode;
}
@JSON
@Override
public boolean getStato() {
return _stato;
}
@Override
public boolean isStato() {
return _stato;
}
@Override
public void setStato(boolean stato) {
_stato = stato;
}
@JSON
@Override
public Date getCreationDate() {
return _creationDate;
}
@Override
public void setCreationDate(Date creationDate) {
_creationDate = creationDate;
}
@JSON
@Override
public Date getLastUpdateDate() {
return _lastUpdateDate;
}
@Override
public void setLastUpdateDate(Date lastUpdateDate) {
_lastUpdateDate = lastUpdateDate;
}
@JSON
@Override
public Date getSentToPortosDate() {
return _sentToPortosDate;
}
@Override
public void setSentToPortosDate(Date sentToPortosDate) {
_sentToPortosDate = sentToPortosDate;
}
@Override
public ExpandoBridge getExpandoBridge() {
return ExpandoBridgeFactoryUtil.getExpandoBridge(0,
Sportello.class.getName(), getPrimaryKey());
}
@Override
public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
ExpandoBridge expandoBridge = getExpandoBridge();
expandoBridge.setAttributes(serviceContext);
}
@Override
public Sportello toEscapedModel() {
if (_escapedModel == null) {
_escapedModel = (Sportello)ProxyUtil.newProxyInstance(_classLoader,
_escapedModelInterfaces, new AutoEscapeBeanHandler(this));
}
return _escapedModel;
}
@Override
public Object clone() {
SportelloImpl sportelloImpl = new SportelloImpl();
sportelloImpl.setId(getId());
sportelloImpl.setApplication(getApplication());
sportelloImpl.setClientId(getClientId());
sportelloImpl.setContext(getContext());
sportelloImpl.setInstanceId(getInstanceId());
sportelloImpl.setIpaCode(getIpaCode());
sportelloImpl.setProceedingType(getProceedingType());
sportelloImpl.setUrl(getUrl());
sportelloImpl.setContentType(getContentType());
sportelloImpl.setOperation(getOperation());
sportelloImpl.setCadastralCode(getCadastralCode());
sportelloImpl.setDigitalHolderTaxCode(getDigitalHolderTaxCode());
sportelloImpl.setStato(getStato());
sportelloImpl.setCreationDate(getCreationDate());
sportelloImpl.setLastUpdateDate(getLastUpdateDate());
sportelloImpl.setSentToPortosDate(getSentToPortosDate());
sportelloImpl.resetOriginalValues();
return sportelloImpl;
}
@Override
public int compareTo(Sportello sportello) {
long primaryKey = sportello.getPrimaryKey();
if (getPrimaryKey() < primaryKey) {
return -1;
}
else if (getPrimaryKey() > primaryKey) {
return 1;
}
else {
return 0;
}
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Sportello)) {
return false;
}
Sportello sportello = (Sportello)obj;
long primaryKey = sportello.getPrimaryKey();
if (getPrimaryKey() == primaryKey) {
return true;
}
else {
return false;
}
}
@Override
public int hashCode() {
return (int)getPrimaryKey();
}
@Override
public void resetOriginalValues() {
}
@Override
public CacheModel<Sportello> toCacheModel() {
SportelloCacheModel sportelloCacheModel = new SportelloCacheModel();
sportelloCacheModel.id = getId();
sportelloCacheModel.application = getApplication();
String application = sportelloCacheModel.application;
if ((application != null) && (application.length() == 0)) {
sportelloCacheModel.application = null;
}
sportelloCacheModel.clientId = getClientId();
String clientId = sportelloCacheModel.clientId;
if ((clientId != null) && (clientId.length() == 0)) {
sportelloCacheModel.clientId = null;
}
sportelloCacheModel.context = getContext();
String context = sportelloCacheModel.context;
if ((context != null) && (context.length() == 0)) {
sportelloCacheModel.context = null;
}
sportelloCacheModel.instanceId = getInstanceId();
String instanceId = sportelloCacheModel.instanceId;
if ((instanceId != null) && (instanceId.length() == 0)) {
sportelloCacheModel.instanceId = null;
}
sportelloCacheModel.ipaCode = getIpaCode();
String ipaCode = sportelloCacheModel.ipaCode;
if ((ipaCode != null) && (ipaCode.length() == 0)) {
sportelloCacheModel.ipaCode = null;
}
sportelloCacheModel.proceedingType = getProceedingType();
String proceedingType = sportelloCacheModel.proceedingType;
if ((proceedingType != null) && (proceedingType.length() == 0)) {
sportelloCacheModel.proceedingType = null;
}
sportelloCacheModel.url = getUrl();
String url = sportelloCacheModel.url;
if ((url != null) && (url.length() == 0)) {
sportelloCacheModel.url = null;
}
sportelloCacheModel.contentType = getContentType();
String contentType = sportelloCacheModel.contentType;
if ((contentType != null) && (contentType.length() == 0)) {
sportelloCacheModel.contentType = null;
}
sportelloCacheModel.operation = getOperation();
String operation = sportelloCacheModel.operation;
if ((operation != null) && (operation.length() == 0)) {
sportelloCacheModel.operation = null;
}
sportelloCacheModel.cadastralCode = getCadastralCode();
String cadastralCode = sportelloCacheModel.cadastralCode;
if ((cadastralCode != null) && (cadastralCode.length() == 0)) {
sportelloCacheModel.cadastralCode = null;
}
sportelloCacheModel.digitalHolderTaxCode = getDigitalHolderTaxCode();
String digitalHolderTaxCode = sportelloCacheModel.digitalHolderTaxCode;
if ((digitalHolderTaxCode != null) &&
(digitalHolderTaxCode.length() == 0)) {
sportelloCacheModel.digitalHolderTaxCode = null;
}
sportelloCacheModel.stato = getStato();
Date creationDate = getCreationDate();
if (creationDate != null) {
sportelloCacheModel.creationDate = creationDate.getTime();
}
else {
sportelloCacheModel.creationDate = Long.MIN_VALUE;
}
Date lastUpdateDate = getLastUpdateDate();
if (lastUpdateDate != null) {
sportelloCacheModel.lastUpdateDate = lastUpdateDate.getTime();
}
else {
sportelloCacheModel.lastUpdateDate = Long.MIN_VALUE;
}
Date sentToPortosDate = getSentToPortosDate();
if (sentToPortosDate != null) {
sportelloCacheModel.sentToPortosDate = sentToPortosDate.getTime();
}
else {
sportelloCacheModel.sentToPortosDate = Long.MIN_VALUE;
}
return sportelloCacheModel;
}
@Override
public String toString() {
StringBundler sb = new StringBundler(33);
sb.append("{id=");
sb.append(getId());
sb.append(", application=");
sb.append(getApplication());
sb.append(", clientId=");
sb.append(getClientId());
sb.append(", context=");
sb.append(getContext());
sb.append(", instanceId=");
sb.append(getInstanceId());
sb.append(", ipaCode=");
sb.append(getIpaCode());
sb.append(", proceedingType=");
sb.append(getProceedingType());
sb.append(", url=");
sb.append(getUrl());
sb.append(", contentType=");
sb.append(getContentType());
sb.append(", operation=");
sb.append(getOperation());
sb.append(", cadastralCode=");
sb.append(getCadastralCode());
sb.append(", digitalHolderTaxCode=");
sb.append(getDigitalHolderTaxCode());
sb.append(", stato=");
sb.append(getStato());
sb.append(", creationDate=");
sb.append(getCreationDate());
sb.append(", lastUpdateDate=");
sb.append(getLastUpdateDate());
sb.append(", sentToPortosDate=");
sb.append(getSentToPortosDate());
sb.append("}");
return sb.toString();
}
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(52);
sb.append("<model><model-name>");
sb.append("potos.nextmind.model.Sportello");
sb.append("</model-name>");
sb.append(
"<column><column-name>id</column-name><column-value><![CDATA[");
sb.append(getId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>application</column-name><column-value><![CDATA[");
sb.append(getApplication());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>clientId</column-name><column-value><![CDATA[");
sb.append(getClientId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>context</column-name><column-value><![CDATA[");
sb.append(getContext());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>instanceId</column-name><column-value><![CDATA[");
sb.append(getInstanceId());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>ipaCode</column-name><column-value><![CDATA[");
sb.append(getIpaCode());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>proceedingType</column-name><column-value><![CDATA[");
sb.append(getProceedingType());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>url</column-name><column-value><![CDATA[");
sb.append(getUrl());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>contentType</column-name><column-value><![CDATA[");
sb.append(getContentType());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>operation</column-name><column-value><![CDATA[");
sb.append(getOperation());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>cadastralCode</column-name><column-value><![CDATA[");
sb.append(getCadastralCode());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>digitalHolderTaxCode</column-name><column-value><![CDATA[");
sb.append(getDigitalHolderTaxCode());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>stato</column-name><column-value><![CDATA[");
sb.append(getStato());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>creationDate</column-name><column-value><![CDATA[");
sb.append(getCreationDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>lastUpdateDate</column-name><column-value><![CDATA[");
sb.append(getLastUpdateDate());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>sentToPortosDate</column-name><column-value><![CDATA[");
sb.append(getSentToPortosDate());
sb.append("]]></column-value></column>");
sb.append("</model>");
return sb.toString();
}
private static ClassLoader _classLoader = Sportello.class.getClassLoader();
private static Class<?>[] _escapedModelInterfaces = new Class[] {
Sportello.class
};
private long _id;
private String _application;
private String _clientId;
private String _context;
private String _instanceId;
private String _ipaCode;
private String _proceedingType;
private String _url;
private String _contentType;
private String _operation;
private String _cadastralCode;
private String _digitalHolderTaxCode;
private boolean _stato;
private Date _creationDate;
private Date _lastUpdateDate;
private Date _sentToPortosDate;
private Sportello _escapedModel;
}

321
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceBaseImpl.java

@ -0,0 +1,321 @@
/**
* 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 potos.nextmind.service.base;
import com.liferay.portal.kernel.bean.BeanReference;
import com.liferay.portal.kernel.bean.IdentifiableBean;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.service.BaseServiceImpl;
import com.liferay.portal.service.persistence.UserPersistence;
import potos.nextmind.model.Sportello;
import potos.nextmind.service.SportelloService;
import potos.nextmind.service.persistence.SportelloHeaderPersistence;
import potos.nextmind.service.persistence.SportelloPersistence;
import javax.sql.DataSource;
/**
* Provides the base implementation for the sportello remote service.
*
* <p>
* This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link potos.nextmind.service.impl.SportelloServiceImpl}.
* </p>
*
* @author ebusu
* @see potos.nextmind.service.impl.SportelloServiceImpl
* @see potos.nextmind.service.SportelloServiceUtil
* @generated
*/
public abstract class SportelloServiceBaseImpl extends BaseServiceImpl
implements SportelloService, IdentifiableBean {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. Always use {@link potos.nextmind.service.SportelloServiceUtil} to access the sportello remote service.
*/
/**
* Returns the sportello remote service.
*
* @return the sportello remote service
*/
public potos.nextmind.service.SportelloService getSportelloService() {
return sportelloService;
}
/**
* Sets the sportello remote service.
*
* @param sportelloService the sportello remote service
*/
public void setSportelloService(
potos.nextmind.service.SportelloService sportelloService) {
this.sportelloService = sportelloService;
}
/**
* Returns the sportello persistence.
*
* @return the sportello persistence
*/
public SportelloPersistence getSportelloPersistence() {
return sportelloPersistence;
}
/**
* Sets the sportello persistence.
*
* @param sportelloPersistence the sportello persistence
*/
public void setSportelloPersistence(
SportelloPersistence sportelloPersistence) {
this.sportelloPersistence = sportelloPersistence;
}
/**
* Returns the sportello header remote service.
*
* @return the sportello header remote service
*/
public potos.nextmind.service.SportelloHeaderService getSportelloHeaderService() {
return sportelloHeaderService;
}
/**
* Sets the sportello header remote service.
*
* @param sportelloHeaderService the sportello header remote service
*/
public void setSportelloHeaderService(
potos.nextmind.service.SportelloHeaderService sportelloHeaderService) {
this.sportelloHeaderService = sportelloHeaderService;
}
/**
* Returns the sportello header persistence.
*
* @return the sportello header persistence
*/
public SportelloHeaderPersistence getSportelloHeaderPersistence() {
return sportelloHeaderPersistence;
}
/**
* Sets the sportello header persistence.
*
* @param sportelloHeaderPersistence the sportello header persistence
*/
public void setSportelloHeaderPersistence(
SportelloHeaderPersistence sportelloHeaderPersistence) {
this.sportelloHeaderPersistence = sportelloHeaderPersistence;
}
/**
* Returns the counter local service.
*
* @return the counter local service
*/
public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
return counterLocalService;
}
/**
* Sets the counter local service.
*
* @param counterLocalService the counter local service
*/
public void setCounterLocalService(
com.liferay.counter.service.CounterLocalService counterLocalService) {
this.counterLocalService = counterLocalService;
}
/**
* Returns the resource local service.
*
* @return the resource local service
*/
public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
return resourceLocalService;
}
/**
* Sets the resource local service.
*
* @param resourceLocalService the resource local service
*/
public void setResourceLocalService(
com.liferay.portal.service.ResourceLocalService resourceLocalService) {
this.resourceLocalService = resourceLocalService;
}
/**
* Returns the user local service.
*
* @return the user local service
*/
public com.liferay.portal.service.UserLocalService getUserLocalService() {
return userLocalService;
}
/**
* Sets the user local service.
*
* @param userLocalService the user local service
*/
public void setUserLocalService(
com.liferay.portal.service.UserLocalService userLocalService) {
this.userLocalService = userLocalService;
}
/**
* Returns the user remote service.
*
* @return the user remote service
*/
public com.liferay.portal.service.UserService getUserService() {
return userService;
}
/**
* Sets the user remote service.
*
* @param userService the user remote service
*/
public void setUserService(
com.liferay.portal.service.UserService userService) {
this.userService = userService;
}
/**
* Returns the user persistence.
*
* @return the user persistence
*/
public UserPersistence getUserPersistence() {
return userPersistence;
}
/**
* Sets the user persistence.
*
* @param userPersistence the user persistence
*/
public void setUserPersistence(UserPersistence userPersistence) {
this.userPersistence = userPersistence;
}
public void afterPropertiesSet() {
Class<?> clazz = getClass();
_classLoader = clazz.getClassLoader();
}
public void destroy() {
}
/**
* Returns the Spring bean ID for this bean.
*
* @return the Spring bean ID for this bean
*/
@Override
public String getBeanIdentifier() {
return _beanIdentifier;
}
/**
* Sets the Spring bean ID for this bean.
*
* @param beanIdentifier the Spring bean ID for this bean
*/
@Override
public void setBeanIdentifier(String beanIdentifier) {
_beanIdentifier = beanIdentifier;
}
@Override
public Object invokeMethod(String name, String[] parameterTypes,
Object[] arguments) throws Throwable {
Thread currentThread = Thread.currentThread();
ClassLoader contextClassLoader = currentThread.getContextClassLoader();
if (contextClassLoader != _classLoader) {
currentThread.setContextClassLoader(_classLoader);
}
try {
return _clpInvoker.invokeMethod(name, parameterTypes, arguments);
}
finally {
if (contextClassLoader != _classLoader) {
currentThread.setContextClassLoader(contextClassLoader);
}
}
}
protected Class<?> getModelClass() {
return Sportello.class;
}
protected String getModelClassName() {
return Sportello.class.getName();
}
/**
* Performs an SQL query.
*
* @param sql the sql query
*/
protected void runSQL(String sql) throws SystemException {
try {
DataSource dataSource = sportelloPersistence.getDataSource();
SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
sql, new int[0]);
sqlUpdate.update();
}
catch (Exception e) {
throw new SystemException(e);
}
}
@BeanReference(type = potos.nextmind.service.SportelloService.class)
protected potos.nextmind.service.SportelloService sportelloService;
@BeanReference(type = SportelloPersistence.class)
protected SportelloPersistence sportelloPersistence;
@BeanReference(type = potos.nextmind.service.SportelloHeaderService.class)
protected potos.nextmind.service.SportelloHeaderService sportelloHeaderService;
@BeanReference(type = SportelloHeaderPersistence.class)
protected SportelloHeaderPersistence sportelloHeaderPersistence;
@BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
protected com.liferay.counter.service.CounterLocalService counterLocalService;
@BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
@BeanReference(type = com.liferay.portal.service.UserLocalService.class)
protected com.liferay.portal.service.UserLocalService userLocalService;
@BeanReference(type = com.liferay.portal.service.UserService.class)
protected com.liferay.portal.service.UserService userService;
@BeanReference(type = UserPersistence.class)
protected UserPersistence userPersistence;
private String _beanIdentifier;
private ClassLoader _classLoader;
private SportelloServiceClpInvoker _clpInvoker = new SportelloServiceClpInvoker();
}

57
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/base/SportelloServiceClpInvoker.java

@ -0,0 +1,57 @@
/**
* 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 potos.nextmind.service.base;
import potos.nextmind.service.SportelloServiceUtil;
import java.util.Arrays;
/**
* @author ebusu
* @generated
*/
public class SportelloServiceClpInvoker {
public SportelloServiceClpInvoker() {
_methodName20 = "getBeanIdentifier";
_methodParameterTypes20 = new String[] { };
_methodName21 = "setBeanIdentifier";
_methodParameterTypes21 = new String[] { "java.lang.String" };
}
public Object invokeMethod(String name, String[] parameterTypes,
Object[] arguments) throws Throwable {
if (_methodName20.equals(name) &&
Arrays.deepEquals(_methodParameterTypes20, parameterTypes)) {
return SportelloServiceUtil.getBeanIdentifier();
}
if (_methodName21.equals(name) &&
Arrays.deepEquals(_methodParameterTypes21, parameterTypes)) {
SportelloServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]);
return null;
}
throw new UnsupportedOperationException();
}
private String _methodName20;
private String[] _methodParameterTypes20;
private String _methodName21;
private String[] _methodParameterTypes21;
}

58
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/http/SportelloServiceSoap.java

@ -0,0 +1,58 @@
/**
* 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 potos.nextmind.service.http;
/**
* Provides the SOAP utility for the
* {@link potos.nextmind.service.SportelloServiceUtil} service utility. The
* static methods of this class calls the same methods of the service utility.
* However, the signatures are different because it is difficult for SOAP to
* support certain types.
*
* <p>
* ServiceBuilder follows certain rules in translating the methods. For example,
* if the method in the service utility returns a {@link java.util.List}, that
* is translated to an array of {@link potos.nextmind.model.SportelloSoap}.
* If the method in the service utility returns a
* {@link potos.nextmind.model.Sportello}, that is translated to a
* {@link potos.nextmind.model.SportelloSoap}. Methods that SOAP cannot
* safely wire are skipped.
* </p>
*
* <p>
* The benefits of using the SOAP utility is that it is cross platform
* compatible. SOAP allows different languages like Java, .NET, C++, PHP, and
* even Perl, to call the generated services. One drawback of SOAP is that it is
* slow because it needs to serialize all calls into a text format (XML).
* </p>
*
* <p>
* You can see a list of services at http://localhost:8080/api/axis. Set the
* property <b>axis.servlet.hosts.allowed</b> in portal.properties to configure
* security.
* </p>
*
* <p>
* The SOAP utility is only generated for remote services.
* </p>
*
* @author ebusu
* @see SportelloServiceHttp
* @see potos.nextmind.model.SportelloSoap
* @see potos.nextmind.service.SportelloServiceUtil
* @generated
*/
public class SportelloServiceSoap {
}

39
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/impl/SportelloServiceImpl.java

@ -0,0 +1,39 @@
/**
* 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 potos.nextmind.service.impl;
import potos.nextmind.service.base.SportelloServiceBaseImpl;
/**
* The implementation of the sportello remote service.
*
* <p>
* All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link potos.nextmind.service.SportelloService} interface.
*
* <p>
* This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
* </p>
*
* @author ebusu
* @see potos.nextmind.service.base.SportelloServiceBaseImpl
* @see potos.nextmind.service.SportelloServiceUtil
*/
public class SportelloServiceImpl extends SportelloServiceBaseImpl {
/*
* NOTE FOR DEVELOPERS:
*
* Never reference this interface directly. Always use {@link potos.nextmind.service.SportelloServiceUtil} to access the sportello remote service.
*/
}

683
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/potos/nextmind/service/persistence/SportelloPersistenceImpl.java

@ -0,0 +1,683 @@
/**
* 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 potos.nextmind.service.persistence;
import com.liferay.portal.kernel.cache.CacheRegistryUtil;
import com.liferay.portal.kernel.dao.orm.EntityCacheUtil;
import com.liferay.portal.kernel.dao.orm.FinderCacheUtil;
import com.liferay.portal.kernel.dao.orm.FinderPath;
import com.liferay.portal.kernel.dao.orm.Query;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.dao.orm.Session;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.util.GetterUtil;
import com.liferay.portal.kernel.util.InstanceFactory;
import com.liferay.portal.kernel.util.OrderByComparator;
import com.liferay.portal.kernel.util.PropsKeys;
import com.liferay.portal.kernel.util.PropsUtil;
import com.liferay.portal.kernel.util.SetUtil;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.util.StringUtil;
import com.liferay.portal.kernel.util.UnmodifiableList;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.model.ModelListener;
import com.liferay.portal.service.persistence.impl.BasePersistenceImpl;
import potos.nextmind.NoSuchSportelloException;
import potos.nextmind.model.Sportello;
import potos.nextmind.model.impl.SportelloImpl;
import potos.nextmind.model.impl.SportelloModelImpl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
/**
* The persistence implementation for the sportello service.
*
* <p>
* Caching information and settings can be found in <code>portal.properties</code>
* </p>
*
* @author ebusu
* @see SportelloPersistence
* @see SportelloUtil
* @generated
*/
public class SportelloPersistenceImpl extends BasePersistenceImpl<Sportello>
implements SportelloPersistence {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. Always use {@link SportelloUtil} to access the sportello persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
*/
public static final String FINDER_CLASS_NAME_ENTITY = SportelloImpl.class.getName();
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY +
".List1";
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY +
".List2";
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloModelImpl.FINDER_CACHE_ENABLED, SportelloImpl.class,
FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]);
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloModelImpl.FINDER_CACHE_ENABLED, SportelloImpl.class,
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]);
public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloModelImpl.FINDER_CACHE_ENABLED, Long.class,
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]);
public SportelloPersistenceImpl() {
setModelClass(Sportello.class);
}
/**
* Caches the sportello in the entity cache if it is enabled.
*
* @param sportello the sportello
*/
@Override
public void cacheResult(Sportello sportello) {
EntityCacheUtil.putResult(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloImpl.class, sportello.getPrimaryKey(), sportello);
sportello.resetOriginalValues();
}
/**
* Caches the sportellos in the entity cache if it is enabled.
*
* @param sportellos the sportellos
*/
@Override
public void cacheResult(List<Sportello> sportellos) {
for (Sportello sportello : sportellos) {
if (EntityCacheUtil.getResult(
SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloImpl.class, sportello.getPrimaryKey()) == null) {
cacheResult(sportello);
}
else {
sportello.resetOriginalValues();
}
}
}
/**
* Clears the cache for all sportellos.
*
* <p>
* The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
* </p>
*/
@Override
public void clearCache() {
if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
CacheRegistryUtil.clear(SportelloImpl.class.getName());
}
EntityCacheUtil.clearCache(SportelloImpl.class.getName());
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
/**
* Clears the cache for the sportello.
*
* <p>
* The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
* </p>
*/
@Override
public void clearCache(Sportello sportello) {
EntityCacheUtil.removeResult(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloImpl.class, sportello.getPrimaryKey());
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
@Override
public void clearCache(List<Sportello> sportellos) {
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
for (Sportello sportello : sportellos) {
EntityCacheUtil.removeResult(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloImpl.class, sportello.getPrimaryKey());
}
}
/**
* Creates a new sportello with the primary key. Does not add the sportello to the database.
*
* @param id the primary key for the new sportello
* @return the new sportello
*/
@Override
public Sportello create(long id) {
Sportello sportello = new SportelloImpl();
sportello.setNew(true);
sportello.setPrimaryKey(id);
return sportello;
}
/**
* Removes the sportello with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param id the primary key of the sportello
* @return the sportello that was removed
* @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public Sportello remove(long id)
throws NoSuchSportelloException, SystemException {
return remove((Serializable)id);
}
/**
* Removes the sportello with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param primaryKey the primary key of the sportello
* @return the sportello that was removed
* @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public Sportello remove(Serializable primaryKey)
throws NoSuchSportelloException, SystemException {
Session session = null;
try {
session = openSession();
Sportello sportello = (Sportello)session.get(SportelloImpl.class,
primaryKey);
if (sportello == null) {
if (_log.isWarnEnabled()) {
_log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
}
throw new NoSuchSportelloException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY +
primaryKey);
}
return remove(sportello);
}
catch (NoSuchSportelloException nsee) {
throw nsee;
}
catch (Exception e) {
throw processException(e);
}
finally {
closeSession(session);
}
}
@Override
protected Sportello removeImpl(Sportello sportello)
throws SystemException {
sportello = toUnwrappedModel(sportello);
Session session = null;
try {
session = openSession();
if (!session.contains(sportello)) {
sportello = (Sportello)session.get(SportelloImpl.class,
sportello.getPrimaryKeyObj());
}
if (sportello != null) {
session.delete(sportello);
}
}
catch (Exception e) {
throw processException(e);
}
finally {
closeSession(session);
}
if (sportello != null) {
clearCache(sportello);
}
return sportello;
}
@Override
public Sportello updateImpl(potos.nextmind.model.Sportello sportello)
throws SystemException {
sportello = toUnwrappedModel(sportello);
boolean isNew = sportello.isNew();
Session session = null;
try {
session = openSession();
if (sportello.isNew()) {
session.save(sportello);
sportello.setNew(false);
}
else {
session.merge(sportello);
}
}
catch (Exception e) {
throw processException(e);
}
finally {
closeSession(session);
}
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
if (isNew) {
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
EntityCacheUtil.putResult(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloImpl.class, sportello.getPrimaryKey(), sportello);
return sportello;
}
protected Sportello toUnwrappedModel(Sportello sportello) {
if (sportello instanceof SportelloImpl) {
return sportello;
}
SportelloImpl sportelloImpl = new SportelloImpl();
sportelloImpl.setNew(sportello.isNew());
sportelloImpl.setPrimaryKey(sportello.getPrimaryKey());
sportelloImpl.setId(sportello.getId());
sportelloImpl.setApplication(sportello.getApplication());
sportelloImpl.setClientId(sportello.getClientId());
sportelloImpl.setContext(sportello.getContext());
sportelloImpl.setInstanceId(sportello.getInstanceId());
sportelloImpl.setIpaCode(sportello.getIpaCode());
sportelloImpl.setProceedingType(sportello.getProceedingType());
sportelloImpl.setUrl(sportello.getUrl());
sportelloImpl.setContentType(sportello.getContentType());
sportelloImpl.setOperation(sportello.getOperation());
sportelloImpl.setCadastralCode(sportello.getCadastralCode());
sportelloImpl.setDigitalHolderTaxCode(sportello.getDigitalHolderTaxCode());
sportelloImpl.setStato(sportello.isStato());
sportelloImpl.setCreationDate(sportello.getCreationDate());
sportelloImpl.setLastUpdateDate(sportello.getLastUpdateDate());
sportelloImpl.setSentToPortosDate(sportello.getSentToPortosDate());
return sportelloImpl;
}
/**
* Returns the sportello with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found.
*
* @param primaryKey the primary key of the sportello
* @return the sportello
* @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public Sportello findByPrimaryKey(Serializable primaryKey)
throws NoSuchSportelloException, SystemException {
Sportello sportello = fetchByPrimaryKey(primaryKey);
if (sportello == null) {
if (_log.isWarnEnabled()) {
_log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
}
throw new NoSuchSportelloException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY +
primaryKey);
}
return sportello;
}
/**
* Returns the sportello with the primary key or throws a {@link potos.nextmind.NoSuchSportelloException} if it could not be found.
*
* @param id the primary key of the sportello
* @return the sportello
* @throws potos.nextmind.NoSuchSportelloException if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public Sportello findByPrimaryKey(long id)
throws NoSuchSportelloException, SystemException {
return findByPrimaryKey((Serializable)id);
}
/**
* Returns the sportello with the primary key or returns <code>null</code> if it could not be found.
*
* @param primaryKey the primary key of the sportello
* @return the sportello, or <code>null</code> if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public Sportello fetchByPrimaryKey(Serializable primaryKey)
throws SystemException {
Sportello sportello = (Sportello)EntityCacheUtil.getResult(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloImpl.class, primaryKey);
if (sportello == _nullSportello) {
return null;
}
if (sportello == null) {
Session session = null;
try {
session = openSession();
sportello = (Sportello)session.get(SportelloImpl.class,
primaryKey);
if (sportello != null) {
cacheResult(sportello);
}
else {
EntityCacheUtil.putResult(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloImpl.class, primaryKey, _nullSportello);
}
}
catch (Exception e) {
EntityCacheUtil.removeResult(SportelloModelImpl.ENTITY_CACHE_ENABLED,
SportelloImpl.class, primaryKey);
throw processException(e);
}
finally {
closeSession(session);
}
}
return sportello;
}
/**
* Returns the sportello with the primary key or returns <code>null</code> if it could not be found.
*
* @param id the primary key of the sportello
* @return the sportello, or <code>null</code> if a sportello with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
@Override
public Sportello fetchByPrimaryKey(long id) throws SystemException {
return fetchByPrimaryKey((Serializable)id);
}
/**
* Returns all the sportellos.
*
* @return the sportellos
* @throws SystemException if a system exception occurred
*/
@Override
public List<Sportello> findAll() throws SystemException {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
}
/**
* Returns a range of all the sportellos.
*
* <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 potos.nextmind.model.impl.SportelloModelImpl}. 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 sportellos
* @param end the upper bound of the range of sportellos (not inclusive)
* @return the range of sportellos
* @throws SystemException if a system exception occurred
*/
@Override
public List<Sportello> findAll(int start, int end)
throws SystemException {
return findAll(start, end, null);
}
/**
* Returns an ordered range of all the sportellos.
*
* <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 potos.nextmind.model.impl.SportelloModelImpl}. 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 sportellos
* @param end the upper bound of the range of sportellos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of sportellos
* @throws SystemException if a system exception occurred
*/
@Override
public List<Sportello> findAll(int start, int end,
OrderByComparator orderByComparator) throws SystemException {
boolean pagination = true;
FinderPath finderPath = null;
Object[] finderArgs = null;
if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) &&
(orderByComparator == null)) {
pagination = false;
finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL;
finderArgs = FINDER_ARGS_EMPTY;
}
else {
finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL;
finderArgs = new Object[] { start, end, orderByComparator };
}
List<Sportello> list = (List<Sportello>)FinderCacheUtil.getResult(finderPath,
finderArgs, this);
if (list == null) {
StringBundler query = null;
String sql = null;
if (orderByComparator != null) {
query = new StringBundler(2 +
(orderByComparator.getOrderByFields().length * 3));
query.append(_SQL_SELECT_SPORTELLO);
appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS,
orderByComparator);
sql = query.toString();
}
else {
sql = _SQL_SELECT_SPORTELLO;
if (pagination) {
sql = sql.concat(SportelloModelImpl.ORDER_BY_JPQL);
}
}
Session session = null;
try {
session = openSession();
Query q = session.createQuery(sql);
if (!pagination) {
list = (List<Sportello>)QueryUtil.list(q, getDialect(),
start, end, false);
Collections.sort(list);
list = new UnmodifiableList<Sportello>(list);
}
else {
list = (List<Sportello>)QueryUtil.list(q, getDialect(),
start, end);
}
cacheResult(list);
FinderCacheUtil.putResult(finderPath, finderArgs, list);
}
catch (Exception e) {
FinderCacheUtil.removeResult(finderPath, finderArgs);
throw processException(e);
}
finally {
closeSession(session);
}
}
return list;
}
/**
* Removes all the sportellos from the database.
*
* @throws SystemException if a system exception occurred
*/
@Override
public void removeAll() throws SystemException {
for (Sportello sportello : findAll()) {
remove(sportello);
}
}
/**
* Returns the number of sportellos.
*
* @return the number of sportellos
* @throws SystemException if a system exception occurred
*/
@Override
public int countAll() throws SystemException {
Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL,
FINDER_ARGS_EMPTY, this);
if (count == null) {
Session session = null;
try {
session = openSession();
Query q = session.createQuery(_SQL_COUNT_SPORTELLO);
count = (Long)q.uniqueResult();
FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL,
FINDER_ARGS_EMPTY, count);
}
catch (Exception e) {
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL,
FINDER_ARGS_EMPTY);
throw processException(e);
}
finally {
closeSession(session);
}
}
return count.intValue();
}
@Override
protected Set<String> getBadColumnNames() {
return _badColumnNames;
}
/**
* Initializes the sportello persistence.
*/
public void afterPropertiesSet() {
String[] listenerClassNames = StringUtil.split(GetterUtil.getString(
com.liferay.util.service.ServiceProps.get(
"value.object.listener.potos.nextmind.model.Sportello")));
if (listenerClassNames.length > 0) {
try {
List<ModelListener<Sportello>> listenersList = new ArrayList<ModelListener<Sportello>>();
for (String listenerClassName : listenerClassNames) {
listenersList.add((ModelListener<Sportello>)InstanceFactory.newInstance(
getClassLoader(), listenerClassName));
}
listeners = listenersList.toArray(new ModelListener[listenersList.size()]);
}
catch (Exception e) {
_log.error(e);
}
}
}
public void destroy() {
EntityCacheUtil.removeCache(SportelloImpl.class.getName());
FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY);
FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
private static final String _SQL_SELECT_SPORTELLO = "SELECT sportello FROM Sportello sportello";
private static final String _SQL_COUNT_SPORTELLO = "SELECT COUNT(sportello) FROM Sportello sportello";
private static final String _ORDER_BY_ENTITY_ALIAS = "sportello.";
private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No Sportello exists with the primary key ";
private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get(
PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE));
private static Log _log = LogFactoryUtil.getLog(SportelloPersistenceImpl.class);
private static Set<String> _badColumnNames = SetUtil.fromArray(new String[] {
"clientId", "instanceId", "ipaCode", "proceedingType",
"contentType", "cadastralCode", "digitalHolderTaxCode",
"creationDate", "lastUpdateDate", "sentToPortosDate"
});
private static Sportello _nullSportello = new SportelloImpl() {
@Override
public Object clone() {
return this;
}
@Override
public CacheModel<Sportello> toCacheModel() {
return _nullSportelloCacheModel;
}
};
private static CacheModel<Sportello> _nullSportelloCacheModel = new CacheModel<Sportello>() {
@Override
public Sportello toEntityModel() {
return _nullSportello;
}
};
}

37
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/pratica/PraticaPortlet.java

@ -0,0 +1,37 @@
package pratica;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.util.DateFormatFactoryUtil;
import com.liferay.portal.kernel.util.ParamUtil;
import com.liferay.util.bridges.mvc.MVCPortlet;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import javax.portlet.PortletException;
import javax.portlet.ResourceRequest;
import javax.portlet.ResourceResponse;
/**
* Portlet implementation class PraticaPortlet
*/
public class PraticaPortlet extends MVCPortlet {
public void serveResource(ResourceRequest req, ResourceResponse rep) throws IOException, PortletException {
req.getResourceID();
/*Date dataInizioLavori = ParamUtil.getDate(req, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
Date dataFineLavori = ParamUtil.getDate(req, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
Locale loc = req.getLocale();
LanguageUtil.get(loc, "tipo_procedura");
LanguageUtil.get(loc, "stato_pratica");
LanguageUtil.get(loc, "numero_pratiche");
DateFormat formatter = new SimpleDateFormat("yyyyMMdd");
formatter.format(dataInizioLavori);
formatter.format(dataFineLavori);
*/
super.serveResource(req, rep);
}
}

2568
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/aui.tld

File diff soppresso perché troppo grande Load Diff

538
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld

@ -0,0 +1,538 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>liferay-portlet</short-name>
<uri>http://liferay.com/tld/portlet</uri>
<!--
liferay-portlet:actionURL is similar to portlet:actionURL except it has the
additional attributes plid, portletName, anchor, and encrypt.
Set varImpl to set the PortletURL object. This gives you an object reference
to the underlying URL implementation.
Set plid to the plid of another layout. This allows you to post the URL to
another layout.
Set portletName to the name of a portlet other than the current portlet.
This allows you to post the URL to another portlet.
Set anchor to false if you do not want the page to refresh and anchor to the
current portlet.
Set encrypt to true if you want to encrypt all the parameter values.
Set doAsUserId to process this URL as if it is accessed by the specified
user.
Set portletConfiguration to true if you want to pass the parameters needed
when you are accessing a portlet that is wrapped by the Portlet
Configuration portlet.
-->
<tag>
<name>actionURL</name>
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>allowEmptyParam</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encrypt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>plid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletConfiguration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererPlid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>varImpl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>icon-back</name>
<tag-class>com.liferay.taglib.portletext.IconBackTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-close</name>
<tag-class>com.liferay.taglib.portletext.IconCloseTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-configuration</name>
<tag-class>com.liferay.taglib.portletext.IconConfigurationTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-edit</name>
<tag-class>com.liferay.taglib.portletext.IconEditTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-edit-defaults</name>
<tag-class>com.liferay.taglib.portletext.IconEditDefaultsTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-edit-guest</name>
<tag-class>com.liferay.taglib.portletext.IconEditGuestTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-export-import</name>
<tag-class>com.liferay.taglib.portletext.IconExportImportTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-help</name>
<tag-class>com.liferay.taglib.portletext.IconHelpTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-maximize</name>
<tag-class>com.liferay.taglib.portletext.IconMaximizeTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-minimize</name>
<tag-class>com.liferay.taglib.portletext.IconMinimizeTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-options</name>
<tag-class>com.liferay.taglib.portletext.IconOptionsTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-portlet</name>
<tag-class>com.liferay.taglib.portletext.IconPortletTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>ariaRole</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>label</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portlet</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>icon-portlet-css</name>
<tag-class>com.liferay.taglib.portletext.IconPortletCssTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-print</name>
<tag-class>com.liferay.taglib.portletext.IconPrintTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>icon-refresh</name>
<tag-class>com.liferay.taglib.portletext.IconRefreshTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>preview</name>
<tag-class>com.liferay.taglib.portletext.PreviewTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>portletName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>queryString</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>showBorders</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>width</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<!--
liferay-portlet:renderURL is similar to portlet:renderURL except it has the
additional attributes plid, portletName, anchor, and encrypt.
Set varImpl to set the PortletURL object. This gives you an object reference
to the underlying URL implementation.
Set plid to the plid of another layout. This allows you to post the URL to
another layout.
Set portletName to the name of a portlet other than the current portlet.
This allows you to post the URL to another portlet.
Set anchor to false if you do not want the page to refresh and anchor to the
current portlet.
Set encrypt to true if you want to encrypt all the parameter values.
Set doAsUserId to process this URL as if it is accessed by the specified
user.
Set portletConfiguration to true if you want to pass the parameters needed
when you are accessing a portlet that is wrapped by the Portlet
Configuration portlet.
-->
<tag>
<name>renderURL</name>
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>allowEmptyParam</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encrypt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>plid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletConfiguration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererPlid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>varImpl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>renderURLParams</name>
<tag-class>com.liferay.taglib.portlet.RenderURLParamsTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>varImpl</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<!--
liferay-portlet:resourceURL is similar to portlet:resourceURL except it has
the additional attributes plid, portletName, anchor, and encrypt.
Set varImpl to set the PortletURL object. This gives you an object reference
to the underlying URL implementation.
Set plid to the plid of another layout. This allows you to post the URL to
another layout.
Set portletName to the name of a portlet other than the current portlet.
This allows you to post the URL to another portlet.
Set anchor to false if you do not want the page to refresh and anchor to the
current portlet.
Set encrypt to true if you want to encrypt all the parameter values.
Set doAsUserId to process this URL as if it is accessed by the specified
user.
Set portletConfiguration to true if you want to pass the parameters needed
when you are accessing a portlet that is wrapped by the Portlet
Configuration portlet.
-->
<tag>
<name>resourceURL</name>
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>anchor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>encrypt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>plid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletConfiguration</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>refererPlid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>varImpl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>runtime</name>
<tag-class>com.liferay.taglib.portletext.RuntimeTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>defaultPreferences</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>queryString</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

158
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-portlet.tld

@ -0,0 +1,158 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>portlet</short-name>
<uri>http://java.sun.com/portlet</uri>
<tag>
<name>actionURL</name>
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>defineObjects</name>
<tag-class>com.liferay.taglib.portlet.DefineObjectsTag</tag-class>
<tei-class>com.liferay.taglib.portlet.DefineObjectsTei</tei-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>namespace</name>
<tag-class>com.liferay.taglib.portlet.NamespaceTag</tag-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>property</name>
<tag-class>com.liferay.taglib.util.PropertyTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>renderURL</name>
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>copyCurrentRenderParameters</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletMode</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>resourceURL</name>
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class>
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>cacheability</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>secure</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

106
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-security.tld

@ -0,0 +1,106 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>liferay-security</short-name>
<uri>http://liferay.com/tld/security</uri>
<tag>
<name>doAsURL</name>
<tag-class>com.liferay.taglib.security.DoAsURLTag</tag-class>
<tei-class>com.liferay.taglib.security.DoAsURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>doAsUserId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>encrypt</name>
<tag-class>com.liferay.taglib.security.EncryptTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>className</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>protocol</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>target</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>unencryptedParams</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>permissionsURL</name>
<tag-class>com.liferay.taglib.security.PermissionsURLTag</tag-class>
<tei-class>com.liferay.taglib.security.PermissionsURLTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>modelResource</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>modelResourceDescription</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>redirect</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>resourceGroupId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>resourcePrimKey</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>roleTypes</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>windowState</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

65
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-theme.tld

@ -0,0 +1,65 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>theme</short-name>
<uri>http://liferay.com/tld/theme</uri>
<tag>
<name>defineObjects</name>
<tag-class>com.liferay.taglib.theme.DefineObjectsTag</tag-class>
<tei-class>com.liferay.taglib.theme.DefineObjectsTei</tei-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>include</name>
<tag-class>com.liferay.taglib.theme.IncludeTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>page</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>layout-icon</name>
<tag-class>com.liferay.taglib.theme.LayoutIconTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>layout</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>meta-tags</name>
<tag-class>com.liferay.taglib.theme.MetaTagsTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>wrap-portlet</name>
<tag-class>com.liferay.taglib.theme.WrapPortletTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>page</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

4696
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-ui.tld

File diff soppresso perché troppo grande Load Diff

141
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/tld/liferay-util.tld

@ -0,0 +1,141 @@
<?xml version="1.0"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.2</tlib-version>
<jsp-version>1.1</jsp-version>
<short-name>liferay-util</short-name>
<uri>http://liferay.com/tld/util</uri>
<tag>
<name>body-bottom</name>
<tag-class>com.liferay.taglib.util.BodyBottomTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>body-top</name>
<tag-class>com.liferay.taglib.util.BodyTopTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>buffer</name>
<tag-class>com.liferay.taglib.util.BufferTag</tag-class>
<tei-class>com.liferay.taglib.util.BufferTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>get-url</name>
<tag-class>com.liferay.taglib.util.GetUrlTag</tag-class>
<tei-class>com.liferay.taglib.util.GetUrlTei</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>expires</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>html-bottom</name>
<tag-class>com.liferay.taglib.util.HtmlBottomTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>position</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>html-top</name>
<tag-class>com.liferay.taglib.util.HtmlTopTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>outputKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>position</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>include</name>
<tag-class>com.liferay.taglib.util.IncludeTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>page</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>portletId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>servletContext</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>strict</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>useCustomPage</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>param</name>
<tag-class>com.liferay.taglib.util.ParamTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>whitespace-remover</name>
<tag-class>com.liferay.taglib.util.WhitespaceRemoverTag</tag-class>
<body-content>JSP</body-content>
</tag>
</taglib>

3
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/web.xml

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
</web-app>

0
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/css/main.css

20
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/init.jsp

@ -0,0 +1,20 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="java.text.Format"%>
<%@page import="com.liferay.portal.kernel.util.FastDateFormatFactoryUtil"%>
<%@page import="com.liferay.portal.kernel.util.TimeZoneUtil"%>
<%@page import="com.liferay.portal.kernel.util.LocaleUtil"%>
<%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %>
<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
<liferay-theme:defineObjects />
<portlet:defineObjects />

7
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/html/pratica/view.jsp

@ -0,0 +1,7 @@
<%@ include file="/html/init.jsp"%>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<portlet:defineObjects />
This is the <b>Pratica</b> portlet in View mode.

BIN
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/icon.png

File binario non mostrato.

Dopo

Larghezza:  |  Altezza:  |  Dimensione: 467 B

0
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/js/main.js

22
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/view.jsp

@ -0,0 +1,22 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
/**
* 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.
*/
%>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<portlet:defineObjects />
This is the <b>Schedulatore Portos Pratiche</b> portlet.

18
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml

@ -0,0 +1,18 @@
<?xml version="1.0"?>
<ivy-module
version="2.0"
xmlns:m2="http://ant.apache.org/ivy/maven"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"
>
<info module="schedulatore-portos-pratiche-portlet" organisation="com.liferay">
<extends extendType="configurations,description,info" location="${sdk.dir}/ivy.xml" module="com.liferay.sdk" organisation="com.liferay" revision="latest.integration" />
</info>
<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" />
</dependencies>
</ivy-module>

1
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/ivy.xml.MD5

@ -0,0 +1 @@
688a2ba771c5683c50abed4ca832bd42

15
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/test/integration/arquillian.xml

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<arquillian
xmlns="http://jboss.org/schema/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd"
>
<container default="true" qualifier="tomcat">
<configuration>
<property name="jmxPort">8099</property>
<property name="pass">tomcat</property>
<property name="user">tomcat</property>
</configuration>
</container>
</arquillian>
Caricamento…
Annulla
Salva