com.jalios.jcms.policy
Interface ExportPolicyFilter

All Superinterfaces:
Comparable, PluginComponent, PolicyFilter
All Known Implementing Classes:
BasicExportPolicyFilter

public interface ExportPolicyFilter
extends PolicyFilter

This interface provides hooks for data export.

Since:
jcms-5.7.2
Version:
$Revision: 22160 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Method Summary
 void processDataExport(Data data, StringBuffer sb, Map context)
          This method is called for each data to export.
 void processDataSetExport(Set<? extends Data> dataSet, StringBuffer sb, Map context)
          This method is called for each data set to export.
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
 

Field Detail

REVISION

static final String REVISION
See Also:
Constant Field Values
Method Detail

processDataExport

void processDataExport(Data data,
                       StringBuffer sb,
                       Map context)
This method is called for each data to export. The StringBuffer sb contains the XML export of the data.

Parameters:
data - the exported data.
sb - contains the XML representation of the data.
context - the export context.
Since:
jcms-6.0.0

processDataSetExport

void processDataSetExport(Set<? extends Data> dataSet,
                          StringBuffer sb,
                          Map context)
This method is called for each data set to export. The StringBuffer sb contains the XML export of the data set.

Parameters:
dataSet - the data set.
sb - contains the XML representation of the data set.
context - the export context.
Since:
jcms-6.0.0


Copyright © 2001-2007 Jalios SA. All Rights Reserved.