com.sri.emo.commandline.defaults
Class WizardExporter

java.lang.Object
  extended by com.sri.emo.commandline.defaults.AbstractExportSupport
      extended by com.sri.emo.commandline.defaults.AbstractNodeExportSupport
          extended by com.sri.emo.commandline.defaults.WizardExporter

public class WizardExporter
extends AbstractNodeExportSupport

Exports wizards.

Author:
Michael Rimov

Field Summary
 
Fields inherited from class com.sri.emo.commandline.defaults.AbstractExportSupport
TESTER_UID
 
Constructor Summary
WizardExporter(NodeTracker nodeTracker, SqlRowGenerator generator, String[] tags)
          Constructs a wizard exporter with the specified services.
 
Method Summary
 int exportAllWizards(PrintWriter writer)
          Exports all wizards to the printwriter.
protected  WizDefinitionRepository getWizardRepository()
          Factory method to create the selection wizard repository.
 
Methods inherited from class com.sri.emo.commandline.defaults.AbstractNodeExportSupport
exportAttributes, exportNodeTags, exportNodeType, exportParts, exportPicklists, exportRelations
 
Methods inherited from class com.sri.emo.commandline.defaults.AbstractExportSupport
exportSecuredDBobjectEntries, exportSecurityEntries, getGenerator, getNodeTracker, getSQL, writeDBObject, writeDBObject, writeSql
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WizardExporter

public WizardExporter(NodeTracker nodeTracker,
                      SqlRowGenerator generator,
                      String[] tags)
Constructs a wizard exporter with the specified services.

Parameters:
nodeTracker - tracker of nodes.
generator - sql row generator for export.
tags - the tags we're exporting.
Method Detail

getWizardRepository

protected WizDefinitionRepository getWizardRepository()
Factory method to create the selection wizard repository.

Returns:

exportAllWizards

public int exportAllWizards(PrintWriter writer)
                     throws DBException
Exports all wizards to the printwriter.

Parameters:
writer - the writer.
Returns:
number of total dbobject records exported.
Throws:
DBException


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.