Hi Dennis,
in general the best way to go is to wrap up the Minilang method into a
service definition and then convert simple-method-call into service-call.
For this specific case, genericBasePermissionCheck, you will find that the
method has been already wrapped into the homonymous service so you should
be able to use that (check the service definition and also the interface
service definition named permissionInterface).
I hope it helps!
Jacopo
On Tue, Nov 28, 2017 at 2:35 PM, Dennis Balkir <
[hidden email]>
wrote:
> Hello Devs,
>
> while converting some of the Mini-Lang files to Groovy I have encountered
> a problem.
>
> I started converting the file CatalogServices.xml to Groovy, as I noticed,
> that one of its methods made a simple-method-call for the method
> „genericBasePermissionCheck“ from CommonPermissionServices.xml.
> Is there an equivalent for simple-method-calls which I can use in Groovy
> or do I have to use a service-call, and if the latter, is there some things
> I have to know when changing from a simple-method-call to a service-call?
>
> Best regards,
> Dennis Balkir
> --
> Dennis Balkir
> Trainee
>
> Fon +49 521 448 157-90
> Fax +49 521 448 157-99
>
> Company and Management Headquarters:
> ecomify GmbH, Gustav-Winkler-Str. 22, 33699 Bielefeld, Deutschland
> Fon: +49 521 448157-90, Fax: +49 521 448157-99, www.ecomify.de
>
> Court Registration: Amtsgericht Bielefeld HRB 41683
> Chief Executive Officer: Martin Becker, Michael Brohl
>
>