Users - Updating Entity in Ofbiz

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

Users - Updating Entity in Ofbiz

G.Venkata Phanindra
Hi..
      I want to Update a particular field in  given entity in ofbiz ...but with delegator i could not find any Method which supports this to me ...
Thanks and Regards
Phani
   


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Updating Entity in Ofbiz

Andrew Sykes
Phani

You want something along the lines of...

GenericValue value = delegator.findBy*();// Get an existing entity
value.set("fieldName",yourValue);//Set a new value
value.store();//Store the entity
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Updating Entity in Ofbiz

G.Venkata Phanindra

Thanks Andrew ...
         For your reply...
phani
             
 
On 6/14/06, Andrew Sykes <[hidden email]> wrote:
Phani

You want something along the lines of...

GenericValue value = delegator.findBy*();// Get an existing entity
value.set("fieldName",yourValue);//Set a new value
value.store();//Store the entity
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com


_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users



--
G.Venkata Phanindra
Mob:: 9849852989
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users