Back to index

plone3  3.1.7
Classes | Functions
CMFDiffTool.exportimport.difftool Namespace Reference

Classes

class  DiffToolXMLAdapter

Functions

def importDiffTool
def exportDiffTool

Function Documentation

Export Factory Tool configuration.

Definition at line 75 of file difftool.py.

00075 
00076 def exportDiffTool(context):
00077     """Export Factory Tool configuration.
00078     """
00079     site = context.getSite()
00080     tool = getToolByName(site, 'portal_diff', None)
00081     if tool is None:
00082         logger = context.getLogger("difftool")
00083         logger.info("Nothing to export.")
00084         return
00085 
00086     exportObjects(tool, '', context)

Here is the call graph for this function:

Import Factory Tool configuration.

Definition at line 65 of file difftool.py.

00065 
00066 def importDiffTool(context):
00067     """Import Factory Tool configuration.
00068     """
00069     site = context.getSite()
00070     tool = getToolByName(site, 'portal_diff', None)
00071 
00072     if tool is not None:
00073         importObjects(tool, '', context)
00074 

Here is the call graph for this function: