Back to index

plone3  3.1.7
Classes | Functions
Archetypes.exportimport.archetypetool Namespace Reference

Classes

class  ArchetypeToolXMLAdapter

Functions

def importArchetypeTool
def exportArchetypeTool

Function Documentation

Export Archetype Tool configuration.

Definition at line 75 of file archetypetool.py.

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

Here is the call graph for this function:

Import Archetype Tool configuration.

Definition at line 67 of file archetypetool.py.

00067 
00068 def importArchetypeTool(context):
00069     """Import Archetype Tool configuration.
00070     """
00071     site = context.getSite()
00072     tool = getToolByName(site, TOOL_NAME)
00073     importObjects(tool, '', context)
00074 

Here is the call graph for this function: