Fórumok

How powerful is servicebuilder?

Liferay Question, módosítva 12 év-val korábban

How powerful is servicebuilder?

thumbnail
Tomas Polesovsky, módosítva 12 év-val korábban

RE: How powerful is servicebuilder?

Liferay Master Bejegyzések: 676 Csatlakozás dátuma: 2009.02.13. Legújabb bejegyzések
Hi,

try to create your own finder (e.g. BlogsEntryFinderImpl.java) or use dynamicQuery (e.g. BlogsEntryLocalServiceUtil.java).

SVN access:
user: guest
pass: guest

Regards,
-- tom
thumbnail
David H Nebinger, módosítva 12 év-val korábban

RE: How powerful is servicebuilder?

Liferay Legend Bejegyzések: 14914 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
As Tomas indicates, you'd just have to create your finder to handle the given query.

The strength of service builder, outside of the finder methods, is that all of the data marshalling is handled for you, the generic crud code is handled for you, the spring and hibernate config is handled for you, etc. The only code you end up having to write is your custom finder method.

Now if you like hand-coding all of that stuff, you're free to do so. But if you're like us, your time is better spent on the code that you have to write as opposed to the code SB can build for you...
Liferay Question, módosítva 12 év-val korábban

RE: How powerful is servicebuilder?