Back to index

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

List of all members.

Public Member Functions

def __init__
def manage_afterAdd
def manage_afterClone
def manage_beforeDelete
def __getitem__
def index_html

Static Public Attributes

tuple security = ClassSecurityInfo()
 indexObject = BaseFolder.indexObject.im_func
 unindexObject = BaseFolder.unindexObject.im_func
 reindexObject = BaseFolder.reindexObject.im_func
 reindexObjectSecurity = BaseFolder.reindexObjectSecurity.im_func
 notifyWorkflowCreated = BaseFolder.notifyWorkflowCreated.im_func
 opaqueItems = BaseFolder.opaqueItems.im_func
 opaqueIds = BaseFolder.opaqueIds.im_func
 opaqueValues = BaseFolder.opaqueValues.im_func
 listFolderContents = BaseFolder.listFolderContents.im_func
 folderlistingFolderContents = BaseFolder.folderlistingFolderContents.im_func
tuple index_html = ComputedAttribute(index_html, 1)
 Title = BaseFolder.Title.im_func
 setTitle = BaseFolder.setTitle.im_func
 title_or_id = BaseFolder.title_or_id.im_func
 Description = BaseFolder.Description.im_func
 setDescription = BaseFolder.setDescription.im_func
 manage_addFolder = BaseFolder.manage_addFolder.im_func
 MKCOL = BaseFolder.MKCOL.im_func
 MKCOL_handler = BaseFolder.MKCOL_handler.im_func
 PUT = WebDAVSupport.PUT
 manage_FTPget = WebDAVSupport.manage_FTPget
 manage_afterPUT = WebDAVSupport.manage_afterPUT
 edit = BaseFolder.edit.im_func

Private Member Functions

def _getCopy
def _notifyOfCopyTo

Static Private Attributes

 __implements__ = CMFBTreeFolder.__implements__,BaseFolder.__implements__
tuple __ac_permissions__
 __call__ = BaseFolder.__call__.im_func

Detailed Description

A BaseBTreeFolder with all the bells and whistles

Definition at line 17 of file BaseBTreeFolder.py.


Constructor & Destructor Documentation

def Archetypes.BaseBTreeFolder.BaseBTreeFolder.__init__ (   self,
  oid,
  kwargs 
)

Definition at line 33 of file BaseBTreeFolder.py.

00033 
00034     def __init__(self, oid, **kwargs):
00035         CMFBTreeFolder.__init__(self, oid)
00036         BaseFolder.__init__(self, oid, **kwargs)

Here is the caller graph for this function:


Member Function Documentation

Override BTreeFolder __getitem__ 

Definition at line 73 of file BaseBTreeFolder.py.

00073 
00074     def __getitem__(self, key):
00075         """ Override BTreeFolder __getitem__ """
00076         if key in self.Schema().keys() and key[:1] != "_": #XXX 2.2
00077             accessor = self.Schema()[key].getAccessor(self)
00078             if accessor is not None:
00079                 return accessor()
00080         return CMFBTreeFolder.__getitem__(self, key)

Here is the call graph for this function:

Here is the caller graph for this function:

def Archetypes.BaseBTreeFolder.BaseBTreeFolder._getCopy (   self,
  container 
) [private]

Definition at line 61 of file BaseBTreeFolder.py.

00061 
00062     def _getCopy(self, container):
00063         # We need to take _getCopy from BaseFolder (implicitly from
00064         # Referenceable) instead of straight from PortalFolder, otherwise there
00065         # are strange side effects with references on copy.
00066         return BaseFolder._getCopy(self, container)

def Archetypes.BaseBTreeFolder.BaseBTreeFolder._notifyOfCopyTo (   self,
  container,
  op = 0 
) [private]

Definition at line 67 of file BaseBTreeFolder.py.

00067 
00068     def _notifyOfCopyTo(self, container, op=0):
00069         # We need to take _notifyOfCopyTo from BaseFolder (implicitly from
00070         # Referenceable) instead of straight from PortalFolder, otherwise there
00071         # are strange side effects with references on copy.
00072         return BaseFolder._notifyOfCopyTo(self, container, op)

Allow creation of .

Definition at line 117 of file BaseBTreeFolder.py.

00117 
00118     def index_html(self):
00119         """ Allow creation of .
00120         """
00121         if self.has_key('index_html'):
00122             return self._getOb('index_html')
00123         request = getattr(self, 'REQUEST', None)
00124         if request and request.has_key('REQUEST_METHOD'):
00125             if (request.maybe_webdav_client and
00126                 request['REQUEST_METHOD'] in  ['PUT']):
00127                 # Very likely a WebDAV client trying to create something
00128                 nr = NullResource(self, 'index_html')
00129                 nr.__replaceable__ = REPLACEABLE
00130                 return nr
00131         return None

Here is the call graph for this function:

Here is the caller graph for this function:

def Archetypes.BaseBTreeFolder.BaseBTreeFolder.manage_afterAdd (   self,
  item,
  container 
)

Definition at line 38 of file BaseBTreeFolder.py.

00038 
00039     def manage_afterAdd(self, item, container):
00040         # CMFBTreeFolder inherits from PortalFolder, which has the same
00041         # base class as SkinnedFolder, and SkinnedFolder doesn't
00042         # override any of those methods, so just calling
00043         # BaseFolder.manage* should do it.
00044         BaseFolder.manage_afterAdd(self, item, container)

Here is the caller graph for this function:

Definition at line 46 of file BaseBTreeFolder.py.

00046 
00047     def manage_afterClone(self, item):
00048         # CMFBTreeFolder inherits from PortalFolder, which has the same
00049         # base class as SkinnedFolder, and SkinnedFolder doesn't
00050         # override any of those methods, so just calling
00051         # BaseFolder.manage* should do it.
00052         BaseFolder.manage_afterClone(self, item)

def Archetypes.BaseBTreeFolder.BaseBTreeFolder.manage_beforeDelete (   self,
  item,
  container 
)

Definition at line 54 of file BaseBTreeFolder.py.

00054 
00055     def manage_beforeDelete(self, item, container):
00056         # CMFBTreeFolder inherits from PortalFolder, which has the same
00057         # base class as SkinnedFolder, and SkinnedFolder doesn't
00058         # override any of those methods, so just calling
00059         # BaseFolder.manage* should do it.
00060         BaseFolder.manage_beforeDelete(self, item, container)


Member Data Documentation

Initial value:
(
        (permissions.ModifyPortalContent,
         ('manage_cutObjects', 'manage_pasteObjects',
          'manage_renameObject', 'manage_renameObjects',)),
        )

Definition at line 26 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.__call__ = BaseFolder.__call__.im_func [static, private]

Definition at line 112 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.__implements__ = CMFBTreeFolder.__implements__,BaseFolder.__implements__ [static, private]

Definition at line 22 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.Description = BaseFolder.Description.im_func [static]

Definition at line 144 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.edit = BaseFolder.edit.im_func [static]

Definition at line 164 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.folderlistingFolderContents = BaseFolder.folderlistingFolderContents.im_func [static]

Definition at line 110 of file BaseBTreeFolder.py.

tuple Archetypes.BaseBTreeFolder.BaseBTreeFolder.index_html = ComputedAttribute(index_html, 1) [static]

Definition at line 132 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.indexObject = BaseFolder.indexObject.im_func [static]

Definition at line 82 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.listFolderContents = BaseFolder.listFolderContents.im_func [static]

Definition at line 106 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.manage_addFolder = BaseFolder.manage_addFolder.im_func [static]

Definition at line 149 of file BaseBTreeFolder.py.

Definition at line 161 of file BaseBTreeFolder.py.

Definition at line 158 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.MKCOL = BaseFolder.MKCOL.im_func [static]

Definition at line 151 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.MKCOL_handler = BaseFolder.MKCOL_handler.im_func [static]

Definition at line 152 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.notifyWorkflowCreated = BaseFolder.notifyWorkflowCreated.im_func [static]

Definition at line 94 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.opaqueIds = BaseFolder.opaqueIds.im_func [static]

Definition at line 100 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.opaqueItems = BaseFolder.opaqueItems.im_func [static]

Definition at line 97 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.opaqueValues = BaseFolder.opaqueValues.im_func [static]

Definition at line 103 of file BaseBTreeFolder.py.

Definition at line 155 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.reindexObject = BaseFolder.reindexObject.im_func [static]

Definition at line 88 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.reindexObjectSecurity = BaseFolder.reindexObjectSecurity.im_func [static]

Definition at line 91 of file BaseBTreeFolder.py.

tuple Archetypes.BaseBTreeFolder.BaseBTreeFolder.security = ClassSecurityInfo() [static]

Definition at line 20 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.setDescription = BaseFolder.setDescription.im_func [static]

Definition at line 147 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.setTitle = BaseFolder.setTitle.im_func [static]

Definition at line 138 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.Title = BaseFolder.Title.im_func [static]

Definition at line 135 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.title_or_id = BaseFolder.title_or_id.im_func [static]

Definition at line 141 of file BaseBTreeFolder.py.

Archetypes.BaseBTreeFolder.BaseBTreeFolder.unindexObject = BaseFolder.unindexObject.im_func [static]

Definition at line 85 of file BaseBTreeFolder.py.


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