ePages 6.17.43 - DE_EPAGES/Product/API/CSV/ProductExportImport.pm

Package DE_EPAGES::Product::API::CSV::ProductExportImport

This module implements a handler to export , import products

Functions

csvAttributes
exportDriver
getExportObjects
importDriver
warningCodes

csvAttributes

Return list of exportable csv attributes.

Syntax
my $aCSVAttributes = $Driver->csvAttributes($Shop, $LocaleID, $aLanguageCode2s);
Input
$Shop (object)
shop object
$LocaleID (string)
locale identifier (e.g. en_GB)
$aLanguageCode2s (ref.array.string)
array of languages identified by code2
Return
$aAttributes (ref.array.hash)
list of attributes

exportDriver

Return driver package.

Syntax
$Driver->exportDriver();
Return
$DriverPackage (string)
package to driver

getExportObjects

Returns list of objects to export.

Syntax
$ExportProducts = $Driver->getExportObjects($Shop, $aObjectIDs);
Input
$Shop (object)
alias of shop
$aObjectIDs (ref.array.integer)
list of exportable objects
Return
$ExportProducts (DE_EPAGES::Core::API::Iterator)
iterator of products to be exported

importDriver

Return driver package.

Syntax
$Driver->importDriver();
Return
$DriverPackage (string)
package to driver

warningCodes

Returns the warning codes for csv export.

Syntax
$aWarningCodes = $Driver->warningCodes();
Return
$aWarningCodes (array.string)
warning codes