ePages 6.11.0 - DE_EPAGES/Product/API/Table/LineItemProductMaxDownload.pm

Package DE_EPAGES::Product::API::Table::LineItemProductMaxDownload

interface for table LineItemProductMaxDownload

@EXPORT_OK
InsertLineItemProductMaxDownload
UpdateLineItemProductMaxDownload
DeleteLineItemProductMaxDownload
GetAllPKeyLineItemProductMaxDownloads
GetAllInfoLineItemProductMaxDownloads
GetInfoLineItemProductMaxDownload
ExistsLineItemProductMaxDownload
GetPKeyLineItemProductMaxDownloadsByLineItemProductID
GetInfoLineItemProductMaxDownloadsByLineItemProductID
GetPKeyLineItemProductMaxDownloadsByDownloadProductMapID
GetInfoLineItemProductMaxDownloadsByDownloadProductMapID

Functions

DeleteLineItemProductMaxDownload
ExistsLineItemProductMaxDownload
GetAllInfoLineItemProductMaxDownloads
GetAllPKeyLineItemProductMaxDownloads
GetInfoLineItemProductMaxDownload
GetInfoLineItemProductMaxDownloadsByDownloadProductMapID
GetInfoLineItemProductMaxDownloadsByLineItemProductID
GetPKeyLineItemProductMaxDownloadsByDownloadProductMapID
GetPKeyLineItemProductMaxDownloadsByLineItemProductID
InsertLineItemProductMaxDownload
OnDeleteDownloadProductMap
UpdateLineItemProductMaxDownload

DeleteLineItemProductMaxDownload

Deletes a(n) LineItemProductMaxDownload.

Syntax
DeleteLineItemProductMaxDownload($LineItemProductID, $DownloadProductMapID);
DeleteLineItemProductMaxDownload($hLineItemProductMaxDownload);
# if $hLineItemProductMaxDownload includes LineItemProductID, DownloadProductMapID
Input
$LineItemProductID (int)
line item product id (part of primary key)
$DownloadProductMapID (int)
download product map identifier (part of primary key)

ExistsLineItemProductMaxDownload

Returns true if the LineItemProductMaxDownload exists.

Syntax
$exists = ExistsLineItemProductMaxDownload($LineItemProductID, $DownloadProductMapID);
Input
$LineItemProductID (int)
line item product id
$DownloadProductMapID (int)
download product map identifier
Return
$exists (boolean)
1/0 the LineItemProductMaxDownload exists (yes/no)

GetAllInfoLineItemProductMaxDownloads

Returns all objects of LineItemProductMaxDownload.

Syntax
$ahLineItemProductMaxDownloads = GetAllInfoLineItemProductMaxDownloads();
Return
$ahLineItemProductMaxDownloads (reference to array of hashes)
with following keys:
  • LineItemProductID - line item product id (part of primary key)- int
  • DownloadProductMapID - download product map identifier (part of primary key)- int
  • Counter - Count how often each file can be downloaded. - int

GetAllPKeyLineItemProductMaxDownloads

Returns all LineItemProductMaxDownload identifiers.

Syntax
$ahLineItemProductMaxDownloadIDs = GetAllPKeyLineItemProductMaxDownloads();
Return
$ahLineItemProductMaxDownloadIDs (reference to array of hashes)
with following keys:
  • LineItemProductID - line item product id - int
  • DownloadProductMapID - download product map identifier - int

GetInfoLineItemProductMaxDownload

Returns the LineItemProductMaxDownload by identifier.

Syntax
$hLineItemProductMaxDownload = GetInfoLineItemProductMaxDownload($LineItemProductID, $DownloadProductMapID);
Input
$LineItemProductID (int)
line item product id (part of primary key)
$DownloadProductMapID (int)
download product map identifier (part of primary key)
Return
$hLineItemProductMaxDownload (reference to hash)
with following keys:
  • LineItemProductID - line item product id (part of primary key)- int
  • DownloadProductMapID - download product map identifier (part of primary key)- int
  • Counter - Count how often each file can be downloaded. - int

GetInfoLineItemProductMaxDownloadsByDownloadProductMapID

Returns objects of LineItemProductMaxDownload by alternate key DownloadProductMapID.

Syntax
$ahLineItemProductMaxDownloads = GetInfoLineItemProductMaxDownloadsByDownloadProductMapID($DownloadProductMapID);
Input
$DownloadProductMapID (int)
download product map identifier
Return
$ahLineItemProductMaxDownloads (reference to array of hashes)
with following keys:
  • LineItemProductID - line item product id (part of primary key)- int
  • DownloadProductMapID - download product map identifier (part of primary key)- int
  • Counter - Count how often each file can be downloaded. - int

GetInfoLineItemProductMaxDownloadsByLineItemProductID

Returns objects of LineItemProductMaxDownload by primary key element LineItemProductID.

Syntax
$ahLineItemProductMaxDownloads = GetInfoLineItemProductMaxDownloadsByLineItemProductID($LineItemProductID);
Input
$LineItemProductID (int)
line item product id
Return
$ahLineItemProductMaxDownloads (reference to array of hashes)
with following keys:
  • LineItemProductID - line item product id (part of primary key)- int
  • DownloadProductMapID - download product map identifier (part of primary key)- int
  • Counter - Count how often each file can be downloaded. - int

GetPKeyLineItemProductMaxDownloadsByDownloadProductMapID

Returns primary keys of LineItemProductMaxDownload by alternate key DownloadProductMapID.

Syntax
$ahKeys = GetPKeyLineItemProductMaxDownloadsByDownloadProductMapID($DownloadProductMapID);
Input
$DownloadProductMapID (int)
download product map identifier
Return
$ahKeys (reference to array of hashes)
with following keys:
  • LineItemProductID - line item product id - int
  • DownloadProductMapID - download product map identifier - int

GetPKeyLineItemProductMaxDownloadsByLineItemProductID

Returns primary keys of LineItemProductMaxDownload by primary key element LineItemProductID.

Syntax
$ahKeys = GetPKeyLineItemProductMaxDownloadsByLineItemProductID($LineItemProductID);
Input
$LineItemProductID (int)
line item product id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • LineItemProductID - line item product id - int
  • DownloadProductMapID - download product map identifier - int

InsertLineItemProductMaxDownload

Creates an entry of LineItemProductMaxDownload.

Syntax
InsertLineItemProductMaxDownload($hLineItemProductMaxDownload);
Input
$hLineItemProductMaxDownload (reference to hash)
with following keys:
  • LineItemProductID - line item product id (part of primary key)- int
  • DownloadProductMapID - download product map identifier (part of primary key)- int
  • Counter - Count how often each file can be downloaded. - int

OnDeleteDownloadProductMap

Deletes LineItemProductMaxDownload of this model when a(n) DownloadProductMap is deleted.

Syntax
OnDeleteDownloadProductMap($hParams);
Input
$hParams (ref.hash.*)
primary key of object DownloadProductMap, key is
  • DownloadProductMapID

UpdateLineItemProductMaxDownload

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

Syntax
UpdateLineItemProductMaxDownload($LineItemProductID, $DownloadProductMapID, $hLineItemProductMaxDownload);
UpdateLineItemProductMaxDownload($hLineItemProductMaxDownload);
# if $hLineItemProductMaxDownload includes LineItemProductID, DownloadProductMapID
Input
$LineItemProductID (int)
line item product id (part of primary key)
$DownloadProductMapID (int)
download product map identifier (part of primary key)
$hLineItemProductMaxDownload (reference to hash)
with following keys:
  • Counter - Count how often each file can be downloaded. - int