public interface ExportXMLDataIf
Modifier and Type | Method and Description |
---|---|
void |
doExport(ExportConfigIf config)
This method starts the export of the database data into XML files on the file system.
|
void |
exportOrder(AdminOrder order,
java.lang.String dirName,
java.lang.String fileName)
Export the Order to an XML file.
|
java.lang.String |
exportOrderToXmlString(AdminOrder order)
Export the Order to an XML String.
|
void doExport(ExportConfigIf config) throws com.konakart.app.KKException, java.io.IOException, KKAdminException, javax.xml.bind.JAXBException
config
- Contains an admin engine instance and sessionId. Also contains control information
regarding what operations should be performed and where the files should be
created.com.konakart.app.KKException
- an unexpected KKException exceptionjava.io.IOException
- an unexpected IOException exceptionKKAdminException
- an unexpected exception in the KonaKart Admin enginejavax.xml.bind.JAXBException
- an unexpected JAXBException exceptionvoid exportOrder(AdminOrder order, java.lang.String dirName, java.lang.String fileName) throws KKAdminException
order
- the AdminOrder object to exportdirName
- the directory to export the order tofileName
- the filename to export the order to which will be written to the dirNameKKAdminException
- an unexpected exception in the KonaKart Admin enginejava.lang.String exportOrderToXmlString(AdminOrder order) throws KKAdminException
order
- the AdminOrder object to exportKKAdminException
- an unexpected exception in the KonaKart Admin engineCopyright © 2018 DS Data Systems UK Ltd.