[CMF-checkins] CVS: CMF/CMFCore/interfaces - IOpaqueItems.py:1.1
Grégoire Weber
zope.org at incept.ch
Thu Jan 1 20:04:41 EST 2004
Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv29835/interfaces
Added Files:
IOpaqueItems.py
Log Message:
manage_after*/before* hooks of callable opaque items now called also if marked with 'ICallableOpaqueItemWithHooks'
=== Added File CMF/CMFCore/interfaces/IOpaqueItems.py ===
##############################################################################
#
# Copyright (c) 2003 Zope Corporation and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
#
##############################################################################
""" Marker interface for callable opaque items with manage_* hooks.
$Id: IOpaqueItems.py,v 1.1 2004/01/02 01:04:40 gregweb Exp $
"""
from Interface import Attribute
try:
from Interface import Interface
except ImportError:
# for Zope versions before 2.6.0
from Interface import Base as Interface
class ICallableOpaqueItemWithHooks(Interface):
"""Marker interface for callable opaque items with manage_* hooks.
Opaque items are subelements that are contained using something that
is not an ObjectManager.
On add, copy, move and delete operations a marked opaque items
'manage_afterAdd', 'manage_afterClone' and 'manage_beforeDelete' hooks
get called.
"""
More information about the CMF-checkins
mailing list