ePages 6.11.0 - DE_EPAGES/Amazon/API/Table/AmazonCatalogMap.pm

Package DE_EPAGES::Amazon::API::Table::AmazonCatalogMap

interface for table AmazonCatalogMap

@EXPORT_OK
InsertAmazonCatalogMap
DeleteAmazonCatalogMap
GetAllPKeyAmazonCatalogMaps
ExistsAmazonCatalogMap
GetPKeyAmazonCatalogMapsByPortalSiteID
GetInfoAmazonCatalogMapsByPortalSiteID
GetPKeyAmazonCatalogMapsByAmazonCatalogID
GetInfoAmazonCatalogMapsByAmazonCatalogID

Functions

DeleteAmazonCatalogMap
ExistsAmazonCatalogMap
GetAllPKeyAmazonCatalogMaps
GetInfoAmazonCatalogMapsByAmazonCatalogID
GetInfoAmazonCatalogMapsByPortalSiteID
GetPKeyAmazonCatalogMapsByAmazonCatalogID
GetPKeyAmazonCatalogMapsByPortalSiteID
InsertAmazonCatalogMap

DeleteAmazonCatalogMap

Deletes a(n) AmazonCatalogMap.

Syntax
DeleteAmazonCatalogMap($PortalSiteID, $AmazonCatalogID);
DeleteAmazonCatalogMap($hAmazonCatalogMap); # if $hAmazonCatalogMap includes PortalSiteID, AmazonCatalogID
Input
$PortalSiteID (int)
portal site id (part of primary key)
$AmazonCatalogID (int)
Amazon catalog id (part of primary key)

ExistsAmazonCatalogMap

Returns true if the AmazonCatalogMap exists.

Syntax
$exists = ExistsAmazonCatalogMap($PortalSiteID, $AmazonCatalogID);
Input
$PortalSiteID (int)
portal site id
$AmazonCatalogID (int)
Amazon catalog id
Return
$exists (boolean)
1/0 the AmazonCatalogMap exists (yes/no)

GetAllPKeyAmazonCatalogMaps

Returns all AmazonCatalogMap identifiers.

Syntax
$ahAmazonCatalogMapIDs = GetAllPKeyAmazonCatalogMaps();
Return
$ahAmazonCatalogMapIDs (reference to array of hashes)
with following keys:
  • PortalSiteID - portal site id - int
  • AmazonCatalogID - Amazon catalog id - int

GetInfoAmazonCatalogMapsByAmazonCatalogID

Returns objects of AmazonCatalogMap by alternate key AmazonCatalogID.

Syntax
$ahAmazonCatalogMaps = GetInfoAmazonCatalogMapsByAmazonCatalogID($AmazonCatalogID);
Input
$AmazonCatalogID (int)
Amazon catalog id
Return
$ahAmazonCatalogMaps (reference to array of hashes)
with following keys:
  • PortalSiteID - portal site id (part of primary key)- int
  • AmazonCatalogID - Amazon catalog id (part of primary key)- int

GetInfoAmazonCatalogMapsByPortalSiteID

Returns objects of AmazonCatalogMap by primary key element PortalSiteID.

Syntax
$ahAmazonCatalogMaps = GetInfoAmazonCatalogMapsByPortalSiteID($PortalSiteID);
Input
$PortalSiteID (int)
portal site id
Return
$ahAmazonCatalogMaps (reference to array of hashes)
with following keys:
  • PortalSiteID - portal site id (part of primary key)- int
  • AmazonCatalogID - Amazon catalog id (part of primary key)- int

GetPKeyAmazonCatalogMapsByAmazonCatalogID

Returns primary keys of AmazonCatalogMap by alternate key AmazonCatalogID.

Syntax
$ahKeys = GetPKeyAmazonCatalogMapsByAmazonCatalogID($AmazonCatalogID);
Input
$AmazonCatalogID (int)
Amazon catalog id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • PortalSiteID - portal site id - int
  • AmazonCatalogID - Amazon catalog id - int

GetPKeyAmazonCatalogMapsByPortalSiteID

Returns primary keys of AmazonCatalogMap by primary key element PortalSiteID.

Syntax
$ahKeys = GetPKeyAmazonCatalogMapsByPortalSiteID($PortalSiteID);
Input
$PortalSiteID (int)
portal site id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • PortalSiteID - portal site id - int
  • AmazonCatalogID - Amazon catalog id - int

InsertAmazonCatalogMap

Creates an entry of AmazonCatalogMap.

Syntax
InsertAmazonCatalogMap($hAmazonCatalogMap);
Input
$hAmazonCatalogMap (reference to hash)
with following keys:
  • PortalSiteID - portal site id (part of primary key)- int
  • AmazonCatalogID - Amazon catalog id (part of primary key)- int