From a253c16a57a69781983af9df6e474f49cfaf66de Mon Sep 17 00:00:00 2001 From: Mattia Gosetto Date: Mon, 12 Oct 2020 15:37:21 +0200 Subject: [PATCH] immagin --- .../impl/IntPraticaLocalServiceImpl.java | 8 ++++ .../docroot/WEB-INF/src/service.properties | 4 +- .../org.eclipse.wst.common.component | 43 ++++++++++--------- 3 files changed, 33 insertions(+), 22 deletions(-) diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java index bbb79e19..a60ed04d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java @@ -187,6 +187,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl { IntPratica intPratica = intPraticaLocalService.createIntPratica(counterLocalService .increment(IntPratica.class.getName())); + intPratica.setCompanyId(serviceContext.getCompanyId()); // intPratica.setGroupId(serviceContext.getScopeGroupId()); @@ -2080,5 +2081,12 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl { public int countIngressiCO(Date dtMin, Date dtMax, long groupId) throws SystemException { return IntPraticaFinderUtil.countIngressiCO(dtMin, dtMax, groupId); } + + public Organization getOrganization(int praticaId){ + IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId); + Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(territorioId); + Group group = GroupLocalServiceUtil.getGroup(territorio.getGroupId()); + group. + } } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties index 4d96d584..156f0044 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties +++ b/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=2655 - build.date=1602319774086 + build.number=2656 + build.date=1602499210984 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component index 3fac27d1..5abae240 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component @@ -1,20 +1,23 @@ - - - - - - uses - - - uses - - - uses - - - uses - - - - - + + + + + + uses + + + uses + + + uses + + + uses + + + uses + + + + +