Products.MightyCal.SFolder (version 1.4) | index /home/zope/lib/python/Products/MightyCal/SFolder.py |
SFolder.py: Provides a replacement class for the standard Zope Folder, which overrides _setObject() from Folder. The new _setObject() has the purpose of making sure that subobjects get a unique serial 'number' or identifier that is more or less guaranteed to be unique. This 'serial' attribute is used later in traversing the MightyCal object tree and applying permissions, while still avoiding infinite recursion, which is a problem during traversal, since some objects have subobjects that are in fact higher in the Zope object tree.
Modules | ||||||
|
Classes | ||||||||||
|
Data | ||
DEFAULT_POLICY = 'Default Security Policy' INFO = 0 OBJECT_CATALOG = 'ObjectCatalog' SERIAL_PROPERTY = 'serial' SFOLDER_OBJECT = 'SFolder' __file__ = '/home/zope/lib/python/Products/MightyCal/SFolder.pyc' __name__ = 'Products.MightyCal.SFolder' __version__ = '$Revision: 1.4 $' |