ePages 6.10 - DE_EPAGES/Shop/API/Table/ShopChildOrder.pm

Package DE_EPAGES::Shop::API::Table::ShopChildOrder

interface for table ShopChildOrder

@EXPORT_OK
NextShopChildID
InsertShopChildOrder
UpdateShopChildOrder
DeleteShopChildOrder
GetAllPKeyShopChildOrders
GetAllInfoShopChildOrders
GetInfoShopChildOrder
ExistsShopChildOrder
GetPKeyShopChildOrderByShopChildAlias
GetInfoShopChildOrderByShopChildAlias
ExistsShopChildOrderByShopChildAlias
GetPKeyShopChildOrdersByShopChildAlias
GetInfoShopChildOrdersByShopChildAlias
GetPKeyShopChildOrderBySuccessorID
GetInfoShopChildOrderBySuccessorID
ExistsShopChildOrderBySuccessorID
GetPKeyShopChildOrdersBySuccessorID
GetInfoShopChildOrdersBySuccessorID

Functions

DeleteShopChildOrder
ExistsShopChildOrder
ExistsShopChildOrderByShopChildAlias
ExistsShopChildOrderBySuccessorID
GetAllInfoShopChildOrders
GetAllPKeyShopChildOrders
GetInfoShopChildOrder
GetInfoShopChildOrderByShopChildAlias
GetInfoShopChildOrderBySuccessorID
GetInfoShopChildOrdersByShopChildAlias
GetInfoShopChildOrdersBySuccessorID
GetPKeyShopChildOrderByShopChildAlias
GetPKeyShopChildOrderBySuccessorID
GetPKeyShopChildOrdersByShopChildAlias
GetPKeyShopChildOrdersBySuccessorID
InsertShopChildOrder
NextShopChildID
UpdateShopChildOrder

DeleteShopChildOrder

Deletes a(n) ShopChildOrder.

Syntax
DeleteShopChildOrder($ShopChildID);
DeleteShopChildOrder($hShopChildOrder); # if $hShopChildOrder includes ShopChildID
Input
$ShopChildID (integer)
id of shopchild (primary key)

ExistsShopChildOrder

Returns true if the ShopChildOrder exists.

Syntax
$exists = ExistsShopChildOrder($ShopChildID);
Input
$ShopChildID (integer)
id of shopchild
Return
$exists (boolean)
1/0 the ShopChildOrder exists (yes/no)

ExistsShopChildOrderByShopChildAlias

Returns true if a ShopChildOrder by alternate key ShopChildAlias exists.

Syntax
$ShopChildID = ExistsShopChildOrderByShopChildAlias($ShopChildAlias);
Input
$ShopChildAlias (varchar(255))
alias of shopchild
Return
$exists (boolean)
1/0 the i_shopchildorder_alias exists (yes/no)

ExistsShopChildOrderBySuccessorID

Returns true if a ShopChildOrder by alternate key SuccessorID exists.

Syntax
$ShopChildID = ExistsShopChildOrderBySuccessorID($SuccessorID);
Input
$SuccessorID (integer)
shopchildid of successor in order list
Return
$exists (boolean)
1/0 the i_shopchildorder_successor exists (yes/no)

GetAllInfoShopChildOrders

Returns all objects of ShopChildOrder.

Syntax
$ahShopChildOrders = GetAllInfoShopChildOrders();
Return
$ahShopChildOrders (reference to array of hashes)
with following keys:
  • ShopChildID - id of shopchild (primary key)- integer
  • ShopChildAlias - alias of shopchild - varchar(255)
  • SuccessorID - shopchildid of successor in order list (optional)- integer

GetAllPKeyShopChildOrders

Returns all ShopChildOrder identifiers.

Syntax
$aShopChildOrderIDs = GetAllPKeyShopChildOrders();
Return
$aShopChildOrderIDs (reference to array of integer)
id of shopchild

GetInfoShopChildOrder

Returns the ShopChildOrder by identifier.

Syntax
$hShopChildOrder = GetInfoShopChildOrder($ShopChildID);
Input
$ShopChildID (integer)
id of shopchild (primary key)
Return
$hShopChildOrder (reference to hash)
with following keys:
  • ShopChildID - id of shopchild (primary key)- integer
  • ShopChildAlias - alias of shopchild - varchar(255)
  • SuccessorID - shopchildid of successor in order list (optional)- integer

GetInfoShopChildOrderByShopChildAlias

Returns the object of ShopChildOrder by alternate key ShopChildAlias.

Syntax
$hShopChildOrder = GetInfoShopChildOrderByShopChildAlias($ShopChildAlias);
Input
$ShopChildAlias (varchar(255))
alias of shopchild
Return
$hShopChildOrder (reference to hash)
with following keys:
  • ShopChildID - id of shopchild (primary key)- integer
  • ShopChildAlias - alias of shopchild - varchar(255)
  • SuccessorID - shopchildid of successor in order list (optional)- integer

GetInfoShopChildOrderBySuccessorID

Returns the object of ShopChildOrder by alternate key SuccessorID.

Syntax
$hShopChildOrder = GetInfoShopChildOrderBySuccessorID($SuccessorID);
Input
$SuccessorID (integer)
shopchildid of successor in order list (optional)
Return
$hShopChildOrder (reference to hash)
with following keys:
  • ShopChildID - id of shopchild (primary key)- integer
  • ShopChildAlias - alias of shopchild - varchar(255)
  • SuccessorID - shopchildid of successor in order list (optional)- integer

GetInfoShopChildOrdersByShopChildAlias

Returns objects of ShopChildOrder by alternate key ShopChildAlias.

Syntax
$ahShopChildOrders = GetInfoShopChildOrdersByShopChildAlias($ShopChildAlias);
Input
$ShopChildAlias (varchar(255))
alias of shopchild
Return
$ahShopChildOrders (reference to array of hashes)
with following keys:
  • ShopChildID - id of shopchild (primary key)- integer
  • ShopChildAlias - alias of shopchild - varchar(255)
  • SuccessorID - shopchildid of successor in order list (optional)- integer

GetInfoShopChildOrdersBySuccessorID

Returns objects of ShopChildOrder by alternate key SuccessorID.

Syntax
$ahShopChildOrders = GetInfoShopChildOrdersBySuccessorID($SuccessorID);
Input
$SuccessorID (integer)
shopchildid of successor in order list
Return
$ahShopChildOrders (reference to array of hashes)
with following keys:
  • ShopChildID - id of shopchild (primary key)- integer
  • ShopChildAlias - alias of shopchild - varchar(255)
  • SuccessorID - shopchildid of successor in order list (optional)- integer

GetPKeyShopChildOrderByShopChildAlias

Returns primary key of ShopChildOrder by alternate key ShopChildAlias.

Syntax
$ShopChildID = GetPKeyShopChildOrderByShopChildAlias($ShopChildAlias);
Input
$ShopChildAlias (varchar(255))
alias of shopchild
Return
$ShopChildID (integer)
id of shopchild (primary key)

GetPKeyShopChildOrderBySuccessorID

Returns primary key of ShopChildOrder by alternate key SuccessorID.

Syntax
$ShopChildID = GetPKeyShopChildOrderBySuccessorID($SuccessorID);
Input
$SuccessorID (integer)
shopchildid of successor in order list
Return
$ShopChildID (integer)
id of shopchild (primary key)

GetPKeyShopChildOrdersByShopChildAlias

Returns primary keys of ShopChildOrder by alternate key ShopChildAlias.

Syntax
$aKeys = GetPKeyShopChildOrdersByShopChildAlias($ShopChildAlias);
Input
$ShopChildAlias (varchar(255))
alias of shopchild
Return
$aKeys (reference to array of integer)
id of shopchild (primary key)

GetPKeyShopChildOrdersBySuccessorID

Returns primary keys of ShopChildOrder by alternate key SuccessorID.

Syntax
$aKeys = GetPKeyShopChildOrdersBySuccessorID($SuccessorID);
Input
$SuccessorID (integer)
shopchildid of successor in order list
Return
$aKeys (reference to array of integer)
id of shopchild (primary key)

InsertShopChildOrder

Creates an entry of ShopChildOrder.

Syntax
InsertShopChildOrder($hShopChildOrder);
Input
$hShopChildOrder (reference to hash)
with following keys:
  • ShopChildID - id of shopchild (primary key)- integer
  • ShopChildAlias - alias of shopchild - varchar(255)
  • SuccessorID - shopchildid of successor in order list (optional)- integer

NextShopChildID

return next shopchild id from order list

Syntax
my $NewShopChildID = NextShopChildID();

UpdateShopChildOrder

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

Syntax
UpdateShopChildOrder($ShopChildID, $hShopChildOrder);
UpdateShopChildOrder($hShopChildOrder); # if $hShopChildOrder includes ShopChildID
Input
$ShopChildID (integer)
id of shopchild (primary key)
$hShopChildOrder (reference to hash)
with following keys:
  • ShopChildAlias - alias of shopchild - varchar(255)
  • SuccessorID - shopchildid of successor in order list (optional)- integer