Back to index

plone3  3.1.7
Public Member Functions
plone.app.contentrules.exportimport.interfaces.IRuleElementExportImportHandler Class Reference
Inheritance diagram for plone.app.contentrules.exportimport.interfaces.IRuleElementExportImportHandler:
Inheritance graph
[legend]
Collaboration diagram for plone.app.contentrules.exportimport.interfaces.IRuleElementExportImportHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def import_element
def export_element

Detailed Description

An adapter which is used to export/import GenericSetup configuration
for a particular content rule element (condition or action)

Definition at line 3 of file interfaces.py.


Member Function Documentation

Export the properties of the given element with the given 
element schema interface and append them to the given root node.
Use the doc object to create new nodes.

Definition at line 14 of file interfaces.py.

00014 
00015     def export_element(doc, node):
00016         """Export the properties of the given element with the given 
00017         element schema interface and append them to the given root node.
00018         Use the doc object to create new nodes.
        """
Set the properties on the given element, based on the given
element schema interface. The node is the <condition /> or <action /> 
root node. Settings are expected to be found in children of the node.

Definition at line 8 of file interfaces.py.

00008 
00009     def import_element(node):
00010         """Set the properties on the given element, based on the given
00011         element schema interface. The node is the <condition /> or <action /> 
00012         root node. Settings are expected to be found in children of the node.
00013         """
        

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