com.solidstategroup.cms.xmlimport
Class ImportXML

java.lang.Object
  extended by com.solidstategroup.cms.xmlimport.ImportXML
All Implemented Interfaces:
Target

public class ImportXML
extends java.lang.Object
implements Target

ImportXML when building importers this is a useful query to pull rootchunkids out select description, rootChunkFormat_ID from chunkformat where rootChunkFormat_ID >= ? group by description order by priority


Constructor Summary
ImportXML()
           
 
Method Summary
 Article createArticle(org.dom4j.Element element)
           
 ImportReport getReport()
           
 boolean isTestMode()
           
 ImportReport performImport(java.lang.Object source)
           
 void setReport(ImportReport report)
           
 void setTestMode(boolean testMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportXML

public ImportXML()
Method Detail

performImport

public ImportReport performImport(java.lang.Object source)
Specified by:
performImport in interface Target

createArticle

public Article createArticle(org.dom4j.Element element)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getReport

public ImportReport getReport()

setReport

public void setReport(ImportReport report)

isTestMode

public boolean isTestMode()

setTestMode

public void setTestMode(boolean testMode)
Specified by:
setTestMode in interface Target