ePages 7.37.0 - DE_EPAGES/MultiStoreCommon/API/Table/ObjectUpdate.pm

Package DE_EPAGES::MultiStoreCommon::API::Table::ObjectUpdate

interface for table ObjectUpdate

@EXPORT_OK
GetInfoObjectUpdate
GetObjectUpdateByObjectPathShopID
DeleteObjectUpdateByShopIDObjectUpdateID
DeleteFromObjectUpdateByShopIDUpdateTime
DeleteFromObjectUpdateByShopIDObjectUpdateID

Functions

DeleteFromObjectUpdateByShopIDObjectUpdateID
DeleteFromObjectUpdateByShopIDUpdateTime
DeleteObjectUpdateByShopIDObjectUpdateID
GetInfoObjectUpdate
GetObjectUpdateByObjectPathShopID

DeleteFromObjectUpdateByShopIDObjectUpdateID

Deletes each record from table ObjectUpdate whose key appears in the 2nd param.

Syntax
DeleteFromObjectUpdateByShopIDObjectUpdateID($ShopID,$aObjectUpdateIDs);
Input
$ShopID (Integer)
shop id
$aObjectUpdateIDs (ref.array.int)
List of ObjectUpdateIDs

DeleteFromObjectUpdateByShopIDUpdateTime

Deletes each record from table ObjectUpdate which is older than days.

Syntax
DeleteFromObjectUpdateByShopIDUpdateTime($ShopID,$UpdateTime);
Input
$ShopID (Integer)
shop id
$UpdateTime (DateTime-String)
update time

DeleteObjectUpdateByShopIDObjectUpdateID

Deletes each record from table ObjectUpdate with specific shopid and object.

Syntax
DeleteObjectUpdateByShopIDObjectUpdateID($ShopID,$aObjectUpdateIDs);
Input
$ShopID (Integer)
shop id
$aObjectUpdateIDs (ref.array.int)
List of ObjectUpdateIDs

GetInfoObjectUpdate

Returns attributes and its values of each record of table ObjectUpdate as array of hashes within certains bounds. Bounds are the primary keys.

Syntax
my $ahInfo = GetInfoObjectUpdate($ShopID,$LB,$UB);
Input
$ShopID (Integer)
shop id
$LB (Integer)
lower bound in range of data records
$UB (Integer)
upper bound in range of data records
Return
$ahInfo (ref.array.hash)
list of object infos

GetObjectUpdateByObjectPathShopID

Get object updtae entries by path and shopID.

Syntax
GetObjectUpdateByObjectPathShopID($ObjectPath,$ShopID);
Input
$ObjectPath (String)
path of object
$ShopID (Integer)
shop id
Return
$ahObjectUpdates (ref.array.hash)
List of ObjectUpdates