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

Package DE_EPAGES::ShopConfiguration::API::Table::FeatureCollectionFeature

interface for table FeatureCollectionFeature

@EXPORT_OK
InsertFeatureCollectionFeature
UpdateFeatureCollectionFeature
DeleteFeatureCollectionFeature
GetAllPKeyFeatureCollectionFeatures
GetAllInfoFeatureCollectionFeatures
GetInfoFeatureCollectionFeature
ExistsFeatureCollectionFeature
GetPKeyFeatureCollectionFeaturesByFeatureCollectionID
GetInfoFeatureCollectionFeaturesByFeatureCollectionID
GetPKeyFeatureCollectionFeaturesByFeatureID
GetInfoFeatureCollectionFeaturesByFeatureID

Functions

DeleteFeatureCollectionFeature
ExistsFeatureCollectionFeature
GetAllInfoFeatureCollectionFeatures
GetAllPKeyFeatureCollectionFeatures
GetInfoFeatureCollectionFeature
GetInfoFeatureCollectionFeaturesByFeatureCollectionID
GetInfoFeatureCollectionFeaturesByFeatureID
GetPKeyFeatureCollectionFeaturesByFeatureCollectionID
GetPKeyFeatureCollectionFeaturesByFeatureID
InsertFeatureCollectionFeature
OnDeleteFeatureRef
UpdateFeatureCollectionFeature

DeleteFeatureCollectionFeature

Deletes a(n) FeatureCollectionFeature.

Syntax
DeleteFeatureCollectionFeature($FeatureCollectionID, $FeatureID);
DeleteFeatureCollectionFeature($hFeatureCollectionFeature); # if $hFeatureCollectionFeature includes FeatureCollectionID, FeatureID
Input
$FeatureCollectionID (int)
feature collection id (part of primary key)
$FeatureID (int)
feature id (part of primary key)

ExistsFeatureCollectionFeature

Returns true if the FeatureCollectionFeature exists.

Syntax
$exists = ExistsFeatureCollectionFeature($FeatureCollectionID, $FeatureID);
Input
$FeatureCollectionID (int)
feature collection id
$FeatureID (int)
feature id
Return
$exists (boolean)
1/0 the FeatureCollectionFeature exists (yes/no)

GetAllInfoFeatureCollectionFeatures

Returns all objects of FeatureCollectionFeature.

Syntax
$ahFeatureCollectionFeatures = GetAllInfoFeatureCollectionFeatures();
Return
$ahFeatureCollectionFeatures (reference to array of hashes)
with following keys:
  • FeatureCollectionID - feature collection id (part of primary key)- int
  • FeatureID - feature id (part of primary key)- int
  • MaxValue - maximum allowed value - int
  • IsVisible - is visible at mbo - bit

GetAllPKeyFeatureCollectionFeatures

Returns all FeatureCollectionFeature identifiers.

Syntax
$ahFeatureCollectionFeatureIDs = GetAllPKeyFeatureCollectionFeatures();
Return
$ahFeatureCollectionFeatureIDs (reference to array of hashes)
with following keys:
  • FeatureCollectionID - feature collection id - int
  • FeatureID - feature id - int

GetInfoFeatureCollectionFeature

Returns the FeatureCollectionFeature by identifier.

Syntax
$hFeatureCollectionFeature = GetInfoFeatureCollectionFeature($FeatureCollectionID, $FeatureID);
Input
$FeatureCollectionID (int)
feature collection id (part of primary key)
$FeatureID (int)
feature id (part of primary key)
Return
$hFeatureCollectionFeature (reference to hash)
with following keys:
  • FeatureCollectionID - feature collection id (part of primary key)- int
  • FeatureID - feature id (part of primary key)- int
  • MaxValue - maximum allowed value - int
  • IsVisible - is visible at mbo - bit

GetInfoFeatureCollectionFeaturesByFeatureCollectionID

Returns objects of FeatureCollectionFeature by primary key element FeatureCollectionID.

Syntax
$ahFeatureCollectionFeatures = GetInfoFeatureCollectionFeaturesByFeatureCollectionID($FeatureCollectionID);
Input
$FeatureCollectionID (int)
feature collection id
Return
$ahFeatureCollectionFeatures (reference to array of hashes)
with following keys:
  • FeatureCollectionID - feature collection id (part of primary key)- int
  • FeatureID - feature id (part of primary key)- int
  • MaxValue - maximum allowed value - int
  • IsVisible - is visible at mbo - bit

GetInfoFeatureCollectionFeaturesByFeatureID

Returns objects of FeatureCollectionFeature by alternate key FeatureID.

Syntax
$ahFeatureCollectionFeatures = GetInfoFeatureCollectionFeaturesByFeatureID($FeatureID);
Input
$FeatureID (int)
feature id
Return
$ahFeatureCollectionFeatures (reference to array of hashes)
with following keys:
  • FeatureCollectionID - feature collection id (part of primary key)- int
  • FeatureID - feature id (part of primary key)- int
  • MaxValue - maximum allowed value - int
  • IsVisible - is visible at mbo - bit

GetPKeyFeatureCollectionFeaturesByFeatureCollectionID

Returns primary keys of FeatureCollectionFeature by primary key element FeatureCollectionID.

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

GetPKeyFeatureCollectionFeaturesByFeatureID

Returns primary keys of FeatureCollectionFeature by alternate key FeatureID.

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

InsertFeatureCollectionFeature

Creates an entry of FeatureCollectionFeature.

Syntax
InsertFeatureCollectionFeature($hFeatureCollectionFeature);
Input
$hFeatureCollectionFeature (reference to hash)
with following keys:
  • FeatureCollectionID - feature collection id (part of primary key)- int
  • FeatureID - feature id (part of primary key)- int
  • MaxValue - maximum allowed value - int
  • IsVisible - is visible at mbo - bit

OnDeleteFeatureRef

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

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

UpdateFeatureCollectionFeature

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

Syntax
UpdateFeatureCollectionFeature($FeatureCollectionID, $FeatureID, $hFeatureCollectionFeature);
UpdateFeatureCollectionFeature($hFeatureCollectionFeature); # if $hFeatureCollectionFeature includes FeatureCollectionID, FeatureID
Input
$FeatureCollectionID (int)
feature collection id (part of primary key)
$FeatureID (int)
feature id (part of primary key)
$hFeatureCollectionFeature (reference to hash)
with following keys:
  • MaxValue - maximum allowed value - int
  • IsVisible - is visible at mbo - bit
Return
1 (integer)
1