Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFCore.exportimport.actions Namespace Reference

Classes

class  ActionCategoryNodeAdapter
class  ActionNodeAdapter
class  ActionsToolXMLAdapter

Functions

def importActionProviders
def exportActionProviders

Variables

tuple _SPECIAL_PROVIDERS = ('portal_actions', 'portal_types', 'portal_workflow')

Function Documentation

Export actions tool.

Definition at line 254 of file actions.py.

00254 
00255 def exportActionProviders(context):
00256     """Export actions tool.
00257     """
00258     site = context.getSite()
00259     tool = getToolByName(site, 'portal_actions', None)
00260     if tool is None:
00261         logger = context.getLogger('actions')
00262         logger.info('Nothing to export.')
00263         return
00264 
00265     exportObjects(tool, '', context)

Here is the call graph for this function:

Here is the caller graph for this function:

Import actions tool.

Definition at line 246 of file actions.py.

00246 
00247 def importActionProviders(context):
00248     """Import actions tool.
00249     """
00250     site = context.getSite()
00251     tool = getToolByName(site, 'portal_actions')
00252 
00253     importObjects(tool, '', context)

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

tuple CMFCore.exportimport.actions._SPECIAL_PROVIDERS = ('portal_actions', 'portal_types', 'portal_workflow')

Definition at line 37 of file actions.py.