[Cosmo-dev] Re: [commits-cosmo] (rletness) [4074] * Add
ContentService.initializeItems() to ensure all data in an
item is initialized during
Brian Moseley
bcm at osafoundation.org
Tue Apr 10 11:01:44 PDT 2007
On 4/10/07, svncheckin at osafoundation.org <svncheckin at osafoundation.org> wrote:
>
>
> Revision 4074 Author rletness Date 2007-04-10 08:18:43 -0700 (Tue, 10 Apr
> 2007)
> Log Message
> * Add ContentService.initializeItems() to ensure all data in an item is
> initialized during
> the service call, instead of lazy initialized afterwards.
hm. i was thinking more like this:
public Set loadChildren(Collection);
public Set loadChildren(Collection, Date);
these methods would guarantee immediate loading of all associations,
whereas traversing the associations directly would allow lazy loading.
the former would return all child items, and the latter would return
only those that had changed since the given date.
thoughts?
More information about the cosmo-dev
mailing list