[Zope-CMF] LazyFilter and Effective Dates
Florent Guillaume
fg@nuxeo.com
Wed, 12 Jun 2002 17:51:46 +0000 (UTC)
Carl Rendell <cer@sol43.com> wrote:
> >> Both if you have time :) Personally, I can't think of any
> >> circumstances where you wouldn't want this to be the default
> >> behaviour of objectValues.
Urg, I can see lots of places where it would break. objectValues is
really a basic ObjectManager method which you don't want to change.
> The open question is.... Seb and I seem to use/need filtering of
> the results set from PortalFolder.object{Ids,Values,Items}, but is
> that the norm for the rest of the community? If is is the norm,
> then it would seem to be a good idea to distribute the utility. If
> not...
As Tres said I'd not overload objectIds &co but do it in contentIds &co,
which are the CMF-mandated equivalents.
As for me, I mostly use the Catalog to get to the object I need, and
when calling objectValues I usually want them all, or I call objectIds
with a given meta_type so I don't need to filter.
Florent
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com