Yes, it will only link to one of them. I think it would be possible to solve
by adding something in Transformation.ext that finds those delegating
operations and looks for similar signatures and adds additional delegating
operations in the Service.

/Patrik


Steffen Stundzig wrote:
> 
> Hi folks,
> 
> I have the following repository:
>       Entity Car {
>               scaffold
>               String name
>     
>               Repository CarRepository {
>                               List<@Car> findCarsWithinRadius(@Coordinate 
> center, Integer
> radius);
>                               List<@Car> findCarsWithinRadius(@Coordinate 
> center, Integer
> radius, Integer maxResults);
>               }
>       }
> and I would delegate the to operations in my 
> 
>       Service CarService {
>                       findCarsWithinRadius => 
> CarRepository.findCarsWithinRadius;
>               }
> 
> But it looks like, that sculptor only matches on the method names and not
> the parameters. In the resulting CarService code, only the first method is
> delegated.
> 
> Any solutions for that, or must I implement a workaround?
> 
> Thx.
> 
> Regards 
> 

-- 
View this message in context: 
http://www.nabble.com/-sculptor--howto-model-operation-delegation-tp20918693s17564p20919774.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to