Mattia Gosetto 4 anni fa
parent
commit
a253c16a57
  1. 8
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  2. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  3. 3
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component

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

@ -188,6 +188,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
IntPratica intPratica = intPraticaLocalService.createIntPratica(counterLocalService IntPratica intPratica = intPraticaLocalService.createIntPratica(counterLocalService
.increment(IntPratica.class.getName())); .increment(IntPratica.class.getName()));
intPratica.setCompanyId(serviceContext.getCompanyId()); intPratica.setCompanyId(serviceContext.getCompanyId());
// intPratica.setGroupId(serviceContext.getScopeGroupId()); // intPratica.setGroupId(serviceContext.getScopeGroupId());
intPratica.setGroupId(territorio.getGroupId()); intPratica.setGroupId(territorio.getGroupId());
@ -2081,4 +2082,11 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
return IntPraticaFinderUtil.countIngressiCO(dtMin, dtMax, groupId); 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.
}
} }

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

@ -13,8 +13,8 @@
## ##
build.namespace=portos_bo build.namespace=portos_bo
build.number=2655 build.number=2656
build.date=1602319774086 build.date=1602499210984
build.auto.upgrade=true build.auto.upgrade=true
## ##

3
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component

@ -14,6 +14,9 @@
<dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar"> <dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar">
<dependency-type>uses</dependency-type> <dependency-type>uses</dependency-type>
</dependent-module> </dependent-module>
<dependent-module archiveName="portos-bo-portlet-service.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="portos-fe-portlet"/> <property name="context-root" value="portos-fe-portlet"/>
<property name="java-output-path" value="/portos-fe-portlet/docroot/WEB-INF/classes"/> <property name="java-output-path" value="/portos-fe-portlet/docroot/WEB-INF/classes"/>
</wb-module> </wb-module>

Caricamento…
Annulla
Salva