Back to index

plone3  3.1.7
Classes | Functions
CMFPlone.exportimport.factorytool Namespace Reference

Classes

class  PortalFactoryXMLAdapter

Functions

def importFactoryTool
def exportFactoryTool

Function Documentation

Export Factory Tool configuration.

Definition at line 70 of file factorytool.py.

00070 
00071 def exportFactoryTool(context):
00072     """Export Factory Tool configuration.
00073     """
00074     site = context.getSite()
00075     tool = getToolByName(site, 'portal_factory', None)
00076     if tool is None:
00077         logger = context.getLogger("factorytool")
00078         logger.info("Nothing to export.")
00079         return
00080 
00081     exportObjects(tool, '', context)
00082 

Here is the call graph for this function:

Import Factory Tool configuration.

Definition at line 61 of file factorytool.py.

00061 
00062 def importFactoryTool(context):
00063     """Import Factory Tool configuration.
00064     """
00065     site = context.getSite()
00066     tool = getToolByName(site, 'portal_factory')
00067 
00068     importObjects(tool, '', context)
00069 

Here is the call graph for this function: