Fórum

call class from ServiceBuilder

Brahim TARNAOUI, modificado 12 Anos atrás.

call class from ServiceBuilder

Junior Member Postagens: 64 Data de Entrada: 15/06/10 Postagens Recentes
hello,

I use the serviceBuilder for genrating my classes, what will I do for calling this classes in a hook???

thx in advance
thumbnail
Corné Aussems, modificado 12 Anos atrás.

RE: call class from ServiceBuilder

Liferay Legend Postagens: 1313 Data de Entrada: 03/10/06 Postagens Recentes
There is the documentation look at Write the Local Service Class.

You should define your interface in your FooLocalServiceImpl.java
and run ServiceBuilder again this way you will have availablke for your portlets FooLocalServiceUtil.addFoo(userId, "Foo");
Brahim TARNAOUI, modificado 12 Anos atrás.

RE: call class from ServiceBuilder

Junior Member Postagens: 64 Data de Entrada: 15/06/10 Postagens Recentes
hello Corné Aussems

thx, it work good