net.datacrow.core.migration.moduleexport
Class ModuleExporter

java.lang.Object
  extended by net.datacrow.core.migration.moduleexport.ModuleExporter

public class ModuleExporter
extends java.lang.Object

This exporter is capable of exporting a module and the related information. The related custom modules and the data can be exported (based on the user settings). The exported module zip file can be imported using the ModuleImporter class.

Author:
Robert Jan van der Waals

Constructor Summary
ModuleExporter(int module, java.io.File path)
          Creates a new instance for the specific module.
 
Method Summary
 void cancel()
           
 void setExportData(boolean exportData)
          Indicates whether the data (items) of the main module should be exported.
 void setExportDataRelatedMods(boolean exportDataRelatedMods)
          Indicates whether the data (items) of the related modules should be exported.
 void start(IModuleWizardClient client)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleExporter

public ModuleExporter(int module,
                      java.io.File path)
Creates a new instance for the specific module. The module must be a main module (DcModule.isTopModule()).

Parameters:
module - Main module
path - The export path
Method Detail

setExportData

public void setExportData(boolean exportData)
Indicates whether the data (items) of the main module should be exported.

Parameters:
exportRelatedMods -

setExportDataRelatedMods

public void setExportDataRelatedMods(boolean exportDataRelatedMods)
Indicates whether the data (items) of the related modules should be exported.

Parameters:
exportRelatedMods -

start

public void start(IModuleWizardClient client)

cancel

public void cancel()