Back to index

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

List of all members.

Public Member Functions

def manage_afterAdd
def manage_afterClone
def manage_beforeDelete

Static Public Attributes

tuple security = ClassSecurityInfo()
 manage_options = PortalContent.manage_options+Historical.manage_options
int isPrincipiaFolderish = 0
int isAnObjectManager = 0
 PUT = WebDAVSupport.PUT
 manage_FTPget = WebDAVSupport.manage_FTPget
 manage_afterPUT = WebDAVSupport.manage_afterPUT

Private Member Functions

def _notifyOfCopyTo

Private Attributes

 _v_cp_refs

Static Private Attributes

 __implements__ = z2IBaseContent,z2IReferenceable,PortalContent.__implements__
 __dav_marshall__ = True

Detailed Description

A not-so-basic CMF Content implementation that doesn't
include Dublin Core Metadata

Definition at line 23 of file BaseContent.py.


Member Function Documentation

def Archetypes.BaseContent.BaseContentMixin._notifyOfCopyTo (   self,
  container,
  op = 0 
) [private]
OFS.CopySupport notify

Definition at line 51 of file BaseContent.py.

00051 
00052     def _notifyOfCopyTo(self, container, op=0):
00053         """OFS.CopySupport notify
00054         """
00055         BaseObject._notifyOfCopyTo(self, container, op=op)
00056         # keep reference info internally when op == 1 (move)
00057         # because in those cases we need to keep refs
00058         if op==1:
00059             self._v_cp_refs = 1

def Archetypes.BaseContent.BaseContentMixin.manage_afterAdd (   self,
  item,
  container 
)

Definition at line 38 of file BaseContent.py.

00038 
00039     def manage_afterAdd(self, item, container):
00040         BaseObject.manage_afterAdd(self, item, container)

Here is the caller graph for this function:

Definition at line 42 of file BaseContent.py.

00042 
00043     def manage_afterClone(self, item):
00044         BaseObject.manage_afterClone(self, item)

def Archetypes.BaseContent.BaseContentMixin.manage_beforeDelete (   self,
  item,
  container 
)

Definition at line 46 of file BaseContent.py.

00046 
00047     def manage_beforeDelete(self, item, container):
00048         BaseObject.manage_beforeDelete(self, item, container)
00049         #and reset the rename flag (set in Referenceable._notifyCopyOfCopyTo)
00050         self._v_cp_refs = None


Member Data Documentation

Definition at line 35 of file BaseContent.py.

Archetypes.BaseContent.BaseContentMixin.__implements__ = z2IBaseContent,z2IReferenceable,PortalContent.__implements__ [static, private]

Reimplemented in Archetypes.BaseContent.BaseContent.

Definition at line 27 of file BaseContent.py.

Definition at line 49 of file BaseContent.py.

Definition at line 34 of file BaseContent.py.

Definition at line 33 of file BaseContent.py.

Definition at line 67 of file BaseContent.py.

Definition at line 64 of file BaseContent.py.

Archetypes.BaseContent.BaseContentMixin.manage_options = PortalContent.manage_options+Historical.manage_options [static]

Reimplemented in Archetypes.BaseContent.BaseContent.

Definition at line 31 of file BaseContent.py.

Definition at line 61 of file BaseContent.py.

tuple Archetypes.BaseContent.BaseContentMixin.security = ClassSecurityInfo() [static]

Definition at line 30 of file BaseContent.py.


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