findList method in Groovy..

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

findList method in Groovy..

swathi
Hi

Can someone please explain me what are the parameters that delegator.findList() takes.
Refering to the Practice application,
context.persons = delegator.findList("Person", null, null, null, null, false);
I tried to search for it but could not find it.

Thankyou.
Reply | Threaded
Open this post in threaded view
|

Re: findList method in Groovy..

Adrian Crum
http://api.ofbiz.org/org/ofbiz/entity/Delegator.html

-Adrian

swathi wrote:

> Hi
>
> Can someone please explain me what are the parameters that
> delegator.findList() takes.
> Refering to the Practice application,
> context.persons = delegator.findList("Person", null, null, null, null,
> false);
> I tried to search for it but could not find it.
>
> Thankyou.
Reply | Threaded
Open this post in threaded view
|

Re: findList method in Groovy..

swathi
Thankyou.

Adrian Crum wrote
http://api.ofbiz.org/org/ofbiz/entity/Delegator.html

-Adrian

swathi wrote:
> Hi
>
> Can someone please explain me what are the parameters that
> delegator.findList() takes.
> Refering to the Practice application,
> context.persons = delegator.findList("Person", null, null, null, null,
> false);
> I tried to search for it but could not find it.
>
> Thankyou.
Reply | Threaded
Open this post in threaded view
|

Re: findList method in Groovy..

joelfradkin@gmail.com
In reply to this post by swathi
FYI that is a dead link now?

I did find
http://ci.apache.org/projects/ofbiz/site/javadocs/org/ofbiz/entity/Delegator.html#findByAnd(java.lang.String, java.util.Map, java.util.List, boolean)

and do a find findlist for field defs.

findList(java.lang.String entityName, EntityCondition entityCondition, java.util.Set<java.lang.String> fieldsToSelect, java.util.List<java.lang.String> orderBy, EntityFindOptions findOptions, boolean useCache)
Joel Fradkin
Reply | Threaded
Open this post in threaded view
|

Re: findList method in Groovy..

Jacques Le Roux
Administrator
Do you know that you are sometimes cryptic :D ?

I can find the string findList(java.lang.String entityName, EntityCondition entityCondition, java.util.Set<java.lang.String> fieldsToSelect,
java.util.List<java.lang.String> orderBy, EntityFindOptions findOptions, boolean useCache)
at
http://ci.apache.org/projects/ofbiz/site/javadocs/org/ofbiz/entity/Delegator.html#findByAnd%28java.lang.String,java.util.Map,%20java.util.List,%20boolean%29

And found 359 occurences of "findList" in *.gro* files in OFBiz trunk HEAD

What is your question?

Jacques

Le 05/09/2014 21:16, [hidden email] a écrit :

> FYI that is a dead link now?
>
> I did find
> http://ci.apache.org/projects/ofbiz/site/javadocs/org/ofbiz/entity/Delegator.html#findByAnd(java.lang.String,
> java.util.Map, java.util.List, boolean)
>
> and do a find findlist for field defs.
>
> findList(java.lang.String entityName, EntityCondition entityCondition,
> java.util.Set<java.lang.String> fieldsToSelect,
> java.util.List<java.lang.String> orderBy, EntityFindOptions findOptions,
> boolean useCache)
>
>
>
> -----
> Joel Fradkin
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/findList-method-in-Groovy-tp278232p4654892.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: findList method in Groovy..

joelfradkin@gmail.com
Sorry if I was.
I had been searching for the params for findlist myself and found this on  list.
The link that helped the original guy who asked was no longer active.
I did find the apache reference that helped me, so I thought I would post it in case anyone else searched the list and found the dead link.
Was just trying to help sorry.
Joel Fradkin
Reply | Threaded
Open this post in threaded view
|

Re: findList method in Groovy..

Jacques Le Roux
Administrator
Great, I just did not understand you :)

Jacques

Le 08/09/2014 14:55, [hidden email] a écrit :

> Sorry if I was.
> I had been searching for the params for findlist myself and found this on
> list.
> The link that helped the original guy who asked was no longer active.
> I did find the apache reference that helped me, so I thought I would post it
> in case anyone else searched the list and found the dead link.
> Was just trying to help sorry.
>
>
>
> -----
> Joel Fradkin
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/findList-method-in-Groovy-tp278232p4654966.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>