public class XmlImportMain extends Object
Constructor and Description |
---|
XmlImportMain() |
Modifier and Type | Method and Description |
---|---|
static int |
dbCount(XmlExportMain xmlExportMain)
get a db count of exportable rows
|
static int |
dbCountGsh(XmlExportMain xmlExportMain)
get a db count of exportable rows
|
long |
getCurrentRecordIndex() |
Set<String> |
getIdsToIgnore()
ids to ignore
|
long |
getInsertCount() |
long |
getOriginalDbCount() |
org.dom4j.io.SAXReader |
getReader() |
String |
getRecordReportFileCanonicalPath() |
long |
getSkipCount() |
long |
getTotalImportFileCount() |
long |
getUpdateCount() |
Map<String,String> |
getUuidTranslation()
uuid translation when uuids are changed
|
com.thoughtworks.xstream.XStream |
getXstream() |
void |
incrementCurrentCount()
increment the file count
|
void |
incrementInsertCount()
increment the insert count
|
void |
incrementSkipCount()
increment the file count
|
void |
incrementTotalImportFileCount()
increment the file count
|
void |
incrementUpdateCount()
increment the update count
|
boolean |
isRecordReport() |
static void |
logInfoAndPrintToScreen(String auditEntryProgress) |
static void |
main(String[] args) |
void |
processXml(File importFile) |
void |
processXml(String importString) |
void |
readonlyWriteLogEntry(String entry) |
void |
setRecordReport(boolean isRecordReport) |
public static void main(String[] args)
args
- public Map<String,String> getUuidTranslation()
public long getCurrentRecordIndex()
public long getInsertCount()
public long getUpdateCount()
public long getSkipCount()
public long getTotalImportFileCount()
public void processXml(File importFile)
importFile
- public void processXml(String importString)
importString
- public String getRecordReportFileCanonicalPath()
public void readonlyWriteLogEntry(String entry)
entry
- public org.dom4j.io.SAXReader getReader()
public void incrementTotalImportFileCount()
public boolean isRecordReport()
public void setRecordReport(boolean isRecordReport)
isRecordReport
- if record report to setpublic static int dbCount(XmlExportMain xmlExportMain)
xmlExportMain
- public static int dbCountGsh(XmlExportMain xmlExportMain)
xmlExportMain
- public long getOriginalDbCount()
public void incrementCurrentCount()
public void incrementInsertCount()
public void incrementSkipCount()
public void incrementUpdateCount()
public static void logInfoAndPrintToScreen(String auditEntryProgress)
auditEntryProgress
- public com.thoughtworks.xstream.XStream getXstream()
Copyright © 2016 Internet2. All rights reserved.