Interface I_CmsImportExportHandler

All Known Implementing Classes:
CmsModuleImportExportHandler, CmsVfsImportExportHandler

public interface I_CmsImportExportHandler
An import/export handler is an abstract layer to hide the logic how to import/export a specific type of Cms data.

To export data, you would create an instance of a class implementing this interface, and call the implementation's setter methods to arrange which data should be exported. To write the export, call CmsImportExportManager.exportData(CmsObject, I_CmsImportExportHandler, I_CmsReport).

To import data, call CmsImportExportManager.importData(CmsObject, I_CmsReport, CmsImportParameters). You don't have to worry about the contents of an imported a ZIP archive - the import/export manager finds the right import/export handler implementation to import the data. You can assign null to the importPath argument in case of a Cms module import.

Use OpenCms.getImportExportManager() to get the Cms import/export manager.

Since:
6.0.0