You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Naveen Kumar <na...@gmail.com> on 2010/10/06 08:11:42 UTC

Problem in groovy

Hi All,

I was using delegator.find() in my groovy.

My problem:- My application requires 3 where clause that is
EntityCondition.makeCondition in the delegator.find(), but it is taking only
2 condition when third condition is given it is giving error, can any one
suggest me how to do this, and please suggest me some documentation on this
delegator.

Regards,
Naveen.

RE: Problem in groovy

Posted by Santosh Malviya <Sa...@mindtree.com>.
Hi Naveen,

You can see GenericDelegator.java file where all methods are defined.

Thanks and Regards
Santosh Malviya
________________________________________
From: Naveen Kumar [naveen.newbie@gmail.com]
Sent: Wednesday, October 06, 2010 12:09 PM
To: user@ofbiz.apache.org
Subject: Re: Problem in groovy

Hi Sumit,

Thanks for the information, But i am looking for a documentation, where i
will get all delegator information like delegator.find(),
delegator.findByAnd(),........, Please provide me links to some online
documentation.

Regards,
Naveen.


On Wed, Oct 6, 2010 at 12:01 PM, Sumit Pandit <me...@gmail.com>wrote:

> Hi Naveen,
>
> For reference look at InvoiceReport.groovy.
>
> On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin
> <ma...@librenberry.net> wrote:
> > Hi Naveen,
> >
> > You need prepare a EntityConditionList to embedeed your three conditions,
> > and pass EntityConditionList to findList function
> >
> > Nicolas
> >
> > Le 06/10/2010 08:11, Naveen Kumar a écrit :
> >>
> >> Hi All,
> >>
> >> I was using delegator.find() in my groovy.
> >>
> >> My problem:- My application requires 3 where clause that is
> >> EntityCondition.makeCondition in the delegator.find(), but it is taking
> >> only
> >> 2 condition when third condition is given it is giving error, can any
> one
> >> suggest me how to do this, and please suggest me some documentation on
> >> this
> >> delegator.
> >>
> >> Regards,
> >> Naveen.
> >>
> >>
> >
> >
> > --
> > Nicolas MALIN
> > Consultant
> > Tél : 06.17.66.40.06
> > Site projet : http://www.neogia.org/
> > -------
> > Société LibrenBerry
> > Tél : 02.48.02.56.12
> > Site : http://www.librenberry.net/
> >
> >
>
>
>
> --
> Thanks and Regards
> Sumit Pandit
>

________________________________

http://www.mindtree.com/email/disclaimer.html

Re: Problem in groovy

Posted by Sumit Pandit <me...@gmail.com>.
http://ofbiz.apache.org/docs/entity.html

On Wed, Oct 6, 2010 at 12:09 PM, Naveen Kumar <na...@gmail.com> wrote:
> Hi Sumit,
>
> Thanks for the information, But i am looking for a documentation, where i
> will get all delegator information like delegator.find(),
> delegator.findByAnd(),........, Please provide me links to some online
> documentation.
>
> Regards,
> Naveen.
>
>
> On Wed, Oct 6, 2010 at 12:01 PM, Sumit Pandit <me...@gmail.com>wrote:
>
>> Hi Naveen,
>>
>> For reference look at InvoiceReport.groovy.
>>
>> On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin
>> <ma...@librenberry.net> wrote:
>> > Hi Naveen,
>> >
>> > You need prepare a EntityConditionList to embedeed your three conditions,
>> > and pass EntityConditionList to findList function
>> >
>> > Nicolas
>> >
>> > Le 06/10/2010 08:11, Naveen Kumar a écrit :
>> >>
>> >> Hi All,
>> >>
>> >> I was using delegator.find() in my groovy.
>> >>
>> >> My problem:- My application requires 3 where clause that is
>> >> EntityCondition.makeCondition in the delegator.find(), but it is taking
>> >> only
>> >> 2 condition when third condition is given it is giving error, can any
>> one
>> >> suggest me how to do this, and please suggest me some documentation on
>> >> this
>> >> delegator.
>> >>
>> >> Regards,
>> >> Naveen.
>> >>
>> >>
>> >
>> >
>> > --
>> > Nicolas MALIN
>> > Consultant
>> > Tél : 06.17.66.40.06
>> > Site projet : http://www.neogia.org/
>> > -------
>> > Société LibrenBerry
>> > Tél : 02.48.02.56.12
>> > Site : http://www.librenberry.net/
>> >
>> >
>>
>>
>>
>> --
>> Thanks and Regards
>> Sumit Pandit
>>
>



-- 
Thanks and Regards
Sumit Pandit

Re: Problem in groovy

Posted by Naveen Kumar <na...@gmail.com>.
Hi Sumit,

Thanks for the information, But i am looking for a documentation, where i
will get all delegator information like delegator.find(),
delegator.findByAnd(),........, Please provide me links to some online
documentation.

Regards,
Naveen.


On Wed, Oct 6, 2010 at 12:01 PM, Sumit Pandit <me...@gmail.com>wrote:

> Hi Naveen,
>
> For reference look at InvoiceReport.groovy.
>
> On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin
> <ma...@librenberry.net> wrote:
> > Hi Naveen,
> >
> > You need prepare a EntityConditionList to embedeed your three conditions,
> > and pass EntityConditionList to findList function
> >
> > Nicolas
> >
> > Le 06/10/2010 08:11, Naveen Kumar a écrit :
> >>
> >> Hi All,
> >>
> >> I was using delegator.find() in my groovy.
> >>
> >> My problem:- My application requires 3 where clause that is
> >> EntityCondition.makeCondition in the delegator.find(), but it is taking
> >> only
> >> 2 condition when third condition is given it is giving error, can any
> one
> >> suggest me how to do this, and please suggest me some documentation on
> >> this
> >> delegator.
> >>
> >> Regards,
> >> Naveen.
> >>
> >>
> >
> >
> > --
> > Nicolas MALIN
> > Consultant
> > Tél : 06.17.66.40.06
> > Site projet : http://www.neogia.org/
> > -------
> > Société LibrenBerry
> > Tél : 02.48.02.56.12
> > Site : http://www.librenberry.net/
> >
> >
>
>
>
> --
> Thanks and Regards
> Sumit Pandit
>

Re: Problem in groovy

Posted by Sumit Pandit <me...@gmail.com>.
Hi Naveen,

For reference look at InvoiceReport.groovy.

On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin
<ma...@librenberry.net> wrote:
> Hi Naveen,
>
> You need prepare a EntityConditionList to embedeed your three conditions,
> and pass EntityConditionList to findList function
>
> Nicolas
>
> Le 06/10/2010 08:11, Naveen Kumar a écrit :
>>
>> Hi All,
>>
>> I was using delegator.find() in my groovy.
>>
>> My problem:- My application requires 3 where clause that is
>> EntityCondition.makeCondition in the delegator.find(), but it is taking
>> only
>> 2 condition when third condition is given it is giving error, can any one
>> suggest me how to do this, and please suggest me some documentation on
>> this
>> delegator.
>>
>> Regards,
>> Naveen.
>>
>>
>
>
> --
> Nicolas MALIN
> Consultant
> Tél : 06.17.66.40.06
> Site projet : http://www.neogia.org/
> -------
> Société LibrenBerry
> Tél : 02.48.02.56.12
> Site : http://www.librenberry.net/
>
>



-- 
Thanks and Regards
Sumit Pandit

Re: Problem in groovy

Posted by Naveen Kumar <na...@gmail.com>.
Hi Nicolas,

Thank for quick reply, it worked.

Regards,
Naveen.

On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin <
malin.nicolas@librenberry.net> wrote:

> Hi Naveen,
>
> You need prepare a EntityConditionList to embedeed your three conditions,
> and pass EntityConditionList to findList function
>
> Nicolas
>
> Le 06/10/2010 08:11, Naveen Kumar a écrit :
>
>  Hi All,
>>
>> I was using delegator.find() in my groovy.
>>
>> My problem:- My application requires 3 where clause that is
>> EntityCondition.makeCondition in the delegator.find(), but it is taking
>> only
>> 2 condition when third condition is given it is giving error, can any one
>> suggest me how to do this, and please suggest me some documentation on
>> this
>> delegator.
>>
>> Regards,
>> Naveen.
>>
>>
>>
>
>
> --
> Nicolas MALIN
> Consultant
> Tél : 06.17.66.40.06
> Site projet : http://www.neogia.org/
> -------
> Société LibrenBerry
> Tél : 02.48.02.56.12
> Site : http://www.librenberry.net/
>
>

Re: Problem in groovy

Posted by Nicolas Malin <ma...@librenberry.net>.
Hi Naveen,

You need prepare a EntityConditionList to embedeed your three 
conditions, and pass EntityConditionList to findList function

Nicolas

Le 06/10/2010 08:11, Naveen Kumar a écrit :
> Hi All,
>
> I was using delegator.find() in my groovy.
>
> My problem:- My application requires 3 where clause that is
> EntityCondition.makeCondition in the delegator.find(), but it is taking only
> 2 condition when third condition is given it is giving error, can any one
> suggest me how to do this, and please suggest me some documentation on this
> delegator.
>
> Regards,
> Naveen.
>
>    


-- 
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/