Guys I'm not sure if this is due to v1.7 being pending but I'm trying to
specify a Service operation to have a result-type for a paginated query.

I'm hand-coding the Service operation to use a findByQuery thats spec'd on
the repository as follows:

findByQuery(PagingParameter pagingParameter);   

ie. i'm not delegating it in the dsl to a repo operation, i'm wanting to
handcode use of the findByQuery within the service operation

That findByQuery generates into the repository ok but I'm confused re what
syntax to use to specify the resultype of the Service operation ie. I want
to spec it as being a PagedResult but the DSL editor won't accept that.
Also, I've scoured the docco and the library example to find an example of
this but can't see one.

The dsl code i'm trying to spec is:

PersonService {
PagedResult<@Person> findByAgeAndStatus(Integer age, String status,
PagingParameter pagingParameter);
} 


-- 
View this message in context: 
http://old.nabble.com/-Sculptor--Specifying-PagedResult-for-a-service-operation--tp27057133s17564p27057133.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to