ePages 6.11.0 - DE_EPAGES/ShopConfiguration/API/Table/ShopFeatureCollectionFeature.pm

Package DE_EPAGES::ShopConfiguration::API::Table::ShopFeatureCollectionFeature

interface for table ShopFeatureCollectionFeature

@EXPORT_OK
InsertShopFeatureCollectionFeature
UpdateShopFeatureCollectionFeature
DeleteShopFeatureCollectionFeature
GetAllPKeyShopFeatureCollectionFeatures
GetAllInfoShopFeatureCollectionFeatures
GetInfoShopFeatureCollectionFeature
ExistsShopFeatureCollectionFeature
GetPKeyShopFeatureCollectionFeaturesByCollectionID
GetInfoShopFeatureCollectionFeaturesByCollectionID
GetPKeyShopFeatureCollectionFeaturesByFeatureID
GetInfoShopFeatureCollectionFeaturesByFeatureID

Functions

DeleteShopFeatureCollectionFeature
ExistsShopFeatureCollectionFeature
GetAllInfoShopFeatureCollectionFeatures
GetAllPKeyShopFeatureCollectionFeatures
GetInfoShopFeatureCollectionFeature
GetInfoShopFeatureCollectionFeaturesByCollectionID
GetInfoShopFeatureCollectionFeaturesByFeatureID
GetPKeyShopFeatureCollectionFeaturesByCollectionID
GetPKeyShopFeatureCollectionFeaturesByFeatureID
InsertShopFeatureCollectionFeature
OnDeleteFeatureRef
UpdateShopFeatureCollectionFeature

DeleteShopFeatureCollectionFeature

Deletes a(n) ShopFeatureCollectionFeature.

Syntax
DeleteShopFeatureCollectionFeature($CollectionID, $FeatureID);
DeleteShopFeatureCollectionFeature($hShopFeatureCollectionFeature); # if $hShopFeatureCollectionFeature includes CollectionID, FeatureID
Input
$CollectionID (int)
feature set id (part of primary key)
$FeatureID (int)
shop feature collection id (part of primary key)

ExistsShopFeatureCollectionFeature

Returns true if the ShopFeatureCollectionFeature exists.

Syntax
$exists = ExistsShopFeatureCollectionFeature($CollectionID, $FeatureID);
Input
$CollectionID (int)
feature set id
$FeatureID (int)
shop feature collection id
Return
$exists (boolean)
1/0 the ShopFeatureCollectionFeature exists (yes/no)

GetAllInfoShopFeatureCollectionFeatures

Returns all objects of ShopFeatureCollectionFeature.

Syntax
$ahShopFeatureCollectionFeatures = GetAllInfoShopFeatureCollectionFeatures();
Return
$ahShopFeatureCollectionFeatures (reference to array of hashes)
with following keys:
  • CollectionID - feature set id (part of primary key)- int
  • FeatureID - shop feature collection id (part of primary key)- int
  • MaxValue - maximum allowed value - int

GetAllPKeyShopFeatureCollectionFeatures

Returns all ShopFeatureCollectionFeature identifiers.

Syntax
$ahShopFeatureCollectionFeatureIDs = GetAllPKeyShopFeatureCollectionFeatures();
Return
$ahShopFeatureCollectionFeatureIDs (reference to array of hashes)
with following keys:
  • CollectionID - feature set id - int
  • FeatureID - shop feature collection id - int

GetInfoShopFeatureCollectionFeature

Returns the ShopFeatureCollectionFeature by identifier.

Syntax
$hShopFeatureCollectionFeature = GetInfoShopFeatureCollectionFeature($CollectionID, $FeatureID);
Input
$CollectionID (int)
feature set id (part of primary key)
$FeatureID (int)
shop feature collection id (part of primary key)
Return
$hShopFeatureCollectionFeature (reference to hash)
with following keys:
  • CollectionID - feature set id (part of primary key)- int
  • FeatureID - shop feature collection id (part of primary key)- int
  • MaxValue - maximum allowed value - int

GetInfoShopFeatureCollectionFeaturesByCollectionID

Returns objects of ShopFeatureCollectionFeature by primary key element CollectionID.

Syntax
$ahShopFeatureCollectionFeatures = GetInfoShopFeatureCollectionFeaturesByCollectionID($CollectionID);
Input
$CollectionID (int)
feature set id
Return
$ahShopFeatureCollectionFeatures (reference to array of hashes)
with following keys:
  • CollectionID - feature set id (part of primary key)- int
  • FeatureID - shop feature collection id (part of primary key)- int
  • MaxValue - maximum allowed value - int

GetInfoShopFeatureCollectionFeaturesByFeatureID

Returns objects of ShopFeatureCollectionFeature by alternate key FeatureID.

Syntax
$ahShopFeatureCollectionFeatures = GetInfoShopFeatureCollectionFeaturesByFeatureID($FeatureID);
Input
$FeatureID (int)
shop feature collection id
Return
$ahShopFeatureCollectionFeatures (reference to array of hashes)
with following keys:
  • CollectionID - feature set id (part of primary key)- int
  • FeatureID - shop feature collection id (part of primary key)- int
  • MaxValue - maximum allowed value - int

GetPKeyShopFeatureCollectionFeaturesByCollectionID

Returns primary keys of ShopFeatureCollectionFeature by primary key element CollectionID.

Syntax
$ahKeys = GetPKeyShopFeatureCollectionFeaturesByCollectionID($CollectionID);
Input
$CollectionID (int)
feature set id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • CollectionID - feature set id - int
  • FeatureID - shop feature collection id - int

GetPKeyShopFeatureCollectionFeaturesByFeatureID

Returns primary keys of ShopFeatureCollectionFeature by alternate key FeatureID.

Syntax
$ahKeys = GetPKeyShopFeatureCollectionFeaturesByFeatureID($FeatureID);
Input
$FeatureID (int)
shop feature collection id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • CollectionID - feature set id - int
  • FeatureID - shop feature collection id - int

InsertShopFeatureCollectionFeature

Creates an entry of ShopFeatureCollectionFeature.

Syntax
InsertShopFeatureCollectionFeature($hShopFeatureCollectionFeature);
Input
$hShopFeatureCollectionFeature (reference to hash)
with following keys:
  • CollectionID - feature set id (part of primary key)- int
  • FeatureID - shop feature collection id (part of primary key)- int
  • MaxValue - maximum allowed value - int

OnDeleteFeatureRef

Deletes ShopFeatureCollectionFeature of this model when a(n) FeatureRef is deleted.

Syntax
OnDeleteFeatureRef($hParams);
Input
$hParams (ref.hash.*)
primary key of object FeatureRef, key is
  • FeatureID

UpdateShopFeatureCollectionFeature

Updates a(n) ShopFeatureCollectionFeature if any element was changed.

Syntax
UpdateShopFeatureCollectionFeature($CollectionID, $FeatureID, $hShopFeatureCollectionFeature);
UpdateShopFeatureCollectionFeature($hShopFeatureCollectionFeature); # if $hShopFeatureCollectionFeature includes CollectionID, FeatureID
Input
$CollectionID (int)
feature set id (part of primary key)
$FeatureID (int)
shop feature collection id (part of primary key)
$hShopFeatureCollectionFeature (reference to hash)
with following keys:
  • MaxValue - maximum allowed value - int
Return
1 (integer)
1