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
            
Dumper

 
Classes
            
Acquisition.Acquirer
SFolder(OFS.Folder.Folder, Acquisition.ExplicitAcquirer, Acquisition.Acquirer)
Acquisition.ExplicitAcquirer
SFolder(OFS.Folder.Folder, Acquisition.ExplicitAcquirer, Acquisition.Acquirer)
OFS.Folder.Folder(OFS.ObjectManager.ObjectManager, OFS.PropertyManager.PropertyManager, AccessControl.Role.RoleManager, webdav.Collection.Collection, OFS.SimpleItem.Item, OFS.FindSupport.FindSupport)
SFolder(OFS.Folder.Folder, Acquisition.ExplicitAcquirer, Acquisition.Acquirer)

 
class SFolder
      A replacement class for the standard Folder, for use within the MightyCal product.  The SFolder makes sure that every subobject has a unique 'serial' attribute.
 
  
_setObject(self, id, object, roles=None, user=None, set_owner=1)
An enhanced version of the basic _setObject functionality of the Folder, which adds a generated serial number attribute to each object
_subobject_permissions(self)

 
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 $'