[Zope-dev] CatalogAware
Chris Withers
chrisw@nipltd.com
Fri, 05 Jan 2001 12:16:32 +0000
Michael Bernstein wrote:
>
> Aha!
>
> You're saying that catalog_object and uncatalog_object are
> methods of the catalog, so when the catalog contains the
> objects directly, it's all that's neccessary, correct?
Yes :-)
> uncatalog_object to be called on it (I'm not sure what
> method reindex_object causes to be called).
unindex_object followed by index_object. I'm not convinced it's
necessary, as no-one has said that uncataloging is a necessary step
before catalogng something that's already in the catalog.
> So, postings would only need to be CatalogAware if you
> wanted them to be able to 'live' anywhere within the Zope
> heirarchy, instead of being contained directly within the
> Squishdot object (which inherits from ZCatalog).
Yes, but Squishdot postings are intimately tied to the Squishdot
folderish object anyway, so that's not going to happen ;-)
cheers,
Chris