public class ImporterCurrent extends java.lang.Object implements Importer
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ID |
protected boolean |
isLoadConsistRemains |
protected boolean |
isLoadPrices |
| Constructor and Description |
|---|
ImporterCurrent() |
| Modifier and Type | Method and Description |
|---|---|
void |
doImport(java.sql.Connection h2Connection,
java.sql.Connection pgConnection,
java.lang.Long factoryId,
java.lang.Long userId,
boolean isOwnFactory,
boolean isLoadPrices,
boolean isLoadConsistRemains,
boolean isLoadContractors,
ProgressCallback callback) |
protected ImportTable |
filterTable(java.sql.Connection h2Connection,
java.sql.Connection pgConnection,
ImportTable tbl) |
protected java.lang.String |
getDestFieldMapper(ImportTable table,
java.lang.String field) |
protected java.lang.String |
getSrcFieldMapper(ImportTable table,
java.lang.String field) |
static java.lang.String |
joinToStr(java.sql.ResultSet row,
java.lang.String separator) |
protected static final transient java.lang.String ID
protected boolean isLoadPrices
protected boolean isLoadConsistRemains
public static java.lang.String joinToStr(java.sql.ResultSet row,
java.lang.String separator)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void doImport(java.sql.Connection h2Connection,
java.sql.Connection pgConnection,
java.lang.Long factoryId,
java.lang.Long userId,
boolean isOwnFactory,
boolean isLoadPrices,
boolean isLoadConsistRemains,
boolean isLoadContractors,
ProgressCallback callback)
throws java.lang.Exception
protected ImportTable filterTable(java.sql.Connection h2Connection, java.sql.Connection pgConnection, ImportTable tbl) throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getSrcFieldMapper(ImportTable table, java.lang.String field)
protected java.lang.String getDestFieldMapper(ImportTable table, java.lang.String field)