Back to index

plone3  3.1.7
Private Member Functions | Static Private Attributes
CMFEditions.exportimport.repository.RepositoryToolXMLAdapter Class Reference
Inheritance diagram for CMFEditions.exportimport.repository.RepositoryToolXMLAdapter:
Inheritance graph
[legend]
Collaboration diagram for CMFEditions.exportimport.repository.RepositoryToolXMLAdapter:
Collaboration graph
[legend]

List of all members.

Private Member Functions

def _exportNode
def _importNode
def _purgePolicies
def _initPolicies
def _extractPolicies

Static Private Attributes

 __used_for__ = IRepositoryTool

Detailed Description

Mode in- and exporter for RepositoryTool.

Definition at line 8 of file repository.py.


Member Function Documentation

Export the object as a DOM node.

Definition at line 13 of file repository.py.

00013 
00014     def _exportNode(self):
00015         """Export the object as a DOM node.
00016         """
00017         node=self._doc.createElement('repositorytool')
00018         node.appendChild(self._extractPolicies())
00019 
00020         self._logger.info('RepositoryTool settings exported.')
00021         return node
00022 

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 42 of file repository.py.

00042 
00043     def _extractPolicies(self):
00044         node=self._doc.createElement('policies')
00045         # XXX
00046         return node
00047 

Here is the caller graph for this function:

Definition at line 23 of file repository.py.

00023 
00024     def _importNode(self, node):
00025         if self.environ.shouldPurge():
00026             self._purgePolicies()
00027 
00028         self._initPolicies(node)
00029         self._logger.info('RepositoryTool settings imported.')
00030 

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 36 of file repository.py.

00036 
00037     def _initPolicies(self, node):
00038         for child in node.childNodes:
00039             if child.nodeName=='policies':
00040                 # XXX
00041                 pass

Here is the caller graph for this function:

Definition at line 31 of file repository.py.

00031 
00032     def _purgePolicies(self):
00033         # XXX
00034         pass
00035 

Here is the caller graph for this function:


Member Data Documentation

Definition at line 11 of file repository.py.


The documentation for this class was generated from the following file: