Sfoglia il codice sorgente

Merge branch 'feature/portos-reportistica' into develop

develop
E-A 2 anni fa
parent
commit
d278d79a0b
  1. BIN
      liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar
  2. BIN
      liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar
  3. BIN
      liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar
  4. BIN
      liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar
  5. BIN
      liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar
  6. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath
  7. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore
  8. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml
  9. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/jpa-buddy.xml
  10. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml
  11. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/vcs.xml
  12. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project
  13. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml
  14. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar
  15. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  16. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  17. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar
  18. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
  19. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  20. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  21. 556
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  22. 20
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  23. 24
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  24. 12
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java
  25. 20
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java
  26. 36
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml
  27. 496
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  28. 89
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  29. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaServiceImpl.java
  30. 87
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java
  31. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  32. 1
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/.tern-project
  33. 1
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml
  34. BIN
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/commons-csv.jar
  35. BIN
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  36. BIN
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-reportistica-portlet-service.jar
  37. 6
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-display.xml
  38. 7
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties
  39. 6
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml
  40. 8
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml
  41. 107
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/content/Language.properties
  42. 5
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java
  43. 141
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/reportistica/Reportistica.java
  44. 20
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp
  45. 306
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp
  46. 1
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/ivy.xml.MD5

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.

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

@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="docroot/WEB-INF/src"/>
<classpathentry kind="src" output="docroot/WEB-INF/classes-service" path="docroot/WEB-INF/service"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<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>

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore vendored

@ -1,10 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Zeppelin ignored files
/ZeppelinRemoteNotebooks/

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

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

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

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JpaBuddyIdeaProjectConfig">
<option name="renamerInitialized" value="true" />
</component>
</project>

9
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/classes" />
</component>
<component name="ProjectType">
<option name="id" value="jpab" />
</component>
</project>

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

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component>
</project>

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

@ -35,7 +35,7 @@
</natures>
<filteredResources>
<filter>
<id>1676466957656</id>
<id>1679562748565</id>
<name></name>
<type>30</type>
<matcher>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Liferay v6.2 CE (Tomcat 7)"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="jst.web"/>
<fixed facet="java"/>
<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"/>

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-portlet-service.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.

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

@ -317,6 +317,18 @@ public interface IntPraticaLocalService extends BaseLocalService,
java.lang.String[] parameterTypes, java.lang.Object[] arguments)
throws java.lang.Throwable;
public java.util.List<java.lang.Object[]> filtraPraticheStato(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> filtraPraticheIntegrazioni(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> filtraPraticheAutorizzate(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure();

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

File diff soppresso perché troppo grande Load Diff

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

@ -342,6 +342,26 @@ public class IntPraticaLocalServiceUtil {
return getService().invokeMethod(name, parameterTypes, arguments);
}
public static java.util.List<java.lang.Object[]> filtraPraticheStato(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().filtraPraticheStato(dataInizioLavori, dataFineLavori);
}
public static java.util.List<java.lang.Object[]> filtraPraticheIntegrazioni(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
}
public static java.util.List<java.lang.Object[]> filtraPraticheAutorizzate(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori);
}
public static java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() {
return getService().getTipiProcedure();
}

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

@ -362,6 +362,30 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
arguments);
}
@Override
public java.util.List<java.lang.Object[]> filtraPraticheStato(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.filtraPraticheStato(dataInizioLavori,
dataFineLavori);
}
@Override
public java.util.List<java.lang.Object[]> filtraPraticheIntegrazioni(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.filtraPraticheIntegrazioni(dataInizioLavori,
dataFineLavori);
}
@Override
public java.util.List<java.lang.Object[]> filtraPraticheAutorizzate(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.filtraPraticheAutorizzate(dataInizioLavori,
dataFineLavori);
}
@Override
public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() {
return _intPraticaLocalService.getTipiProcedure();

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

@ -25,4 +25,16 @@ public interface IntPraticaFinder {
public int canAddCollaudoCount(
java.lang.String codiceFiscaleDelegatoCollaudo)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> filtraPraticheStato(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> filtraPraticheIntegrazioni(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<java.lang.Object[]> filtraPraticheAutorizzate(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException;
}

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

@ -34,6 +34,26 @@ public class IntPraticaFinderUtil {
return getFinder().canAddCollaudoCount(codiceFiscaleDelegatoCollaudo);
}
public static java.util.List<java.lang.Object[]> filtraPraticheStato(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().filtraPraticheStato(dataInizioLavori, dataFineLavori);
}
public static java.util.List<java.lang.Object[]> filtraPraticheIntegrazioni(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder()
.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
}
public static java.util.List<java.lang.Object[]> filtraPraticheAutorizzate(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder()
.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori);
}
public static IntPraticaFinder getFinder() {
if (_finder == null) {
_finder = (IntPraticaFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.bo.service.ClpSerializer.getServletContextName(),

36
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml

@ -16,4 +16,40 @@
and fine.completata = true order by int.createdate;
]]>
</sql>
<sql id="IntPratica.reportPraticaStato">
<![CDATA[
select tipoprocedura, statopratica, count(*)
from portos_bo_intpratica pbi
where
pbi.dtpratica > ?
and pbi.dtpratica < ?
group by tipoprocedura, statopratica
order by tipoprocedura, statopratica;
]]>
</sql>
<sql id="IntPratica.reportPraticaIntegrazioni">
<![CDATA[
select tipoprocedura, count(*)
from portos_bo_avviso pbd
join portos_bo_intpratica pbi
on pbi.intpraticaid = pbd.intpraticaid
where
pbi.createdate > ?
and pbi.createdate < ?
and tipodocumento = 'IN'
group by tipoprocedura order by tipoprocedura;
]]>
</sql>
<sql id="IntPratica.reportPraticaAutorizzazioni">
<![CDATA[
select tipoprocedura, statopratica, count(*)
from portos_bo_intpratica pbi
where
pbi.statusdate > ?
and pbi.statusdate < ?
and statopratica in ('AU', 'AN')
group by tipoprocedura, statopratica
order by tipoprocedura, statopratica;
]]>
</sql>
</custom-sql>

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

@ -130,277 +130,295 @@ public class IntPraticaLocalServiceClpInvoker {
_methodParameterTypes171 = new String[] { "java.lang.String" };
_methodName176 = "getTipiProcedure";
_methodName176 = "filtraPraticheStato";
_methodParameterTypes176 = new String[] { };
_methodParameterTypes176 = new String[] {
"java.util.Date", "java.util.Date"
};
_methodName177 = "getVecchieProcedure";
_methodName177 = "filtraPraticheIntegrazioni";
_methodParameterTypes177 = new String[] { };
_methodParameterTypes177 = new String[] {
"java.util.Date", "java.util.Date"
};
_methodName178 = "addIntPratica";
_methodName178 = "filtraPraticheAutorizzate";
_methodParameterTypes178 = new String[] {
"java.util.Date", "java.util.Date"
};
_methodName179 = "getTipiProcedure";
_methodParameterTypes179 = new String[] { };
_methodName180 = "getVecchieProcedure";
_methodParameterTypes180 = new String[] { };
_methodName181 = "addIntPratica";
_methodParameterTypes181 = new String[] {
"long", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName179 = "addIntPratica";
_methodName182 = "addIntPratica";
_methodParameterTypes179 = new String[] {
_methodParameterTypes182 = new String[] {
"long", "java.lang.String", "java.lang.String", "long",
"java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "int", "java.util.Date",
"com.liferay.portal.service.ServiceContext"
};
_methodName180 = "findByStatoPratica";
_methodName183 = "findByStatoPratica";
_methodParameterTypes180 = new String[] { "java.lang.String" };
_methodParameterTypes183 = new String[] { "java.lang.String" };
_methodName181 = "findByStatoPratica";
_methodName184 = "findByStatoPratica";
_methodParameterTypes181 = new String[] { "java.lang.String", "int", "int" };
_methodParameterTypes184 = new String[] { "java.lang.String", "int", "int" };
_methodName182 = "deleteIntPratica";
_methodName185 = "deleteIntPratica";
_methodParameterTypes182 = new String[] {
_methodParameterTypes185 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "boolean"
};
_methodName183 = "deleteIntPratica";
_methodName186 = "deleteIntPratica";
_methodParameterTypes183 = new String[] {
_methodParameterTypes186 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica"
};
_methodName184 = "cloneIntPratica";
_methodName187 = "cloneIntPratica";
_methodParameterTypes184 = new String[] {
_methodParameterTypes187 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName186 = "updateDelegati";
_methodName189 = "updateDelegati";
_methodParameterTypes186 = new String[] {
_methodParameterTypes189 = new String[] {
"long", "java.lang.String", "java.lang.String", "boolean"
};
_methodName187 = "fetchIntPratica";
_methodName190 = "fetchIntPratica";
_methodParameterTypes187 = new String[] { "long" };
_methodParameterTypes190 = new String[] { "long" };
_methodName188 = "findFascicoliNotProgetto";
_methodName191 = "findFascicoliNotProgetto";
_methodParameterTypes188 = new String[] { "int", "int" };
_methodParameterTypes191 = new String[] { "int", "int" };
_methodName189 = "countFascicoliNotProgetto";
_methodName192 = "countFascicoliNotProgetto";
_methodParameterTypes189 = new String[] { };
_methodParameterTypes192 = new String[] { };
_methodName191 = "countByPosizione";
_methodName194 = "countByPosizione";
_methodParameterTypes191 = new String[] { "double", "double", "int" };
_methodParameterTypes194 = new String[] { "double", "double", "int" };
_methodName192 = "findByPosizione";
_methodName195 = "findByPosizione";
_methodParameterTypes192 = new String[] { "double", "double", "int" };
_methodParameterTypes195 = new String[] { "double", "double", "int" };
_methodName193 = "findByPosizione";
_methodName196 = "findByPosizione";
_methodParameterTypes193 = new String[] {
_methodParameterTypes196 = new String[] {
"double", "double", "int", "int", "int"
};
_methodName195 = "addNumeroProgetto";
_methodName198 = "addNumeroProgetto";
_methodParameterTypes195 = new String[] { "long" };
_methodParameterTypes198 = new String[] { "long" };
_methodName196 = "sospendiPratica";
_methodName199 = "sospendiPratica";
_methodParameterTypes196 = new String[] { "long", "boolean" };
_methodParameterTypes199 = new String[] { "long", "boolean" };
_methodName197 = "cambiaTitolare";
_methodName200 = "cambiaTitolare";
_methodParameterTypes197 = new String[] {
_methodParameterTypes200 = new String[] {
"long", "long", "com.liferay.portal.service.ServiceContext"
};
_methodName198 = "updateStatoPratica";
_methodName201 = "updateStatoPratica";
_methodParameterTypes198 = new String[] { "long", "java.lang.String" };
_methodParameterTypes201 = new String[] { "long", "java.lang.String" };
_methodName199 = "findByC_UserId";
_methodName202 = "findByC_UserId";
_methodParameterTypes199 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes202 = new String[] { "long", "long", "int", "int" };
_methodName200 = "countByC_UserId";
_methodName203 = "countByC_UserId";
_methodParameterTypes200 = new String[] { "long", "long" };
_methodParameterTypes203 = new String[] { "long", "long" };
_methodName201 = "updateStatus";
_methodName204 = "updateStatus";
_methodParameterTypes201 = new String[] { "long", "int" };
_methodParameterTypes204 = new String[] { "long", "int" };
_methodName202 = "findByCompanyIdSoggettoProgetti";
_methodName205 = "findByCompanyIdSoggettoProgetti";
_methodParameterTypes202 = new String[] { "long", "long" };
_methodParameterTypes205 = new String[] { "long", "long" };
_methodName203 = "countByCompanyIdSoggettoProgetti";
_methodName206 = "countByCompanyIdSoggettoProgetti";
_methodParameterTypes203 = new String[] { "long", "long" };
_methodParameterTypes206 = new String[] { "long", "long" };
_methodName205 = "findByCompanyIdSoggettoArchivio";
_methodName208 = "findByCompanyIdSoggettoArchivio";
_methodParameterTypes205 = new String[] { "long", "long" };
_methodParameterTypes208 = new String[] { "long", "long" };
_methodName206 = "countByCompanyIdSoggettoArchivio";
_methodName209 = "countByCompanyIdSoggettoArchivio";
_methodParameterTypes206 = new String[] { "long", "long" };
_methodParameterTypes209 = new String[] { "long", "long" };
_methodName208 = "findByCompanyIdSoggettoAltriProgetti";
_methodName211 = "findByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes208 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes211 = new String[] { "long", "long", "int", "int" };
_methodName209 = "countByCompanyIdSoggettoAltriProgetti";
_methodName212 = "countByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes209 = new String[] { "long", "long" };
_methodParameterTypes212 = new String[] { "long", "long" };
_methodName211 = "findByCanAddFineLavori";
_methodName214 = "findByCanAddFineLavori";
_methodParameterTypes211 = new String[] {
_methodParameterTypes214 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName212 = "countByCanAddFineLavori";
_methodName215 = "countByCanAddFineLavori";
_methodParameterTypes212 = new String[] { "long", "java.lang.String" };
_methodParameterTypes215 = new String[] { "long", "java.lang.String" };
_methodName214 = "findByCanAddCollaudo";
_methodName217 = "findByCanAddCollaudo";
_methodParameterTypes214 = new String[] {
_methodParameterTypes217 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName215 = "countByCanAddCollaudo";
_methodName218 = "countByCanAddCollaudo";
_methodParameterTypes215 = new String[] { "long", "java.lang.String" };
_methodParameterTypes218 = new String[] { "long", "java.lang.String" };
_methodName216 = "search";
_methodName219 = "search";
_methodParameterTypes216 = new String[] { "java.util.List", "int", "int" };
_methodParameterTypes219 = new String[] { "java.util.List", "int", "int" };
_methodName217 = "countSearch";
_methodName220 = "countSearch";
_methodParameterTypes217 = new String[] { "java.util.List" };
_methodParameterTypes220 = new String[] { "java.util.List" };
_methodName218 = "searchWithIntPraticaId";
_methodName221 = "searchWithIntPraticaId";
_methodParameterTypes218 = new String[] {
_methodParameterTypes221 = new String[] {
"java.util.List", "long", "int", "int"
};
_methodName219 = "allegaFileAnnullamento";
_methodName222 = "allegaFileAnnullamento";
_methodParameterTypes219 = new String[] {
_methodParameterTypes222 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName220 = "generateFileAnnullamento";
_methodName223 = "generateFileAnnullamento";
_methodParameterTypes220 = new String[] {
_methodParameterTypes223 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName221 = "deleteFileAnnullamento";
_methodName224 = "deleteFileAnnullamento";
_methodParameterTypes221 = new String[] { "long" };
_methodParameterTypes224 = new String[] { "long" };
_methodName222 = "completeAnnullamento";
_methodName225 = "completeAnnullamento";
_methodParameterTypes222 = new String[] { "long" };
_methodParameterTypes225 = new String[] { "long" };
_methodName223 = "cambiaIstruttore";
_methodName226 = "cambiaIstruttore";
_methodParameterTypes223 = new String[] { "long", "long", "long" };
_methodParameterTypes226 = new String[] { "long", "long", "long" };
_methodName224 = "countCaricoLavoroCF";
_methodName227 = "countCaricoLavoroCF";
_methodParameterTypes224 = new String[] {
_methodParameterTypes227 = new String[] {
"long", "java.lang.String", "java.lang.Long[][]"
};
_methodName225 = "countCaricoLavoroIstruttore";
_methodName228 = "countCaricoLavoroIstruttore";
_methodParameterTypes225 = new String[] { "long", "java.lang.String" };
_methodParameterTypes228 = new String[] { "long", "java.lang.String" };
_methodName226 = "generateReportPratica";
_methodName229 = "generateReportPratica";
_methodParameterTypes226 = new String[] {
_methodParameterTypes229 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName227 = "updateModifiedDate";
_methodName230 = "updateModifiedDate";
_methodParameterTypes227 = new String[] { "long", "java.util.Date" };
_methodParameterTypes230 = new String[] { "long", "java.util.Date" };
_methodName228 = "reIndexFascicolo";
_methodName231 = "reIndexFascicolo";
_methodParameterTypes228 = new String[] {
_methodParameterTypes231 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName229 = "reIndexFasciolo";
_methodName232 = "reIndexFasciolo";
_methodParameterTypes229 = new String[] { "java.lang.String", "long" };
_methodParameterTypes232 = new String[] { "java.lang.String", "long" };
_methodName230 = "reIndexFasciolo";
_methodName233 = "reIndexFasciolo";
_methodParameterTypes230 = new String[] { "long", "long" };
_methodParameterTypes233 = new String[] { "long", "long" };
_methodName231 = "findByNumeroProgetto";
_methodName234 = "findByNumeroProgetto";
_methodParameterTypes231 = new String[] { "java.lang.String" };
_methodParameterTypes234 = new String[] { "java.lang.String" };
_methodName232 = "findByTerritorioId";
_methodName235 = "findByTerritorioId";
_methodParameterTypes232 = new String[] { "long" };
_methodParameterTypes235 = new String[] { "long" };
_methodName233 = "getOrganizationByIntPraticaId";
_methodName236 = "getOrganizationByIntPraticaId";
_methodParameterTypes233 = new String[] { "long" };
_methodParameterTypes236 = new String[] { "long" };
_methodName234 = "hasRichiestaIntegrazioneAttiva";
_methodName237 = "hasRichiestaIntegrazioneAttiva";
_methodParameterTypes234 = new String[] { "long" };
_methodParameterTypes237 = new String[] { "long" };
_methodName235 = "invioMailNotifica";
_methodName238 = "invioMailNotifica";
_methodParameterTypes235 = new String[] {
_methodParameterTypes238 = new String[] {
"long", "long", "java.lang.String", "java.lang.String[][]",
"java.lang.String[][]", "java.lang.String[][]",
"java.lang.String", "com.liferay.portal.kernel.json.JSONObject",
"java.util.List", "com.liferay.portal.service.ServiceContext"
};
_methodName236 = "searchAltriProgetti";
_methodName239 = "searchAltriProgetti";
_methodParameterTypes236 = new String[] {
_methodParameterTypes239 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName237 = "searchArchivioProgetti";
_methodName240 = "searchArchivioProgetti";
_methodParameterTypes237 = new String[] {
_methodParameterTypes240 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName238 = "searchMieiProgetti";
_methodName241 = "searchMieiProgetti";
_methodParameterTypes238 = new String[] {
_methodParameterTypes241 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
@ -533,23 +551,41 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName176.equals(name) &&
Arrays.deepEquals(_methodParameterTypes176, parameterTypes)) {
return IntPraticaLocalServiceUtil.getTipiProcedure();
return IntPraticaLocalServiceUtil.filtraPraticheStato((java.util.Date)arguments[0],
(java.util.Date)arguments[1]);
}
if (_methodName177.equals(name) &&
Arrays.deepEquals(_methodParameterTypes177, parameterTypes)) {
return IntPraticaLocalServiceUtil.getVecchieProcedure();
return IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni((java.util.Date)arguments[0],
(java.util.Date)arguments[1]);
}
if (_methodName178.equals(name) &&
Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) {
return IntPraticaLocalServiceUtil.filtraPraticheAutorizzate((java.util.Date)arguments[0],
(java.util.Date)arguments[1]);
}
if (_methodName179.equals(name) &&
Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) {
return IntPraticaLocalServiceUtil.getTipiProcedure();
}
if (_methodName180.equals(name) &&
Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) {
return IntPraticaLocalServiceUtil.getVecchieProcedure();
}
if (_methodName181.equals(name) &&
Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) {
return IntPraticaLocalServiceUtil.addIntPratica(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
(com.liferay.portal.service.ServiceContext)arguments[2]);
}
if (_methodName179.equals(name) &&
Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) {
if (_methodName182.equals(name) &&
Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) {
return IntPraticaLocalServiceUtil.addIntPratica(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Long)arguments[3]).longValue(),
@ -561,74 +597,74 @@ public class IntPraticaLocalServiceClpInvoker {
(com.liferay.portal.service.ServiceContext)arguments[10]);
}
if (_methodName180.equals(name) &&
Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) {
if (_methodName183.equals(name) &&
Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByStatoPratica((java.lang.String)arguments[0]);
}
if (_methodName181.equals(name) &&
Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) {
if (_methodName184.equals(name) &&
Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByStatoPratica((java.lang.String)arguments[0],
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName182.equals(name) &&
Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) {
if (_methodName185.equals(name) &&
Arrays.deepEquals(_methodParameterTypes185, parameterTypes)) {
return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Boolean)arguments[1]).booleanValue());
}
if (_methodName183.equals(name) &&
Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) {
if (_methodName186.equals(name) &&
Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) {
return IntPraticaLocalServiceUtil.deleteIntPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0]);
}
if (_methodName184.equals(name) &&
Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) {
if (_methodName187.equals(name) &&
Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) {
return IntPraticaLocalServiceUtil.cloneIntPratica(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]);
}
if (_methodName186.equals(name) &&
Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) {
if (_methodName189.equals(name) &&
Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateDelegati(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.String)arguments[2],
((Boolean)arguments[3]).booleanValue());
}
if (_methodName187.equals(name) &&
Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) {
if (_methodName190.equals(name) &&
Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) {
return IntPraticaLocalServiceUtil.fetchIntPratica(((Long)arguments[0]).longValue());
}
if (_methodName188.equals(name) &&
Arrays.deepEquals(_methodParameterTypes188, parameterTypes)) {
if (_methodName191.equals(name) &&
Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
return IntPraticaLocalServiceUtil.findFascicoliNotProgetto(((Integer)arguments[0]).intValue(),
((Integer)arguments[1]).intValue());
}
if (_methodName189.equals(name) &&
Arrays.deepEquals(_methodParameterTypes189, parameterTypes)) {
if (_methodName192.equals(name) &&
Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
return IntPraticaLocalServiceUtil.countFascicoliNotProgetto();
}
if (_methodName191.equals(name) &&
Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
if (_methodName194.equals(name) &&
Arrays.deepEquals(_methodParameterTypes194, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByPosizione(((Double)arguments[0]).doubleValue(),
((Double)arguments[1]).doubleValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName192.equals(name) &&
Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
if (_methodName195.equals(name) &&
Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByPosizione(((Double)arguments[0]).doubleValue(),
((Double)arguments[1]).doubleValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName193.equals(name) &&
Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) {
if (_methodName196.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByPosizione(((Double)arguments[0]).doubleValue(),
((Double)arguments[1]).doubleValue(),
((Integer)arguments[2]).intValue(),
@ -636,168 +672,168 @@ public class IntPraticaLocalServiceClpInvoker {
((Integer)arguments[4]).intValue());
}
if (_methodName195.equals(name) &&
Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) {
if (_methodName198.equals(name) &&
Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
return IntPraticaLocalServiceUtil.addNumeroProgetto(((Long)arguments[0]).longValue());
}
if (_methodName196.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
return IntPraticaLocalServiceUtil.sospendiPratica(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue());
}
if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
if (_methodName200.equals(name) &&
Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
return IntPraticaLocalServiceUtil.cambiaTitolare(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[2]);
}
if (_methodName198.equals(name) &&
Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateStatoPratica(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByC_UserId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName200.equals(name) &&
Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByC_UserId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
if (_methodName204.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
IntPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue());
return null;
}
if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
if (_methodName208.equals(name) &&
Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName208.equals(name) &&
Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
if (_methodName212.equals(name) &&
Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
if (_methodName214.equals(name) &&
Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddFineLavori(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName212.equals(name) &&
Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
if (_methodName215.equals(name) &&
Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddFineLavori(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName214.equals(name) &&
Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
if (_methodName217.equals(name) &&
Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName215.equals(name) &&
Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) {
if (_methodName218.equals(name) &&
Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName216.equals(name) &&
Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) {
if (_methodName219.equals(name) &&
Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
return IntPraticaLocalServiceUtil.search((java.util.List<java.lang.Long>)arguments[0],
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName217.equals(name) &&
Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) {
if (_methodName220.equals(name) &&
Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSearch((java.util.List<java.lang.Long>)arguments[0]);
}
if (_methodName218.equals(name) &&
Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
if (_methodName221.equals(name) &&
Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchWithIntPraticaId((java.util.List<java.lang.Long>)arguments[0],
((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName219.equals(name) &&
Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
if (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
return IntPraticaLocalServiceUtil.allegaFileAnnullamento(((Long)arguments[0]).longValue(),
(byte[])arguments[1], (java.lang.String)arguments[2],
(java.lang.String)arguments[3],
(com.liferay.portal.service.ServiceContext)arguments[4]);
}
if (_methodName220.equals(name) &&
Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) {
if (_methodName223.equals(name) &&
Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]);
}
if (_methodName221.equals(name) &&
Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
if (_methodName224.equals(name) &&
Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) {
IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue());
return null;
}
if (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
if (_methodName225.equals(name) &&
Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) {
IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue());
return null;
}
if (_methodName223.equals(name) &&
Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) {
if (_methodName226.equals(name) &&
Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) {
IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue());
@ -805,76 +841,76 @@ public class IntPraticaLocalServiceClpInvoker {
return null;
}
if (_methodName224.equals(name) &&
Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) {
if (_methodName227.equals(name) &&
Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.Long[])arguments[2]);
}
if (_methodName225.equals(name) &&
Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) {
if (_methodName228.equals(name) &&
Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName226.equals(name) &&
Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) {
if (_methodName229.equals(name) &&
Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
}
if (_methodName227.equals(name) &&
Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) {
if (_methodName230.equals(name) &&
Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(),
(java.util.Date)arguments[1]);
}
if (_methodName228.equals(name) &&
Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) {
if (_methodName231.equals(name) &&
Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
return null;
}
if (_methodName229.equals(name) &&
Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) {
if (_methodName232.equals(name) &&
Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0],
((Long)arguments[1]).longValue());
return null;
}
if (_methodName230.equals(name) &&
Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) {
if (_methodName233.equals(name) &&
Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
return null;
}
if (_methodName231.equals(name) &&
Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) {
if (_methodName234.equals(name) &&
Arrays.deepEquals(_methodParameterTypes234, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]);
}
if (_methodName232.equals(name) &&
Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) {
if (_methodName235.equals(name) &&
Arrays.deepEquals(_methodParameterTypes235, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue());
}
if (_methodName233.equals(name) &&
Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) {
if (_methodName236.equals(name) &&
Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) {
return IntPraticaLocalServiceUtil.getOrganizationByIntPraticaId(((Long)arguments[0]).longValue());
}
if (_methodName234.equals(name) &&
Arrays.deepEquals(_methodParameterTypes234, parameterTypes)) {
if (_methodName237.equals(name) &&
Arrays.deepEquals(_methodParameterTypes237, parameterTypes)) {
return IntPraticaLocalServiceUtil.hasRichiestaIntegrazioneAttiva(((Long)arguments[0]).longValue());
}
if (_methodName235.equals(name) &&
Arrays.deepEquals(_methodParameterTypes235, parameterTypes)) {
if (_methodName238.equals(name) &&
Arrays.deepEquals(_methodParameterTypes238, parameterTypes)) {
IntPraticaLocalServiceUtil.invioMailNotifica(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
(java.lang.String)arguments[2],
@ -889,24 +925,24 @@ public class IntPraticaLocalServiceClpInvoker {
return null;
}
if (_methodName236.equals(name) &&
Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) {
if (_methodName239.equals(name) &&
Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchAltriProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName237.equals(name) &&
Arrays.deepEquals(_methodParameterTypes237, parameterTypes)) {
if (_methodName240.equals(name) &&
Arrays.deepEquals(_methodParameterTypes240, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchArchivioProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName238.equals(name) &&
Arrays.deepEquals(_methodParameterTypes238, parameterTypes)) {
if (_methodName241.equals(name) &&
Arrays.deepEquals(_methodParameterTypes241, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchMieiProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(),
@ -978,26 +1014,26 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes183;
private String _methodName184;
private String[] _methodParameterTypes184;
private String _methodName185;
private String[] _methodParameterTypes185;
private String _methodName186;
private String[] _methodParameterTypes186;
private String _methodName187;
private String[] _methodParameterTypes187;
private String _methodName188;
private String[] _methodParameterTypes188;
private String _methodName189;
private String[] _methodParameterTypes189;
private String _methodName190;
private String[] _methodParameterTypes190;
private String _methodName191;
private String[] _methodParameterTypes191;
private String _methodName192;
private String[] _methodParameterTypes192;
private String _methodName193;
private String[] _methodParameterTypes193;
private String _methodName194;
private String[] _methodParameterTypes194;
private String _methodName195;
private String[] _methodParameterTypes195;
private String _methodName196;
private String[] _methodParameterTypes196;
private String _methodName197;
private String[] _methodParameterTypes197;
private String _methodName198;
private String[] _methodParameterTypes198;
private String _methodName199;
@ -1010,6 +1046,8 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes202;
private String _methodName203;
private String[] _methodParameterTypes203;
private String _methodName204;
private String[] _methodParameterTypes204;
private String _methodName205;
private String[] _methodParameterTypes205;
private String _methodName206;
@ -1026,8 +1064,6 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes214;
private String _methodName215;
private String[] _methodParameterTypes215;
private String _methodName216;
private String[] _methodParameterTypes216;
private String _methodName217;
private String[] _methodParameterTypes217;
private String _methodName218;
@ -1072,4 +1108,10 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes237;
private String _methodName238;
private String[] _methodParameterTypes238;
private String _methodName239;
private String[] _methodParameterTypes239;
private String _methodName240;
private String[] _methodParameterTypes240;
private String _methodName241;
private String[] _methodParameterTypes241;
}

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

@ -8,6 +8,45 @@
package it.tref.liferay.portos.bo.service.impl;
import com.liferay.portal.kernel.dao.orm.Disjunction;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil;
import com.liferay.portal.kernel.dao.orm.Property;
import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.json.JSONObject;
import com.liferay.portal.kernel.json.JSONSerializer;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.repository.model.FileEntry;
import com.liferay.portal.kernel.repository.model.Folder;
import com.liferay.portal.kernel.search.Hits;
import com.liferay.portal.kernel.search.Indexable;
import com.liferay.portal.kernel.search.IndexableType;
import com.liferay.portal.kernel.search.Indexer;
import com.liferay.portal.kernel.search.IndexerRegistryUtil;
import com.liferay.portal.kernel.util.LocaleUtil;
import com.liferay.portal.kernel.util.MimeTypesUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil;
import com.liferay.portal.kernel.workflow.WorkflowTask;
import com.liferay.portal.model.Group;
import com.liferay.portal.model.Organization;
import com.liferay.portal.model.User;
import com.liferay.portal.security.permission.PermissionThreadLocal;
import com.liferay.portal.service.GroupLocalServiceUtil;
import com.liferay.portal.service.OrganizationLocalServiceUtil;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil;
import com.liferay.portlet.documentlibrary.NoSuchFolderException;
import it.mwg.sismica.bo.search.IntPraticaSearch;
import it.mwg.sismica.bo.shared.util.AvvisoUtil;
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil;
@ -31,6 +70,7 @@ import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.base.IntPraticaLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil;
import it.tref.liferay.portos.bo.shared.bean.FirmeBean;
import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants;
import it.tref.liferay.portos.bo.shared.util.FirmeUtil;
@ -66,45 +106,6 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang.StringUtils;
import com.liferay.portal.kernel.dao.orm.Disjunction;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil;
import com.liferay.portal.kernel.dao.orm.Property;
import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil;
import com.liferay.portal.kernel.dao.orm.QueryUtil;
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.json.JSONObject;
import com.liferay.portal.kernel.json.JSONSerializer;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.repository.model.FileEntry;
import com.liferay.portal.kernel.repository.model.Folder;
import com.liferay.portal.kernel.search.Hits;
import com.liferay.portal.kernel.search.Indexable;
import com.liferay.portal.kernel.search.IndexableType;
import com.liferay.portal.kernel.search.Indexer;
import com.liferay.portal.kernel.search.IndexerRegistryUtil;
import com.liferay.portal.kernel.util.LocaleUtil;
import com.liferay.portal.kernel.util.MimeTypesUtil;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil;
import com.liferay.portal.kernel.workflow.WorkflowTask;
import com.liferay.portal.model.Group;
import com.liferay.portal.model.Organization;
import com.liferay.portal.model.User;
import com.liferay.portal.security.permission.PermissionThreadLocal;
import com.liferay.portal.service.GroupLocalServiceUtil;
import com.liferay.portal.service.OrganizationLocalServiceUtil;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil;
import com.liferay.portlet.documentlibrary.NoSuchFolderException;
/**
* The implementation of the int pratica local service.
* <p>
@ -131,7 +132,15 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
private static Map<String, String> vecchieProcedure = null;
private static final Log _log = LogFactoryUtil.getLog(IntPraticaLocalServiceImpl.class);
public List<Object[]> filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori) throws SystemException {
return IntPraticaFinderUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori);
}
public List<Object[]> filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori) throws SystemException {
return IntPraticaFinderUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
}
public List<Object[]> filtraPraticheAutorizzate(Date dataInizioLavori, Date dataFineLavori) throws SystemException {
return IntPraticaFinderUtil.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori);
}
@Override
public Map<String, String> getTipiProcedure() {

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

@ -8,6 +8,11 @@
package it.tref.liferay.portos.bo.service.impl;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.repository.model.FileEntry;
import com.liferay.portal.service.ServiceContext;
import it.mwg.sismica.bo.shared.util.AzioniPraticheUtil;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Territorio;
@ -18,11 +23,6 @@ import it.tref.liferay.portos.bo.shared.util.ActionKeys;
import java.io.IOException;
import java.util.List;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.repository.model.FileEntry;
import com.liferay.portal.service.ServiceContext;
/**
* The implementation of the int pratica remote service.
* <p>

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

@ -1,10 +1,5 @@
package it.tref.liferay.portos.bo.service.persistence;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import java.util.List;
import com.liferay.portal.kernel.dao.orm.ORMException;
import com.liferay.portal.kernel.dao.orm.QueryPos;
import com.liferay.portal.kernel.dao.orm.SQLQuery;
@ -15,6 +10,12 @@ import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.service.persistence.impl.BasePersistenceImpl;
import com.liferay.util.dao.orm.CustomSQLUtil;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import java.util.Date;
import java.util.List;
public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implements IntPraticaFinder {
private static final Log _log = LogFactoryUtil.getLog(IntPraticaFinderImpl.class);
@ -71,4 +72,80 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implem
}
}
}
private final String FILTRA_PRATICHE_STATO = "IntPratica.reportPraticaStato";
private final String FILTRA_PRATICHE_INTEGRAZIONI = "IntPratica.reportPraticaIntegrazioni";
private final String FILTRA_PRATICHE_AUTORIZZAZIONI = "IntPratica.reportPraticaAutorizzazioni";
public List<Object[]> filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori)
throws SystemException {
Session session = null;
try {
session = openSession();
String sql = CustomSQLUtil.get(FILTRA_PRATICHE_STATO);
SQLQuery query = session.createSQLQuery(sql);
query.setCacheable(false);
QueryPos qPos = QueryPos.getInstance(query);
qPos.add(dataInizioLavori);
qPos.add(dataFineLavori);
@SuppressWarnings("unchecked")
List<Object[]> l = query.list();
return l;
} catch (ORMException e) {
_log.error("Errore", e);
throw new RuntimeException(e);
} finally {
if (session != null) {
closeSession(session);
}
}
}
public List<Object[]> filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori)
throws SystemException {
Session session = null;
try {
session = openSession();
String sql = CustomSQLUtil.get(FILTRA_PRATICHE_INTEGRAZIONI);
SQLQuery query = session.createSQLQuery(sql);
query.setCacheable(false);
QueryPos qPos = QueryPos.getInstance(query);
qPos.add(dataInizioLavori);
qPos.add(dataFineLavori);
@SuppressWarnings("unchecked")
List<Object[]> l = query.list();
return l;
} catch (ORMException e) {
_log.error("Errore", e);
throw new RuntimeException(e);
} finally {
if (session != null) {
closeSession(session);
}
}
}
public List<Object[]> filtraPraticheAutorizzate(Date dataInizioLavori, Date dataFineLavori)
throws SystemException {
Session session = null;
try {
session = openSession();
String sql = CustomSQLUtil.get(FILTRA_PRATICHE_AUTORIZZAZIONI);
SQLQuery query = session.createSQLQuery(sql);
query.setCacheable(false);
QueryPos qPos = QueryPos.getInstance(query);
qPos.add(dataInizioLavori);
qPos.add(dataFineLavori);
@SuppressWarnings("unchecked")
List<Object[]> l = query.list();
return l;
} catch (ORMException e) {
_log.error("Errore", e);
throw new RuntimeException(e);
} finally {
if (session != null) {
closeSession(session);
}
}
}
}

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

@ -13,8 +13,8 @@
##
build.namespace=portos_bo
build.number=3616
build.date=1677835577253
build.number=3649
build.date=1680100687665
build.auto.upgrade=true
##

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

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

1
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml

@ -3,4 +3,5 @@
<project name="portos-reportistica-portlet" basedir="." default="deploy">
<import file="../build-common-portlet.xml" />
</project>

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

6
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-display.xml

@ -2,7 +2,9 @@
<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd">
<display>
<category name="category.sample">
<portlet id="portos-reportistica" />
<category name="category.portos">
<category name="category.reportistica">
<portlet id="1" />
</category>
</category>
</display>

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

@ -9,3 +9,10 @@ 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

6
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml

@ -3,8 +3,12 @@
<liferay-portlet-app>
<portlet>
<portlet-name>portos-reportistica</portlet-name>
<portlet-name>1</portlet-name>
<icon>/icon.png</icon>
<control-panel-entry-category>
configuration
</control-panel-entry-category>
<control-panel-entry-weight>1.8</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-reportistica-portlet</css-class-wrapper>

8
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml

@ -2,17 +2,19 @@
<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>portos-reportistica</portlet-name>
<portlet-name>1</portlet-name>
<display-name>Portos Reportistica</display-name>
<portlet-class>com.liferay.util.bridges.mvc.MVCPortlet</portlet-class>
<portlet-class>reportistica.Reportistica</portlet-class>
<init-param>
<name>view-template</name>
<value>/view.jsp</value>
<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>
<resource-bundle>content.Language</resource-bundle>
<portlet-info>
<title>Portos Reportistica</title>
<short-title>Portos Reportistica</short-title>

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

@ -0,0 +1,107 @@
regione_sicilia_paesaggistica=Portale Paesaggistica
portale_liferay_tooltip=liferay-portal-6.2-ce-ga6-6.2.5
pagina_reportistica=Pagina di reportistica
filtra_pratiche_tooltip=Date per limitare la ricerca
date_picker_inizio=Data iniziale:
date_picker_fine=Data finale:
pulsante_filtra_submit=Applica range
titolo_pagina_reportistica=Dashboard di Reportistica
titolo_campi_filtro=Range date di filtro:
titolo_tabella_risultati_stato=Filtro Pratiche per Stato e Tipo
titolo_tabella_risultati_integrazioni=Filtro Pratiche per Integrazioni
titolo_tabella_risultati_autorizzazioni=Filtro Pratiche Autorizzate e non Autorizzate
titolo_period=nel periodo
titolo_report_aggreg=Aggregazione Reportistica
pulsante_scarica_report_1=Scarica CSV Stati
pulsante_scarica_report_2=Scarica CSV Integrazioni
pulsante_scarica_report_3=Scarica CSV Autorizzazioni
stringa_csv_vuoto_stato=Filtro stati senza risultati
stringa_csv_vuoto_integrazioni=Filtro integrazioni senza risultati
stringa_csv_vuoto_autorizzazioni=Filtro autorizzazioni senza risultati
report_stato_vuoto=Report stati senza risultati
report_integra_vuoto=Report integrazioni senza risultati
report_autor_vuoto=Report autorizzazioni senza risultati
tipo_procedura=Tipo procedura
traduzione_tipo_procedura=Traduzione Tipo procedura
stato_pratica=Stato pratica
traduzione_stato_pratica=Traduzione Stato pratica
numero_pratiche=Numero pratiche
label_procedura_P0 = 1
tipo_procedura_P0 = Autorizzazione per interventi su Beni Culturali (D.Lgs. 42/2004 art. 21, 31, 48, 49, 50)
label_procedura_P1 = 1.1
tipo_procedura_P1 = Interventi su Beni Culturali mobili
label_procedura_P2 = 1.2
tipo_procedura_P2 = Interventi su Beni Culturali immobili
label_procedura_P3 = 2
tipo_procedura_P3 = Verifica preventiva dell'interesse archeologico (D.Lgs. 25/2016, art. 25)
label_procedura_P4 = 3
tipo_procedura_P4 = Autorizzazione per interventi di edilizia su Beni Culturali (D.Lgs. 42/2004 artt. 21, 22)
label_procedura_P5 = 4
tipo_procedura_P5 = Autorizzazione paesaggistica per interventi e/o opere di grande impegno territoriale (D.Lgs. 42/2004 art. 146)
label_procedura_P6 = 5
tipo_procedura_P6 = Autorizzazione paesaggistica per opere il cui impatto è valutato mediante documentazione semplificata (D.Lgs. 42/2004 art. 146)
label_procedura_P7 = 6
tipo_procedura_P7 = Autorizzazione paesaggistica per interventi di lieve entità (L.R. 5/2019 artt. 3, 5)
label_procedura_P8 = 7
tipo_procedura_P8 = Accertamento di compatibilità paesaggistica (D.Lgs. 42/2004 art. 146, 167)
label_procedura_P9 = 8
tipo_procedura_P9 = Accertamento di compatibilità paesaggistica per Sanatorie Edilizie (L. 47/1985 e L.R. 37/1985 - L. 724/1994 - L. 326/2003 e L.R. 15/2004)
label_procedura_P10 = 9
tipo_procedura_P10 = Certificazione di sussistenza vincoli
label_procedura_Q1 = 1
tipo_procedura_Q1 = Autorizzazione per interventi su Beni Culturali mobili, apparati decorativi, organi a canne
label_procedura_Q2 = 2
tipo_procedura_Q2 = Autorizzazione per interventi su Beni Culturali immobili
label_procedura_Q3 = 3
tipo_procedura_Q3 = Verifica preventiva dell'interesse archeologico
label_procedura_Q4 = 4
tipo_procedura_Q4 = Autorizzazione prevista dagli strumenti urbanistici per interventi in aree e immobili non assoggettati a tutela ai sensi del D.Lgs. 42/2004
label_procedura_Q5 = 5
tipo_procedura_Q5 = Autorizzazione per "Settori Speciali"
label_procedura_Q6 = 6
tipo_procedura_Q6 = Autorizzazione paesaggistica
label_procedura_Q7 = 7
tipo_procedura_Q7 = Autorizzazione paesaggistica per interventi di lieve entità
label_procedura_Q8 = 8
tipo_procedura_Q8 = Accertamento di compatibilità paesaggistica
label_procedura_Q9 = 9
tipo_procedura_Q9 = Accertamento di compatibilità paesaggistica per istanze di Condono Edilizio
label_procedura_Q10 = 10
tipo_procedura_Q10 = Certificazione di sussistenza vincoli
stato-pratica-AL = Annullata
stato-pratica-AU = Autorizzata
stato-pratica-AV = Attestazione vincoli
stato-pratica-CL = Collaudo
stato-pratica-CP = Collaudo parziale
stato-pratica-CO = Conforme
stato-pratica-FL = Fine lavori
stato-pratica-FP = Fine lavori parziale
stato-pratica-IN = Richiesta integrazione
stato-pratica-SI = Integrazione accettata
stato-pratica-AN = Non autorizzata
stato-pratica-NC = Non conforme
stato-pratica-NP = Non si rilascia parere (conclusione procedimento)
stato-pratica-PC = Preavviso di parere contrario
stato-pratica-RI = Rifiutata
stato-pratica-SP = Sottoposta a parere
stato-pratica-VA = Variata
stato-pratica-VI = Vidimata
stato-pratica-AI = Richiesto annullamento
stato-pratica-AU = Autorizzazione
stato-pratica-CI = Cambio istruttore
stato-pratica-AN = Autorizzazione negata
stato-pratica-VS = Variazione soggetti
stato-pratica-V1 = Apertura VIArch
stato-pratica-V2 = Chiusura VIArch
stato-pratica-DS = Decreto sanzione
stato-pratica-PS = Perizia sanzione

5
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java

@ -1,5 +0,0 @@
package it.nextmind.portos.reportistica;
public class ReportisticaPortlet {
}

141
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/reportistica/Reportistica.java

@ -0,0 +1,141 @@
package reportistica;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.portlet.PortletResponseUtil;
import com.liferay.portal.kernel.util.ContentTypes;
import com.liferay.portal.kernel.util.DateFormatFactoryUtil;
import com.liferay.portal.kernel.util.ParamUtil;
import com.liferay.util.bridges.mvc.MVCPortlet;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import java.io.IOException;
import java.io.StringWriter;
import java.math.BigInteger;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import javax.portlet.PortletException;
import javax.portlet.ResourceRequest;
import javax.portlet.ResourceResponse;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVPrinter;
public class Reportistica extends MVCPortlet {
@Override
public void serveResource(ResourceRequest req, ResourceResponse rep) throws IOException, PortletException {
String idAzione = req.getResourceID();
Date dataInizioLavori = ParamUtil.getDate(req, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
Date dataFineLavori = ParamUtil.getDate(req, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
String contentType = ContentTypes.APPLICATION_TEXT;
Locale loc = req.getLocale();
String tipo_procedura = LanguageUtil.get(loc, "tipo_procedura");
String stato_pratica = LanguageUtil.get(loc, "stato_pratica");
String numero_pratiche = LanguageUtil.get(loc, "numero_pratiche");
DateFormat formatter = new SimpleDateFormat("yyyyMMdd");
String nel_periodo =formatter.format(dataInizioLavori) +"-"+formatter.format(dataFineLavori);
if ("azioneScarica1".equals(idAzione)) {
String fileName = "report_stati"+nel_periodo+".csv";
try(
StringWriter sw = new StringWriter();
CSVPrinter csvPrinter = new CSVPrinter(sw, CSVFormat.DEFAULT.
withHeader(
tipo_procedura,
stato_pratica,
numero_pratiche)
);
){
List<Object[]> i = IntPraticaLocalServiceUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori);
for(Object[] record : i){
String tipoprocedura = (String)record[0];
tipoprocedura+= ":"+LanguageUtil.get(loc, "tipo_procedura_"+tipoprocedura);
String statopratica = (String)record[1];
statopratica+= ":"+LanguageUtil.get(loc, "stato-pratica-"+statopratica);
BigInteger countStati = (BigInteger)record[2];
csvPrinter.printRecord(tipoprocedura, statopratica, countStati);
}
csvPrinter.flush();
PortletResponseUtil.sendFile(req, rep,
fileName, sw.toString().getBytes(), contentType);
return;
} catch (SystemException | IOException e) {
e.printStackTrace();
return;
}
}
if ("azioneScarica2".equals(idAzione)) {
String fileName = "report_integ"+nel_periodo+".csv";
try(
StringWriter sw = new StringWriter();
CSVPrinter csvPrinter = new CSVPrinter(sw, CSVFormat.DEFAULT.
withHeader(
tipo_procedura,
numero_pratiche)
);
){
List<Object[]> j = IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
for(Object[] record : j){
String tipoprocedura = (String)record[0];
tipoprocedura+= ":"+LanguageUtil.get(loc, "tipo_procedura_"+tipoprocedura);
BigInteger countIntegrazioni = (BigInteger)record[1];
csvPrinter.printRecord(tipoprocedura, countIntegrazioni);
}
csvPrinter.flush();
PortletResponseUtil.sendFile(req, rep,
fileName, sw.toString().getBytes(), contentType);
return;
} catch (SystemException | IOException e) {
e.printStackTrace();
return;
}
}
if ("azioneScarica3".equals(idAzione)) {
String fileName = "report_autor"+nel_periodo+".csv";
try(
StringWriter sw = new StringWriter();
CSVPrinter csvPrinter = new CSVPrinter(sw, CSVFormat.DEFAULT.
withHeader(
tipo_procedura,
stato_pratica,
numero_pratiche)
);
){
List<Object[]> k = IntPraticaLocalServiceUtil.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori);
for(Object[] record : k){
String tipoprocedura = (String)record[0];
tipoprocedura+= ":"+LanguageUtil.get(loc, "tipo_procedura_"+tipoprocedura);
String statopratica = (String)record[1];
statopratica+= ":"+LanguageUtil.get(loc, "stato-pratica-"+statopratica);
BigInteger countStati = (BigInteger)record[2];
csvPrinter.printRecord(tipoprocedura, statopratica, countStati);
}
csvPrinter.flush();
PortletResponseUtil.sendFile(req, rep,
fileName, sw.toString().getBytes(), contentType);
return;
} catch (SystemException | IOException e) {
e.printStackTrace();
return;
}
}
super.serveResource(req, rep);
}
}

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

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

306
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp

@ -0,0 +1,306 @@
<%@page import="java.util.Map.Entry"%>
<%@page import="java.text.DateFormat"%>
<%@page import="reportistica.Reportistica"%>
<%@page import="com.liferay.portal.kernel.language.LanguageUtil"%>
<%@page import="java.util.TreeMap"%>
<%@page import="java.util.SortedMap"%>
<%@page import="java.util.Map"%>
<%@page import="java.math.BigInteger"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.liferay.portal.kernel.util.UnmodifiableList"%>
<%@page import="java.util.Iterator"%>
<%@page import="it.tref.liferay.portos.bo.model.DocPratica"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
<%@page import="it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Date"%>
<%@page import="javax.portlet.PortletURL"%>
<%@page import="com.liferay.portal.model.Group"%>
<%@page import="com.liferay.portal.kernel.util.Validator"%>
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%>
<%@page import="com.liferay.portal.kernel.util.DateFormatFactoryUtil"%>
<%@page import="com.liferay.portlet.PortletURLFactoryUtil"%>
<%@page import="com.liferay.portal.kernel.util.ListUtil"%>
<%@ include file="/html/init.jsp"%>
<%
Date dataInizioLavori = ParamUtil.getDate(request, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
Date dataFineLavori = ParamUtil.getDate(request, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
%>
<aui:field-wrapper label="regione_sicilia_paesaggistica" helpMessage="portale_liferay_tooltip"> <aui:fieldset label="pagina_reportistica" helpMessage="filtra_pratiche_tooltip" column="true">
<aui:row>
<h1><%= LanguageUtil.get(pageContext, "titolo_pagina_reportistica") %></h1>
</aui:row>
<aui:row style="padding-bottom: 10px; padding-top: 15px;">
<h4>
<%= LanguageUtil.get(pageContext, "titolo_campi_filtro") %>
</h4>
</aui:row>
<aui:row>
<liferay-portlet:renderURL var="filtraPerRangeDataURL" >
<liferay-portlet:param name="mvcPath" value="/html/view.jsp"/>
</liferay-portlet:renderURL>
<aui:form action="<%= filtraPerRangeDataURL %>" method="post">
<div style="display:flex;">
<aui:row>
<aui:column>
<aui:input
name="dataInizioInput"
inlineLabel="left"
label="date_picker_inizio"
type="date"
value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataInizioLavori) %>'>
</aui:input>
</aui:column>
<aui:column>
<aui:input
name="dataFineInput"
inlineLabel="left"
label="date_picker_fine"
type="date"
value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataFineLavori) %>'>
</aui:input>
</aui:column>
<aui:column>
<aui:button style="margin-top: 25px;"
value="pulsante_filtra_submit"
cssClass="btn-primary"
type="submit"
/>
</aui:column>
</aui:row>
</div>
</aui:form>
</aui:row>
</aui:fieldset></aui:field-wrapper>
<hr>
<%
Map<String, BigInteger> stati = new TreeMap<String, BigInteger>();
Map<String, BigInteger> integrazioni = new TreeMap<String, BigInteger>();
Map<String, BigInteger> autorizzazioni = new TreeMap<String, BigInteger>();
List<Object[]> i = IntPraticaLocalServiceUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori);
List<Object[]> j = IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
List<Object[]> k = IntPraticaLocalServiceUtil.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori);
DateFormat formatter = DateFormat.getDateInstance(DateFormat.SHORT);
String nel_periodo = LanguageUtil.get(pageContext, "titolo_period") +
" " +
formatter.format(dataInizioLavori) +
"-" +
formatter.format(dataFineLavori);
%>
<aui:field-wrapper>
<aui:fieldset label="titolo_tabella_risultati_stato">
<aui:row>
<aui:col width="80">
<liferay-ui:search-container total="<%=i.size()%>" var="searchContainer" emptyResultsMessage="stringa_csv_vuoto_stato" >
<liferay-ui:search-container-results results="<%=i %>" />
<liferay-ui:search-container-row modelVar="o" className="java.lang.Object" >
<liferay-ui:search-container-column-text name="tipo_procedura" value="${o[0]}"/>
<liferay-ui:search-container-column-text name="traduzione_tipo_procedura" translate="true" value="tipo_procedura_${o[0]}"/>
<liferay-ui:search-container-column-text name="stato_pratica" value="${o[1]}"/>
<liferay-ui:search-container-column-text name="traduzione_stato_pratica" translate="true" value="stato-pratica-${o[1]}"/>
<liferay-ui:search-container-column-text name="numero_pratiche" value="${o[2]}"/>
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="false"/>
</liferay-ui:search-container>
</aui:col>
<aui:col width="20" style="margin-top: 25px;">
<portlet:resourceURL var="azioneScarica1URL" id="azioneScarica1">
</portlet:resourceURL>
<c:if test="<%= null!=i&&!i.isEmpty()%>">
<aui:button
cssClass="btn-primary"
value="pulsante_scarica_report_1"
href="<%= azioneScarica1URL %>"
>
</aui:button>
</c:if>
</aui:col>
</aui:row>
<h3><%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_stato") %> | <%= LanguageUtil.get(pageContext, "titolo_report_aggreg") %> </h3>
<aui:row>
<%for(Object[] record : i)
{String tipoprocedura = (String)record[0];
BigInteger countStati = (BigInteger)record[2];
BigInteger rigaCountMappa = stati.get(tipoprocedura);
if(null!=countStati&null!=tipoprocedura)
{if(null!=rigaCountMappa)
{stati.put(tipoprocedura, countStati.add(rigaCountMappa));
}
else
{stati.put(tipoprocedura,countStati);
}
}
}
List<Entry<String, BigInteger>> statiEntryList=new ArrayList<Entry<String, BigInteger>>(stati.entrySet());
%>
<aui:col width="30">
<liferay-ui:search-container total="<%=statiEntryList.size()%>" var="searchContainer" emptyResultsMessage="report_stato_vuoto" >
<liferay-ui:search-container-results results="<%=statiEntryList %>" />
<liferay-ui:search-container-row modelVar="e" className="java.util.Map.Entry" >
<liferay-ui:search-container-column-text name="tipo_procedura" value="${e.getKey()}"/>
<liferay-ui:search-container-column-text name="numero_pratiche" value="${e.getValue()}"/>
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="false"/>
</liferay-ui:search-container>
</aui:col>
</aui:row>
</aui:fieldset>
</aui:field-wrapper>
<aui:field-wrapper>
<aui:fieldset label="titolo_tabella_risultati_integrazioni">
<aui:row>
<aui:col width="80">
<liferay-ui:search-container total="<%=j.size()%>" var="searchContainer" emptyResultsMessage="stringa_csv_vuoto_integrazioni" >
<liferay-ui:search-container-results results="<%=j %>" />
<liferay-ui:search-container-row modelVar="o" className="java.lang.Object" >
<liferay-ui:search-container-column-text name="tipo_procedura" value="${o[0]}"/>
<liferay-ui:search-container-column-text name="traduzione_tipo_procedura" translate="true" value="tipo_procedura_${o[0]}"/>
<liferay-ui:search-container-column-text name="numero_pratiche" value="${o[1]}"/>
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="false"/>
</liferay-ui:search-container>
</aui:col>
<aui:col width="20" style="margin-top: 25px;">
<portlet:resourceURL var="azioneScarica2URL" id="azioneScarica2">
</portlet:resourceURL>
<c:if test="<%= null!=j&&!j.isEmpty()%>">
<aui:button
cssClass="btn-primary"
value="pulsante_scarica_report_2"
href="<%= azioneScarica2URL %>"
>
</aui:button>
</c:if>
</aui:col>
</aui:row>
<h3><%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_integrazioni") %> | <%= LanguageUtil.get(pageContext, "titolo_report_aggreg") %></h3>
<aui:row>
<%for(Object[] record : j)
{String tipoprocedura = (String)record[0];
BigInteger countInt = (BigInteger)record[1];
BigInteger rigaCountMappa = integrazioni.get(tipoprocedura);
if(null!=countInt&null!=tipoprocedura)
{if(null!=rigaCountMappa)
{integrazioni.put(tipoprocedura, countInt.add(rigaCountMappa));
}
else
{integrazioni.put(tipoprocedura,countInt);
}
}
}
List<Entry<String, BigInteger>> intEntryList=new ArrayList<Entry<String, BigInteger>>(integrazioni.entrySet());
%>
<aui:col width="30">
<liferay-ui:search-container total="<%=intEntryList.size()%>" var="searchContainer" emptyResultsMessage="report_integra_vuoto" >
<liferay-ui:search-container-results results="<%=intEntryList %>" />
<liferay-ui:search-container-row modelVar="e" className="java.util.Map.Entry" >
<liferay-ui:search-container-column-text name="tipo_procedura" value="${e.getKey()}"/>
<liferay-ui:search-container-column-text name="numero_pratiche" value="${e.getValue()}"/>
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="false"/>
</liferay-ui:search-container>
</aui:col>
</aui:row>
</aui:fieldset>
</aui:field-wrapper>
<aui:field-wrapper>
<aui:fieldset label="titolo_tabella_risultati_autorizzazioni">
<aui:row>
<aui:col width="80">
<liferay-ui:search-container total="<%=k.size()%>" var="searchContainer" emptyResultsMessage="stringa_csv_vuoto_autorizzazioni" >
<liferay-ui:search-container-results results="<%=k %>" />
<liferay-ui:search-container-row modelVar="o" className="java.lang.Object" >
<liferay-ui:search-container-column-text name="tipo_procedura" value="${o[0]}"/>
<liferay-ui:search-container-column-text name="traduzione_tipo_procedura" translate="true" value="tipo_procedura_${o[0]}"/>
<liferay-ui:search-container-column-text name="stato_pratica" value="${o[1]}"/>
<liferay-ui:search-container-column-text name="traduzione_stato_pratica" translate="true" value="stato-pratica-${o[1]}"/>
<liferay-ui:search-container-column-text name="numero_pratiche" value="${o[2]}"/>
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="false"/>
</liferay-ui:search-container>
</aui:col>
<aui:col width="20" style="margin-top: 25px;">
<portlet:resourceURL var="azioneScarica3URL" id="azioneScarica3">
</portlet:resourceURL>
<c:if test="<%= null!=k&&!k.isEmpty()%>">
<aui:button
cssClass="btn-primary"
value="pulsante_scarica_report_3"
href="<%= azioneScarica3URL %>"
>
</aui:button>
</c:if>
</aui:col>
</aui:row>
<h3><%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_autorizzazioni") %> | <%= LanguageUtil.get(pageContext, "titolo_report_aggreg") %> </h3>
<aui:row>
<%for(Object[] record : k)
{String tipoprocedura = (String)record[0];
BigInteger countAuto = (BigInteger)record[2];
BigInteger rigaCountMappa = autorizzazioni.get(tipoprocedura);
if(null!=countAuto&null!=tipoprocedura)
{if(null!=rigaCountMappa)
{autorizzazioni.put(tipoprocedura, countAuto.add(rigaCountMappa));
}
else
{autorizzazioni.put(tipoprocedura,countAuto);
}
}
}
List<Entry<String, BigInteger>> autoEntryList=new ArrayList<Entry<String, BigInteger>>(autorizzazioni.entrySet());
%>
<aui:col width="30">
<liferay-ui:search-container total="<%=autoEntryList.size()%>" var="searchContainer" emptyResultsMessage="report_autor_vuoto" >
<liferay-ui:search-container-results results="<%=autoEntryList %>" />
<liferay-ui:search-container-row modelVar="e" className="java.util.Map.Entry" >
<liferay-ui:search-container-column-text name="tipo_procedura" value="${e.getKey()}"/>
<liferay-ui:search-container-column-text name="numero_pratiche" value="${e.getValue()}"/>
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="false"/>
</liferay-ui:search-container>
</aui:col>
</aui:row>
</aui:fieldset>
</aui:field-wrapper>

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

@ -0,0 +1 @@
e801ce4e2cdef8a0bf759f7d48e9ed48
Caricamento…
Annulla
Salva