[Zope] Deleting an object from ZCatalog search results

Nuno Maltez nuno@xml.pt
Mon, 4 Feb 2002 14:44:12 +0000


Hi,

What do you consider to be the easiest way to delete an object "returned"
in a ZCatalog search. I can get the object by using getObject on
the data_record_id_, but how can I delete it?

Do I need to do some sort of traversal to the folder that contains the
object?

Is there a method for an object to delete itself? Something like

<dtml-call "object.self_destruct()">




Thanks in advance,
Nuno