Sfoglia il codice sorgente

build report dashboard

develop
E-A 2 anni fa
parent
commit
2eb91b842e
  1. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  2. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  3. 516
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  4. 13
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  5. 16
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  6. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java
  7. 11
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java
  8. 496
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  9. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  10. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaServiceImpl.java
  11. 36
      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/portos-bo-portlet-service.jar
  14. 84
      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.

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

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

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

File diff soppresso perché troppo grande Load Diff

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

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

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

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

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

@ -26,7 +26,11 @@ public interface IntPraticaFinder {
java.lang.String codiceFiscaleDelegatoCollaudo)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List filtraPratiche(java.util.Date dataInizioLavori,
public java.util.List filtraPraticheStato(java.util.Date dataInizioLavori,
java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List filtraPraticheIntegrazioni(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException;
}

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

@ -34,10 +34,17 @@ public class IntPraticaFinderUtil {
return getFinder().canAddCollaudoCount(codiceFiscaleDelegatoCollaudo);
}
public static java.util.List filtraPratiche(
public static java.util.List filtraPraticheStato(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().filtraPratiche(dataInizioLavori, dataFineLavori);
return getFinder().filtraPraticheStato(dataInizioLavori, dataFineLavori);
}
public static java.util.List filtraPraticheIntegrazioni(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder()
.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
}
public static IntPraticaFinder getFinder() {

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

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

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

@ -133,8 +133,11 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
private static Map<String, String> vecchieProcedure = null;
private static final Log _log = LogFactoryUtil.getLog(IntPraticaLocalServiceImpl.class);
public Iterator filtraPratiche(Date dataInizioLavori, Date dataFineLavori) {
return IntPraticaFinderUtil.filtraPratiche(dataInizioLavori, dataFineLavori);
public List filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori) throws SystemException {
return IntPraticaFinderUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori);
}
public List filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori) throws SystemException {
return IntPraticaFinderUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
}
@Override

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

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

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

@ -13,6 +13,8 @@ import com.liferay.util.dao.orm.CustomSQLUtil;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
@ -73,20 +75,44 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implem
}
}
}
private final String FILTRA_PRATICHE = "IntPratica.reportPraticaStato";
private final String FILTRA_PRATICHE_AVVISO = "IntPratica.reportPraticaIntegrazioni";
public Iterator filtraPratiche(Date dataInizioLavori, Date dataFineLavori)
private final String FILTRA_PRATICHE_STATO = "IntPratica.reportPraticaStato";
private final String FILTRA_PRATICHE_INTEGRAZIONI = "IntPratica.reportPraticaIntegrazioni";
public List filtraPraticheStato(Date dataInizioLavori, Date dataFineLavori)
throws SystemException {
Session session = null;
try {
session = openSession();
String sql = CustomSQLUtil.get(FILTRA_PRATICHE);
String sql = CustomSQLUtil.get(FILTRA_PRATICHE_STATO);
SQLQuery query = session.createSQLQuery(sql);
query.setCacheable(false);
QueryPos qPos = QueryPos.getInstance(query);
qPos.add(dataInizioLavori);
qPos.add(dataFineLavori);
Iterator l = query.iterate();
List l = query.list();
_log.debug(l.getClass().getSimpleName());
return l;
} catch (ORMException e) {
_log.error("Errore", e);
throw new RuntimeException(e);
} finally {
if (session != null) {
closeSession(session);
}
}
}
public List filtraPraticheIntegrazioni(Date dataInizioLavori, Date dataFineLavori)
throws SystemException {
Session session = null;
try {
session = openSession();
String sql = CustomSQLUtil.get(FILTRA_PRATICHE_INTEGRAZIONI);
SQLQuery query = session.createSQLQuery(sql);
query.setCacheable(false);
QueryPos qPos = QueryPos.getInstance(query);
qPos.add(dataInizioLavori);
qPos.add(dataFineLavori);
List l = query.list();
_log.debug(l.getClass().getSimpleName());
return l;
} catch (ORMException e) {

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

@ -13,8 +13,8 @@
##
build.namespace=portos_bo
build.number=3622
build.date=1679568472281
build.number=3632
build.date=1679901564833
build.auto.upgrade=true
##

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

File binario non mostrato.

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

@ -1,3 +1,8 @@
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Map"%>
<%@page import="java.math.BigInteger"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.liferay.portal.kernel.util.UnmodifiableList"%>
<%@page import="java.util.Iterator"%>
<%@page import="it.tref.liferay.portos.bo.model.DocPratica"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
@ -14,10 +19,24 @@
<%@page import="com.liferay.portlet.PortletURLFactoryUtil"%>
<%@ include file="/html/init.jsp"%>
<%
Date dataInizioLavori = ParamUtil.getDate(request, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
Date dataFineLavori = ParamUtil.getDate(request, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
List<Object[]> i = IntPraticaLocalServiceUtil.filtraPraticheStato(dataInizioLavori, dataFineLavori);
List<Object[]> j = IntPraticaLocalServiceUtil.filtraPraticheIntegrazioni(dataInizioLavori, dataFineLavori);
Map<String, BigInteger> stati;
Map<String, BigInteger> integrazioni;
stati = new HashMap<String, BigInteger>();
integrazioni = new HashMap<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>
<h1>Dashboard di Reportistica</h1>
</aui:row>
<aui:row>
<liferay-portlet:renderURL
var="filtraPerRangeDataURL" >
@ -38,7 +57,6 @@
<p><b>Data fine Lavori Opera:</b></p>
<aui:input
name="dataFineInput"
label=""
inlineLabel="left"
type="date"
value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataFineLavori) %>'>
@ -52,4 +70,64 @@
</div>
</div>
</aui:form>
</aui:row>
</aui:row>
<div>
<aui:row>
<%
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));
}
%>
<h2>Filtra Pratiche per Stato</h2>
<% if(Validator.isNotNull(i)&&!i.isEmpty()){
for(Object[] firsti : i){
String tipoprocedura = (String)firsti[0];
String statopratica = (String)firsti[1];
BigInteger countStati = (BigInteger)firsti[2];
BigInteger rigaCountMappa = stati.get(tipoprocedura);
if(Validator.isNotNull(countStati)&&Validator.isNotNull(rigaCountMappa))
stati.put(tipoprocedura, countStati.add(rigaCountMappa));
%>
<aui:row>
<% if(Validator.isNotNull(firsti)){%>
<aui:column><%=tipoprocedura %></aui:column>
<aui:column><%=statopratica %></aui:column>
<aui:column><%=countStati %></aui:column>
<%}%>
</aui:row>
<%}}%>
<aui:row>
<h3>Report Stati</h3>
<p><%=stati.toString()%></p>
</aui:row>
</aui:row>
<aui:row>
<h2>Filtra Pratiche per Integrazioni</h2>
<% if(Validator.isNotNull(j)&&!j.isEmpty()){
for(Object[] firsti : j){
String tipoprocedura = (String)firsti[0];
BigInteger countIntegrazioni = (BigInteger)firsti[1];
BigInteger rigaCountMappa = integrazioni.get(tipoprocedura);
if(Validator.isNotNull(countIntegrazioni)&&Validator.isNotNull(rigaCountMappa))
integrazioni.put(tipoprocedura, countIntegrazioni.add(rigaCountMappa));
%>
<aui:row>
<% if(Validator.isNotNull(firsti)){%>
<aui:column><%=tipoprocedura %></aui:column>
<aui:column><%=countIntegrazioni %></aui:column>
<%}%>
</aui:row>
<%}}%>
<aui:row>
<h3>Report Integrazioni</h3>
<p><%=integrazioni.toString()%></p>
</aui:row>
</aui:row>
</div>
Caricamento…
Annulla
Salva