ePages 7.21.0 - DE_EPAGES/MeinPaket/API/Object/MeinPaketVariantConfigurationTree.pm

Package DE_EPAGES::MeinPaket::API::Object::MeinPaketVariantConfigurationTree

object interface for MeinPaketVariantConfigurationTree.

Functions

getLocalRequiredAttributes
getLocalVariantAttributeValues
getLocalVariantConfigurationList
getRemoteVariantConfigurationList
insertMeinPaketVariantConfigurations
new
swapMeinPaketVariantConfigurations
update

getLocalRequiredAttributes

Gets locally saved list of required attributes.

Syntax
$VariantConfigurationTree->getLocalRequiredAttributes();
Return
$ahResult (array)
array with local required attributes

getLocalVariantAttributeValues

Gets locally saved list of variant attribute values.

Syntax
$VariantConfigurationTree->getLocalVariantAttributeValues();
Return
$ahResult (array)
array with variant attribute values

getLocalVariantConfigurationList

Gets locally saved variant configuration list.

Syntax
$VariantConfigurationTree->getLocalVariantConfigurationList();
Return
$ahResult (array)
array with variant configurations

getRemoteVariantConfigurationList

Gets remote variant configuration list.

Syntax
$VariantConfigurationTree->getRemoteVariantConfigurationList($printOutput);
Input
$printOutput (bool)
tells if output should be printed
Return
$Result (DownloadResponse)
parsed downloadResponse

insertMeinPaketVariantConfigurations

Gets remote variant configuration list.

Syntax
$VariantConfigurationTree->insertMeinPaketVariantConfigurations($Result, $printOutput);
Input
$Result (bool)
result of variant configuration download
$printOutput (bool)
tells if output should be printed

new

Connects to the MeinPaketVariantConfiguration database.

Syntax
$MeinPaketVariantConfigurationTree = $MeinPaketVariantConfigurationTree->new();
Input
%Args (hash)
Constructor arguments. used keys:
  • MeinPaketSite - PortalSite object - object

Return
$self (object)
object

swapMeinPaketVariantConfigurations

Swaps variant configurations from tmp tables to regular tables.

Syntax
$VariantConfigurationTree->swapMeinPaketVariantConfigurations($printOutput);
Input
$printOutput (bool)
tells if output should be printed

update

Updates variant configuration list from MeinPaket.

Syntax
$VariantConfigurationTree->update( $printOutput );
Input
$printOutput (boolean)
print output to console
$Force (boolean)
true if you want to force update
Return
$IsUpdated (boolean)
true if MeinPaketVariantConfigurations were updated