com.konakartadmin.blif
Interface ExportXMLDataIf


public interface ExportXMLDataIf

ExportXMLDataIf interface


Method Summary
 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.
 

Method Detail

doExport

void doExport(ExportConfigIf config)
              throws com.konakart.app.KKException,
                     java.io.IOException,
                     KKAdminException,
                     javax.xml.bind.JAXBException
This method starts the export of the database data into XML files on the file system. Exports As can be seen from AdminProductXML, the product file contains data on related products and tags as well.

Parameters:
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.
Throws:
com.konakart.app.KKException
java.io.IOException
KKAdminException
javax.xml.bind.JAXBException

exportOrder

void exportOrder(AdminOrder order,
                 java.lang.String dirName,
                 java.lang.String fileName)
                 throws KKAdminException
Export the Order to an XML file. Any credit cad information found is encrypted.

Parameters:
order - the AdminOrder object to export
dirName - the directory to export the order to
fileName - the filename to export the order to which will be written to the dirName
Throws:
KKAdminException

exportOrderToXmlString

java.lang.String exportOrderToXmlString(AdminOrder order)
                                        throws KKAdminException
Export the Order to an XML String. Any credit cad information found is encrypted.

Parameters:
order - the AdminOrder object to export
Returns:
the order converted to an XML String - any credit card data will be encrypted.
Throws:
KKAdminException


Copyright © 2011 DS Data Systems UK Ltd.