Raghu k:
When I checked my util class, i didn't find any method related to my finder methods. Am i missing anythong?
Finders are only generated in the persistence layer. To expose them in the util class, you need to add them to the XxxLocalServiceImpl class and re-run service builder.
Kind of a pain, but I think the view is that the finder is to be used within the XxxLocalServiceImpl class and not normally exported. Think of your XxxLocalServiceImpl class as an implementation of business logic, and not just a facade over the persistence layer.
That's actually a good approach to take in most cases, because you don't want to have to replicate business logic in all of the portlets consuming the service.
Please sign in to flag this as inappropriate.