ePages 6.10 - DE_EPAGES/Ebay/API/Table/EbayCall.pm

Package DE_EPAGES::Ebay::API::Table::EbayCall

interface for table EbayCall

@EXPORT_OK
InsertEbayCall
UpdateEbayCall
DeleteEbayCall
GetAllPKeyEbayCalls
GetAllInfoEbayCalls
GetInfoEbayCall
ExistsEbayCall
GetPKeyEbayCallsByEbayEnvironmentID
GetInfoEbayCallsByEbayEnvironmentID
GetPKeyEbayCallsByEbayCallTypeID
GetInfoEbayCallsByEbayCallTypeID
GetPKeyEbayCallsByShopID
GetInfoEbayCallsByShopID

Functions

DeleteEbayCall
ExistsEbayCall
GetAllInfoEbayCalls
GetAllPKeyEbayCalls
GetInfoEbayCall
GetInfoEbayCallsByEbayCallTypeID
GetInfoEbayCallsByEbayEnvironmentID
GetInfoEbayCallsByShopID
GetPKeyEbayCallsByEbayCallTypeID
GetPKeyEbayCallsByEbayEnvironmentID
GetPKeyEbayCallsByShopID
InsertEbayCall
OnDeleteShop
UpdateEbayCall

DeleteEbayCall

Deletes a(n) EbayCall.

Syntax
DeleteEbayCall($EbayCallID);
DeleteEbayCall($hEbayCall); # if $hEbayCall includes EbayCallID
Input
$EbayCallID (int)
id of call (primary key)

ExistsEbayCall

Returns true if the EbayCall exists.

Syntax
$exists = ExistsEbayCall($EbayCallID);
Input
$EbayCallID (int)
id of call
Return
$exists (boolean)
1/0 the EbayCall exists (yes/no)

GetAllInfoEbayCalls

Returns all objects of EbayCall.

Syntax
$ahEbayCalls = GetAllInfoEbayCalls();
Return
$ahEbayCalls (reference to array of hashes)
with following keys:
  • EbayCallID - id of call (primary key)- int
  • EbayCallTypeID - id of call type - int
  • EbayEnvironmentID - object id of environment (optional)- int
  • ShopID - shop id (optional)- int
  • Date - date of call - datetime

GetAllPKeyEbayCalls

Returns all EbayCall identifiers.

Syntax
$aEbayCallIDs = GetAllPKeyEbayCalls();
Return
$aEbayCallIDs (reference to array of int)
id of call

GetInfoEbayCall

Returns the EbayCall by identifier.

Syntax
$hEbayCall = GetInfoEbayCall($EbayCallID);
Input
$EbayCallID (int)
id of call (primary key)
Return
$hEbayCall (reference to hash)
with following keys:
  • EbayCallID - id of call (primary key)- int
  • EbayCallTypeID - id of call type - int
  • EbayEnvironmentID - object id of environment (optional)- int
  • ShopID - shop id (optional)- int
  • Date - date of call - datetime

GetInfoEbayCallsByEbayCallTypeID

Returns objects of EbayCall by alternate key EbayCallTypeID.

Syntax
$ahEbayCalls = GetInfoEbayCallsByEbayCallTypeID($EbayCallTypeID);
Input
$EbayCallTypeID (int)
id of call type
Return
$ahEbayCalls (reference to array of hashes)
with following keys:
  • EbayCallID - id of call (primary key)- int
  • EbayCallTypeID - id of call type - int
  • EbayEnvironmentID - object id of environment (optional)- int
  • ShopID - shop id (optional)- int
  • Date - date of call - datetime

GetInfoEbayCallsByEbayEnvironmentID

Returns objects of EbayCall by alternate key EbayEnvironmentID.

Syntax
$ahEbayCalls = GetInfoEbayCallsByEbayEnvironmentID($EbayEnvironmentID);
Input
$EbayEnvironmentID (int)
object id of environment
Return
$ahEbayCalls (reference to array of hashes)
with following keys:
  • EbayCallID - id of call (primary key)- int
  • EbayCallTypeID - id of call type - int
  • EbayEnvironmentID - object id of environment (optional)- int
  • ShopID - shop id (optional)- int
  • Date - date of call - datetime

GetInfoEbayCallsByShopID

Returns objects of EbayCall by alternate key ShopID.

Syntax
$ahEbayCalls = GetInfoEbayCallsByShopID($ShopID);
Input
$ShopID (int)
shop id
Return
$ahEbayCalls (reference to array of hashes)
with following keys:
  • EbayCallID - id of call (primary key)- int
  • EbayCallTypeID - id of call type - int
  • EbayEnvironmentID - object id of environment (optional)- int
  • ShopID - shop id (optional)- int
  • Date - date of call - datetime

GetPKeyEbayCallsByEbayCallTypeID

Returns primary keys of EbayCall by alternate key EbayCallTypeID.

Syntax
$aKeys = GetPKeyEbayCallsByEbayCallTypeID($EbayCallTypeID);
Input
$EbayCallTypeID (int)
id of call type
Return
$aKeys (reference to array of int)
id of call (primary key)

GetPKeyEbayCallsByEbayEnvironmentID

Returns primary keys of EbayCall by alternate key EbayEnvironmentID.

Syntax
$aKeys = GetPKeyEbayCallsByEbayEnvironmentID($EbayEnvironmentID);
Input
$EbayEnvironmentID (int)
object id of environment
Return
$aKeys (reference to array of int)
id of call (primary key)

GetPKeyEbayCallsByShopID

Returns primary keys of EbayCall by alternate key ShopID.

Syntax
$aKeys = GetPKeyEbayCallsByShopID($ShopID);
Input
$ShopID (int)
shop id
Return
$aKeys (reference to array of int)
id of call (primary key)

InsertEbayCall

Creates an entry of EbayCall.

Syntax
$EbayCallID = InsertEbayCall($hEbayCall);
Input
$hEbayCall (reference to hash)
with following keys:
  • EbayCallID - id of call (primary key)(optional)- int
  • EbayCallTypeID - id of call type - int
  • EbayEnvironmentID - object id of environment (optional)- int
  • ShopID - shop id (optional)- int
  • Date - date of call (optional)- datetime
Return
$EbayCallID (int)
id of call (primary key)

OnDeleteShop

Deletes EbayCall of this model when a(n) Shop is deleted.

Syntax
OnDeleteShop($hParams);
Input
$hParams (ref.hash.*)
primary key of object Shop, key is
  • ShopID

UpdateEbayCall

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

Syntax
UpdateEbayCall($EbayCallID, $hEbayCall);
UpdateEbayCall($hEbayCall); # if $hEbayCall includes EbayCallID
Input
$EbayCallID (int)
id of call (primary key)
$hEbayCall (reference to hash)
with following keys:
  • EbayCallTypeID - id of call type - int
  • EbayEnvironmentID - object id of environment (optional)- int
  • ShopID - shop id (optional)- int
  • Date - date of call - datetime