public interface Xml_io_If
Modifier and Type | Method and Description |
---|---|
int |
do_io(java.lang.String sessionId,
KKAdminIf eng,
java.lang.String emptyDBFile,
java.lang.String bootstrapFile,
int direction,
java.lang.String xmlFileRoot,
java.lang.String kkPropsFile,
java.lang.String storeId,
XmlIoDataConfig dc,
boolean debug) |
int |
do_io(java.lang.String emptyDBFile,
java.lang.String bootstrapFile,
int direction,
java.lang.String xmlFileRoot,
java.lang.String kkPropsFile,
java.lang.String userName,
java.lang.String password,
boolean useSOAP,
java.lang.String webServiceUrl,
java.lang.String storeId,
int engineMode,
boolean customersShared,
boolean productsShared,
boolean categoriesShared,
XmlIoDataConfig dc,
boolean debug) |
int do_io(java.lang.String emptyDBFile, java.lang.String bootstrapFile, int direction, java.lang.String xmlFileRoot, java.lang.String kkPropsFile, java.lang.String userName, java.lang.String password, boolean useSOAP, java.lang.String webServiceUrl, java.lang.String storeId, int engineMode, boolean customersShared, boolean productsShared, boolean categoriesShared, XmlIoDataConfig dc, boolean debug) throws java.lang.Exception
emptyDBFile
- the name of a file containing SQL commands to empty the target database for the
specified store, prior to data loading (executed before the bootstrapFile script
below).bootstrapFile
- the name of a file containing SQL commands to load into the target database for
the specified store, prior to data loading (executed after the emptyDBFile script
above).direction
- Xml_io.IMPORT (1) for IMPORT and Xml_io.EXPORT (2) for exportxmlFileRoot
- the root directory for the datakkPropsFile
- name of the konakartadmin.properties file to useuserName
- Admin Engine usernamepassword
- Admin Engine passworduseSOAP
- set to true to use SOAP to access the KOnaKart Admin EnginewebServiceUrl
- if using SOAP this must contain the KonaKart Admin App's web services endpoint
URL.storeId
- (the storeId - will be the source or target storeId depending on whether this is
an import or an export).engineMode
- KonaKart engine mode (0, 1 or 2)customersShared
- set to true for shared customersproductsShared
- set to true for shared productscategoriesShared
- set to true for shared categoriesdc
- DataConfig definition for XML I/O. It defines which tables are exported/importeddebug
- set to true to enable debugjava.lang.Exception
- an unexpected exceptionint do_io(java.lang.String sessionId, KKAdminIf eng, java.lang.String emptyDBFile, java.lang.String bootstrapFile, int direction, java.lang.String xmlFileRoot, java.lang.String kkPropsFile, java.lang.String storeId, XmlIoDataConfig dc, boolean debug) throws java.lang.Exception
sessionId
- The sessionId of the valid current session on the specified admin engineeng
- An admin engine to use for the import/exportemptyDBFile
- the name of a file containing SQL commands to empty the target database for the
specified store, prior to data loading (executed before the bootstrapFile script
below).bootstrapFile
- the name of a file containing SQL commands to load into the target database for
the specified store, prior to data loading (executed after the emptyDBFile script
above).direction
- Xml_io.IMPORT (1) for IMPORT and Xml_io.EXPORT (2) for exportxmlFileRoot
- the root directory for the datakkPropsFile
- name of the konakartadmin.properties file to usestoreId
- (the storeId - will be the source or target storeId depending on whether this is
an import or an export).dc
- DataConfig definition for XML I/O. It defines which tables are exported/importeddebug
- set to true to enable debugjava.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.