Back to index

plone3  3.1.7
Properties | Private Member Functions
GenericSetup.PluginIndexes.exportimport.DateRangeIndexNodeAdapter Class Reference
Inheritance diagram for GenericSetup.PluginIndexes.exportimport.DateRangeIndexNodeAdapter:
Inheritance graph
[legend]
Collaboration diagram for GenericSetup.PluginIndexes.exportimport.DateRangeIndexNodeAdapter:
Collaboration graph
[legend]

List of all members.

Properties

 node = property(_exportNode, _importNode)

Private Member Functions

def _exportNode
def _importNode

Detailed Description

Node im- and exporter for DateRangeIndex.

Definition at line 93 of file exportimport.py.


Member Function Documentation

Export the object as a DOM node.

Definition at line 100 of file exportimport.py.

00100 
00101     def _exportNode(self):
00102         """Export the object as a DOM node.
00103         """
00104         node = self._getObjectNode('index')
00105         node.setAttribute('since_field', self.context.getSinceField())
00106         node.setAttribute('until_field', self.context.getUntilField())
00107         return node

Here is the call graph for this function:

Here is the caller graph for this function:

Import the object from the DOM node.

Definition at line 108 of file exportimport.py.

00108 
00109     def _importNode(self, node):
00110         """Import the object from the DOM node.
00111         """
00112         self.context._edit(node.getAttribute('since_field').encode('utf-8'),
00113                            node.getAttribute('until_field').encode('utf-8'))
00114         self.context.clear()

Here is the call graph for this function:

Here is the caller graph for this function:


Property Documentation

Definition at line 115 of file exportimport.py.


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