API Documentation

Classes

ICallableOpaqueItem , ICallableOpaqueItemEvents

Marker interface for callable opaque items with manage_* hooks.

$Id: IOpaqueItems.py 36457 2004-08-12 15:07:44Z jens $


class ICallableOpaqueItem

Interface for callable opaque items.

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 if available. Unavailable hooks do not throw exceptions.


Methods

__call__():

Return the opaque items value.

__init__(obj, id):

Return the opaque item and assign it to obj as attr with id.

getId():

Return the id of the opaque item.


class ICallableOpaqueItemEvents

CMF specific events upon copying, renaming and deletion.


Methods

manage_afterAdd(item, container):

After add event hook.

manage_beforeDelete(item, container):

Before delete event hook.

manage_afterClone(item):

After clone event hook.