Package CMFCore :: Package tests :: Module test_DynamicType :: Class DummyContent
[show private | hide private]
[frames | no frames]

Type DummyContent

   DynamicType --+
                 |
object --+       |
         |       |
      Base --+   |
             |   |
      Acquirer --+
                 |
                DummyContent


Basic dynamic content class.
Method Summary
    Inherited from DynamicType
  __before_publishing_traverse__(self, arg1, arg2)
Pre-traversal hook.
  _getPortalTypeName(self)
Get the portal type name that can be passed to portal_types.
  getActionInfo(self, action_chain, check_visibility, check_condition)
Get an Action info mapping specified by a chain of actions.
  getIcon(self, relative_to_portal)
Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class.
  getPortalTypeName(self)
Get the portal type name that can be passed to portal_types.
  getTypeInfo(self)
Get the TypeInformation object specified by the portal type.
  icon(self, relative_to_portal)
Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class.
  _setPortalTypeName(self, pt)
Set the portal type name.
    Inherited from Acquirer
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __of__(context)
__of__(context) -- return the object in a context
    Inherited from Base
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __getnewargs__(...)
Get arguments to be passed to __new__
  __getstate__(...)
Get the object serialization state
  __reduce__(...)
Reduce an object to contituent parts for serialization
  __setstate__(...)
Set the object serialization state The state should be in one of 3 forms: - None Ignored - A dictionary In this case, the object's instance dictionary will be cleared and updated with the new state.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
str portal_type = 'Dummy Content 15'
    Inherited from DynamicType
tuple __ac_permissions__ = ()
Implements __implemented__ = <implementedBy Products.CMFCore.Dynami...
Interface __implements__ = <Interface Products.CMFCore.interfaces....
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
NoneType getActionInfo__roles__ = None                                                                  
NoneType getIcon__roles__ = None                                                                  
NoneType getPortalTypeName__roles__ = None                                                                  
NoneType getTypeInfo__roles__ = None                                                                  
NoneType icon__roles__ = None                                                                  

Class Variable Details

portal_type

Type:
str
Value:
'Dummy Content 15'                                                     

Generated by Epydoc 2.1 on Wed Nov 30 03:58:09 2005 http://epydoc.sf.net