Sfoglia il codice sorgente

integrate update of scheduled actions

feature/kafka-integrator
E-A 2 anni fa
parent
commit
081e4ebdca
  1. BIN
      liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar
  2. BIN
      liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar
  3. BIN
      liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar
  4. BIN
      liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar
  5. BIN
      liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar
  6. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar
  7. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  8. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  9. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar
  10. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
  11. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  12. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java
  13. 325
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java
  14. 7
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java
  15. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java
  16. 302
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java
  17. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  18. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  19. 2
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/.classpath
  20. BIN
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  21. BIN
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/lib/schedulatore-portos-pratiche-portlet-service.jar
  22. 7
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service.xml
  23. 47
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/SportelloClp.java
  24. 21
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/SportelloModel.java
  25. 14
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/SportelloSoap.java
  26. 37
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/model/SportelloWrapper.java
  27. 10
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/ScheduledActionsLocalService.java
  28. 86
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/ScheduledActionsLocalServiceClp.java
  29. 14
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/ScheduledActionsLocalServiceUtil.java
  30. 18
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/ScheduledActionsLocalServiceWrapper.java
  31. 6
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml
  32. 1
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml
  33. 3
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml
  34. 87
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/integratore/IntegratoreSchedulato.java
  35. 4
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/HeadSportelloModelImpl.java
  36. 4
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/ScheduledActionsModelImpl.java
  37. 9
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/SportelloCacheModel.java
  38. 45
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/model/impl/SportelloModelImpl.java
  39. 24
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/base/ScheduledActionsLocalServiceClpInvoker.java
  40. 12
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/impl/ScheduledActionsLocalServiceImpl.java
  41. 1
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/portos/nextmind/service/persistence/SportelloPersistenceImpl.java
  42. 4
      liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/service.properties

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

@ -423,6 +423,11 @@ public interface IntPraticaLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public it.tref.liferay.portos.bo.model.IntPratica addDatiSuap(
long intPraticaId, long[] codiciRisultato)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByC_UserId(
long companyId, long userId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;

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

@ -239,177 +239,181 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
_methodParameterTypes43 = new String[] { "long", "java.lang.String" };
_methodName44 = "findByC_UserId";
_methodName44 = "addDatiSuap";
_methodParameterTypes44 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes44 = new String[] { "long", "long[][]" };
_methodName45 = "countByC_UserId";
_methodName45 = "findByC_UserId";
_methodParameterTypes45 = new String[] { "long", "long" };
_methodParameterTypes45 = new String[] { "long", "long", "int", "int" };
_methodName46 = "updateStatus";
_methodName46 = "countByC_UserId";
_methodParameterTypes46 = new String[] { "long", "int" };
_methodParameterTypes46 = new String[] { "long", "long" };
_methodName47 = "findByCompanyIdSoggettoProgetti";
_methodName47 = "updateStatus";
_methodParameterTypes47 = new String[] { "long", "long" };
_methodParameterTypes47 = new String[] { "long", "int" };
_methodName48 = "countByCompanyIdSoggettoProgetti";
_methodName48 = "findByCompanyIdSoggettoProgetti";
_methodParameterTypes48 = new String[] { "long", "long" };
_methodName49 = "findByCompanyIdSoggettoArchivio";
_methodName49 = "countByCompanyIdSoggettoProgetti";
_methodParameterTypes49 = new String[] { "long", "long" };
_methodName50 = "countByCompanyIdSoggettoArchivio";
_methodName50 = "findByCompanyIdSoggettoArchivio";
_methodParameterTypes50 = new String[] { "long", "long" };
_methodName51 = "findByCompanyIdSoggettoAltriProgetti";
_methodName51 = "countByCompanyIdSoggettoArchivio";
_methodParameterTypes51 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes51 = new String[] { "long", "long" };
_methodName52 = "countByCompanyIdSoggettoAltriProgetti";
_methodName52 = "findByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes52 = new String[] { "long", "long" };
_methodParameterTypes52 = new String[] { "long", "long", "int", "int" };
_methodName53 = "findByCanAddFineLavori";
_methodName53 = "countByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes53 = new String[] {
_methodParameterTypes53 = new String[] { "long", "long" };
_methodName54 = "findByCanAddFineLavori";
_methodParameterTypes54 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName54 = "countByCanAddFineLavori";
_methodName55 = "countByCanAddFineLavori";
_methodParameterTypes54 = new String[] { "long", "java.lang.String" };
_methodParameterTypes55 = new String[] { "long", "java.lang.String" };
_methodName55 = "findByCanAddCollaudo";
_methodName56 = "findByCanAddCollaudo";
_methodParameterTypes55 = new String[] {
_methodParameterTypes56 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName56 = "countByCanAddCollaudo";
_methodName57 = "countByCanAddCollaudo";
_methodParameterTypes56 = new String[] { "long", "java.lang.String" };
_methodParameterTypes57 = new String[] { "long", "java.lang.String" };
_methodName57 = "search";
_methodName58 = "search";
_methodParameterTypes57 = new String[] { "java.util.List", "int", "int" };
_methodParameterTypes58 = new String[] { "java.util.List", "int", "int" };
_methodName58 = "countSearch";
_methodName59 = "countSearch";
_methodParameterTypes58 = new String[] { "java.util.List" };
_methodParameterTypes59 = new String[] { "java.util.List" };
_methodName59 = "searchWithIntPraticaId";
_methodName60 = "searchWithIntPraticaId";
_methodParameterTypes59 = new String[] {
_methodParameterTypes60 = new String[] {
"java.util.List", "long", "int", "int"
};
_methodName60 = "allegaFileAnnullamento";
_methodName61 = "allegaFileAnnullamento";
_methodParameterTypes60 = new String[] {
_methodParameterTypes61 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName61 = "generateFileAnnullamento";
_methodName62 = "generateFileAnnullamento";
_methodParameterTypes61 = new String[] {
_methodParameterTypes62 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName62 = "deleteFileAnnullamento";
_methodName63 = "deleteFileAnnullamento";
_methodParameterTypes62 = new String[] { "long" };
_methodParameterTypes63 = new String[] { "long" };
_methodName63 = "completeAnnullamento";
_methodName64 = "completeAnnullamento";
_methodParameterTypes63 = new String[] { "long" };
_methodParameterTypes64 = new String[] { "long" };
_methodName64 = "cambiaIstruttore";
_methodName65 = "cambiaIstruttore";
_methodParameterTypes64 = new String[] { "long", "long", "long" };
_methodParameterTypes65 = new String[] { "long", "long", "long" };
_methodName65 = "countCaricoLavoroCF";
_methodName66 = "countCaricoLavoroCF";
_methodParameterTypes65 = new String[] {
_methodParameterTypes66 = new String[] {
"long", "java.lang.String", "java.lang.Long[][]"
};
_methodName66 = "countCaricoLavoroIstruttore";
_methodName67 = "countCaricoLavoroIstruttore";
_methodParameterTypes66 = new String[] { "long", "java.lang.String" };
_methodParameterTypes67 = new String[] { "long", "java.lang.String" };
_methodName67 = "generateReportPratica";
_methodName68 = "generateReportPratica";
_methodParameterTypes67 = new String[] {
_methodParameterTypes68 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName68 = "updateModifiedDate";
_methodName69 = "updateModifiedDate";
_methodParameterTypes68 = new String[] { "long", "java.util.Date" };
_methodParameterTypes69 = new String[] { "long", "java.util.Date" };
_methodName69 = "reIndexFascicolo";
_methodName70 = "reIndexFascicolo";
_methodParameterTypes69 = new String[] {
_methodParameterTypes70 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName70 = "reIndexFasciolo";
_methodParameterTypes70 = new String[] { "java.lang.String", "long" };
_methodName71 = "reIndexFasciolo";
_methodParameterTypes71 = new String[] { "long", "long" };
_methodParameterTypes71 = new String[] { "java.lang.String", "long" };
_methodName72 = "findByNumeroProgetto";
_methodName72 = "reIndexFasciolo";
_methodParameterTypes72 = new String[] { "java.lang.String" };
_methodParameterTypes72 = new String[] { "long", "long" };
_methodName73 = "findByTerritorioId";
_methodName73 = "findByNumeroProgetto";
_methodParameterTypes73 = new String[] { "long" };
_methodParameterTypes73 = new String[] { "java.lang.String" };
_methodName74 = "getOrganizationByIntPraticaId";
_methodName74 = "findByTerritorioId";
_methodParameterTypes74 = new String[] { "long" };
_methodName75 = "hasRichiestaIntegrazioneAttiva";
_methodName75 = "getOrganizationByIntPraticaId";
_methodParameterTypes75 = new String[] { "long" };
_methodName76 = "invioMailNotifica";
_methodName76 = "hasRichiestaIntegrazioneAttiva";
_methodParameterTypes76 = new String[] { "long" };
_methodParameterTypes76 = new String[] {
_methodName77 = "invioMailNotifica";
_methodParameterTypes77 = 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"
};
_methodName77 = "searchAltriProgetti";
_methodName78 = "searchAltriProgetti";
_methodParameterTypes77 = new String[] {
_methodParameterTypes78 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName78 = "searchArchivioProgetti";
_methodName79 = "searchArchivioProgetti";
_methodParameterTypes78 = new String[] {
_methodParameterTypes79 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName79 = "searchMieiProgetti";
_methodName80 = "searchMieiProgetti";
_methodParameterTypes79 = new String[] {
_methodParameterTypes80 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
@ -1851,6 +1855,45 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
return (it.tref.liferay.portos.bo.model.IntPratica)ClpSerializer.translateOutput(returnObj);
}
@Override
public it.tref.liferay.portos.bo.model.IntPratica addDatiSuap(
long intPraticaId, long[] codiciRisultato)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
new Object[] {
intPraticaId,
ClpSerializer.translateInput(codiciRisultato)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (it.tref.liferay.portos.bo.model.IntPratica)ClpSerializer.translateOutput(returnObj);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByC_UserId(
long companyId, long userId, int start, int end)
@ -1858,8 +1901,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName44,
_methodParameterTypes44,
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45,
new Object[] { companyId, userId, start, end });
}
catch (Throwable t) {
@ -1887,8 +1930,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName45,
_methodParameterTypes45, new Object[] { companyId, userId });
returnObj = _invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46, new Object[] { companyId, userId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1914,8 +1957,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName46,
_methodParameterTypes46, new Object[] { intPraticaId, status });
_invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47, new Object[] { intPraticaId, status });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1946,8 +1989,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName47,
_methodParameterTypes47,
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -1980,8 +2023,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName48,
_methodParameterTypes48,
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -2015,8 +2058,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName49,
_methodParameterTypes49,
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -2049,8 +2092,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName50,
_methodParameterTypes50,
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -2084,8 +2127,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName51,
_methodParameterTypes51,
returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
new Object[] { companyId, soggettoId, start, end });
}
catch (Throwable t) {
@ -2119,8 +2162,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName52,
_methodParameterTypes52,
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
new Object[] { companyId, soggettoId });
}
catch (Throwable t) {
@ -2154,8 +2197,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName53,
_methodParameterTypes53,
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
new Object[] {
companyId,
@ -2197,8 +2240,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName54,
_methodParameterTypes54,
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55,
new Object[] {
companyId,
@ -2236,8 +2279,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName55,
_methodParameterTypes55,
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56,
new Object[] {
companyId,
@ -2279,8 +2322,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName56,
_methodParameterTypes56,
returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes57,
new Object[] {
companyId,
@ -2317,8 +2360,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName57,
_methodParameterTypes57,
returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes58,
new Object[] {
ClpSerializer.translateInput(groupIds),
@ -2352,8 +2395,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName58,
_methodParameterTypes58,
returnObj = _invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes59,
new Object[] { ClpSerializer.translateInput(groupIds) });
}
catch (Throwable t) {
@ -2382,8 +2425,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName59,
_methodParameterTypes59,
returnObj = _invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes60,
new Object[] {
ClpSerializer.translateInput(groupIds),
@ -2424,8 +2467,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName60,
_methodParameterTypes60,
returnObj = _invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes61,
new Object[] {
intPraticaId,
@ -2475,8 +2518,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName61,
_methodParameterTypes61,
returnObj = _invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes62,
new Object[] {
intPraticaId,
@ -2515,8 +2558,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName62,
_methodParameterTypes62,
_invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63,
new Object[] { docPraticaAnnullamentoId });
}
catch (Throwable t) {
@ -2545,8 +2588,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName63,
_methodParameterTypes63, new Object[] { intPraticaId });
_invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2575,8 +2618,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName64,
_methodParameterTypes64,
_invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65,
new Object[] { intPraticaId, controlloPraticaId, istruttoreId });
}
catch (Throwable t) {
@ -2608,8 +2651,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName65,
_methodParameterTypes65,
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66,
new Object[] {
ispettoreId,
@ -2648,8 +2691,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName66,
_methodParameterTypes66,
returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67,
new Object[] {
ispettoreId,
@ -2683,8 +2726,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName67,
_methodParameterTypes67,
returnObj = _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68,
new Object[] {
ClpSerializer.translateInput(intPratica),
@ -2722,8 +2765,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName68,
_methodParameterTypes68,
returnObj = _invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes69,
new Object[] {
intPraticaId,
@ -2757,8 +2800,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFascicolo(
it.tref.liferay.portos.bo.model.IntPratica pratica, long companyId) {
try {
_invokableLocalService.invokeMethod(_methodName69,
_methodParameterTypes69,
_invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70,
new Object[] { ClpSerializer.translateInput(pratica), companyId });
}
catch (Throwable t) {
@ -2778,8 +2821,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId)
throws com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName70,
_methodParameterTypes70,
_invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes71,
new Object[] {
ClpSerializer.translateInput(numeroProgetto),
@ -2808,8 +2851,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName71,
_methodParameterTypes71,
_invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes72,
new Object[] { intPraticaId, companyId });
}
catch (Throwable t) {
@ -2840,8 +2883,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName72,
_methodParameterTypes72,
returnObj = _invokableLocalService.invokeMethod(_methodName73,
_methodParameterTypes73,
new Object[] { ClpSerializer.translateInput(numeroProgetto) });
}
catch (Throwable t) {
@ -2870,8 +2913,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName73,
_methodParameterTypes73, new Object[] { territorioId });
returnObj = _invokableLocalService.invokeMethod(_methodName74,
_methodParameterTypes74, new Object[] { territorioId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2900,8 +2943,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName74,
_methodParameterTypes74, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName75,
_methodParameterTypes75, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2931,8 +2974,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName75,
_methodParameterTypes75, new Object[] { intPraticaId });
returnObj = _invokableLocalService.invokeMethod(_methodName76,
_methodParameterTypes76, new Object[] { intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -2960,8 +3003,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
_invokableLocalService.invokeMethod(_methodName76,
_methodParameterTypes76,
_invokableLocalService.invokeMethod(_methodName77,
_methodParameterTypes77,
new Object[] {
dettPraticaId,
@ -3012,8 +3055,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName77,
_methodParameterTypes77,
returnObj = _invokableLocalService.invokeMethod(_methodName78,
_methodParameterTypes78,
new Object[] {
ClpSerializer.translateInput(request),
@ -3046,8 +3089,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName78,
_methodParameterTypes78,
returnObj = _invokableLocalService.invokeMethod(_methodName79,
_methodParameterTypes79,
new Object[] {
ClpSerializer.translateInput(request),
@ -3080,8 +3123,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName79,
_methodParameterTypes79,
returnObj = _invokableLocalService.invokeMethod(_methodName80,
_methodParameterTypes80,
new Object[] {
ClpSerializer.translateInput(request),
@ -3266,4 +3309,6 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService {
private String[] _methodParameterTypes78;
private String _methodName79;
private String[] _methodParameterTypes79;
private String _methodName80;
private String[] _methodParameterTypes80;
}

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

@ -490,6 +490,13 @@ public class IntPraticaLocalServiceUtil {
return getService().updateStatoPratica(intPraticaId, statoPratica);
}
public static it.tref.liferay.portos.bo.model.IntPratica addDatiSuap(
long intPraticaId, long[] codiciRisultato)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().addDatiSuap(intPraticaId, codiciRisultato);
}
public static java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByC_UserId(
long companyId, long userId, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {

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

@ -534,6 +534,14 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService,
statoPratica);
}
@Override
public it.tref.liferay.portos.bo.model.IntPratica addDatiSuap(
long intPraticaId, long[] codiciRisultato)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _intPraticaLocalService.addDatiSuap(intPraticaId, codiciRisultato);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.IntPratica> findByC_UserId(
long companyId, long userId, int start, int end)

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

@ -248,177 +248,181 @@ public class IntPraticaLocalServiceClpInvoker {
_methodParameterTypes201 = new String[] { "long", "java.lang.String" };
_methodName202 = "findByC_UserId";
_methodName202 = "addDatiSuap";
_methodParameterTypes202 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes202 = new String[] { "long", "long[][]" };
_methodName203 = "countByC_UserId";
_methodName203 = "findByC_UserId";
_methodParameterTypes203 = new String[] { "long", "long" };
_methodParameterTypes203 = new String[] { "long", "long", "int", "int" };
_methodName204 = "updateStatus";
_methodName204 = "countByC_UserId";
_methodParameterTypes204 = new String[] { "long", "int" };
_methodParameterTypes204 = new String[] { "long", "long" };
_methodName205 = "findByCompanyIdSoggettoProgetti";
_methodName205 = "updateStatus";
_methodParameterTypes205 = new String[] { "long", "long" };
_methodParameterTypes205 = new String[] { "long", "int" };
_methodName206 = "countByCompanyIdSoggettoProgetti";
_methodName206 = "findByCompanyIdSoggettoProgetti";
_methodParameterTypes206 = new String[] { "long", "long" };
_methodName208 = "findByCompanyIdSoggettoArchivio";
_methodName207 = "countByCompanyIdSoggettoProgetti";
_methodParameterTypes208 = new String[] { "long", "long" };
_methodParameterTypes207 = new String[] { "long", "long" };
_methodName209 = "countByCompanyIdSoggettoArchivio";
_methodName209 = "findByCompanyIdSoggettoArchivio";
_methodParameterTypes209 = new String[] { "long", "long" };
_methodName211 = "findByCompanyIdSoggettoAltriProgetti";
_methodName210 = "countByCompanyIdSoggettoArchivio";
_methodParameterTypes211 = new String[] { "long", "long", "int", "int" };
_methodParameterTypes210 = new String[] { "long", "long" };
_methodName212 = "countByCompanyIdSoggettoAltriProgetti";
_methodName212 = "findByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes212 = new String[] { "long", "long" };
_methodParameterTypes212 = new String[] { "long", "long", "int", "int" };
_methodName214 = "findByCanAddFineLavori";
_methodName213 = "countByCompanyIdSoggettoAltriProgetti";
_methodParameterTypes214 = new String[] {
_methodParameterTypes213 = new String[] { "long", "long" };
_methodName215 = "findByCanAddFineLavori";
_methodParameterTypes215 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName215 = "countByCanAddFineLavori";
_methodName216 = "countByCanAddFineLavori";
_methodParameterTypes215 = new String[] { "long", "java.lang.String" };
_methodParameterTypes216 = new String[] { "long", "java.lang.String" };
_methodName217 = "findByCanAddCollaudo";
_methodName218 = "findByCanAddCollaudo";
_methodParameterTypes217 = new String[] {
_methodParameterTypes218 = new String[] {
"long", "java.lang.String", "int", "int"
};
_methodName218 = "countByCanAddCollaudo";
_methodName219 = "countByCanAddCollaudo";
_methodParameterTypes218 = new String[] { "long", "java.lang.String" };
_methodParameterTypes219 = new String[] { "long", "java.lang.String" };
_methodName219 = "search";
_methodName220 = "search";
_methodParameterTypes219 = new String[] { "java.util.List", "int", "int" };
_methodParameterTypes220 = new String[] { "java.util.List", "int", "int" };
_methodName220 = "countSearch";
_methodName221 = "countSearch";
_methodParameterTypes220 = new String[] { "java.util.List" };
_methodParameterTypes221 = new String[] { "java.util.List" };
_methodName221 = "searchWithIntPraticaId";
_methodName222 = "searchWithIntPraticaId";
_methodParameterTypes221 = new String[] {
_methodParameterTypes222 = new String[] {
"java.util.List", "long", "int", "int"
};
_methodName222 = "allegaFileAnnullamento";
_methodName223 = "allegaFileAnnullamento";
_methodParameterTypes222 = new String[] {
_methodParameterTypes223 = new String[] {
"long", "byte[][]", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
};
_methodName223 = "generateFileAnnullamento";
_methodName224 = "generateFileAnnullamento";
_methodParameterTypes223 = new String[] {
_methodParameterTypes224 = new String[] {
"long", "com.liferay.portal.service.ServiceContext"
};
_methodName224 = "deleteFileAnnullamento";
_methodName225 = "deleteFileAnnullamento";
_methodParameterTypes224 = new String[] { "long" };
_methodParameterTypes225 = new String[] { "long" };
_methodName225 = "completeAnnullamento";
_methodName226 = "completeAnnullamento";
_methodParameterTypes225 = new String[] { "long" };
_methodParameterTypes226 = new String[] { "long" };
_methodName226 = "cambiaIstruttore";
_methodName227 = "cambiaIstruttore";
_methodParameterTypes226 = new String[] { "long", "long", "long" };
_methodParameterTypes227 = new String[] { "long", "long", "long" };
_methodName227 = "countCaricoLavoroCF";
_methodName228 = "countCaricoLavoroCF";
_methodParameterTypes227 = new String[] {
_methodParameterTypes228 = new String[] {
"long", "java.lang.String", "java.lang.Long[][]"
};
_methodName228 = "countCaricoLavoroIstruttore";
_methodName229 = "countCaricoLavoroIstruttore";
_methodParameterTypes228 = new String[] { "long", "java.lang.String" };
_methodParameterTypes229 = new String[] { "long", "java.lang.String" };
_methodName229 = "generateReportPratica";
_methodName230 = "generateReportPratica";
_methodParameterTypes229 = new String[] {
_methodParameterTypes230 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName230 = "updateModifiedDate";
_methodName231 = "updateModifiedDate";
_methodParameterTypes230 = new String[] { "long", "java.util.Date" };
_methodParameterTypes231 = new String[] { "long", "java.util.Date" };
_methodName231 = "reIndexFascicolo";
_methodName232 = "reIndexFascicolo";
_methodParameterTypes231 = new String[] {
_methodParameterTypes232 = new String[] {
"it.tref.liferay.portos.bo.model.IntPratica", "long"
};
_methodName232 = "reIndexFasciolo";
_methodParameterTypes232 = new String[] { "java.lang.String", "long" };
_methodName233 = "reIndexFasciolo";
_methodParameterTypes233 = new String[] { "long", "long" };
_methodParameterTypes233 = new String[] { "java.lang.String", "long" };
_methodName234 = "findByNumeroProgetto";
_methodName234 = "reIndexFasciolo";
_methodParameterTypes234 = new String[] { "java.lang.String" };
_methodParameterTypes234 = new String[] { "long", "long" };
_methodName235 = "findByTerritorioId";
_methodName235 = "findByNumeroProgetto";
_methodParameterTypes235 = new String[] { "long" };
_methodParameterTypes235 = new String[] { "java.lang.String" };
_methodName236 = "getOrganizationByIntPraticaId";
_methodName236 = "findByTerritorioId";
_methodParameterTypes236 = new String[] { "long" };
_methodName237 = "hasRichiestaIntegrazioneAttiva";
_methodName237 = "getOrganizationByIntPraticaId";
_methodParameterTypes237 = new String[] { "long" };
_methodName238 = "invioMailNotifica";
_methodName238 = "hasRichiestaIntegrazioneAttiva";
_methodParameterTypes238 = new String[] { "long" };
_methodName239 = "invioMailNotifica";
_methodParameterTypes238 = new String[] {
_methodParameterTypes239 = 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"
};
_methodName239 = "searchAltriProgetti";
_methodName240 = "searchAltriProgetti";
_methodParameterTypes239 = new String[] {
_methodParameterTypes240 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName240 = "searchArchivioProgetti";
_methodName241 = "searchArchivioProgetti";
_methodParameterTypes240 = new String[] {
_methodParameterTypes241 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
_methodName241 = "searchMieiProgetti";
_methodName242 = "searchMieiProgetti";
_methodParameterTypes241 = new String[] {
_methodParameterTypes242 = new String[] {
"javax.servlet.http.HttpServletRequest",
"com.liferay.portal.model.User", "int", "int"
};
@ -698,142 +702,148 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName202.equals(name) &&
Arrays.deepEquals(_methodParameterTypes202, parameterTypes)) {
return IntPraticaLocalServiceUtil.addDatiSuap(((Long)arguments[0]).longValue(),
(long[])arguments[1]);
}
if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByC_UserId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName203.equals(name) &&
Arrays.deepEquals(_methodParameterTypes203, parameterTypes)) {
if (_methodName204.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByC_UserId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName204.equals(name) &&
Arrays.deepEquals(_methodParameterTypes204, parameterTypes)) {
if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
IntPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue());
return null;
}
if (_methodName205.equals(name) &&
Arrays.deepEquals(_methodParameterTypes205, parameterTypes)) {
if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName206.equals(name) &&
Arrays.deepEquals(_methodParameterTypes206, parameterTypes)) {
if (_methodName207.equals(name) &&
Arrays.deepEquals(_methodParameterTypes207, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName208.equals(name) &&
Arrays.deepEquals(_methodParameterTypes208, parameterTypes)) {
if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName209.equals(name) &&
Arrays.deepEquals(_methodParameterTypes209, parameterTypes)) {
if (_methodName210.equals(name) &&
Arrays.deepEquals(_methodParameterTypes210, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName211.equals(name) &&
Arrays.deepEquals(_methodParameterTypes211, parameterTypes)) {
if (_methodName212.equals(name) &&
Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName212.equals(name) &&
Arrays.deepEquals(_methodParameterTypes212, parameterTypes)) {
if (_methodName213.equals(name) &&
Arrays.deepEquals(_methodParameterTypes213, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
if (_methodName214.equals(name) &&
Arrays.deepEquals(_methodParameterTypes214, parameterTypes)) {
if (_methodName215.equals(name) &&
Arrays.deepEquals(_methodParameterTypes215, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddFineLavori(((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 (_methodName216.equals(name) &&
Arrays.deepEquals(_methodParameterTypes216, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddFineLavori(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName217.equals(name) &&
Arrays.deepEquals(_methodParameterTypes217, parameterTypes)) {
if (_methodName218.equals(name) &&
Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1],
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName218.equals(name) &&
Arrays.deepEquals(_methodParameterTypes218, parameterTypes)) {
if (_methodName219.equals(name) &&
Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
return IntPraticaLocalServiceUtil.countByCanAddCollaudo(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName219.equals(name) &&
Arrays.deepEquals(_methodParameterTypes219, parameterTypes)) {
if (_methodName220.equals(name) &&
Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) {
return IntPraticaLocalServiceUtil.search((java.util.List<java.lang.Long>)arguments[0],
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName220.equals(name) &&
Arrays.deepEquals(_methodParameterTypes220, parameterTypes)) {
if (_methodName221.equals(name) &&
Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
return IntPraticaLocalServiceUtil.countSearch((java.util.List<java.lang.Long>)arguments[0]);
}
if (_methodName221.equals(name) &&
Arrays.deepEquals(_methodParameterTypes221, parameterTypes)) {
if (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes222, 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 (_methodName222.equals(name) &&
Arrays.deepEquals(_methodParameterTypes222, parameterTypes)) {
if (_methodName223.equals(name) &&
Arrays.deepEquals(_methodParameterTypes223, 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 (_methodName223.equals(name) &&
Arrays.deepEquals(_methodParameterTypes223, parameterTypes)) {
if (_methodName224.equals(name) &&
Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(),
(com.liferay.portal.service.ServiceContext)arguments[1]);
}
if (_methodName224.equals(name) &&
Arrays.deepEquals(_methodParameterTypes224, parameterTypes)) {
if (_methodName225.equals(name) &&
Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) {
IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue());
return null;
}
if (_methodName225.equals(name) &&
Arrays.deepEquals(_methodParameterTypes225, parameterTypes)) {
if (_methodName226.equals(name) &&
Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) {
IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue());
return null;
}
if (_methodName226.equals(name) &&
Arrays.deepEquals(_methodParameterTypes226, parameterTypes)) {
if (_methodName227.equals(name) &&
Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) {
IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
((Long)arguments[2]).longValue());
@ -841,41 +851,33 @@ public class IntPraticaLocalServiceClpInvoker {
return null;
}
if (_methodName227.equals(name) &&
Arrays.deepEquals(_methodParameterTypes227, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.Long[])arguments[2]);
}
if (_methodName228.equals(name) &&
Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) {
return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1], (java.lang.Long[])arguments[2]);
}
if (_methodName229.equals(name) &&
Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) {
return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName230.equals(name) &&
Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) {
return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(),
(java.util.Date)arguments[1]);
return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
}
if (_methodName231.equals(name) &&
Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
return null;
return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(),
(java.util.Date)arguments[1]);
}
if (_methodName232.equals(name) &&
Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0],
IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0],
((Long)arguments[1]).longValue());
return null;
@ -883,7 +885,7 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName233.equals(name) &&
Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) {
IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(),
IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0],
((Long)arguments[1]).longValue());
return null;
@ -891,26 +893,34 @@ public class IntPraticaLocalServiceClpInvoker {
if (_methodName234.equals(name) &&
Arrays.deepEquals(_methodParameterTypes234, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]);
IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
return null;
}
if (_methodName235.equals(name) &&
Arrays.deepEquals(_methodParameterTypes235, parameterTypes)) {
return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue());
return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]);
}
if (_methodName236.equals(name) &&
Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) {
return IntPraticaLocalServiceUtil.getOrganizationByIntPraticaId(((Long)arguments[0]).longValue());
return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue());
}
if (_methodName237.equals(name) &&
Arrays.deepEquals(_methodParameterTypes237, parameterTypes)) {
return IntPraticaLocalServiceUtil.hasRichiestaIntegrazioneAttiva(((Long)arguments[0]).longValue());
return IntPraticaLocalServiceUtil.getOrganizationByIntPraticaId(((Long)arguments[0]).longValue());
}
if (_methodName238.equals(name) &&
Arrays.deepEquals(_methodParameterTypes238, parameterTypes)) {
return IntPraticaLocalServiceUtil.hasRichiestaIntegrazioneAttiva(((Long)arguments[0]).longValue());
}
if (_methodName239.equals(name) &&
Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) {
IntPraticaLocalServiceUtil.invioMailNotifica(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue(),
(java.lang.String)arguments[2],
@ -925,24 +935,24 @@ public class IntPraticaLocalServiceClpInvoker {
return null;
}
if (_methodName239.equals(name) &&
Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) {
if (_methodName240.equals(name) &&
Arrays.deepEquals(_methodParameterTypes240, 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 (_methodName240.equals(name) &&
Arrays.deepEquals(_methodParameterTypes240, parameterTypes)) {
if (_methodName241.equals(name) &&
Arrays.deepEquals(_methodParameterTypes241, 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 (_methodName241.equals(name) &&
Arrays.deepEquals(_methodParameterTypes241, parameterTypes)) {
if (_methodName242.equals(name) &&
Arrays.deepEquals(_methodParameterTypes242, parameterTypes)) {
return IntPraticaLocalServiceUtil.searchMieiProgetti((javax.servlet.http.HttpServletRequest)arguments[0],
(com.liferay.portal.model.User)arguments[1],
((Integer)arguments[2]).intValue(),
@ -1052,20 +1062,20 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes205;
private String _methodName206;
private String[] _methodParameterTypes206;
private String _methodName208;
private String[] _methodParameterTypes208;
private String _methodName207;
private String[] _methodParameterTypes207;
private String _methodName209;
private String[] _methodParameterTypes209;
private String _methodName211;
private String[] _methodParameterTypes211;
private String _methodName210;
private String[] _methodParameterTypes210;
private String _methodName212;
private String[] _methodParameterTypes212;
private String _methodName214;
private String[] _methodParameterTypes214;
private String _methodName213;
private String[] _methodParameterTypes213;
private String _methodName215;
private String[] _methodParameterTypes215;
private String _methodName217;
private String[] _methodParameterTypes217;
private String _methodName216;
private String[] _methodParameterTypes216;
private String _methodName218;
private String[] _methodParameterTypes218;
private String _methodName219;
@ -1114,4 +1124,6 @@ public class IntPraticaLocalServiceClpInvoker {
private String[] _methodParameterTypes240;
private String _methodName241;
private String[] _methodParameterTypes241;
private String _methodName242;
private String[] _methodParameterTypes242;
}

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

@ -105,7 +105,6 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang.StringUtils;
/**
* The implementation of the int pratica local service.
* <p>
@ -509,7 +508,10 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
intPratica.setStatoPratica(statoPratica);
return updateIntPratica(intPratica);
}
public IntPratica addDatiSuap(long intPraticaId, long[] codiciRisultato) throws PortalException, SystemException {
IntPratica intestazione = getIntPratica(intPraticaId);
return updateIntPratica(intestazione);
}
@Override
public List<IntPratica> findByC_UserId(long companyId, long userId, int start, int end) throws SystemException {

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=3649
build.date=1680100687665
build.number=3650
build.date=1683889056799
build.auto.upgrade=true
##

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

@ -18,5 +18,7 @@
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry combineaccessrules="false" kind="src" path="/portos-bo-portlet"/>
<classpathentry combineaccessrules="false" kind="src" path="/portos-bo-shared"/>
<classpathentry kind="output" path="docroot/WEB-INF/classes"/>
</classpath>

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

File binario non mostrato.

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

File binario non mostrato.

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

@ -3,7 +3,7 @@
<service-builder package-path="portos.nextmind">
<author>ebusu</author>
<namespace>portos_ss</namespace>
<entity name="Sportello" table="sportello"
<entity name="Sportello" table="sportello" cache-enabled="false"
data-source="suesuapDataSource" local-service="true" remote-service="false"
session-factory="suesuapSessionFactory"
tx-manager="suesuapTransactionManager">
@ -22,12 +22,11 @@
<column name="name" type="String" db-name="name" />
<column name="surname" type="String" db-name="surname" />
<column name="address" type="String" db-name="address" />
<column name="stato" type="boolean" db-name="stato" />
<column name="creationDate" type="Date" db-name="creation_date" />
<column name="lastUpdateDate" type="Date" db-name="last_update_date" />
<column name="sentToPortosDate" type="Date" db-name="senttoportosdate" />
</entity>
<entity name="HeadSportello" table="head_sportello"
<entity name="HeadSportello" table="head_sportello" cache-enabled="false"
data-source="suesuapDataSource" local-service="true" remote-service="false"
session-factory="suesuapSessionFactory"
tx-manager="suesuapTransactionManager">
@ -43,7 +42,7 @@
<column name="queueLocation" type="String" db-name="wios_queueLocation"></column>
<column name="sportello_id" type="long" db-name="sportello_id"></column>
</entity>
<entity name="ScheduledActions" table="scheduled_actions"
<entity name="ScheduledActions" table="scheduled_actions" cache-enabled="false"
data-source="suesuapDataSource" local-service="true" remote-service="false"
session-factory="suesuapSessionFactory"
tx-manager="suesuapTransactionManager">

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

@ -88,7 +88,6 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
attributes.put("name", getName());
attributes.put("surname", getSurname());
attributes.put("address", getAddress());
attributes.put("stato", getStato());
attributes.put("creationDate", getCreationDate());
attributes.put("lastUpdateDate", getLastUpdateDate());
attributes.put("sentToPortosDate", getSentToPortosDate());
@ -189,12 +188,6 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
setAddress(address);
}
Boolean stato = (Boolean)attributes.get("stato");
if (stato != null) {
setStato(stato);
}
Date creationDate = (Date)attributes.get("creationDate");
if (creationDate != null) {
@ -561,34 +554,6 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
}
}
@Override
public boolean getStato() {
return _stato;
}
@Override
public boolean isStato() {
return _stato;
}
@Override
public void setStato(boolean stato) {
_stato = stato;
if (_sportelloRemoteModel != null) {
try {
Class<?> clazz = _sportelloRemoteModel.getClass();
Method method = clazz.getMethod("setStato", boolean.class);
method.invoke(_sportelloRemoteModel, stato);
}
catch (Exception e) {
throw new UnsupportedOperationException(e);
}
}
}
@Override
public Date getCreationDate() {
return _creationDate;
@ -743,7 +708,6 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
clone.setName(getName());
clone.setSurname(getSurname());
clone.setAddress(getAddress());
clone.setStato(getStato());
clone.setCreationDate(getCreationDate());
clone.setLastUpdateDate(getLastUpdateDate());
clone.setSentToPortosDate(getSentToPortosDate());
@ -799,7 +763,7 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
@Override
public String toString() {
StringBundler sb = new StringBundler(39);
StringBundler sb = new StringBundler(37);
sb.append("{id=");
sb.append(getId());
@ -831,8 +795,6 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
sb.append(getSurname());
sb.append(", address=");
sb.append(getAddress());
sb.append(", stato=");
sb.append(getStato());
sb.append(", creationDate=");
sb.append(getCreationDate());
sb.append(", lastUpdateDate=");
@ -846,7 +808,7 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(61);
StringBundler sb = new StringBundler(58);
sb.append("<model><model-name>");
sb.append("portos.nextmind.model.Sportello");
@ -912,10 +874,6 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
"<column><column-name>address</column-name><column-value><![CDATA[");
sb.append(getAddress());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>stato</column-name><column-value><![CDATA[");
sb.append(getStato());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>creationDate</column-name><column-value><![CDATA[");
sb.append(getCreationDate());
@ -949,7 +907,6 @@ public class SportelloClp extends BaseModelImpl<Sportello> implements Sportello
private String _name;
private String _surname;
private String _address;
private boolean _stato;
private Date _creationDate;
private Date _lastUpdateDate;
private Date _sentToPortosDate;

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

@ -283,27 +283,6 @@ public interface SportelloModel extends BaseModel<Sportello> {
*/
public void setAddress(String address);
/**
* Returns the stato of this sportello.
*
* @return the stato of this sportello
*/
public boolean getStato();
/**
* Returns <code>true</code> if this sportello is stato.
*
* @return <code>true</code> if this sportello is stato; <code>false</code> otherwise
*/
public boolean isStato();
/**
* Sets whether this sportello is stato.
*
* @param stato the stato of this sportello
*/
public void setStato(boolean stato);
/**
* Returns the creation date of this sportello.
*

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

@ -45,7 +45,6 @@ public class SportelloSoap implements Serializable {
soapModel.setName(model.getName());
soapModel.setSurname(model.getSurname());
soapModel.setAddress(model.getAddress());
soapModel.setStato(model.getStato());
soapModel.setCreationDate(model.getCreationDate());
soapModel.setLastUpdateDate(model.getLastUpdateDate());
soapModel.setSentToPortosDate(model.getSentToPortosDate());
@ -221,18 +220,6 @@ public class SportelloSoap implements Serializable {
_address = address;
}
public boolean getStato() {
return _stato;
}
public boolean isStato() {
return _stato;
}
public void setStato(boolean stato) {
_stato = stato;
}
public Date getCreationDate() {
return _creationDate;
}
@ -272,7 +259,6 @@ public class SportelloSoap implements Serializable {
private String _name;
private String _surname;
private String _address;
private boolean _stato;
private Date _creationDate;
private Date _lastUpdateDate;
private Date _sentToPortosDate;

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

@ -64,7 +64,6 @@ public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
attributes.put("name", getName());
attributes.put("surname", getSurname());
attributes.put("address", getAddress());
attributes.put("stato", getStato());
attributes.put("creationDate", getCreationDate());
attributes.put("lastUpdateDate", getLastUpdateDate());
attributes.put("sentToPortosDate", getSentToPortosDate());
@ -165,12 +164,6 @@ public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
setAddress(address);
}
Boolean stato = (Boolean)attributes.get("stato");
if (stato != null) {
setStato(stato);
}
Date creationDate = (Date)attributes.get("creationDate");
if (creationDate != null) {
@ -510,36 +503,6 @@ public class SportelloWrapper implements Sportello, ModelWrapper<Sportello> {
_sportello.setAddress(address);
}
/**
* Returns the stato of this sportello.
*
* @return the stato of this sportello
*/
@Override
public boolean getStato() {
return _sportello.getStato();
}
/**
* Returns <code>true</code> if this sportello is stato.
*
* @return <code>true</code> if this sportello is stato; <code>false</code> otherwise
*/
@Override
public boolean isStato() {
return _sportello.isStato();
}
/**
* Sets whether this sportello is stato.
*
* @param stato the stato of this sportello
*/
@Override
public void setStato(boolean stato) {
_sportello.setStato(stato);
}
/**
* Returns the creation date of this sportello.
*

10
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/ScheduledActionsLocalService.java

@ -268,4 +268,14 @@ public interface ScheduledActionsLocalService extends BaseLocalService,
public java.util.List<portos.nextmind.model.ScheduledActions> findAzioniDaSvolgere(
java.lang.String context, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public portos.nextmind.model.ScheduledActions updateErrorLog(
long scheduleActionId, java.lang.String errorLog)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public portos.nextmind.model.ScheduledActions updateIntPraticaId(
long scheduleActionId, long intPraticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
}

86
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/ScheduledActionsLocalServiceClp.java

@ -131,6 +131,14 @@ public class ScheduledActionsLocalServiceClp
_methodName22 = "findAzioniDaSvolgere";
_methodParameterTypes22 = new String[] { "java.lang.String", "int", "int" };
_methodName23 = "updateErrorLog";
_methodParameterTypes23 = new String[] { "long", "java.lang.String" };
_methodName24 = "updateIntPraticaId";
_methodParameterTypes24 = new String[] { "long", "long" };
}
@Override
@ -809,6 +817,80 @@ public class ScheduledActionsLocalServiceClp
return (java.util.List<portos.nextmind.model.ScheduledActions>)ClpSerializer.translateOutput(returnObj);
}
@Override
public portos.nextmind.model.ScheduledActions updateErrorLog(
long scheduleActionId, java.lang.String errorLog)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName23,
_methodParameterTypes23,
new Object[] {
scheduleActionId,
ClpSerializer.translateInput(errorLog)
});
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (portos.nextmind.model.ScheduledActions)ClpSerializer.translateOutput(returnObj);
}
@Override
public portos.nextmind.model.ScheduledActions updateIntPraticaId(
long scheduleActionId, long intPraticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes24,
new Object[] { scheduleActionId, intPraticaId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)t;
}
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (portos.nextmind.model.ScheduledActions)ClpSerializer.translateOutput(returnObj);
}
private InvokableLocalService _invokableLocalService;
private String _methodName0;
private String[] _methodParameterTypes0;
@ -854,4 +936,8 @@ public class ScheduledActionsLocalServiceClp
private String[] _methodParameterTypes21;
private String _methodName22;
private String[] _methodParameterTypes22;
private String _methodName23;
private String[] _methodParameterTypes23;
private String _methodName24;
private String[] _methodParameterTypes24;
}

14
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/ScheduledActionsLocalServiceUtil.java

@ -298,6 +298,20 @@ public class ScheduledActionsLocalServiceUtil {
return getService().findAzioniDaSvolgere(context, start, end);
}
public static portos.nextmind.model.ScheduledActions updateErrorLog(
long scheduleActionId, java.lang.String errorLog)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().updateErrorLog(scheduleActionId, errorLog);
}
public static portos.nextmind.model.ScheduledActions updateIntPraticaId(
long scheduleActionId, long intPraticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService().updateIntPraticaId(scheduleActionId, intPraticaId);
}
public static void clearService() {
_service = null;
}

18
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/service/portos/nextmind/service/ScheduledActionsLocalServiceWrapper.java

@ -318,6 +318,24 @@ public class ScheduledActionsLocalServiceWrapper
start, end);
}
@Override
public portos.nextmind.model.ScheduledActions updateErrorLog(
long scheduleActionId, java.lang.String errorLog)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _scheduledActionsLocalService.updateErrorLog(scheduleActionId,
errorLog);
}
@Override
public portos.nextmind.model.ScheduledActions updateIntPraticaId(
long scheduleActionId, long intPraticaId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _scheduledActionsLocalService.updateIntPraticaId(scheduleActionId,
intPraticaId);
}
/**
* @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
*/

6
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml

@ -6,7 +6,6 @@
<import class="portos.nextmind.model.ScheduledActions" />
<import class="portos.nextmind.model.Sportello" />
<class name="portos.nextmind.model.impl.HeadSportelloImpl" table="head_sportello">
<cache usage="read-write" />
<id name="id" type="long">
<generator class="assigned" />
</id>
@ -22,7 +21,6 @@
<property name="sportello_id" type="com.liferay.portal.dao.orm.hibernate.LongType" />
</class>
<class name="portos.nextmind.model.impl.ScheduledActionsImpl" table="scheduled_actions">
<cache usage="read-write" />
<id name="shopId" column="shop_id" type="long">
<generator class="assigned" />
</id>
@ -34,7 +32,6 @@
<property name="context" type="com.liferay.portal.dao.orm.hibernate.StringType" />
</class>
<class name="portos.nextmind.model.impl.SportelloImpl" table="sportello">
<cache usage="read-write" />
<id name="id" type="long">
<generator class="assigned" />
</id>
@ -52,9 +49,8 @@
<property name="name" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="surname" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="address" type="com.liferay.portal.dao.orm.hibernate.StringType" />
<property name="stato" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
<property name="creationDate" type="org.hibernate.type.TimestampType" column="creation_date" />
<property name="lastUpdateDate" type="org.hibernate.type.TimestampType" column="last_update_date" />
<property name="sentToPortosDate" type="org.hibernate.type.TimestampType" column="sent_to_portos_date" />
<property name="sentToPortosDate" type="org.hibernate.type.TimestampType" column="senttoportosdate" />
</class>
</hibernate-mapping>

1
liferay-plugins-sdk-6.2/portlets/schedulatore-portos-pratiche-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml

@ -39,7 +39,6 @@
<field name="name" type="String" />
<field name="surname" type="String" />
<field name="address" type="String" />
<field name="stato" type="boolean" />
<field name="creationDate" type="Date" />
<field name="lastUpdateDate" type="Date" />
<field name="sentToPortosDate" type="Date" />

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

@ -98,7 +98,6 @@
<basic name="name" />
<basic name="surname" />
<basic name="address" />
<basic name="stato" />
<basic name="creationDate">
<column name="CREATION_DATE" />
<temporal>TIMESTAMP</temporal>
@ -108,7 +107,7 @@
<temporal>TIMESTAMP</temporal>
</basic>
<basic name="sentToPortosDate">
<column name="SENT_TO_PORTOS_DATE" />
<column name="SENTTOPORTOSDATE" />
<temporal>TIMESTAMP</temporal>
</basic>
<transient name="modelAttributes" />

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

@ -6,6 +6,7 @@ import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.messaging.Message;
import com.liferay.portal.kernel.messaging.MessageListener;
import com.liferay.portal.kernel.messaging.MessageListenerException;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.model.Company;
import com.liferay.portal.model.RoleConstants;
import com.liferay.portal.model.User;
@ -13,13 +14,16 @@ import com.liferay.portal.service.CompanyLocalServiceUtil;
import com.liferay.portal.service.RoleLocalServiceUtil;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portal.service.UserLocalServiceUtil;
import it.tref.liferay.portos.bo.model.Comune;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import java.util.List;
import java.util.Locale;
import portos.nextmind.model.ScheduledActions;
import portos.nextmind.model.Sportello;
@ -54,56 +58,79 @@ public class IntegratoreSchedulato implements MessageListener {
System.out.println("get information from db and create an obj");
List<ScheduledActions> listSA = ScheduledActionsLocalServiceUtil.findAzioniDaSvolgere("PAESAGGISTICA", QueryUtil.ALL_POS,QueryUtil.ALL_POS);
for (ScheduledActions scheduledActions : listSA) {
System.out.println("scheduledaction"+scheduledActions);
Sportello sport = SportelloLocalServiceUtil.fetchSportello(scheduledActions.getShopId());
sport.getContext();
if (scheduledActions.getRequestAction() == 2){
Comune comune = ComuneLocalServiceUtil.findByC_CP(
company.getCompanyId(),
sport.getCadastralCode()).get(0);
System.out.println("request action"+scheduledActions.getRequestAction());
System.out.println("cadastral code"+sport.getCadastralCode());
Comune comune = ComuneLocalServiceUtil.fetchByC_CI(company.getCompanyId(), sport.getCadastralCode());
//TODO se non c'è il comune tornare errore specifico al wios
if (comune == null) {
ScheduledActionsLocalServiceUtil.updateErrorLog(
scheduledActions.getPrimaryKey(),
"Non esiste il comune "+sport.getCadastralCode()
);
continue;
}
long comuneId = comune.getComuneId();
Territorio territorio = TerritorioLocalServiceUtil.findByComuneId(comuneId, 0, 1).get(0);
String tipoProcedura = sport.getProceedingType();
List<Territorio> terriList = TerritorioLocalServiceUtil.findByComuneId(comuneId, 0, 1);
if (terriList.isEmpty()) {
ScheduledActionsLocalServiceUtil.updateErrorLog(
scheduledActions.getPrimaryKey(),
"Non esistono territori per il comune "+comuneId
);
continue;
}
Territorio territorio = terriList.get(0);
//TODO se non c'è il territorio tornare errore specifico al wios
System.out.println("Territorio"+territorio);
User user = UserLocalServiceUtil
.fetchUserByScreenName(
company.getCompanyId(),
sport.getDigitalHolderTaxCode());
if (user == null) {
System.out.println("user null");
long userIdAdmin = UserLocalServiceUtil.getRoleUsers(
RoleLocalServiceUtil.getRole(company.getCompanyId(), RoleConstants.ADMINISTRATOR).getRoleId()).get(0).getUserId();
RoleLocalServiceUtil.getRole(company.getCompanyId(), RoleConstants.ADMINISTRATOR).getRoleId()
).get(0).getUserId();
ServiceContext userServiceContext = new ServiceContext();
userServiceContext.setScopeGroupId(territorio.getGroupId());
userServiceContext.setCompanyId(company.getCompanyId());
userServiceContext.setUserId(userIdAdmin);
//TODO creare utente quando oggetto modificato che comprende
/*user = UserLocalServiceUtil.addUser(creatorUserId, company.getCompanyId(), autoPassword, password1, password2,
autoScreenName, sport.getDigitalHolderTaxCode(), emailAddress, facebookId, openId, locale, sport.getName(),
middleName, sport.getSurname(), prefixId, suffixId, true, 0,
0, 1980, jobTitle, new long[]{territorio.getGroupId()}, organizationIds,
roleIds, new long[]{territorio.getGroupId()}, false, userServiceContext);*/
String emailAddress= sport.getAddress();
user = UserLocalServiceUtil.addUser(userIdAdmin, company.getCompanyId(), true, StringPool.BLANK, StringPool.BLANK,
false, sport.getDigitalHolderTaxCode(), emailAddress, 0l, StringPool.BLANK, Locale.ITALY, sport.getName(),
StringPool.BLANK, sport.getSurname(), 0, 0, true, 0,
0, 1980, StringPool.BLANK, new long[]{territorio.getGroupId()}, new long[]{},
new long[]{}, new long[]{}, false, userServiceContext);
}
ServiceContext serviceContext = new ServiceContext();
serviceContext.setScopeGroupId(territorio.getGroupId());
serviceContext.setCompanyId(company.getCompanyId());
serviceContext.setUserId(user.getUserId());
IntPratica newIntestazione = IntPraticaLocalServiceUtil.addIntPratica(
territorio.getTerritorioId(), tipoProcedura, new ServiceContext());
ScheduledActionsLocalServiceUtil
.updateScheduledActions(scheduledActions)
.setIntPraticaId(newIntestazione.getIntPraticaId()
String tipoProcedura = sport.getProceedingType();
IntPratica newIntestazione = IntPraticaLocalServiceUtil
.addIntPratica(
territorio.getTerritorioId(), tipoProcedura, serviceContext
);
Comune comuneDaAggiornare = ComuneLocalServiceUtil.updateComune(comune);
comuneDaAggiornare.setCodiceIstat(sport.getIpaCode());
comuneDaAggiornare.setCodiceBelfiore(sport.getInstanceId());
comuneDaAggiornare.setCodiceIstat(sport.getCadastralCode());
IntPratica intestazioneDaAggiornare = IntPraticaLocalServiceUtil
.updateIntPratica(newIntestazione);
intestazioneDaAggiornare
.setNumeroProgetto(sport.getInstanceId());
intestazioneDaAggiornare.setCreateDate(sport.getCreationDate());
intestazioneDaAggiornare.setTipoProcedura(sport.getProceedingType());
intestazioneDaAggiornare
.setCodiceFiscaleDelegatoCollaudo(sport.getDigitalHolderTaxCode());
intestazioneDaAggiornare.setModifiedDate(sport.getLastUpdateDate());
ScheduledActionsLocalServiceUtil
.updateIntPraticaId(scheduledActions.getIntPraticaId(),
newIntestazione.getIntPraticaId());
//DettPraticaLocalServiceUtil.addDatiSuap(intpraicaId, codici vari di wios);
IntPraticaLocalServiceUtil.addDatiSuap(
newIntestazione.getIntPraticaId(),
new long[]{});
// IntPratica intestazioneDaAggiornare = IntPraticaLocalServiceUtil
// .updateIntPratica(newIntestazione);
//
// intestazioneDaAggiornare.setCreateDate(sport.getCreationDate());
// intestazioneDaAggiornare.set
// intestazioneDaAggiornare.setModifiedDate(sport.getLastUpdateDate());
System.out.println("intestazione creata"+newIntestazione);
}
System.out.println(scheduledActions.getRequestAction());
System.out.println(sport.getUrl());

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

@ -79,10 +79,10 @@ public class HeadSportelloModelImpl extends BaseModelImpl<HeadSportello>
public static final String TX_MANAGER = "suesuapTransactionManager";
public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.entity.cache.enabled.portos.nextmind.model.HeadSportello"),
true);
false);
public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.finder.cache.enabled.portos.nextmind.model.HeadSportello"),
true);
false);
public static final boolean COLUMN_BITMASK_ENABLED = false;
public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get(
"lock.expiration.time.portos.nextmind.model.HeadSportello"));

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

@ -75,10 +75,10 @@ public class ScheduledActionsModelImpl extends BaseModelImpl<ScheduledActions>
public static final String TX_MANAGER = "suesuapTransactionManager";
public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.entity.cache.enabled.portos.nextmind.model.ScheduledActions"),
true);
false);
public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.finder.cache.enabled.portos.nextmind.model.ScheduledActions"),
true);
false);
public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.column.bitmask.enabled.portos.nextmind.model.ScheduledActions"),
true);

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

@ -38,7 +38,7 @@ public class SportelloCacheModel implements CacheModel<Sportello>,
Externalizable {
@Override
public String toString() {
StringBundler sb = new StringBundler(39);
StringBundler sb = new StringBundler(37);
sb.append("{id=");
sb.append(id);
@ -70,8 +70,6 @@ public class SportelloCacheModel implements CacheModel<Sportello>,
sb.append(surname);
sb.append(", address=");
sb.append(address);
sb.append(", stato=");
sb.append(stato);
sb.append(", creationDate=");
sb.append(creationDate);
sb.append(", lastUpdateDate=");
@ -187,8 +185,6 @@ public class SportelloCacheModel implements CacheModel<Sportello>,
sportelloImpl.setAddress(address);
}
sportelloImpl.setStato(stato);
if (creationDate == Long.MIN_VALUE) {
sportelloImpl.setCreationDate(null);
}
@ -232,7 +228,6 @@ public class SportelloCacheModel implements CacheModel<Sportello>,
name = objectInput.readUTF();
surname = objectInput.readUTF();
address = objectInput.readUTF();
stato = objectInput.readBoolean();
creationDate = objectInput.readLong();
lastUpdateDate = objectInput.readLong();
sentToPortosDate = objectInput.readLong();
@ -341,7 +336,6 @@ public class SportelloCacheModel implements CacheModel<Sportello>,
objectOutput.writeUTF(address);
}
objectOutput.writeBoolean(stato);
objectOutput.writeLong(creationDate);
objectOutput.writeLong(lastUpdateDate);
objectOutput.writeLong(sentToPortosDate);
@ -362,7 +356,6 @@ public class SportelloCacheModel implements CacheModel<Sportello>,
public String name;
public String surname;
public String address;
public boolean stato;
public long creationDate;
public long lastUpdateDate;
public long sentToPortosDate;

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

@ -74,12 +74,11 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
{ "name", Types.VARCHAR },
{ "surname", Types.VARCHAR },
{ "address", Types.VARCHAR },
{ "stato", Types.BOOLEAN },
{ "creation_date", Types.TIMESTAMP },
{ "last_update_date", Types.TIMESTAMP },
{ "sent_to_portos_date", Types.TIMESTAMP }
{ "senttoportosdate", Types.TIMESTAMP }
};
public static final String TABLE_SQL_CREATE = "create table sportello (id LONG not null primary key,application VARCHAR(75) null,client_id VARCHAR(75) null,context VARCHAR(75) null,instanceid VARCHAR(75) null,ipa_code VARCHAR(75) null,proceeding_type VARCHAR(75) null,url VARCHAR(75) null,content_type VARCHAR(75) null,operation VARCHAR(75) null,cadastral_code VARCHAR(75) null,digital_holder_tax_code VARCHAR(75) null,name VARCHAR(75) null,surname VARCHAR(75) null,address VARCHAR(75) null,stato BOOLEAN,creation_date DATE null,last_update_date DATE null,sent_to_portos_date DATE null)";
public static final String TABLE_SQL_CREATE = "create table sportello (id LONG not null primary key,application VARCHAR(75) null,client_id VARCHAR(75) null,context VARCHAR(75) null,instanceid VARCHAR(75) null,ipa_code VARCHAR(75) null,proceeding_type VARCHAR(75) null,url VARCHAR(75) null,content_type VARCHAR(75) null,operation VARCHAR(75) null,cadastral_code VARCHAR(75) null,digital_holder_tax_code VARCHAR(75) null,name VARCHAR(75) null,surname VARCHAR(75) null,address VARCHAR(75) null,creation_date DATE null,last_update_date DATE null,senttoportosdate DATE null)";
public static final String TABLE_SQL_DROP = "drop table sportello";
public static final String ORDER_BY_JPQL = " ORDER BY sportello.id ASC";
public static final String ORDER_BY_SQL = " ORDER BY sportello.id ASC";
@ -88,10 +87,10 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
public static final String TX_MANAGER = "suesuapTransactionManager";
public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.entity.cache.enabled.portos.nextmind.model.Sportello"),
true);
false);
public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
"value.object.finder.cache.enabled.portos.nextmind.model.Sportello"),
true);
false);
public static final boolean COLUMN_BITMASK_ENABLED = false;
public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get(
"lock.expiration.time.portos.nextmind.model.Sportello"));
@ -148,7 +147,6 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
attributes.put("name", getName());
attributes.put("surname", getSurname());
attributes.put("address", getAddress());
attributes.put("stato", getStato());
attributes.put("creationDate", getCreationDate());
attributes.put("lastUpdateDate", getLastUpdateDate());
attributes.put("sentToPortosDate", getSentToPortosDate());
@ -249,12 +247,6 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
setAddress(address);
}
Boolean stato = (Boolean)attributes.get("stato");
if (stato != null) {
setStato(stato);
}
Date creationDate = (Date)attributes.get("creationDate");
if (creationDate != null) {
@ -494,21 +486,6 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
_address = address;
}
@Override
public boolean getStato() {
return _stato;
}
@Override
public boolean isStato() {
return _stato;
}
@Override
public void setStato(boolean stato) {
_stato = stato;
}
@Override
public Date getCreationDate() {
return _creationDate;
@ -581,7 +558,6 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
sportelloImpl.setName(getName());
sportelloImpl.setSurname(getSurname());
sportelloImpl.setAddress(getAddress());
sportelloImpl.setStato(getStato());
sportelloImpl.setCreationDate(getCreationDate());
sportelloImpl.setLastUpdateDate(getLastUpdateDate());
sportelloImpl.setSentToPortosDate(getSentToPortosDate());
@ -756,8 +732,6 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
sportelloCacheModel.address = null;
}
sportelloCacheModel.stato = getStato();
Date creationDate = getCreationDate();
if (creationDate != null) {
@ -790,7 +764,7 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
@Override
public String toString() {
StringBundler sb = new StringBundler(39);
StringBundler sb = new StringBundler(37);
sb.append("{id=");
sb.append(getId());
@ -822,8 +796,6 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
sb.append(getSurname());
sb.append(", address=");
sb.append(getAddress());
sb.append(", stato=");
sb.append(getStato());
sb.append(", creationDate=");
sb.append(getCreationDate());
sb.append(", lastUpdateDate=");
@ -837,7 +809,7 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
@Override
public String toXmlString() {
StringBundler sb = new StringBundler(61);
StringBundler sb = new StringBundler(58);
sb.append("<model><model-name>");
sb.append("portos.nextmind.model.Sportello");
@ -903,10 +875,6 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
"<column><column-name>address</column-name><column-value><![CDATA[");
sb.append(getAddress());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>stato</column-name><column-value><![CDATA[");
sb.append(getStato());
sb.append("]]></column-value></column>");
sb.append(
"<column><column-name>creationDate</column-name><column-value><![CDATA[");
sb.append(getCreationDate());
@ -944,7 +912,6 @@ public class SportelloModelImpl extends BaseModelImpl<Sportello>
private String _name;
private String _surname;
private String _address;
private boolean _stato;
private Date _creationDate;
private Date _lastUpdateDate;
private Date _sentToPortosDate;

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

@ -129,6 +129,14 @@ public class ScheduledActionsLocalServiceClpInvoker {
_methodName49 = "findAzioniDaSvolgere";
_methodParameterTypes49 = new String[] { "java.lang.String", "int", "int" };
_methodName50 = "updateErrorLog";
_methodParameterTypes50 = new String[] { "long", "java.lang.String" };
_methodName51 = "updateIntPraticaId";
_methodParameterTypes51 = new String[] { "long", "long" };
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -257,6 +265,18 @@ public class ScheduledActionsLocalServiceClpInvoker {
((Integer)arguments[2]).intValue());
}
if (_methodName50.equals(name) &&
Arrays.deepEquals(_methodParameterTypes50, parameterTypes)) {
return ScheduledActionsLocalServiceUtil.updateErrorLog(((Long)arguments[0]).longValue(),
(java.lang.String)arguments[1]);
}
if (_methodName51.equals(name) &&
Arrays.deepEquals(_methodParameterTypes51, parameterTypes)) {
return ScheduledActionsLocalServiceUtil.updateIntPraticaId(((Long)arguments[0]).longValue(),
((Long)arguments[1]).longValue());
}
throw new UnsupportedOperationException();
}
@ -304,4 +324,8 @@ public class ScheduledActionsLocalServiceClpInvoker {
private String[] _methodParameterTypes48;
private String _methodName49;
private String[] _methodParameterTypes49;
private String _methodName50;
private String[] _methodParameterTypes50;
private String _methodName51;
private String[] _methodParameterTypes51;
}

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

@ -16,6 +16,7 @@ package portos.nextmind.service.impl;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import java.util.List;
@ -66,4 +67,15 @@ public class ScheduledActionsLocalServiceImpl
return (List<ScheduledActions>)scheduledActionsLocalService.dynamicQuery(dq,start,end);
}
public ScheduledActions updateErrorLog(long scheduleActionId, String errorLog) throws PortalException, SystemException {
ScheduledActions scheduled = getScheduledActions(scheduleActionId);
scheduled.setErrorFlag(true);
scheduled.setErrorLog(errorLog);
return updateScheduledActions(scheduled);
}
public ScheduledActions updateIntPraticaId(long scheduleActionId, long intPraticaId) throws SystemException, PortalException {
ScheduledActions scheduled = getScheduledActions(scheduleActionId);
scheduled.setIntPraticaId(intPraticaId);
return updateScheduledActions(scheduled);
}
}

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

@ -336,7 +336,6 @@ public class SportelloPersistenceImpl extends BasePersistenceImpl<Sportello>
sportelloImpl.setName(sportello.getName());
sportelloImpl.setSurname(sportello.getSurname());
sportelloImpl.setAddress(sportello.getAddress());
sportelloImpl.setStato(sportello.isStato());
sportelloImpl.setCreationDate(sportello.getCreationDate());
sportelloImpl.setLastUpdateDate(sportello.getLastUpdateDate());
sportelloImpl.setSentToPortosDate(sportello.getSentToPortosDate());

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

@ -13,8 +13,8 @@
##
build.namespace=portos_ss
build.number=56
build.date=1683794074173
build.number=68
build.date=1683889318479
build.auto.upgrade=true
##

Caricamento…
Annulla
Salva