[Zope] Deleting an object from ZCatalog search results
Paula Mangas
pamm@students.fct.unl.pt
Mon, 4 Feb 2002 16:11:40 +0000 (WET)
Hi!
If you want to delete the object, you have the delObject method...
_delObject(father_folder, object_id)
I hope this help,
Paula Mangas
PS: note that the object will stay in ZODB... if you want, you can do an
undo. That can be done until you pack the database.
On Mon, 4 Feb 2002, Nuno Maltez wrote:
> Em Segunda, 4 de Fevereiro de 2002 14:47, Paula Mangas escreveu:
> > You can uncatalog it, only. I think that isn't necessary to delete
> > the object.
>
> But what I really want to do is to delete the damn thing :-)
>
> And hope that, being a catalogAware object, the unCatalog part
> will happen automatically.
>
> Thanks anyway,
> Nuno
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>