[Zope3-dev] Re: Zope 3 Roadmap thoughts

Steve Alexander steve@cat-box.net
Fri, 31 Jan 2003 10:48:34 +0200


> 
> * I noticed 'manage_beforeDelete still exists in Zope 3 code.  Why does 
> the 'manage_' concept still exist?

The name is there, but there is nothing magical about the 'manage_' 
prefix. It could equally well be called "beforeDeleteHook".

The before-deletion hook is called before an object is deleted from a 
container, if the object implements IDeleteNotifiable.
If the object is not IDeleteNotifiable, but it has an IDeleteNotifiable 
adapter, that adapter's manage_beforeDelete method is called.

--
Steve Alexander