Sfoglia il codice sorgente

add csv report download for queries

develop
E-A 2 anni fa
parent
commit
ff9bc36601
  1. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  2. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  3. 468
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  4. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  5. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  6. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java
  7. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java
  8. 21
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml
  9. 474
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  10. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  11. 28
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java
  12. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  13. BIN
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/commons-csv.jar
  14. BIN
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  15. 6
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-display.xml
  16. 3
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml
  17. 5
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml
  18. 83
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/content/Language.properties
  19. 135
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/reportistica/Reportistica.java
  20. 191
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp

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

File binario non mostrato.

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

@ -325,6 +325,10 @@ public interface IntPraticaLocalService extends BaseLocalService,
java.util.Date dataInizioLavori, java.util.Date dataFineLavori) java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException; 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) @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure(); public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure();

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

@ -143,267 +143,273 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
"java.util.Date", "java.util.Date" "java.util.Date", "java.util.Date"
}; };
_methodName25 = "getTipiProcedure"; _methodName25 = "filtraPraticheAutorizzate";
_methodParameterTypes25 = new String[] { }; _methodParameterTypes25 = new String[] {
"java.util.Date", "java.util.Date"
};
_methodName26 = "getVecchieProcedure"; _methodName26 = "getTipiProcedure";
_methodParameterTypes26 = new String[] { }; _methodParameterTypes26 = new String[] { };
_methodName27 = "addIntPratica"; _methodName27 = "getVecchieProcedure";
_methodParameterTypes27 = new String[] { };
_methodName28 = "addIntPratica";
_methodParameterTypes27 = new String[] { _methodParameterTypes28 = new String[] {
"long", "java.lang.String", "long", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName28 = "addIntPratica"; _methodName29 = "addIntPratica";
_methodParameterTypes28 = new String[] { _methodParameterTypes29 = new String[] {
"long", "java.lang.String", "java.lang.String", "long", "long", "java.lang.String", "java.lang.String", "long",
"java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String",
"boolean", "int", "java.util.Date", "boolean", "int", "java.util.Date",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName29 = "findByStatoPratica"; _methodName30 = "findByStatoPratica";
_methodParameterTypes29 = new String[] { "java.lang.String" }; _methodParameterTypes30 = new String[] { "java.lang.String" };
_methodName30 = "findByStatoPratica"; _methodName31 = "findByStatoPratica";
_methodParameterTypes30 = new String[] { "java.lang.String", "int", "int" }; _methodParameterTypes31 = new String[] { "java.lang.String", "int", "int" };
_methodName31 = "deleteIntPratica"; _methodName32 = "deleteIntPratica";
_methodParameterTypes31 = new String[] { _methodParameterTypes32 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "boolean" "it.tref.liferay.portos.bo.model.IntPratica", "boolean"
}; };
_methodName32 = "cloneIntPratica"; _methodName33 = "cloneIntPratica";
_methodParameterTypes32 = new String[] { _methodParameterTypes33 = new String[] {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName33 = "updateDelegati"; _methodName34 = "updateDelegati";
_methodParameterTypes33 = new String[] { _methodParameterTypes34 = new String[] {
"long", "java.lang.String", "java.lang.String", "boolean" "long", "java.lang.String", "java.lang.String", "boolean"
}; };
_methodName34 = "findFascicoliNotProgetto"; _methodName35 = "findFascicoliNotProgetto";
_methodParameterTypes34 = new String[] { "int", "int" };
_methodName35 = "countFascicoliNotProgetto"; _methodParameterTypes35 = new String[] { "int", "int" };
_methodParameterTypes35 = new String[] { }; _methodName36 = "countFascicoliNotProgetto";
_methodName36 = "countByPosizione"; _methodParameterTypes36 = new String[] { };
_methodParameterTypes36 = new String[] { "double", "double", "int" }; _methodName37 = "countByPosizione";
_methodName37 = "findByPosizione";
_methodParameterTypes37 = new String[] { "double", "double", "int" }; _methodParameterTypes37 = new String[] { "double", "double", "int" };
_methodName38 = "findByPosizione"; _methodName38 = "findByPosizione";
_methodParameterTypes38 = new String[] { _methodParameterTypes38 = new String[] { "double", "double", "int" };
_methodName39 = "findByPosizione";
_methodParameterTypes39 = new String[] {
"double", "double", "int", "int", "int" "double", "double", "int", "int", "int"
}; };
_methodName39 = "addNumeroProgetto"; _methodName40 = "addNumeroProgetto";
_methodParameterTypes39 = new String[] { "long" }; _methodParameterTypes40 = new String[] { "long" };
_methodName40 = "sospendiPratica"; _methodName41 = "sospendiPratica";
_methodParameterTypes40 = new String[] { "long", "boolean" }; _methodParameterTypes41 = new String[] { "long", "boolean" };
_methodName41 = "cambiaTitolare"; _methodName42 = "cambiaTitolare";
_methodParameterTypes41 = new String[] { _methodParameterTypes42 = new String[] {
"long", "long", "com.liferay.portal.service.ServiceContext" "long", "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName42 = "updateStatoPratica"; _methodName43 = "updateStatoPratica";
_methodParameterTypes42 = new String[] { "long", "java.lang.String" };
_methodName43 = "findByC_UserId"; _methodParameterTypes43 = new String[] { "long", "java.lang.String" };
_methodParameterTypes43 = new String[] { "long", "long", "int", "int" }; _methodName44 = "findByC_UserId";
_methodName44 = "countByC_UserId"; _methodParameterTypes44 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes44 = new String[] { "long", "long" }; _methodName45 = "countByC_UserId";
_methodName45 = "updateStatus"; _methodParameterTypes45 = new String[] { "long", "long" };
_methodParameterTypes45 = new String[] { "long", "int" }; _methodName46 = "updateStatus";
_methodName46 = "findByCompanyIdSoggettoProgetti"; _methodParameterTypes46 = new String[] { "long", "int" };
_methodParameterTypes46 = new String[] { "long", "long" }; _methodName47 = "findByCompanyIdSoggettoProgetti";
_methodName47 = "countByCompanyIdSoggettoProgetti";
_methodParameterTypes47 = new String[] { "long", "long" }; _methodParameterTypes47 = new String[] { "long", "long" };
_methodName48 = "findByCompanyIdSoggettoArchivio"; _methodName48 = "countByCompanyIdSoggettoProgetti";
_methodParameterTypes48 = new String[] { "long", "long" }; _methodParameterTypes48 = new String[] { "long", "long" };
_methodName49 = "countByCompanyIdSoggettoArchivio"; _methodName49 = "findByCompanyIdSoggettoArchivio";
_methodParameterTypes49 = new String[] { "long", "long" }; _methodParameterTypes49 = new String[] { "long", "long" };
_methodName50 = "findByCompanyIdSoggettoAltriProgetti"; _methodName50 = "countByCompanyIdSoggettoArchivio";
_methodParameterTypes50 = new String[] { "long", "long" };
_methodName51 = "findByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes50 = new String[] { "long", "long", "int", "int" }; _methodParameterTypes51 = new String[] { "long", "long", "int", "int" };
_methodName51 = "countByCompanyIdSoggettoAltriProgetti"; _methodName52 = "countByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes51 = new String[] { "long", "long" }; _methodParameterTypes52 = new String[] { "long", "long" };
_methodName52 = "findByCanAddFineLavori"; _methodName53 = "findByCanAddFineLavori";
_methodParameterTypes52 = new String[] { _methodParameterTypes53 = new String[] {
"long", "java.lang.String", "int", "int" "long", "java.lang.String", "int", "int"
}; };
_methodName53 = "countByCanAddFineLavori"; _methodName54 = "countByCanAddFineLavori";
_methodParameterTypes53 = new String[] { "long", "java.lang.String" }; _methodParameterTypes54 = new String[] { "long", "java.lang.String" };
_methodName54 = "findByCanAddCollaudo"; _methodName55 = "findByCanAddCollaudo";
_methodParameterTypes54 = new String[] { _methodParameterTypes55 = new String[] {
"long", "java.lang.String", "int", "int" "long", "java.lang.String", "int", "int"
}; };
_methodName55 = "countByCanAddCollaudo"; _methodName56 = "countByCanAddCollaudo";
_methodParameterTypes55 = new String[] { "long", "java.lang.String" }; _methodParameterTypes56 = new String[] { "long", "java.lang.String" };
_methodName56 = "search"; _methodName57 = "search";
_methodParameterTypes56 = new String[] { "java.util.List", "int", "int" }; _methodParameterTypes57 = new String[] { "java.util.List", "int", "int" };
_methodName57 = "countSearch"; _methodName58 = "countSearch";
_methodParameterTypes57 = new String[] { "java.util.List" }; _methodParameterTypes58 = new String[] { "java.util.List" };
_methodName58 = "searchWithIntPraticaId"; _methodName59 = "searchWithIntPraticaId";
_methodParameterTypes58 = new String[] { _methodParameterTypes59 = new String[] {
"java.util.List", "long", "int", "int" "java.util.List", "long", "int", "int"
}; };
_methodName59 = "allegaFileAnnullamento"; _methodName60 = "allegaFileAnnullamento";
_methodParameterTypes59 = new String[] { _methodParameterTypes60 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String", "long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext" "com.liferay.portal.service.ServiceContext"
}; };
_methodName60 = "generateFileAnnullamento"; _methodName61 = "generateFileAnnullamento";
_methodParameterTypes60 = new String[] { _methodParameterTypes61 = new String[] {
"long", "com.liferay.portal.service.ServiceContext" "long", "com.liferay.portal.service.ServiceContext"
}; };
_methodName61 = "deleteFileAnnullamento"; _methodName62 = "deleteFileAnnullamento";
_methodParameterTypes61 = new String[] { "long" }; _methodParameterTypes62 = new String[] { "long" };
_methodName62 = "completeAnnullamento"; _methodName63 = "completeAnnullamento";
_methodParameterTypes62 = new String[] { "long" }; _methodParameterTypes63 = new String[] { "long" };
_methodName63 = "cambiaIstruttore"; _methodName64 = "cambiaIstruttore";
_methodParameterTypes63 = new String[] { "long", "long", "long" }; _methodParameterTypes64 = new String[] { "long", "long", "long" };
_methodName64 = "countCaricoLavoroCF"; _methodName65 = "countCaricoLavoroCF";
_methodParameterTypes64 = new String[] { _methodParameterTypes65 = new String[] {
"long", "java.lang.String", "java.lang.Long[][]" "long", "java.lang.String", "java.lang.Long[][]"
}; };
_methodName65 = "countCaricoLavoroIstruttore"; _methodName66 = "countCaricoLavoroIstruttore";
_methodParameterTypes65 = new String[] { "long", "java.lang.String" }; _methodParameterTypes66 = new String[] { "long", "java.lang.String" };
_methodName66 = "generateReportPratica"; _methodName67 = "generateReportPratica";
_methodParameterTypes66 = new String[] { _methodParameterTypes67 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long" "it.tref.liferay.portos.bo.model.IntPratica", "long"
}; };
_methodName67 = "updateModifiedDate"; _methodName68 = "updateModifiedDate";
_methodParameterTypes67 = new String[] { "long", "java.util.Date" }; _methodParameterTypes68 = new String[] { "long", "java.util.Date" };
_methodName68 = "reIndexFascicolo"; _methodName69 = "reIndexFascicolo";
_methodParameterTypes68 = new String[] { _methodParameterTypes69 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long" "it.tref.liferay.portos.bo.model.IntPratica", "long"
}; };
_methodName69 = "reIndexFasciolo";
_methodParameterTypes69 = new String[] { "java.lang.String", "long" };
_methodName70 = "reIndexFasciolo"; _methodName70 = "reIndexFasciolo";
_methodParameterTypes70 = new String[] { "long", "long" }; _methodParameterTypes70 = new String[] { "java.lang.String", "long" };
_methodName71 = "findByNumeroProgetto"; _methodName71 = "reIndexFasciolo";
_methodParameterTypes71 = new String[] { "java.lang.String" }; _methodParameterTypes71 = new String[] { "long", "long" };
_methodName72 = "findByTerritorioId"; _methodName72 = "findByNumeroProgetto";
_methodParameterTypes72 = new String[] { "long" }; _methodParameterTypes72 = new String[] { "java.lang.String" };
_methodName73 = "getOrganizationByIntPraticaId"; _methodName73 = "findByTerritorioId";
_methodParameterTypes73 = new String[] { "long" }; _methodParameterTypes73 = new String[] { "long" };
_methodName74 = "hasRichiestaIntegrazioneAttiva"; _methodName74 = "getOrganizationByIntPraticaId";
_methodParameterTypes74 = new String[] { "long" }; _methodParameterTypes74 = new String[] { "long" };
_methodName75 = "invioMailNotifica"; _methodName75 = "hasRichiestaIntegrazioneAttiva";
_methodParameterTypes75 = new String[] { "long" };
_methodParameterTypes75 = new String[] { _methodName76 = "invioMailNotifica";
_methodParameterTypes76 = new String[] {
"long", "long", "java.lang.String", "java.lang.String[][]", "long", "long", "java.lang.String", "java.lang.String[][]",
"java.lang.String[][]", "java.lang.String[][]", "java.lang.String[][]", "java.lang.String[][]",
"java.lang.String", "com.liferay.portal.kernel.json.JSONObject", "java.lang.String", "com.liferay.portal.kernel.json.JSONObject",
"java.util.List", "com.liferay.portal.service.ServiceContext" "java.util.List", "com.liferay.portal.service.ServiceContext"
}; };
_methodName76 = "searchAltriProgetti"; _methodName77 = "searchAltriProgetti";
_methodParameterTypes76 = new String[] { _methodParameterTypes77 = new String[] {
"javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int" "com.liferay.portal.model.User", "int", "int"
}; };
_methodName77 = "searchArchivioProgetti"; _methodName78 = "searchArchivioProgetti";
_methodParameterTypes77 = new String[] { _methodParameterTypes78 = new String[] {
"javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int" "com.liferay.portal.model.User", "int", "int"
}; };
_methodName78 = "searchMieiProgetti"; _methodName79 = "searchMieiProgetti";
_methodParameterTypes78 = new String[] { _methodParameterTypes79 = new String[] {
"javax.servlet.http.HttpServletRequest", "javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int" "com.liferay.portal.model.User", "int", "int"
}; };
@ -1178,16 +1184,27 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
} }
@Override @Override
public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() { public java.util.List<java.lang.Object[]> filtraPraticheAutorizzate(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName25, returnObj = _invokableLocalService.invokeMethod(_methodName25,
_methodParameterTypes25, new Object[] { }); _methodParameterTypes25,
new Object[] {
ClpSerializer.translateInput(dataInizioLavori),
ClpSerializer.translateInput(dataFineLavori)
});
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) { if (t instanceof RuntimeException) {
throw (RuntimeException)t; throw (RuntimeException)t;
} }
@ -1197,11 +1214,11 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
} }
} }
return (java.util.Map<java.lang.String, java.lang.String>)ClpSerializer.translateOutput(returnObj); return (java.util.List<java.lang.Object[]>)ClpSerializer.translateOutput(returnObj);
} }
@Override @Override
public java.util.Map<java.lang.String, java.lang.String> getVecchieProcedure() { public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() {
Object returnObj = null; Object returnObj = null;
try { try {
@ -1223,6 +1240,29 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
return (java.util.Map<java.lang.String, java.lang.String>)ClpSerializer.translateOutput(returnObj); return (java.util.Map<java.lang.String, java.lang.String>)ClpSerializer.translateOutput(returnObj);
} }
@Override
public java.util.Map<java.lang.String, java.lang.String> getVecchieProcedure() {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes27, new Object[] { });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.Map<java.lang.String, java.lang.String>)ClpSerializer.translateOutput(returnObj);
}
@Override @Override
public it.tref.liferay.portos.bo.model.IntPratica addIntPratica( public it.tref.liferay.portos.bo.model.IntPratica addIntPratica(
long territorioId, java.lang.String tipoProcedura, long territorioId, java.lang.String tipoProcedura,
@ -1232,8 +1272,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName27, returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes27, _methodParameterTypes28,
new Object[] { new Object[] {
territorioId, territorioId,
@ -1277,8 +1317,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName28, returnObj = _invokableLocalService.invokeMethod(_methodName29,
_methodParameterTypes28, _methodParameterTypes29,
new Object[] { new Object[] {
userId, userId,
@ -1333,8 +1373,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName29, returnObj = _invokableLocalService.invokeMethod(_methodName30,
_methodParameterTypes29, _methodParameterTypes30,
new Object[] { ClpSerializer.translateInput(statoPratica) }); new Object[] { ClpSerializer.translateInput(statoPratica) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1363,8 +1403,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName30, returnObj = _invokableLocalService.invokeMethod(_methodName31,
_methodParameterTypes30, _methodParameterTypes31,
new Object[] { new Object[] {
ClpSerializer.translateInput(statoPratica), ClpSerializer.translateInput(statoPratica),
@ -1400,8 +1440,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName31, returnObj = _invokableLocalService.invokeMethod(_methodName32,
_methodParameterTypes31, _methodParameterTypes32,
new Object[] { new Object[] {
ClpSerializer.translateInput(intPratica), ClpSerializer.translateInput(intPratica),
@ -1440,8 +1480,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName32, returnObj = _invokableLocalService.invokeMethod(_methodName33,
_methodParameterTypes32, _methodParameterTypes33,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1481,8 +1521,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName33, returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes33, _methodParameterTypes34,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1524,8 +1564,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName34, returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes34, new Object[] { start, end }); _methodParameterTypes35, new Object[] { start, end });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1552,8 +1592,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName35, returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes35, new Object[] { }); _methodParameterTypes36, new Object[] { });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1580,8 +1620,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName36, returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes36, new Object[] { lat, lng, raggio }); _methodParameterTypes37, new Object[] { lat, lng, raggio });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1609,8 +1649,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName37, returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes37, new Object[] { lat, lng, raggio }); _methodParameterTypes38, new Object[] { lat, lng, raggio });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1638,8 +1678,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName38, returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes38, _methodParameterTypes39,
new Object[] { lat, lng, raggio, start, end }); new Object[] { lat, lng, raggio, start, end });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1669,8 +1709,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName39, returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes39, new Object[] { intPraticaId }); _methodParameterTypes40, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1703,8 +1743,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName40, returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes40, _methodParameterTypes41,
new Object[] { intPraticaId, sospesa }); new Object[] { intPraticaId, sospesa });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1739,8 +1779,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName41, returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes41, _methodParameterTypes42,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1780,8 +1820,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName42, returnObj = _invokableLocalService.invokeMethod(_methodName43,
_methodParameterTypes42, _methodParameterTypes43,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -1818,8 +1858,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName43, returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes43, _methodParameterTypes44,
new Object[] { companyId, userId, start, end }); new Object[] { companyId, userId, start, end });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1847,8 +1887,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName44, returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes44, new Object[] { companyId, userId }); _methodParameterTypes45, new Object[] { companyId, userId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1874,8 +1914,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName45, _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes45, new Object[] { intPraticaId, status }); _methodParameterTypes46, new Object[] { intPraticaId, status });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -1906,8 +1946,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName46, returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes46, _methodParameterTypes47,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1940,8 +1980,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName47, returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes47, _methodParameterTypes48,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -1975,8 +2015,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName48, returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes48, _methodParameterTypes49,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2009,8 +2049,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName49, returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes49, _methodParameterTypes50,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2044,8 +2084,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName50, returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes50, _methodParameterTypes51,
new Object[] { companyId, soggettoId, start, end }); new Object[] { companyId, soggettoId, start, end });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2079,8 +2119,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName51, returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes51, _methodParameterTypes52,
new Object[] { companyId, soggettoId }); new Object[] { companyId, soggettoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2114,8 +2154,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName52, returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes52, _methodParameterTypes53,
new Object[] { new Object[] {
companyId, companyId,
@ -2157,8 +2197,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName53, returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes53, _methodParameterTypes54,
new Object[] { new Object[] {
companyId, companyId,
@ -2196,8 +2236,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName54, returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes54, _methodParameterTypes55,
new Object[] { new Object[] {
companyId, companyId,
@ -2239,8 +2279,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName55, returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes55, _methodParameterTypes56,
new Object[] { new Object[] {
companyId, companyId,
@ -2277,8 +2317,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName56, returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes56, _methodParameterTypes57,
new Object[] { new Object[] {
ClpSerializer.translateInput(groupIds), ClpSerializer.translateInput(groupIds),
@ -2312,8 +2352,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName57, returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes57, _methodParameterTypes58,
new Object[] { ClpSerializer.translateInput(groupIds) }); new Object[] { ClpSerializer.translateInput(groupIds) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2342,8 +2382,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName58, returnObj = _invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes58, _methodParameterTypes59,
new Object[] { new Object[] {
ClpSerializer.translateInput(groupIds), ClpSerializer.translateInput(groupIds),
@ -2384,8 +2424,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName59, returnObj = _invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes59, _methodParameterTypes60,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -2435,8 +2475,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName60, returnObj = _invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes60, _methodParameterTypes61,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -2475,8 +2515,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName61, _invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes61, _methodParameterTypes62,
new Object[] { docPraticaAnnullamentoId }); new Object[] { docPraticaAnnullamentoId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2505,8 +2545,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName62, _invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes62, new Object[] { intPraticaId }); _methodParameterTypes63, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2535,8 +2575,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName63, _invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes63, _methodParameterTypes64,
new Object[] { intPraticaId, controlloPraticaId, istruttoreId }); new Object[] { intPraticaId, controlloPraticaId, istruttoreId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2568,8 +2608,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName64, returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes64, _methodParameterTypes65,
new Object[] { new Object[] {
ispettoreId, ispettoreId,
@ -2608,8 +2648,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName65, returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes65, _methodParameterTypes66,
new Object[] { new Object[] {
ispettoreId, ispettoreId,
@ -2643,8 +2683,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName66, returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes66, _methodParameterTypes67,
new Object[] { new Object[] {
ClpSerializer.translateInput(intPratica), ClpSerializer.translateInput(intPratica),
@ -2682,8 +2722,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName67, returnObj = _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes67, _methodParameterTypes68,
new Object[] { new Object[] {
intPraticaId, intPraticaId,
@ -2717,8 +2757,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFascicolo( public void reIndexFascicolo(
it.tref.liferay.portos.bo.model.IntPratica pratica, long companyId) { it.tref.liferay.portos.bo.model.IntPratica pratica, long companyId) {
try { try {
_invokableLocalService.invokeMethod(_methodName68, _invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes68, _methodParameterTypes69,
new Object[] { ClpSerializer.translateInput(pratica), companyId }); new Object[] { ClpSerializer.translateInput(pratica), companyId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2738,8 +2778,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId) public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId)
throws com.liferay.portal.kernel.exception.SystemException { throws com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName69, _invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes69, _methodParameterTypes70,
new Object[] { new Object[] {
ClpSerializer.translateInput(numeroProgetto), ClpSerializer.translateInput(numeroProgetto),
@ -2768,8 +2808,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName70, _invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes70, _methodParameterTypes71,
new Object[] { intPraticaId, companyId }); new Object[] { intPraticaId, companyId });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2800,8 +2840,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName71, returnObj = _invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes71, _methodParameterTypes72,
new Object[] { ClpSerializer.translateInput(numeroProgetto) }); new Object[] { ClpSerializer.translateInput(numeroProgetto) });
} }
catch (Throwable t) { catch (Throwable t) {
@ -2830,8 +2870,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName72, returnObj = _invokableLocalService.invokeMethod(_methodName73,
_methodParameterTypes72, new Object[] { territorioId }); _methodParameterTypes73, new Object[] { territorioId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2860,8 +2900,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName73, returnObj = _invokableLocalService.invokeMethod(_methodName74,
_methodParameterTypes73, new Object[] { intPraticaId }); _methodParameterTypes74, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2891,8 +2931,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName74, returnObj = _invokableLocalService.invokeMethod(_methodName75,
_methodParameterTypes74, new Object[] { intPraticaId }); _methodParameterTypes75, new Object[] { intPraticaId });
} }
catch (Throwable t) { catch (Throwable t) {
t = ClpSerializer.translateThrowable(t); t = ClpSerializer.translateThrowable(t);
@ -2920,8 +2960,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException, throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException { com.liferay.portal.kernel.exception.SystemException {
try { try {
_invokableLocalService.invokeMethod(_methodName75, _invokableLocalService.invokeMethod(_methodName76,
_methodParameterTypes75, _methodParameterTypes76,
new Object[] { new Object[] {
dettPraticaId, dettPraticaId,
@ -2972,8 +3012,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName76, returnObj = _invokableLocalService.invokeMethod(_methodName77,
_methodParameterTypes76, _methodParameterTypes77,
new Object[] { new Object[] {
ClpSerializer.translateInput(request), ClpSerializer.translateInput(request),
@ -3006,8 +3046,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName77, returnObj = _invokableLocalService.invokeMethod(_methodName78,
_methodParameterTypes77, _methodParameterTypes78,
new Object[] { new Object[] {
ClpSerializer.translateInput(request), ClpSerializer.translateInput(request),
@ -3040,8 +3080,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null; Object returnObj = null;
try { try {
returnObj = _invokableLocalService.invokeMethod(_methodName78, returnObj = _invokableLocalService.invokeMethod(_methodName79,
_methodParameterTypes78, _methodParameterTypes79,
new Object[] { new Object[] {
ClpSerializer.translateInput(request), ClpSerializer.translateInput(request),
@ -3224,4 +3264,6 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
private String[] _methodParameterTypes77; private String[] _methodParameterTypes77;
private String _methodName78; private String _methodName78;
private String[] _methodParameterTypes78; private String[] _methodParameterTypes78;
private String _methodName79;
private String[] _methodParameterTypes79;
} }

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

@ -355,6 +355,13 @@ public class IntPraticaLocalServiceUtil {
.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori); .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() { public static java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() {
return getService().getTipiProcedure(); return getService().getTipiProcedure();
} }

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

@ -378,6 +378,14 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
dataFineLavori); 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 @Override
public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() { public java.util.Map<java.lang.String, java.lang.String> getTipiProcedure() {
return _intPraticaLocalService.getTipiProcedure(); return _intPraticaLocalService.getTipiProcedure();

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

@ -33,4 +33,8 @@ public interface IntPraticaFinder {
public java.util.List<java.lang.Object[]> filtraPraticheIntegrazioni( public java.util.List<java.lang.Object[]> filtraPraticheIntegrazioni(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori) java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException; 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;
} }

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

@ -47,6 +47,13 @@ public class IntPraticaFinderUtil {
.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori); .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() { public static IntPraticaFinder getFinder() {
if (_finder == null) { if (_finder == null) {
_finder = (IntPraticaFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.bo.service.ClpSerializer.getServletContextName(), _finder = (IntPraticaFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.bo.service.ClpSerializer.getServletContextName(),

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

@ -16,12 +16,13 @@
and fine.completata = true order by int.createdate; and fine.completata = true order by int.createdate;
]]> ]]>
</sql> </sql>
<sql id="IntPratica.reportPraticaStato"> <sql id="IntPratica.reportPraticaStato">
<![CDATA[ <![CDATA[
select tipoprocedura, statopratica, count(*) select tipoprocedura, statopratica, count(*)
from portos_bo_intpratica pbi from portos_bo_intpratica pbi
where pbi.dtpratica > ? where
and pbi.dtpratica < ? pbi.dtpratica > ?
and pbi.dtpratica < ?
group by tipoprocedura, statopratica group by tipoprocedura, statopratica
order by tipoprocedura, statopratica; order by tipoprocedura, statopratica;
]]> ]]>
@ -39,4 +40,16 @@
group by tipoprocedura order by tipoprocedura; group by tipoprocedura order by tipoprocedura;
]]> ]]>
</sql> </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> </custom-sql>

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

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

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

@ -138,7 +138,9 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
public List<Object[]> filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori) throws SystemException { public List<Object[]> filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori) throws SystemException {
return IntPraticaFinderUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori); return IntPraticaFinderUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
} }
public List<Object[]> filtraPraticheAutorizzate(Date dataInizioLavori, Date dataFineLavori) throws SystemException {
return IntPraticaFinderUtil.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori);
}
@Override @Override
public Map<String, String> getTipiProcedure() { public Map<String, String> getTipiProcedure() {

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

@ -74,6 +74,9 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implem
} }
private final String FILTRA_PRATICHE_STATO = "IntPratica.reportPraticaStato"; private final String FILTRA_PRATICHE_STATO = "IntPratica.reportPraticaStato";
private final String FILTRA_PRATICHE_INTEGRAZIONI = "IntPratica.reportPraticaIntegrazioni"; private final String FILTRA_PRATICHE_INTEGRAZIONI = "IntPratica.reportPraticaIntegrazioni";
private final String FILTRA_PRATICHE_AUTORIZZAZIONI = "IntPratica.reportPraticaAutorizzazioni";
public List<Object[]> filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori) public List<Object[]> filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori)
throws SystemException { throws SystemException {
Session session = null; Session session = null;
@ -121,4 +124,29 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implem
} }
} }
} }
public List<Object[]> filtraPraticheAutorizzate(Date dataInizioLavori, Date dataFineLavori)
throws SystemException {
_log.error("filtra praticha autorizzate--------------------------------"+dataFineLavori+dataInizioLavori);
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.namespace=portos_bo
build.number=3641 build.number=3647
build.date=1679922693282 build.date=1680095876126
build.auto.upgrade=true build.auto.upgrade=true
## ##

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.

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"> <!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd">
<display> <display>
<category name="category.sample"> <category name="category.portos">
<portlet id="portos-reportistica" /> <category name="category.reportistica">
<portlet id="1" />
</category>
</category> </category>
</display> </display>

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

@ -3,11 +3,12 @@
<liferay-portlet-app> <liferay-portlet-app>
<portlet> <portlet>
<portlet-name>portos-reportistica</portlet-name> <portlet-name>1</portlet-name>
<icon>/icon.png</icon> <icon>/icon.png</icon>
<control-panel-entry-category> <control-panel-entry-category>
configuration configuration
</control-panel-entry-category> </control-panel-entry-category>
<control-panel-entry-weight>1.8</control-panel-entry-weight>
<header-portlet-css>/css/main.css</header-portlet-css> <header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript> <footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
<css-class-wrapper>portos-reportistica-portlet</css-class-wrapper> <css-class-wrapper>portos-reportistica-portlet</css-class-wrapper>

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

@ -2,9 +2,9 @@
<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-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>
<portlet-name>portos-reportistica</portlet-name> <portlet-name>1</portlet-name>
<display-name>Portos Reportistica</display-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> <init-param>
<name>view-template</name> <name>view-template</name>
<value>/html/view.jsp</value> <value>/html/view.jsp</value>
@ -12,6 +12,7 @@
<expiration-cache>0</expiration-cache> <expiration-cache>0</expiration-cache>
<supports> <supports>
<mime-type>text/html</mime-type> <mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
</supports> </supports>
<resource-bundle>content.Language</resource-bundle> <resource-bundle>content.Language</resource-bundle>
<portlet-info> <portlet-info>

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

@ -5,5 +5,88 @@ titolo_pagina_reportistica=Dashboard di Reportistica
titolo_campi_filtro=Range date di filtro: titolo_campi_filtro=Range date di filtro:
titolo_tabella_risultati_stato=Filtra Pratiche per Stato titolo_tabella_risultati_stato=Filtra Pratiche per Stato
titolo_tabella_risultati_integrazioni=Filtra Pratiche per Integrazioni titolo_tabella_risultati_integrazioni=Filtra Pratiche per Integrazioni
titolo_tabella_risultati_autorizzazioni=Filtra Pratiche Autorizzate e non Autorizzate
titolo_period=nel periodo
titolo_risultati_aggregati_stato=Report Stati titolo_risultati_aggregati_stato=Report Stati
titolo_risultati_aggregati_integrazioni=Report Integrazioni titolo_risultati_aggregati_integrazioni=Report Integrazioni
titolo_risultati_aggregati_autorizzazioni=Report Autorizzazioni
pulsante_scarica_report_1=CSV Stati
pulsante_scarica_report_2=CSV Integraioni
pulsante_scarica_report_3=CSV Autorizzazioni
stringa_csv_vuoto_stato=CSV stati vuoto
stringa_csv_vuoto_integrazioni=CSV integrazioni vuoto
stringa_csv_vuoto_autorizzazioni=CSV autorizzazioni vuoto
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

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

@ -0,0 +1,135 @@
package reportistica;
import com.liferay.portal.kernel.exception.SystemException;
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.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.util.Date;
import java.util.List;
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 {
private Log _log = LogFactoryUtil.getLog(Reportistica.class);
@Override
public void serveResource(ResourceRequest req, ResourceResponse rep) throws IOException,
PortletException {
String idAzione = req.getResourceID();
_log.error("id azione ------------------------"+idAzione+" ------------------------");
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;
_log.error("data inizio ------------------------"+dataInizioLavori+" ------------------------");
_log.error("data finela ------------------------"+dataFineLavori +" ------------------------");
if ("azioneScarica1".equals(idAzione)) {
String fileName = "report-stati1.csv";
try(
StringWriter sw = new StringWriter();
CSVPrinter csvPrinter = new CSVPrinter(sw, CSVFormat.DEFAULT.
withHeader("TipoProcedura", "StatoPratica", "QuantePratiche")
);
){
List<Object[]> i = IntPraticaLocalServiceUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori);
for(Object[] record : i){
_log.error("records record ------------------------"+record +" ------------------------");
String tipoprocedura = (String)record[0];
tipoprocedura+= ":"+LanguageUtil.get(req.getLocale(), "tipo_procedura_"+tipoprocedura);
String statopratica = (String)record[1];
statopratica+= ":"+LanguageUtil.get(req.getLocale(), "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 e) {
e.printStackTrace();
return;
}
}
if ("azioneScarica2".equals(idAzione)) {
String fileName = "report-integra2.csv";
try(
StringWriter sw = new StringWriter();
CSVPrinter csvPrinter = new CSVPrinter(sw, CSVFormat.DEFAULT.
withHeader("TipoProcedura", "QuantePratiche")
);
){
List<Object[]> j = IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
for(Object[] record : j){
String tipoprocedura = (String)record[0];
tipoprocedura+= ":"+LanguageUtil.get(req.getLocale(), "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 e) {
e.printStackTrace();
return;
}
}
if ("azioneScarica3".equals(idAzione)) {
String fileName = "report-autori3.csv";
try(
StringWriter sw = new StringWriter();
CSVPrinter csvPrinter = new CSVPrinter(sw, CSVFormat.DEFAULT.
withHeader("TipoProcedura", "StatoPratica", "QuantePratiche")
);
){
List<Object[]> i = IntPraticaLocalServiceUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori);
for(Object[] record : i){
_log.error("records record ------------------------"+record +" ------------------------");
String tipoprocedura = (String)record[0];
tipoprocedura+= ":"+LanguageUtil.get(req.getLocale(), "tipo_procedura_"+tipoprocedura);
String statopratica = (String)record[1];
statopratica+= ":"+LanguageUtil.get(req.getLocale(), "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 e) {
e.printStackTrace();
return;
}
}
super.serveResource(req, rep);
}
}

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

@ -1,3 +1,4 @@
<%@page import="reportistica.Reportistica"%>
<%@page import="com.liferay.portal.kernel.language.LanguageUtil"%> <%@page import="com.liferay.portal.kernel.language.LanguageUtil"%>
<%@page import="java.util.TreeMap"%> <%@page import="java.util.TreeMap"%>
<%@page import="java.util.SortedMap"%> <%@page import="java.util.SortedMap"%>
@ -23,18 +24,6 @@
<% <%
Date dataInizioLavori = ParamUtil.getDate(request, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); Date dataInizioLavori = ParamUtil.getDate(request, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
Date dataFineLavori = ParamUtil.getDate(request, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd")); Date dataFineLavori = ParamUtil.getDate(request, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
List<Object[]> i = IntPraticaLocalServiceUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori);
List<Object[]> j = IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
Map<String, BigInteger> stati;
Map<String, BigInteger> integrazioni;
stati = new TreeMap<String, BigInteger>();
integrazioni = new TreeMap<String, BigInteger>();
for(int p=1;p<=10;p++){
stati.put("P"+p, BigInteger.valueOf(0));
stati.put("Q"+p, BigInteger.valueOf(0));
integrazioni.put("Q"+p, BigInteger.valueOf(0));
integrazioni.put("Q"+p, BigInteger.valueOf(0));
}
%> %>
<aui:row> <aui:row>
<h1> <h1>
@ -49,10 +38,8 @@
</aui:row> </aui:row>
</div> </div>
<aui:row> <aui:row>
<liferay-portlet:renderURL <liferay-portlet:renderURL var="filtraPerRangeDataURL" >
var="filtraPerRangeDataURL" >
<liferay-portlet:param name="dataInizioLavori" value="<%= String.valueOf(dataInizioLavori) %>"/>
<liferay-portlet:param name="dataFineLavori" value="<%= String.valueOf(dataFineLavori) %>"/>
<liferay-portlet:param name="mvcPath" value="/html/view.jsp"/> <liferay-portlet:param name="mvcPath" value="/html/view.jsp"/>
</liferay-portlet:renderURL> </liferay-portlet:renderURL>
@ -88,36 +75,65 @@
</div> </div>
</aui:form> </aui:form>
</aui:row> </aui:row>
<div>
<aui:row>
<% <%
Map<String, BigInteger> stati = new TreeMap<String, BigInteger>();
Map<String, BigInteger> integrazioni = new TreeMap<String, BigInteger>();
Map<String, BigInteger> autorizzazioni = new TreeMap<String, BigInteger>();
for(int p=1;p<=10;p++){ for(int p=1;p<=10;p++){
stati.put("P"+p, BigInteger.valueOf(0)); stati.put("P"+p, BigInteger.valueOf(0));
stati.put("Q"+p, BigInteger.valueOf(0)); stati.put("Q"+p, BigInteger.valueOf(0));
integrazioni.put("P"+p, BigInteger.valueOf(0)); integrazioni.put("P"+p, BigInteger.valueOf(0));
integrazioni.put("Q"+p, BigInteger.valueOf(0)); integrazioni.put("Q"+p, BigInteger.valueOf(0));
autorizzazioni.put("P"+p, BigInteger.valueOf(0));
autorizzazioni.put("Q"+p, BigInteger.valueOf(0));
} }
List<Object[]> i = IntPraticaLocalServiceUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori);
List<Object[]> j = IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
List<Object[]> k = IntPraticaLocalServiceUtil.filtraPraticheAutorizzate(dataInizioLavori, dataFineLavori);
%> %>
<h2><%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_stato") %> <div>
</h2> <aui:row>
<% if(Validator.isNotNull(i)&&!i.isEmpty()){ <h2><%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_stato") %> <%= LanguageUtil.get(pageContext, "titolo_period") %>
</h2>
for(Object[] firsti : i){ <% if(Validator.isNotNull(i)&&!i.isEmpty()){
String tipoprocedura = (String)firsti[0]; for(Object[] record : i){
String statopratica = (String)firsti[1]; String tipoprocedura = (String)record[0];
BigInteger countStati = (BigInteger)firsti[2]; String statopratica = (String)record[1];
BigInteger rigaCountMappa = stati.get(tipoprocedura); BigInteger countStati = (BigInteger)record[2];
if(Validator.isNotNull(countStati)&&Validator.isNotNull(rigaCountMappa)) BigInteger rigaCountMappa = stati.get(tipoprocedura);
stati.put(tipoprocedura, countStati.add(rigaCountMappa)); if(Validator.isNotNull(countStati)&&Validator.isNotNull(rigaCountMappa))
%> stati.put(tipoprocedura, countStati.add(rigaCountMappa));
<aui:row> %>
<% if(Validator.isNotNull(firsti)){%> <aui:row>
<aui:column><%=tipoprocedura %></aui:column> <% if(null!=record){%>
<aui:column><%=statopratica %></aui:column> <aui:column><%=tipoprocedura %></aui:column>
<aui:column><%=countStati %></aui:column> <aui:column><%=statopratica %></aui:column>
<aui:column><%=countStati %></aui:column>
<%}%>
</aui:row>
<%}%> <%}%>
</aui:row>
<%}}%> <aui:row>
<aui:col span="3">
<portlet:resourceURL var="azioneScarica1URL" id="azioneScarica1">
</portlet:resourceURL>
<aui:button
cssClass="btn-primary"
value="pulsante_scarica_report_1"
href="<%= azioneScarica1URL %>"
>
</aui:button>
</aui:col>
</aui:row>
<%}else{
%><p style="color: #007bff;"><%=LanguageUtil.get(pageContext, "stringa_csv_vuoto_stato") %></p>
<%} %>
<aui:row> <aui:row>
<h3><%= LanguageUtil.get(pageContext, "titolo_risultati_aggregati_stato") %> <h3><%= LanguageUtil.get(pageContext, "titolo_risultati_aggregati_stato") %>
</h3> </h3>
@ -126,29 +142,92 @@
</aui:row> </aui:row>
<aui:row> <aui:row>
<h2><%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_integrazioni") %> <h2><%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_integrazioni") %> <%= LanguageUtil.get(pageContext, "titolo_period") %>
</h2> </h2>
<% if(Validator.isNotNull(j)&&!j.isEmpty()){ <% if(Validator.isNotNull(j)&&!j.isEmpty()){
for(Object[] firsti : j){ for(Object[] record : j){
String tipoprocedura = (String)firsti[0]; String tipoprocedura = (String)record[0];
BigInteger countIntegrazioni = (BigInteger)firsti[1]; BigInteger countIntegrazioni = (BigInteger)record[1];
BigInteger rigaCountMappa = integrazioni.get(tipoprocedura);
if(Validator.isNotNull(countIntegrazioni)&&Validator.isNotNull(rigaCountMappa)) BigInteger rigaCountMappa = integrazioni.get(tipoprocedura);
integrazioni.put(tipoprocedura, countIntegrazioni.add(rigaCountMappa)); if(Validator.isNotNull(countIntegrazioni)&&Validator.isNotNull(rigaCountMappa))
%> integrazioni.put(tipoprocedura, countIntegrazioni.add(rigaCountMappa));
<aui:row> %>
<% if(Validator.isNotNull(firsti)){%> <aui:row>
<aui:column><%=tipoprocedura %></aui:column> <% if(null!=record){%>
<aui:column><%=countIntegrazioni %></aui:column> <aui:column><%=tipoprocedura %></aui:column>
<aui:column><%=countIntegrazioni %></aui:column>
<%}%>
</aui:row>
<%}%> <%}%>
</aui:row>
<%}}%> <aui:row>
<aui:col span="3">
<portlet:resourceURL var="azioneScarica2URL" id="azioneScarica2">
</portlet:resourceURL>
<aui:button
cssClass="btn-primary"
value="pulsante_scarica_report_2"
href="<%= azioneScarica2URL %>"
>
</aui:button>
</aui:col>
</aui:row>
<%}else{
%><p style="color: #007bff;"><%=LanguageUtil.get(pageContext, "stringa_csv_vuoto_integrazioni") %></p><%}%>
<aui:row> <aui:row>
<h3><%= LanguageUtil.get(pageContext, "titolo_risultati_aggregati_integrazioni") %> <h3>
<%= LanguageUtil.get(pageContext, "titolo_risultati_aggregati_integrazioni") %>
</h3> </h3>
<p><%=integrazioni.toString()%></p> <p>
<%= integrazioni.toString() %>
</p>
</aui:row>
</aui:row>
<aui:row>
<h2><%= LanguageUtil.get(pageContext, "titolo_tabella_risultati_autorizzazioni") %> <%= LanguageUtil.get(pageContext, "titolo_period") %>
</h2>
<% if(Validator.isNotNull(k)&&!k.isEmpty()){
for(Object[] record : k){
String tipoprocedura = (String)record[0];
String statopratica = (String)record[1];
BigInteger countAutori = (BigInteger)record[2];
BigInteger rigaCountMappa = autorizzazioni.get(tipoprocedura);
if(Validator.isNotNull(countAutori)&&Validator.isNotNull(rigaCountMappa))
autorizzazioni.put(tipoprocedura, countAutori.add(rigaCountMappa));
%>
<aui:row>
<% if(null!=record){%>
<aui:column><%=tipoprocedura %></aui:column>
<aui:column><%=statopratica %></aui:column>
<aui:column><%=countAutori %></aui:column>
<%}%>
</aui:row>
<%}%>
<aui:row>
<aui:col span="3">
<portlet:resourceURL var="azioneScarica3URL" id="azioneScarica3">
</portlet:resourceURL>
<aui:button
cssClass="btn-primary"
value="pulsante_scarica_report_3"
href="<%= azioneScarica3URL %>"
>
</aui:button>
</aui:col>
</aui:row>
<%}else{
%><p style="color: #007bff;"><%=LanguageUtil.get(pageContext, "stringa_csv_vuoto_autorizzazioni") %></p><%}%>
<aui:row>
<h3><%= LanguageUtil.get(pageContext, "titolo_risultati_aggregati_autorizzazioni") %>
</h3>
<p><%=autorizzazioni.toString()%></p>
</aui:row> </aui:row>
</aui:row> </aui:row>
</div> </div>

Caricamento…
Annulla
Salva