Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
CMFPlone.LargePloneFolder.LargePloneFolder Class Reference
Inheritance diagram for CMFPlone.LargePloneFolder.LargePloneFolder:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.LargePloneFolder.LargePloneFolder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def index_html

Public Attributes

 id
 title

Static Public Attributes

string meta_type = 'Large Plone Folder'
tuple manage_renameObject = BasePloneFolder.inheritedAttribute('manage_renameObject')
tuple manage_delObjects = BasePloneFolder.inheritedAttribute('manage_delObjects')
tuple index_html = ComputedAttribute(index_html, 1)

Private Member Functions

def _checkId

Static Private Attributes

 __implements__ = BasePloneFolder.__implements__
 __len__ = BasePloneFolder.__len__

Detailed Description

A large plone folder 

Definition at line 9 of file LargePloneFolder.py.


Constructor & Destructor Documentation

def CMFPlone.LargePloneFolder.LargePloneFolder.__init__ (   self,
  id,
  title = '' 
)

Definition at line 16 of file LargePloneFolder.py.

00016 
00017     def __init__(self, id, title=''):
00018         # BBB To be removed in Plone 4.0
00019         log_deprecated("LargePloneFolder is deprecated and will be removed in "
00020                        "Plone 4.0. Please use ATBTreeFolder from ATCT instead.")
00021         BTreeFolder2Base.__init__(self, id)
00022         BasePloneFolder.__init__(self, id, title)
00023         self.id=id
00024         self.title=title

Here is the call graph for this function:


Member Function Documentation

def CMFPlone.LargePloneFolder.LargePloneFolder._checkId (   self,
  id,
  allow_dup = 0 
) [private]

Definition at line 26 of file LargePloneFolder.py.

00026 
00027     def _checkId(self, id, allow_dup=0):
00028         BasePloneFolder._checkId(self, id, allow_dup)
00029         BTreeFolder2Base._checkId(self, id, allow_dup)

Here is the caller graph for this function:

btree folders don't store objects as attributes, the implementation of index_html
method in plone folder assumes this and by virtue of its being invoked looked in
the parent container. we override here to check the btree data structs, and then
perform the same lookup as BasePloneFolder if we don't find it.

Definition at line 39 of file LargePloneFolder.py.

00039 
00040     def index_html(self):
00041         """
00042         btree folders don't store objects as attributes, the implementation of index_html
00043         method in plone folder assumes this and by virtue of its being invoked looked in
00044         the parent container. we override here to check the btree data structs, and then
00045         perform the same lookup as BasePloneFolder if we don't find it.
00046         """
00047         _target = self.get('index_html')
00048         if _target is not None:
00049             return _target
00050         _target = aq_parent(aq_inner(self)).aq_acquire('index_html')
00051         return ReplaceableWrapper(aq_base(_target).__of__(self))


Member Data Documentation

CMFPlone.LargePloneFolder.LargePloneFolder.__implements__ = BasePloneFolder.__implements__ [static, private]

Definition at line 14 of file LargePloneFolder.py.

CMFPlone.LargePloneFolder.LargePloneFolder.__len__ = BasePloneFolder.__len__ [static, private]

Definition at line 36 of file LargePloneFolder.py.

Definition at line 22 of file LargePloneFolder.py.

tuple CMFPlone.LargePloneFolder.LargePloneFolder.index_html = ComputedAttribute(index_html, 1) [static]

Definition at line 52 of file LargePloneFolder.py.

tuple CMFPlone.LargePloneFolder.LargePloneFolder.manage_delObjects = BasePloneFolder.inheritedAttribute('manage_delObjects') [static]

Definition at line 31 of file LargePloneFolder.py.

tuple CMFPlone.LargePloneFolder.LargePloneFolder.manage_renameObject = BasePloneFolder.inheritedAttribute('manage_renameObject') [static]

Definition at line 30 of file LargePloneFolder.py.

string CMFPlone.LargePloneFolder.LargePloneFolder.meta_type = 'Large Plone Folder' [static]

Definition at line 11 of file LargePloneFolder.py.

Definition at line 23 of file LargePloneFolder.py.


The documentation for this class was generated from the following file: