com.raritantechnologies.eCommerceAdmin.verity
Class TaxDefDBLoader

java.lang.Object
  extended bycom.raritantechnologies.eCommerceAdmin.verity.TaxDefDBLoader
All Implemented Interfaces:
IConfigurable, IJobProcess

public class TaxDefDBLoader
extends java.lang.Object
implements IJobProcess

Job Process that Loads an eCommerce DB schema from a Verity 5.0 TaxDef XML file. Use to import taxonomies from Verity Intelligent Classifier, etc.

XML Configuration Template:
  <JobProcess class="com.raritantechnologies.eCommerceAdmin.verity.TaxDefDBLoader"
                 taxDefFile="[ file name of output TaxDef file ]" />
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
TaxDefDBLoader()
           
 
Method Summary
 void executeJob(RaritanPageContext rpc)
           
 void executeJob(java.lang.String[] args)
           
 java.lang.String getConfigurationXML()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void loadTaxonomy(org.w3c.dom.Document taxDoc)
           
 void loadTaxonomy(org.w3c.dom.Element elem)
           
 void loadTaxonomy(java.lang.String taxDefXML)
           
 void loadTaxonomyFile(java.lang.String taxDefFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxDefDBLoader

public TaxDefDBLoader()
Method Detail

loadTaxonomyFile

public void loadTaxonomyFile(java.lang.String taxDefFile)

loadTaxonomy

public void loadTaxonomy(java.lang.String taxDefXML)

loadTaxonomy

public void loadTaxonomy(org.w3c.dom.Document taxDoc)

loadTaxonomy

public void loadTaxonomy(org.w3c.dom.Element elem)

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IJobProcess

getConfigurationXML

public java.lang.String getConfigurationXML()
Specified by:
getConfigurationXML in interface IJobProcess

executeJob

public void executeJob(RaritanPageContext rpc)
Specified by:
executeJob in interface IJobProcess

executeJob

public void executeJob(java.lang.String[] args)
Specified by:
executeJob in interface IJobProcess