Sfoglia il codice sorgente

commenti tag e plugin nuovo

develop
E-A 2 anni fa
parent
commit
f5998d0724
  1. 1
      .gitignore
  2. 0
      liferay-plugins-sdk-6.2/.scannerwork/.sonar_lock
  3. 6
      liferay-plugins-sdk-6.2/.scannerwork/report-task.txt
  4. BIN
      liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar
  5. BIN
      liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar
  6. BIN
      liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar
  7. BIN
      liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar
  8. BIN
      liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar
  9. 11
      liferay-plugins-sdk-6.2/hooks/hms-taglib-hook/.project
  10. 11
      liferay-plugins-sdk-6.2/hooks/portos-p7m-preview-hook/.project
  11. 11
      liferay-plugins-sdk-6.2/layouttpl/bootstrapt_1_column-layouttpl/.project
  12. 11
      liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/.project
  13. 22
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.classpath
  14. 47
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.project
  15. 12
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/.jsdtscope
  16. 7
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.jdt.core.prefs
  17. 3
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.jst.jsp.core.prefs
  18. 11
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.common.component
  19. 7
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
  20. 11
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml
  21. 1
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container
  22. 1
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name
  23. 1
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.tern-project
  24. 6
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/build.xml
  25. 3
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/META-INF/MANIFEST.MF
  26. 1
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/.gitignore
  27. BIN
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  28. 10
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/liferay-display.xml
  29. 18
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/liferay-plugin-package.properties
  30. 32
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/liferay-portlet.xml
  31. 35
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/portlet.xml
  32. 142
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/portlet/AdvancedOperationPortlet.java
  33. 121
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java
  34. 2568
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/tld/aui.tld
  35. 538
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld
  36. 158
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/tld/liferay-portlet.tld
  37. 106
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/tld/liferay-security.tld
  38. 65
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/tld/liferay-theme.tld
  39. 4696
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/tld/liferay-ui.tld
  40. 141
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/tld/liferay-util.tld
  41. 3
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/web.xml
  42. 0
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/css/main.css
  43. 15
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/html/init.jsp
  44. 337
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/html/view.jsp
  45. BIN
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/icon.png
  46. 0
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/js/main.js
  47. 18
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/ivy.xml
  48. 1
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/ivy.xml.MD5
  49. 15
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/test/integration/arquillian.xml
  50. BIN
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/checksums/checksums.lock
  51. BIN
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock
  52. 0
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/dependencies-accessors/gc.properties
  53. BIN
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/executionHistory/executionHistory.lock
  54. BIN
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/fileChanges/last-build.bin
  55. BIN
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/fileHashes/fileHashes.lock
  56. 0
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/gc.properties
  57. BIN
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/buildOutputCleanup/buildOutputCleanup.lock
  58. 2
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/buildOutputCleanup/cache.properties
  59. 0
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/vcs-1/gc.properties
  60. 17
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.project
  61. 13
      liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.settings/org.eclipse.buildship.core.prefs
  62. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml
  63. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project
  64. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar
  65. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  66. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar
  67. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
  68. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  69. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java
  70. 11
      liferay-plugins-sdk-6.2/portlets/portos-calendar-appointments-portlet/.project
  71. 11
      liferay-plugins-sdk-6.2/portlets/portos-company-configuration-portlet/.project
  72. 11
      liferay-plugins-sdk-6.2/portlets/portos-comunicazioni-portlet/.project
  73. 11
      liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/.project
  74. 11
      liferay-plugins-sdk-6.2/portlets/portos-deploy-alert-portlet/.project
  75. 11
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.project
  76. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  77. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
  78. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  79. 106
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/fascicolo_action.jsp
  80. 6
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp
  81. 19
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view.jsp
  82. 4
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view_finelavori_columns.jsp
  83. 4
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/soggettipratica/view.jsp
  84. 147
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/soggettipratica/view_valida_fino.jsp
  85. 11
      liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/.project
  86. 11
      liferay-plugins-sdk-6.2/portlets/portos-jbpm-log-task-portlet/.project
  87. 11
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/.project
  88. 11
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/.project
  89. 11
      liferay-plugins-sdk-6.2/portlets/portos-log-portlet/.project
  90. 11
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/.project
  91. 11
      liferay-plugins-sdk-6.2/portlets/portos-maintenance-portlet/.project
  92. 11
      liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.project
  93. 11
      liferay-plugins-sdk-6.2/portlets/portos-notification-portlet/.project
  94. 11
      liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/.project
  95. 11
      liferay-plugins-sdk-6.2/portlets/portos-report-portlet/.project
  96. 11
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/.project
  97. 11
      liferay-plugins-sdk-6.2/shared/portos-audit-shared/.project
  98. 4
      liferay-plugins-sdk-6.2/shared/portos-bo-shared/.project
  99. 11
      liferay-plugins-sdk-6.2/shared/portos-firma-shared/.project
  100. 11
      liferay-plugins-sdk-6.2/shared/portos-kaleo-shared/.project
  101. Some files were not shown because too many files have changed in this diff Show More

1
.gitignore vendored

@ -8,3 +8,4 @@
**/build/ **/build/
.DS_Store .DS_Store
._* ._*
liferay-plugins-sdk-6.2/sonar-scanner-4.8.0.2856-windows/

0
liferay-plugins-sdk-6.2/.scannerwork/.sonar_lock

6
liferay-plugins-sdk-6.2/.scannerwork/report-task.txt

@ -0,0 +1,6 @@
projectKey=Sicilia-Paesaggistica
serverUrl=http://sonar.nextmind.it
serverVersion=9.4.0.54424
dashboardUrl=http://sonar.nextmind.it/dashboard?id=Sicilia-Paesaggistica
ceTaskId=AYZej0Tqqvn_43R2i7P6
ceTaskUrl=http://sonar.nextmind.it/api/ce/task?id=AYZej0Tqqvn_43R2i7P6

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

11
liferay-plugins-sdk-6.2/hooks/hms-taglib-hook/.project

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

11
liferay-plugins-sdk-6.2/hooks/portos-p7m-preview-hook/.project

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

11
liferay-plugins-sdk-6.2/layouttpl/bootstrapt_1_column-layouttpl/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-accesso-atti-portlet/.project

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

22
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.classpath

@ -0,0 +1,22 @@
<?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="output" path="docroot/WEB-INF/classes"/>
</classpath>

47
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.project

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>portos-advanced-operation-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.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
<filteredResources>
<filter>
<id>1677484993608</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>

12
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/.jsdtscope

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="docroot"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>

7
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.jdt.core.prefs

@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7

3
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.jst.jsp.core.prefs

@ -0,0 +1,3 @@
eclipse.preferences.version=1
validateFragments=false
validation.use-project-settings=true

11
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.common.component

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="portos-advanced-operation-portlet">
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/>
<dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="portos-advanced-operation-portlet"/>
<property name="java-output-path" value="/portos-advanced-operation-portlet/docroot/WEB-INF/classes"/>
</wb-module>
</project-modules>

7
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml

@ -0,0 +1,7 @@
<root>
<facet id="liferay.portlet">
<node name="libprov">
<attribute name="provider-id" value="com.liferay.ide.eclipse.plugin.portlet.libraryProvider"/>
</node>
</facet>
</root>

11
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Liferay v6.2 CE (Tomcat 7)"/>
<fixed facet="java"/>
<fixed facet="jst.web"/>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.7"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="liferay.portlet" version="6.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>

1
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container

@ -0,0 +1 @@
org.eclipse.wst.jsdt.launching.baseBrowserLibrary

1
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name

@ -0,0 +1 @@
Window

1
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/.tern-project

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

6
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/build.xml

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

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

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

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

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

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

File binario non mostrato.

10
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/liferay-display.xml

@ -0,0 +1,10 @@
<?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.portos">
<category name="category.advancedoperation">
<portlet id="1" />
</category>
</category>
</display>

18
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/liferay-plugin-package.properties

@ -0,0 +1,18 @@
name=Portos Advanced Operation
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
portal-dependency-tlds=\
c.tld
required-deployment-contexts=\
portos-bo-portlet

32
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/liferay-portlet.xml

@ -0,0 +1,32 @@
<?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>1</portlet-name>
<icon>/icon.png</icon>
<control-panel-entry-category>
configuration
</control-panel-entry-category>
<control-panel-entry-weight>1.6</control-panel-entry-weight>
<header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
<css-class-wrapper>portos-advanced-operation-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>

35
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/portlet.xml

@ -0,0 +1,35 @@
<?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>1</portlet-name>
<display-name>Portos Advanced Operation</display-name>
<portlet-class>it.nextmind.liferay.portos.advanced.operation.portlet.AdvancedOperationPortlet</portlet-class>
<init-param>
<name>view-template</name>
<value>/html/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>Portos Advanced Operation</title>
<short-title>Portos Advanced Operation</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>

142
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/portlet/AdvancedOperationPortlet.java

@ -0,0 +1,142 @@
package it.nextmind.liferay.portos.advanced.operation.portlet;
import com.liferay.portal.kernel.exception.PortalException;
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.servlet.SessionErrors;
import com.liferay.portal.kernel.util.ParamUtil;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.kernel.util.WebKeys;
import com.liferay.portal.kernel.workflow.WorkflowConstants;
import com.liferay.portal.service.UserLocalServiceUtil;
import com.liferay.portal.theme.ThemeDisplay;
import com.liferay.portal.util.PortalUtil;
import com.liferay.util.bridges.mvc.MVCPortlet;
import java.util.Date;
import java.util.List;
import it.nextmind.liferay.portos.advanced.operation.util.AdvancedOperationUtil;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
public class AdvancedOperationPortlet extends MVCPortlet {
private static final Log _log = LogFactoryUtil.getLog(AdvancedOperationPortlet.class);
public void fixNormLavoriInProprio(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{
_checkIfUserIsCompanyAdmin(actionRequest);
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L);
boolean normLavoriInProprioFlag = ParamUtil.getBoolean(actionRequest, "normLavoriInProprioFlag");
List<DettPratica> dettPraticaList = DettPraticaLocalServiceUtil.findByIntPraticaId(intPraticaId);
for(DettPratica dettPratica : dettPraticaList){
if(dettPratica.getNormLavoriInProprio() == normLavoriInProprioFlag){
dettPratica.setNormLavoriInProprio(!normLavoriInProprioFlag);
dettPratica.setModifiedDate(new Date());
DettPraticaLocalServiceUtil.updateDettPratica(dettPratica);
}
}
}
public void fixStatusPratica(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{
_checkIfUserIsCompanyAdmin(actionRequest);
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L);
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
if(WorkflowConstants.STATUS_DRAFT == intPratica.getStatus()){
IntPraticaLocalServiceUtil.updateStatus(intPraticaId, WorkflowConstants.STATUS_PENDING);
} else {
SessionErrors.add(actionRequest, "operazione-impossibile");
}
}
public void ripristinaPraticaVidimata(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{
_checkIfUserIsCompanyAdmin(actionRequest);
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L);
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
if(WorkflowConstants.STATUS_INCOMPLETE == intPratica.getStatus()){
_ripristinaPratica(intPratica, WorkflowConstants.STATUS_DRAFT);
} else {
SessionErrors.add(actionRequest, "operazione-impossibile");
throw new Exception("This Pratica is not in status=5, action RIPRISTINA is not available");
}
}
public void ripristinaPraticaConforme(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{
_checkIfUserIsCompanyAdmin(actionRequest);
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L);
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
if(WorkflowConstants.STATUS_INCOMPLETE == intPratica.getStatus()){
_ripristinaPratica(intPratica, WorkflowConstants.STATUS_APPROVED);
} else {
SessionErrors.add(actionRequest, "operazione-impossibile");
throw new Exception("This Pratica is not in status=5, action RIPRISTINA is not available");
}
}
public void deleteDocPratica(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{
_checkIfUserIsCompanyAdmin(actionRequest);
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L);
List<DocPratica> docPraticaOrfani = AdvancedOperationUtil.getDocPraticaOrfani(intPraticaId);
for(DocPratica docPratica : docPraticaOrfani){
DocPraticaLocalServiceUtil.deleteDocPratica(docPratica);
}
}
public void findIntPratica(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception{
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId", -1L);
String numeroProgetto = ParamUtil.getString(actionRequest, "numeroProgetto", "");
IntPratica intPratica = null;
if(intPraticaId != -1L){
intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
} else {
intPratica = IntPraticaLocalServiceUtil.findByNumeroProgetto(numeroProgetto);
}
if(Validator.isNotNull(intPratica)){
actionResponse.setRenderParameter("intPraticaId", String.valueOf(intPratica.getIntPraticaId()));
} else {
SessionErrors.add(actionRequest, "nessuna-pratica-trovata");
PortalUtil.copyRequestParameters(actionRequest, actionResponse);
}
}
private void _checkIfUserIsCompanyAdmin(ActionRequest actionRequest) throws Exception{
ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY);
if(!PortalUtil.isCompanyAdmin(themeDisplay.getUser())){
SessionErrors.add(actionRequest, "operazione-non-permessa");
throw new Exception("Action permitted to CompanyAdmins only");
}
}
private void _ripristinaPratica(IntPratica intPratica, int status) throws PortalException, SystemException{
long docPraticaAnnullamentoId = intPratica.getDocPraticaAnnullamentoId();
IntPraticaLocalServiceUtil.deleteFileAnnullamento(docPraticaAnnullamentoId);
IntPraticaLocalServiceUtil.updateStatus(intPratica.getIntPraticaId(), status);
}
}

121
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java

@ -0,0 +1,121 @@
package it.nextmind.liferay.portos.advanced.operation.util;
import com.liferay.portal.kernel.exception.PortalException;
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.Validator;
import com.liferay.portal.kernel.workflow.WorkflowConstants;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.DocPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import java.util.ArrayList;
import java.util.List;
public class AdvancedOperationUtil {
private static boolean e(Exception ex) {
return !nl(ex);
}
private static boolean nl(Object o) {
return Validator.isNull(o);
}
private static
TupleIntPratica fetchIntPratica(long intPraticaId) {
IntPratica ip = null;
Exception ex = null;
try {
ip = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
} catch (Exception e) {
ex = e;
}
if (e(ex)) handleIntPraticaErr(ex);
return new TupleIntPratica(ip, ex);
}
private static void handleIntPraticaErr(Exception ex) {
_log.error(ex,ex);
}
private static
TupleDocPraticaList findByIntPraticaList(long intPraticaId) {
List<DocPratica> dpl = new ArrayList<DocPratica>();
Exception ex = null;
try {
dpl = DocPraticaLocalServiceUtil.findByIntPratica(intPraticaId);
} catch (Exception e) {
ex = e;
}
if (e(ex)) handleDocPraticaListErr(ex);
return new TupleDocPraticaList(dpl, ex);
}
private static void handleDocPraticaListErr(Exception ex) {
_log.error(ex,ex);
}
static class TupleIntPratica {
IntPratica rs; Exception er;
TupleIntPratica(IntPratica ip, Exception ex) {rs=ip;er=ex;}
}
static class TupleDocPraticaList {
List<DocPratica> rs; Exception er;
TupleDocPraticaList(List<DocPratica> dpl, Exception ex) {rs=dpl;er=ex;}
}
public static boolean isPraticaAnnullata(IntPratica intPratica){
if(Validator.isNotNull(intPratica)){
return WorkflowConstants.STATUS_INACTIVE == intPratica.getStatus();
}
return false;
}
public static List<DocPratica> getDocPraticaOrfani(long intPraticaId) {
TupleIntPratica intPratica = fetchIntPratica(intPraticaId);
if (nl(intPratica.er))
if (nl(intPratica.rs)) {
TupleDocPraticaList docPraticaList = findByIntPraticaList(intPraticaId);
if (nl(docPraticaList.er))
return docPraticaList.rs;
}
return new ArrayList<DocPratica>();
}
public static boolean hasDettPratica(long intPraticaId){
return !_getDettPraticaList(intPraticaId).isEmpty();
}
public static boolean getNormLavoriInProprioFlag(long intPraticaId){
List<DettPratica> dettPraticaList = _getDettPraticaList(intPraticaId);
if(!dettPraticaList.isEmpty()){
return dettPraticaList.get(0).getNormLavoriInProprio();
}
return false;
}
public static String getLavoriInEconomiaBtnLabel(boolean normLavoriInProprioFlag){
return normLavoriInProprioFlag ? "Rimuovi flag normLavoriInProprio" : "Aggiungi flag normLavoriInProprio";
}
public static boolean isStatoPraticaIN(IntPratica intPratica){
if(Validator.isNotNull(intPratica)){
return "IN".equals(intPratica.getStatoPratica());
}
return false;
}
private static List<DettPratica> _getDettPraticaList(long intPraticaId){
List<DettPratica> dettPraticaList = new ArrayList<DettPratica>();
try {
dettPraticaList = DettPraticaLocalServiceUtil.findByIntPraticaId(intPraticaId);
} catch (SystemException e) {
_log.error(e,e);
}
return dettPraticaList;
}
private static final Log _log = LogFactoryUtil.getLog(AdvancedOperationUtil.class);
}

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

File diff soppresso perché troppo grande Load Diff

538
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-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/portos-advanced-operation-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/portos-advanced-operation-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/portos-advanced-operation-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/portos-advanced-operation-portlet/docroot/WEB-INF/tld/liferay-ui.tld

File diff soppresso perché troppo grande Load Diff

141
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-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/portos-advanced-operation-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/portos-advanced-operation-portlet/docroot/css/main.css

15
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/html/init.jsp

@ -0,0 +1,15 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@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 />

337
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/html/view.jsp

@ -0,0 +1,337 @@
<%@page import="com.liferay.portal.kernel.util.DateFormatFactoryUtil"%>
<%@page import="java.util.Date"%>
<%@page import="com.liferay.portal.util.PortalUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.DocPratica"%>
<%@page import="java.util.List"%>
<%@page import="it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil"%>
<%@page import="com.liferay.portal.kernel.util.StringPool"%>
<%@page import="it.nextmind.liferay.portos.advanced.operation.util.AdvancedOperationUtil"%>
<%@page import="com.liferay.portal.kernel.workflow.WorkflowHandlerUtil"%>
<%@page import="com.liferay.portal.kernel.util.Validator"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%>
<%@ include file="/html/init.jsp"%>
<%
long intPraticaId = ParamUtil.getLong(request, "intPraticaId");
String numeroProgetto = ParamUtil.getString(request, "numeroProgetto", StringPool.BLANK);
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId);
%>
<liferay-portlet:actionURL
name="findIntPratica"
var="findIntPraticaURL" >
<liferay-portlet:param name="mvcPath" value="/html/view.jsp"/>
</liferay-portlet:actionURL>
<aui:container id="adv-operation-portlet">
<h1>Problemi pratica</h1>
<aui:row>
<liferay-ui:error key="nessuna-pratica-trovata" message="Nessuna pratica trovata" />
<liferay-ui:error key="operazione-impossibile" message="Impossibile eseguire questa azione su questa Pratica" />
<liferay-ui:error key="operazione-non-permessa" message="Non ha i permessi per effettuare questa operazione" />
<liferay-ui:error key="operazione-non-riuscita" message="Errore imprevisto durante l'operazione" />
</aui:row>
<h1>Gestisci pratica</h1>
<aui:row style="margin-top: 10px">
<aui:col span="12">
<aui:row style="font-weight: bold; font-size: 18px; margin-bottom: 10px;">
Form per trovare una pratica
</aui:row>
<aui:form action="<%= findIntPraticaURL %>" method="post" name="fmFindIntPratica">
<aui:row style="font-weight: bold; font-size: 18px; margin-bottom: 10px;">
<aui:col span="3">
<aui:input name="intPraticaId" label="IntPraticaId:" inlineLabel="left">
<aui:validator name="number" />
</aui:input>
</aui:col>
<aui:col span="3">
<aui:input name="numeroProgetto" label="Numero progetto:" inlineLabel="left">
<aui:validator name="number" />
</aui:input>
</aui:col>
<aui:col span="2">
<aui:button
name="trovaPraticaBtn"
type="submit"
value="Trova Pratica" />
</aui:col>
</aui:row>
</aui:form>
</aui:col>
</aui:row>
<% if(Validator.isNotNull(intPratica)){ %>
<aui:row style="margin-top: 10px" id="praticaAdminDiv">
<aui:row id="praticaRecapDiv">
<aui:row>
<liferay-security:doAsURL
doAsUserId="<%= intPratica.getUserId() %>"
var="impersonateUserURL">
</liferay-security:doAsURL>
<aui:col span="3">
<p style="font-size: 30px; margin: 20px 0;">
<b>Pratica:</b> <%= intPraticaId %>
<liferay-ui:icon
image="impersonate_user"
target="_blank"
url="<%= impersonateUserURL %>">
</liferay-ui:icon>
</p>
</aui:col>
</aui:row>
<aui:row>
<aui:col span="2">
<p><b>Numero Progetto:</b> <%= intPratica.getNumeroProgetto() %></p>
</aui:col>
<aui:col span="2">
<p><b>Username:</b> <%= intPratica.getUserName() %></p>
</aui:col>
<aui:col span="2">
<p><b>Tipo Pratica:</b> <%= intPratica.getTipoPratica() %></p>
</aui:col>
<aui:col span="2">
<p><b>ID Territorio:</b> <%= intPratica.getTerritorioId() %></p>
</aui:col>
</aui:row>
<aui:row>
<aui:col span="2">
<p><b>Tipo Procedura:</b> <%= intPratica.getTipoProcedura() %></p>
</aui:col>
<aui:col span="2">
<p><b>Stato Pratica:</b> <%= intPratica.getStatoPratica() %></p>
</aui:col>
<aui:col span="2">
<p><b>Validata:</b> <%= intPratica.getValidata() %></p>
</aui:col>
<aui:col span="2">
<p><b>Esito Controllo:</b> <%= intPratica.getEsitoControllo() %></p>
</aui:col>
</aui:row>
<aui:row>
<aui:col span="2">
<p><b>Status:</b> <%= intPratica.getStatus() %></p>
</aui:col>
</aui:row>
<aui:row>
<% if(AdvancedOperationUtil.hasDettPratica(intPraticaId)){
boolean normLavoriInProprioFlag = AdvancedOperationUtil.getNormLavoriInProprioFlag(intPraticaId);
%>
<aui:col span="3">
<liferay-portlet:actionURL
name="fixNormLavoriInProprio"
var="fixNormLavoriInProprioURL" >
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="normLavoriInProprioFlag" value="<%= String.valueOf(normLavoriInProprioFlag) %>"/>
<liferay-portlet:param name="mvcPath" value="/html/view.jsp"/>
</liferay-portlet:actionURL>
<%
String functionLavori = "javascript:"+renderResponse.getNamespace()+"openConfirmationDialog('"+renderResponse.getNamespace()+"fixLavoriInEconomia','Sei sicuro di voler cambiare i flag LAVORI IN ECONOMIA di questa pratica?')";
%>
<aui:form action="<%= fixNormLavoriInProprioURL %>" method="post" name="fixLavoriInEconomia">
<aui:button
name="normLavoriInProprioBtn"
cssClass="btn-primary"
type="button"
value="<%= AdvancedOperationUtil.getLavoriInEconomiaBtnLabel(normLavoriInProprioFlag) %>"
onClick='<%= functionLavori %>'/>
</aui:form>
</aui:col>
<% } %>
<% if(AdvancedOperationUtil.isStatoPraticaIN(intPratica)){ %>
<aui:col span="3">
<liferay-portlet:actionURL
name="fixStatusPratica"
var="fixStatusPraticaURL" >
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="mvcPath" value="/html/view.jsp"/>
</liferay-portlet:actionURL>
<%
String functionStatus = "javascript:"+renderResponse.getNamespace()+"openConfirmationDialog('"+renderResponse.getNamespace()+"fixStatusPratica','Sei sicuro di voler modificare lo status di questa pratica?')";
%>
<aui:form action="<%= fixStatusPraticaURL %>" method="post" name="fixStatusPratica">
<aui:button
type="button"
cssClass="btn-primary"
name="fixStatusPraticaBtn"
onClick='<%= functionStatus %>'
value="Fixa lo STATUS"
>
</aui:button>
</aui:form>
</aui:col>
<% } %>
<% if(AdvancedOperationUtil.isPraticaAnnullata(intPratica)){ %>
<aui:col span="3">
<liferay-portlet:actionURL
name="ripristinaPraticaVidimata"
var="ripristinaPraticaVidimataURL" >
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="mvcPath" value="/html/view.jsp"/>
</liferay-portlet:actionURL>
<%
String functionRipristinaVidimata = "javascript:"+renderResponse.getNamespace()+"openConfirmationDialog('"+renderResponse.getNamespace()+"ripristinaPraticaVidimata','Sei sicuro di voler ripristinare questa pratica come VIDIMATA?')";
%>
<aui:form action="<%= ripristinaPraticaVidimataURL %>" method="post" name="ripristinaPraticaVidimata">
<aui:button
type="button"
cssClass="btn-primary"
name="ripristinaPraticaVidimataBtn"
onClick='<%= functionRipristinaVidimata %>'
value="Ripristina come VIDIMATA"
>
</aui:button>
</aui:form>
</aui:col>
<aui:col span="3">
<liferay-portlet:actionURL
name="ripristinaPraticaConforme"
var="ripristinaPraticaConformeURL" >
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="mvcPath" value="/html/view.jsp"/>
</liferay-portlet:actionURL>
<%
String functionRipristinaConforme = "javascript:"+renderResponse.getNamespace()+"openConfirmationDialog('"+renderResponse.getNamespace()+"ripristinaPraticaConforme','Sei sicuro di voler ripristinare questa pratica come AUTORIZZATA/CONFORME?')";
%>
<aui:form action="<%= ripristinaPraticaConformeURL %>" method="post" name="ripristinaPraticaConforme">
<aui:button
type="button"
cssClass="btn-primary"
name="ripristinaPraticaConformeBtn"
onClick='<%= functionRipristinaConforme %>'
value="Ripristina come AUTORIZZATA/CONFORME"
>
</aui:button>
</aui:form>
</aui:col>
<% } %>
</aui:row>
</aui:row>
<aui:row id="docPraticaDiv">
<h1>Problemi documenti</h1>
<h1>Gestione documenti con IntPratica inestistente</h1>
<%
List<DocPratica> docPraticaList = DocPraticaLocalServiceUtil.findByIntPratica(intPraticaId);
%>
<h2>Documenti Totali: <%= docPraticaList.size() %></h2>
<%
List<DocPratica> docPraticaOrfaniList = AdvancedOperationUtil.getDocPraticaOrfani(intPraticaId);
if(!docPraticaOrfaniList.isEmpty()){
%>
<liferay-portlet:actionURL
name="deleteDocPratica"
var="deleteDocPraticaURL" >
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/>
<liferay-portlet:param name="mvcPath" value="/html/view.jsp"/>
</liferay-portlet:actionURL>
<aui:row>
<h2>Documenti orfani di DettPratica: <%= docPraticaOrfaniList.size() %></h2>
<%
String functionEliminaDoc = "javascript:"+renderResponse.getNamespace()+"openConfirmationDialog('"+renderResponse.getNamespace()+"deleteDocPratica','Sei sicuro di voler eliminare tutti i documenti?')";
%>
<aui:form action="<%= deleteDocPraticaURL %>" method="post" name="deleteDocPratica">
<aui:button-row>
<aui:button
type="button"
name="deleteDocPraticaBtn"
cssClass="btn-primary"
onClick='<%= functionEliminaDoc %>'
value="Elimina tutti">
</aui:button>
</aui:button-row>
</aui:form>
</aui:row>
<%
}
%>
</aui:row>
</aui:row>
<% } %>
</aui:container>
<div id ='<%= renderResponse.getNamespace()+"confirmationModal" %>'>
</div>
<div id ='<%= renderResponse.getNamespace()+"confirmationModalDiv" %>' class="hide" style="display:block;">
</div>
<aui:script use="event-valuechange,aui-modal,aui-io-request">
A.one('#<portlet:namespace />intPraticaId').on('valuechange', function(e){
if(e.newVal <= 0 ){
A.one('#<portlet:namespace />numeroProgetto').attr('disabled', false);
} else {
A.one('#<portlet:namespace />numeroProgetto').attr('disabled', true);
A.one('#<portlet:namespace />numeroProgetto').val('');
}
});
A.one('#<portlet:namespace />numeroProgetto').on('valuechange', function(e){
if(e.newVal == "" ){
A.one('#<portlet:namespace />intPraticaId').attr('disabled', false);
} else {
A.one('#<portlet:namespace />intPraticaId').attr('disabled', true);
A.one('#<portlet:namespace />intPraticaId').val('');
}
});
Liferay.provide(
window,
"<portlet:namespace />openConfirmationDialog",
function(formName, text){
A.one('#<portlet:namespace />confirmationModalDiv').html('<p>'+text+'</p>');
var modal = new A.Modal(
{
centered: true,
bodyContent: A.one('#<portlet:namespace />confirmationModalDiv'),
destroyOnHide: false,
headerContent: '<h3>Conferma azione</h3>',
modal: true,
render: '#<portlet:namespace />confirmationModal',
visible: false,
close: false
}
).render();
modal.addToolbar(
[
{
label: 'Annulla e torna indietro',
on: {
click: function() {
A.one('#<portlet:namespace />confirmationModalDiv').hide();
modal.hide();
}
}
},
{
label: 'Conferma azione',
on: {
click: function() {
modal.hide();
var form = Liferay.Form.get(formName).form;
submitForm(form);
}
}
}
]
);
A.one('#<portlet:namespace />confirmationModalDiv').show();
modal.show();
}
);
</aui:script>

BIN
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/icon.png

File binario non mostrato.

Dopo

Larghezza:  |  Altezza:  |  Dimensione: 467 B

0
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/js/main.js

18
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-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="portos-advanced-operation-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/portos-advanced-operation-portlet/ivy.xml.MD5

@ -0,0 +1 @@
bbd8978cdaa2759963331e49ea986f22

15
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-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>

BIN
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/checksums/checksums.lock

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock

File binario non mostrato.

0
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/dependencies-accessors/gc.properties

BIN
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/executionHistory/executionHistory.lock

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/fileChanges/last-build.bin

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/fileHashes/fileHashes.lock

File binario non mostrato.

0
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/7.4.2/gc.properties

BIN
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/buildOutputCleanup/buildOutputCleanup.lock

File binario non mostrato.

2
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/buildOutputCleanup/cache.properties

@ -0,0 +1,2 @@
#Wed Feb 15 14:15:46 CET 2023
gradle.version=7.4.2

0
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.gradle/vcs-1/gc.properties

17
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.project

@ -5,6 +5,11 @@
<projects> <projects>
</projects> </projects>
<buildSpec> <buildSpec>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name> <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments> <arguments>
@ -32,5 +37,17 @@
<nature>org.eclipse.wst.common.project.facet.core.nature</nature> <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature> <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures> </natures>
<filteredResources>
<filter>
<id>1676466957641</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription> </projectDescription>

13
liferay-plugins-sdk-6.2/portlets/portos-audit-portlet/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,13 @@
arguments=--init-script C\:\\Users\\ebusu\\AppData\\Local\\Temp\\d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle --init-script C\:\\Users\\ebusu\\AppData\\Local\\Temp\\52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle --init-script C\:\\Users\\ebusu\\AppData\\Local\\Temp\\bd95fba452cd16942039615189e617a1932f63d661f1f661840274c40bc05cbb.gradle
auto.sync=false
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(7.4.2))
connection.project.dir=
eclipse.preferences.version=1
gradle.user.home=
java.home=C\:/Users/ebusu/.jdks/corretto-1.8.0_362
jvm.arguments=
offline.mode=false
override.workspace.settings=true
show.console.view=true
show.executions.view=true

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AntConfiguration">
<buildFile url="file://$PROJECT_DIR$/build.xml" />
</component>
</project>

11
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project

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

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

@ -893,8 +893,8 @@ public class DettPraticaImpl extends DettPraticaBaseImpl {
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
boolean collaudatoreNotRequired = getNoCollaudo() || getCollaudoStatico() || getNormLavoriInProprio() boolean collaudatoreNotRequired = getNoCollaudo() || getCollaudoStatico() || getNormLavoriInProprio()
|| getNominaCollaudatore() || getLavoriPubblici(); || getNominaCollaudatore() || getLavoriPubblici();
boolean direttoreLavoriNotRequired = getLavoriPubblici() || getNormLavoriNoDirettore() boolean direttoreLavoriNotRequired = true /*getLavoriPubblici() || getNormLavoriNoDirettore()
|| getNormLavoriInProprio() || getNominaDirettoreLavori(); || getNormLavoriInProprio() || getNominaDirettoreLavori()*/;
boolean dittaNotRequired = getNormLavoriInProprio() || getLavoriPubblici() || getNominaImpresa(); boolean dittaNotRequired = getNormLavoriInProprio() || getLavoriPubblici() || getNominaImpresa();
List<String> soggettiRichiesti = new ArrayList<>(); List<String> soggettiRichiesti = new ArrayList<>();
List<String> notCompleted = new ArrayList<>(); List<String> notCompleted = new ArrayList<>();
@ -917,7 +917,7 @@ public class DettPraticaImpl extends DettPraticaBaseImpl {
soggettiRichiesti.add(TipoSoggettoUtil.COMMITTENTE); soggettiRichiesti.add(TipoSoggettoUtil.COMMITTENTE);
soggettiRichiesti.add(TipoSoggettoUtil.PROGETTISTA); soggettiRichiesti.add(TipoSoggettoUtil.PROGETTISTA);
soggettiRichiesti.add(TipoSoggettoUtil.DITTA); soggettiRichiesti.add(TipoSoggettoUtil.DITTA);
soggettiRichiesti.add(TipoSoggettoUtil.DIRETTORE_LAVORI); //soggettiRichiesti.add(TipoSoggettoUtil.DIRETTORE_LAVORI);
soggettiRichiesti.add(TipoSoggettoUtil.COLLAUDATORE); soggettiRichiesti.add(TipoSoggettoUtil.COLLAUDATORE);
break; break;
case Constants.PROCEDURA_P3: case Constants.PROCEDURA_P3:
@ -941,12 +941,12 @@ public class DettPraticaImpl extends DettPraticaBaseImpl {
if (!isDelegaCommittente) { if (!isDelegaCommittente) {
notCompleted.add("delega-committente"); notCompleted.add("delega-committente");
} }
boolean isDelegaFinelavori = direttoreLavoriNotRequired /*boolean isDelegaFinelavori = direttoreLavoriNotRequired
|| Validator.isNotNull(getCodiceFiscaleDelegatoFineLavori()) || Validator.isNotNull(getCodiceFiscaleDelegatoFineLavori())
|| !soggettiRichiesti.contains(TipoSoggettoUtil.DIRETTORE_LAVORI); || !soggettiRichiesti.contains(TipoSoggettoUtil.DIRETTORE_LAVORI);
if (!isDelegaFinelavori) { if (!isDelegaFinelavori) {
notCompleted.add("delega-direttoreLavori"); notCompleted.add("delega-direttoreLavori");
} }*/
boolean isDelegaCollaudo = collaudatoreNotRequired || Validator.isNotNull(getCodiceFiscaleDelegatoCollaudo()) boolean isDelegaCollaudo = collaudatoreNotRequired || Validator.isNotNull(getCodiceFiscaleDelegatoCollaudo())
|| !soggettiRichiesti.contains(TipoSoggettoUtil.COLLAUDATORE); || !soggettiRichiesti.contains(TipoSoggettoUtil.COLLAUDATORE);
if (!isDelegaCollaudo) { if (!isDelegaCollaudo) {
@ -979,7 +979,7 @@ public class DettPraticaImpl extends DettPraticaBaseImpl {
} }
} }
} }
if (direttoreLavoriNotRequired) { /*if (direttoreLavoriNotRequired) {
soggettiRichiesti.remove(TipoSoggettoUtil.DIRETTORE_LAVORI); soggettiRichiesti.remove(TipoSoggettoUtil.DIRETTORE_LAVORI);
if (direttoreLavoriPresente && !TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(getTipoIntegrazione())) { if (direttoreLavoriPresente && !TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(getTipoIntegrazione())) {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
@ -1003,7 +1003,7 @@ public class DettPraticaImpl extends DettPraticaBaseImpl {
sb.append("</u>\""); sb.append("</u>\"");
notCompleted.add(sb.toString()); notCompleted.add(sb.toString());
} }
} }*/
if (collaudatoreNotRequired) { if (collaudatoreNotRequired) {
soggettiRichiesti.remove(TipoSoggettoUtil.COLLAUDATORE); soggettiRichiesti.remove(TipoSoggettoUtil.COLLAUDATORE);
if (collaudatorePresente && !TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(getTipoIntegrazione())) { if (collaudatorePresente && !TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(getTipoIntegrazione())) {

11
liferay-plugins-sdk-6.2/portlets/portos-calendar-appointments-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-company-configuration-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-comunicazioni-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-deploy-alert-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.project

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

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

File binario non mostrato.

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

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-report-shared.jar

File binario non mostrato.

106
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/fascicolo_action.jsp

@ -9,6 +9,8 @@
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%> <%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%>
<%@page import="java.util.Map"%> <%@page import="java.util.Map"%>
<%@page import="java.util.HashMap"%> <%@page import="java.util.HashMap"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.Constants"%>
<%@include file="/html/fascicolofe/init.jsp"%> <%@include file="/html/fascicolofe/init.jsp"%>
<% <%
SearchContainer searchContainer = (SearchContainer) request.getAttribute("liferay-ui:search:searchContainer"); SearchContainer searchContainer = (SearchContainer) request.getAttribute("liferay-ui:search:searchContainer");
@ -35,6 +37,9 @@ if (searchContainer != null) {
intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId);
} }
String randomId = StringUtil.randomId() + StringPool.UNDERLINE + intPratica.getIntPraticaId(); String randomId = StringUtil.randomId() + StringPool.UNDERLINE + intPratica.getIntPraticaId();
String tipoProc = intPratica.getTipoProcedura();
final List<String> tipiProcedure_task22Febbraio = Arrays.asList(Constants.PROCEDURA_P8, Constants.PROCEDURA_Q8,
Constants.PROCEDURA_P9, Constants.PROCEDURA_Q9, Constants.PROCEDURA_P10, Constants.PROCEDURA_Q10);
%> %>
<liferay-ui:icon-menu icon="" showWhenSingleIcon="true" showExpanded="<%= showExpanded %>"> <liferay-ui:icon-menu icon="" showWhenSingleIcon="true" showExpanded="<%= showExpanded %>">
<liferay-portlet:renderURL var="viewFascicoliUrl"> <liferay-portlet:renderURL var="viewFascicoliUrl">
@ -107,11 +112,15 @@ String randomId = StringUtil.randomId() + StringPool.UNDERLINE + intPratica.getI
</c:if> </c:if>
<c:if test="<%= intPratica.isAllowedAction(AzioniPraticheUtil.ACTION_ANNULLA) <c:if test="<%= intPratica.isAllowedAction(AzioniPraticheUtil.ACTION_ANNULLA)
&& intPratica.praticaCanAbort(user.getUserId()) && intPratica.praticaCanAbort(user.getUserId())
&& !intPratica.getSospesa() %>"> && !intPratica.getSospesa()
&& !(
tipiProcedure_task22Febbraio.contains(tipoProc.toUpperCase())
) %>">
<% <%
Map<String,Object> dataMap = new HashMap<String, Object>(); Map<String,Object> dataMap = new HashMap<String, Object>();
dataMap.put("id", "dialogAnnullamento"); dataMap.put("id", "dialogAnnullamento");
%> %>
<liferay-portlet:renderURL var="abortFascicoloURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>"> <liferay-portlet:renderURL var="abortFascicoloURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<portlet:param name="mvcPath" value="/html/fascicolofe/abort_fascicolo.jsp" /> <portlet:param name="mvcPath" value="/html/fascicolofe/abort_fascicolo.jsp" />
<portlet:param name="intPraticaId" value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" /> <portlet:param name="intPraticaId" value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" />
@ -119,6 +128,7 @@ String randomId = StringUtil.randomId() + StringPool.UNDERLINE + intPratica.getI
</liferay-portlet:renderURL> </liferay-portlet:renderURL>
<liferay-ui:icon iconCssClass="fa fa-window-close-o" message="abort-fascicolo" url="<%= abortFascicoloURL %>" <liferay-ui:icon iconCssClass="fa fa-window-close-o" message="abort-fascicolo" url="<%= abortFascicoloURL %>"
useDialog="true" data="<%= dataMap %>" /> useDialog="true" data="<%= dataMap %>" />
</c:if> </c:if>
<c:if test="<%= intPratica.canPrintFascicolo() %>"> <c:if test="<%= intPratica.canPrintFascicolo() %>">
<liferay-portlet:resourceURL var="stampaFascicoloURL" id="stampaFascicolo"> <liferay-portlet:resourceURL var="stampaFascicoloURL" id="stampaFascicolo">
@ -141,7 +151,10 @@ String randomId = StringUtil.randomId() + StringPool.UNDERLINE + intPratica.getI
</c:if> </c:if>
<c:if test="<%= !intPratica.getSospesa() %>"> <c:if test="<%= !intPratica.getSospesa() %>">
<c:if test="<%= intPratica.isAllowedAction(AzioniPraticheUtil.ACTION_VARIANTE) <c:if test="<%= intPratica.isAllowedAction(AzioniPraticheUtil.ACTION_VARIANTE)
&& canAddVariante %>"> && canAddVariante
&& !(
tipiProcedure_task22Febbraio.contains(tipoProc.toUpperCase())
) %>">
<liferay-portlet:renderURL var="editUrl" > <liferay-portlet:renderURL var="editUrl" >
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/edit_fascicolo.jsp" /> <liferay-portlet:param name="mvcPath" value="/html/fascicolofe/edit_fascicolo.jsp" />
</liferay-portlet:renderURL> </liferay-portlet:renderURL>
@ -217,95 +230,6 @@ String randomId = StringUtil.randomId() + StringPool.UNDERLINE + intPratica.getI
</c:if> </c:if>
</c:if> </c:if>
</c:if> </c:if>
<c:if test="<%= isProgetti || isAltriProgetti || isDeleghe %>">
<c:if test="<%=
intPratica.praticaCanAddFineLavori(user.getScreenName())
|| intPratica.praticaCanEditFineLavori(user.getScreenName()) %>">
<c:if test="<%= !intPratica.getSospesa() %>">
<div class="separator"></div>
</c:if>
<c:if test="<%= !intPratica.getSospesa() %>">
<c:if test="<%=
(intPratica.isAllowedAction(AzioniPraticheUtil.ACTION_FL_PARZIALE)
|| intPratica.isAllowedAction(AzioniPraticheUtil.ACTION_FL_TOTALE))
&& intPratica.praticaCanAddFineLavori(user.getScreenName()) %>">
<liferay-portlet:renderURL var="editUrl" >
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/edit_fine-lavori.jsp" />
<liferay-portlet:param name="backURL" value="<%= redirect %>" />
</liferay-portlet:renderURL>
<liferay-portlet:actionURL name="addFineLavori" var="addFineLavoriURL">
<liferay-portlet:param name="successURL" value="<%=editUrl %>"/>
<liferay-portlet:param name="intPraticaId"
value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" />
<liferay-portlet:param name="isNewFineLavori" value="true" />
</liferay-portlet:actionURL>
<liferay-ui:icon iconCssClass="fa fa-plus" message="add-fine-lavori" url="<%= addFineLavoriURL %>" />
</c:if>
</c:if>
<c:if test="<%= intPratica.praticaCanEditFineLavori(user.getScreenName()) %>">
<liferay-portlet:renderURL var="editFineLavoriURL" >
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/edit_fine-lavori.jsp" />
<liferay-portlet:param name="intPraticaId"
value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" />
<liferay-portlet:param name="backURL" value="<%= redirect %>" />
<liferay-portlet:param name="isNewFineLavori" value="false" />
</liferay-portlet:renderURL>
<liferay-ui:icon iconCssClass="fa fa-edit" message="edit-fine-lavori" url="<%= editFineLavoriURL %>" />
</c:if>
<c:if test="<%= intPratica.praticaCanDeleteFineLavori(user.getScreenName()) %>">
<liferay-portlet:actionURL name="deleteFineLavori" var="deleteFineLavoriURL">
<liferay-portlet:param name="intPraticaId"
value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" />
<liferay-portlet:param name="backURL" value="<%= redirect %>" />
<liferay-portlet:param name="redirect" value="<%= viewFascicoliUrl %>" />
<liferay-portlet:param name="mvcPath" value="<%= viewFascicoliUrl %>" />
</liferay-portlet:actionURL>
<liferay-ui:icon iconCssClass="fa fa-trash-o" message="delete-fine-lavori"
url="<%= deleteFineLavoriURL %>" />
</c:if>
</c:if>
<c:if test="<%= intPratica.praticaCanAddCollaudo(user.getScreenName())
|| intPratica.praticaCanEditCollaudo(user.getScreenName())
|| intPratica.praticaCanDeleteCollaudo(user.getScreenName()) %>">
<c:if test="<%= !intPratica.getSospesa() %>">
<div class="separator"></div>
</c:if>
<c:if test="<%=
(intPratica.isAllowedAction(AzioniPraticheUtil.ACTION_CO_PARZIALE)
|| intPratica.isAllowedAction(AzioniPraticheUtil.ACTION_CO_TOTALE))
&& intPratica.praticaCanAddCollaudo(user.getScreenName()) %>">
<liferay-portlet:renderURL var="editUrl" >
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/edit_collaudo.jsp"/>
<liferay-portlet:param name="backURL" value="<%= redirect %>" />
</liferay-portlet:renderURL>
<liferay-portlet:actionURL name="addCollaudo" var="addCollaudoURL">
<liferay-portlet:param name="successURL" value="<%= editUrl %>"/>
<liferay-portlet:param name="intPraticaId"
value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" />
</liferay-portlet:actionURL>
<liferay-ui:icon iconCssClass="fa fa-plus" message="add-collaudo" url="<%= addCollaudoURL %>" />
</c:if>
<c:if test="<%= intPratica.praticaCanEditCollaudo(user.getScreenName()) %>">
<liferay-portlet:renderURL var="editCollaudoURL">
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/edit_collaudo.jsp" />
<liferay-portlet:param name="intPraticaId"
value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" />
<liferay-portlet:param name="backURL" value="<%= redirect %>" />
</liferay-portlet:renderURL>
<liferay-ui:icon iconCssClass="fa fa-edit" message="edit-collaudo" url="<%= editCollaudoURL %>" />
</c:if>
<c:if test="<%= intPratica.praticaCanDeleteCollaudo(user.getScreenName()) %>">
<liferay-portlet:actionURL name="deleteCollaudo" var="deleteCollaudoURL">
<liferay-portlet:param name="intPraticaId"
value="<%= String.valueOf(intPratica.getIntPraticaId()) %>" />
<liferay-portlet:param name="backURL" value="<%= redirect %>" />
<liferay-portlet:param name="redirect" value="<%= viewFascicoliUrl %>" />
<liferay-portlet:param name="mvcPath" value="<%= viewFascicoliUrl %>" />
</liferay-portlet:actionURL>
<liferay-ui:icon iconCssClass="fa fa-trash-o" message="delete-collaudo" url="<%= deleteCollaudoURL %>" />
</c:if>
</c:if>
</c:if>
<c:if test="<%= isDeleghe %>"> <c:if test="<%= isDeleghe %>">
<% <%
if (Validator.isNotNull(delega)) { if (Validator.isNotNull(delega)) {

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

@ -290,7 +290,7 @@ document.addEventListener('DOMContentLoaded', function(event) {
window.addEventListener('message', messageListener, false); window.addEventListener('message', messageListener, false);
}); });
function messageListener(event) { function messageListener(event) {
if (event.origin == '<%= originMappe %>') { console.log("Page dettagli principali @ebus");
try { try {
var data = JSON.parse(event.data); var data = JSON.parse(event.data);
} catch (e) { } catch (e) {
@ -308,7 +308,7 @@ function messageListener(event) {
lng = data[key]; lng = data[key];
break; break;
case 'paesaggioLocale': case 'paesaggioLocale':
name = 'input_contestoPaesaggistico'; name = 'input_paesaggioLocale';
data[key] = duplicati(data[key]); data[key] = duplicati(data[key]);
break; break;
case 'livelloDiTutela': case 'livelloDiTutela':
@ -329,7 +329,7 @@ function messageListener(event) {
var el = document.getElementById('<portlet:namespace/>localizzazioneGeografica'); var el = document.getElementById('<portlet:namespace/>localizzazioneGeografica');
el.value = lat + '|' + lng + '|8'; el.value = lat + '|' + lng + '|8';
} }
}
} }
function duplicati(input) { function duplicati(input) {

19
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view.jsp

@ -84,6 +84,7 @@ String keywords = StringPool.BLANK;
<liferay-util:param name="orderByType" value="<%= orderByType %>" /> <liferay-util:param name="orderByType" value="<%= orderByType %>" />
<liferay-util:param name="orderByCol" value="<%= orderByCol %>" /> <liferay-util:param name="orderByCol" value="<%= orderByCol %>" />
</liferay-util:include> </liferay-util:include>
</c:if> </c:if>
<c:if test="<%= isArchivioProgetti %>"> <c:if test="<%= isArchivioProgetti %>">
<% <%
@ -128,24 +129,6 @@ String keywords = StringPool.BLANK;
</liferay-util:include> </liferay-util:include>
</liferay-ui:panel> </liferay-ui:panel>
</div> </div>
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="Fine Lavori" >
<liferay-util:include page="/html/fascicolofe/view_finelavori_columns.jsp"
servletContext="<%= application %>">
<liferay-util:param name="orderByType" value="<%= orderByType %>" />
<liferay-util:param name="orderByCol" value="<%= orderByCol %>" />
</liferay-util:include>
</liferay-ui:panel>
</div>
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="Collaudi" >
<liferay-util:include page="/html/fascicolofe/view_collaudi_columns.jsp"
servletContext="<%= application %>">
<liferay-util:param name="orderByType" value="<%= orderByType %>" />
<liferay-util:param name="orderByCol" value="<%= orderByCol %>" />
</liferay-util:include>
</liferay-ui:panel>
</div>
</c:if> </c:if>
</c:if> </c:if>
<c:if test="<%= isArchivioDeleghe %>"> <c:if test="<%= isArchivioDeleghe %>">

4
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/view_finelavori_columns.jsp

@ -28,7 +28,7 @@
String rowUrl = StringPool.BLANK; String rowUrl = StringPool.BLANK;
%> %>
<liferay-ui:search-container <%-- liferay-ui:search-container
emptyResultsMessage="no-fl-were-found" emptyResultsMessage="no-fl-were-found"
iteratorURL="<%= iteratorURL %>" iteratorURL="<%= iteratorURL %>"
orderByType="<%= orderByType %>" orderByCol="<%= orderByCol %>" orderByType="<%= orderByType %>" orderByCol="<%= orderByCol %>"
@ -48,4 +48,4 @@
</liferay-ui:search-container-row> </liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="<%= true %>" /> <liferay-ui:search-iterator paginate="<%= true %>" />
</liferay-ui:search-container> </liferay-ui --%>

4
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/soggettipratica/view.jsp

@ -561,7 +561,7 @@ dataMap.put("id", PortletKeys.SOGGETTI + "_dialogEditSoggetto");
</div> </div>
</div> </div>
</div> </div>
<div class="container-fluid container-delega-direttoreLavori"> <%-- div class="container-fluid container-delega-direttoreLavori">
<div class="row container-delega-direttoreLavori"> <div class="row container-delega-direttoreLavori">
<div class="col-sm-12 soggetti-tab"> <div class="col-sm-12 soggetti-tab">
<div class="module-group"> <div class="module-group">
@ -629,7 +629,7 @@ dataMap.put("id", PortletKeys.SOGGETTI + "_dialogEditSoggetto");
</div> </div>
</div> </div>
</div> </div>
</div> </div --%>
<div class="container-fluid container-delega-collaudatore"> <div class="container-fluid container-delega-collaudatore">
<div class="row container-delega-collaudatore"> <div class="row container-delega-collaudatore">
<div class="col-sm-12 soggetti-tab"> <div class="col-sm-12 soggetti-tab">

147
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/soggettipratica/view_valida_fino.jsp

@ -355,153 +355,6 @@ boolean inBO = ParamUtil.getBoolean(request, "inBO", false);
</div> </div>
</div> </div>
</div> </div>
<div class="container-fluid container-delega-direttoreLavori">
<div class="row container-delega-direttoreLavori">
<div class="col-sm-12 soggetti-tab">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="delega-direttoreLavori">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<%
boolean enabledDelegatoFineLavori = false;
List<Soggetto> direttoriLavori = SoggettoServiceUtil
.getValidByIntPratica_TipologiaSoggetto(dettPratica.getIntPraticaId(),
TipoSoggettoUtil.DIRETTORE_LAVORI);
%>
<c:if test="<%= direttoriLavori.isEmpty() %>">
<div>
<%= LanguageUtil.get(pageContext, "text-delega-direttoreLavori-disabled") %>
</div>
</c:if>
<c:if test="<%= !direttoriLavori.isEmpty() %>">
<aui:select label="Scegli Soggetto" name='<%= StringPool.UNDERLINE
+ PortletKeys.FASCICOLOFE + "_codiceFiscaleDelegatoFineLavori" %>'
showEmptyOption="true" useNamespace="false"
disabled="<%= disabledInput || inBO %>">
<%
for (Soggetto direttoreLavori : direttoriLavori) {
if (dettPratica.getCodiceFiscaleDelegatoFineLavori()
.equalsIgnoreCase(direttoreLavori.getCodiceFiscale())) {
enabledDelegatoFineLavori = true;
}
%>
<aui:option label='<%= direttoreLavori.getCodiceFiscale().toUpperCase()
+ " - " + direttoreLavori.getNome() + StringPool.SPACE
+ direttoreLavori.getCognome() %>'
value="<%= direttoreLavori.getCodiceFiscale() %>"
selected="<%= dettPratica.getCodiceFiscaleDelegatoFineLavori()
.equalsIgnoreCase(direttoreLavori.getCodiceFiscale()) %>" />
<%
}
%>
</aui:select>
<%
List<Soggetto> direttori = SoggettoLocalServiceUtil
.findByIntPratica_CodiceFiscale(dettPratica.getIntPraticaId(),
dettPratica.getCodiceFiscaleDelegatoFineLavori());
Soggetto direttore = null;
if(!direttori.isEmpty()){
direttore = direttori.get(0);
}
%>
<aui:input disabled="<%= disabledInput || inBO %>" type="checkbox"
name='<%= StringPool.UNDERLINE + PortletKeys.FASCICOLOFE
+ "_codiceFiscaleDelegatoFineLavoriEnabled" %>'
checked="<%= enabledDelegatoFineLavori %>"
label='<%= MessageFormat.format(
LanguageUtil.get(pageContext, "text-delega-direttoreLavori"),
Validator.isNull(direttore) ? StringPool.BLANK : direttore.getNome(),
Validator.isNull(direttore) ? StringPool.BLANK
: direttore.getCognome() %>'
inlineField="true" useNamespace="false" />
</c:if>
</div>
</div>
</div>
</liferay-ui:panel>
</div>
</div>
</div>
</div>
<div class="container-fluid container-delega-collaudatore">
<div class="row container-delega-collaudatore">
<div class="col-sm-12 soggetti-tab">
<div class="module-group">
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="delega-collaudatore">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<%
boolean enabledDelegatoCollaudo = false;
List<Soggetto> collaudatori = SoggettoServiceUtil
.getValidTmpByIntPratica_TipologiaSoggetto(dettPratica.getIntPraticaId(),
TipoSoggettoUtil.COLLAUDATORE);
%>
<c:if test="<%= collaudatori.isEmpty() %>">
<div>
<%
String text_delega_collaudatore = StringPool.BLANK;
if (dettPratica.getCollaudoStatico()) {
text_delega_collaudatore = "text-delega-collaudatore-notRequired";
} else {
text_delega_collaudatore = "text-delega-collaudatore-disabled";
}
%>
<%= LanguageUtil.get(pageContext, text_delega_collaudatore) %>
</div>
</c:if>
<c:if test="<%= !collaudatori.isEmpty() %>">
<aui:select label="Scegli Soggetto" name='<%= StringPool.UNDERLINE
+ PortletKeys.FASCICOLOFE + "_codiceFiscaleDelegatoCollaudo" %>'
showEmptyOption="true" useNamespace="false"
disabled="<%= disabledInput || inBO %>">
<%
for (Soggetto collaudatore : collaudatori) {
if (dettPratica.getCodiceFiscaleDelegatoCollaudo().equalsIgnoreCase(
collaudatore.getCodiceFiscale())) {
enabledDelegatoCollaudo = true;
}
%>
<aui:option label='<%= collaudatore.getCodiceFiscale().toUpperCase()
+ " - " + collaudatore.getNome() + StringPool.SPACE
+ collaudatore.getCognome() %>'
value="<%= collaudatore.getCodiceFiscale() %>"
selected="<%= dettPratica.getCodiceFiscaleDelegatoCollaudo()
.equalsIgnoreCase(collaudatore.getCodiceFiscale()) %>" />
<%
}
%>
</aui:select>
<%
List<Soggetto> collaudatoriDelegati = SoggettoLocalServiceUtil
.findByIntPratica_CodiceFiscale(dettPratica.getIntPraticaId(),
dettPratica.getCodiceFiscaleDelegatoCollaudo());
Soggetto collaudatoreDelegato = null;
if (!collaudatoriDelegati.isEmpty()) {
collaudatoreDelegato = collaudatoriDelegati.get(0);
}
%>
<aui:input disabled="<%= disabledInput || inBO %>" type="checkbox"
name='<%= StringPool.UNDERLINE + PortletKeys.FASCICOLOFE
+ "_codiceFiscaleDelegatoCollaudoEnabled" %>'
checked="<%= enabledDelegatoCollaudo %>"
label='<%= MessageFormat.format(
LanguageUtil.get(pageContext, "text-delega-collaudatore"),
Validator.isNull(collaudatoreDelegato) ? StringPool.BLANK
: collaudatoreDelegato.getNome(),
Validator.isNull(collaudatoreDelegato) ? StringPool.BLANK
: collaudatoreDelegato.getCognome()) %>'
inlineField="true" useNamespace="false" />
</c:if>
</div>
</div>
</div>
</liferay-ui:panel>
</div>
</div>
</div>
</div>
<aui:script use="aui-base"> <aui:script use="aui-base">
Liferay.fire('soggetti-ready', { Liferay.fire('soggetti-ready', {
isCommittenteAndDitta: <%= intPratica.isCommittenteAndDitta() %>, isCommittenteAndDitta: <%= intPratica.isCommittenteAndDitta() %>,

11
liferay-plugins-sdk-6.2/portlets/portos-firma-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-jbpm-log-task-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-log-portlet/.project

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

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

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

11
liferay-plugins-sdk-6.2/portlets/portos-maintenance-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-mapit-plugin-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-notification-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/.project

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

11
liferay-plugins-sdk-6.2/portlets/portos-report-portlet/.project

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

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

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

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

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

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

@ -16,12 +16,12 @@
</natures> </natures>
<filteredResources> <filteredResources>
<filter> <filter>
<id>1636725892364</id> <id>1676466957663</id>
<name></name> <name></name>
<type>30</type> <type>30</type>
<matcher> <matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id> <id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher> </matcher>
</filter> </filter>
</filteredResources> </filteredResources>

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

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

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

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

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

Caricamento…
Annulla
Salva