Package CMFCore :: Package tests :: Package base :: Module dummy :: Class DummyTool
[show private | hide private]
[frames | no frames]

Type DummyTool

ActionProviderBase --+
                     |
    object --+       |
             |       |
          Base --+   |
                 |   |
          Acquirer --+
                     |
                    DummyTool


This is a Dummy Tool that behaves as a a MemberShipTool, a URLTool and an Action Provider
Method Summary
  __init__(self, anon)
  __call__(self)
  checkPermission(self, permissionName, object, subobjectName)
  getAuthenticatedMember(self)
  getIcon(self, relative)
  getPortalObject(self)
  getPortalPath(self)
  getTypeInfo(self, contentType)
  isAnonymousUser(self)
  listTypeInfo(self, container)
  notifyCreated(self, ob)
    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 ActionProviderBase
  addAction(self, id, name, action, condition, permission, category, visible, REQUEST)
Add an action to our list.
  changeActions(self, properties, REQUEST)
Update our list of actions.
  deleteActions(self, selections, REQUEST)
Delete actions indicated by indexes in 'selections'.
  getActionInfo(self, action_chain, object, check_visibility, check_condition)
Get an ActionInfo object specified by a chain of actions.
  getActionObject(self, action)
Return the actions object or None if action doesn't exist.
  listActionInfos(self, action_chain, object, check_visibility, check_permissions, check_condition, max)
  listActions(self, info, object)
List all the actions defined by a provider.
  manage_editActionsForm(self, REQUEST, manage_tabs_message)
Show the 'Actions' management tab.
  moveDownActions(self, selections, REQUEST)
Move the specified actions down one slot in our list.
  moveUpActions(self, selections, REQUEST)
Move the specified actions up one slot in our list.
  _cloneActions(self)
  _extractAction(self, properties, index)
Extract an ActionInformation from the funky form properties.
  _getExprContext(self, object)
  _getOAI(self, object)
    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
  __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 root = 'DummyTool'
NoneType test_notified = None                                                                  
tuple _actions = (<CMFCore.tests.base.dummy.DummyObject object...
    Inherited from ActionProviderBase
tuple __ac_permissions__ = (('Manage portal', ('addAction', 'm...
Implements __implemented__ = <implementedBy Products.CMFCore.Action...
Interface __implements__ = <Interface Products.CMFCore.interfaces....
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
tuple _cloneActions__roles__ = ()
tuple _extractAction__roles__ = ()
PermissionRole addAction__roles__ = <PermissionRole object at 0xb71cc54...
PermissionRole changeActions__roles__ = <PermissionRole object at 0xb71...
PermissionRole deleteActions__roles__ = <PermissionRole object at 0xb71...
NoneType getActionInfo__roles__ = None                                                                  
tuple getActionObject__roles__ = ()
NoneType listActionInfos__roles__ = None                                                                  
tuple listActions__roles__ = ()
PermissionRole manage_editActionsForm__roles__ = <PermissionRole object...
tuple manage_options = ({'action': 'manage_editActionsForm', '...
PermissionRole moveDownActions__roles__ = <PermissionRole object at 0xb...
PermissionRole moveUpActions__roles__ = <PermissionRole object at 0xb71...
DTMLFile _actions_form = <App.special_dtml.DTMLFile object at 0xb...

Class Variable Details

root

Type:
str
Value:
'DummyTool'                                                            

test_notified

Type:
NoneType
Value:
None                                                                  

_actions

Type:
tuple
Value:
(<CMFCore.tests.base.dummy.DummyObject object at 0xb489f62c>,
 <CMFCore.tests.base.dummy.DummyObject object at 0xb489f66c>)          

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