Re: [Modeling-users] self.getId()
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-03-18 01:39:51
|
I wrote: > You then just have to request ec.faultForGlobalID() with the gid and > you get your object back. >=20 > This does not work with temporary GlobalIDs, but if you're not going > to use any sessioning mechanism as stated in your first message then > you'll probably do not need to refer to inserted but unsaved > objects! And this would maybe appear more straightforward than having to build a FetchSpec based on the id, wouldn't it?-) soif> Hy all, so this is for big take a look at http://larsen-b.com=20 soif> As you can see, i got modeling working well :)=20 That's nice. I roamed a bit around the cvsweb ; now you can get rid of Article.getID() and its ugly docstring ;) More seriously what I said in the previous msg. about using GlobalIDs would make it possible to serve objects from a single generic manager, rather than from a dedicated one for each ''type'' of id (such as in ArticlesManager.getArticleWithID()). My .02.=20 This should also appear in a FAQ I guess. Now time to sleep! Cheers, -- S=E9bastien. |