ePages 7.27.0 - DE_EPAGES/Shop/API/WebService/ChangeLogService.pm

Package DE_EPAGES::Shop::API::WebService::ChangeLogService

Provides search methods to get information about updated/deleted objects

Functions

findCreatedObjects
findDeletedObjects
findUpdatedObjects
new

findCreatedObjects

find objects (instances of $Class) which where created after given time

Syntax
$ChangeLogService->findCreatedObjects( $CreatedSince, $ClassName );
Input
$CreatedSince (datetime string)
date and time
$ClassName (string)
class name, for example 'Product'
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the info of created object
  • CreatedObjects | SOAP::Data list of creates
    • GUID - GUID of the created object - string
    • Path - Object Path - string
    | SOAP::Data
  • LatestCreate - Date and time of the latest creation of an object - date string

findDeletedObjects

find objects (instances of $Class) which where deleted since given time

Syntax
$ChangeLogService->findDeletedObjects( $DeletedSince, $ClassName );
Input
$DeletedSince (datetime string)
date and time
$ClassName (string)
class name, for example 'Product'
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the info of deleted object
  • DeletedObjects | SOAP::Data list of deleted objects
    • GUID - GUID of the deleted object - string
    • Path - Object Path - string
    | SOAP::Data
  • LatestDelete - Date and time of the latest deletion of any object - date string

findUpdatedObjects

find objects (instances of $Class) which where updated since given time related to a predefined profile (including created object relatd to this profile)

Syntax
$ChangeLogService->findUpdatedObjects( $UpdatedSince, $ClassName, $ProfileName );
Input
$UpdatedSince (datetime string)
date and time
$ClassName (string)
class name, for example 'Product'
$ProfileName (string)
profile name, for example 'Prices'
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the info of updated object
  • UpdatedObjects | SOAP::Data list of updates
    • GUID - GUID of the updated object - string
    • Path - Object Path - string
    | SOAP::Data
  • LatestUpdate - Date and time of the latest update on an object - date string

new

Creates a new web service object as a blessed hash reference and adds the values from the %Options hash.

Syntax
$Service = DE_EPAGES::Shop::API::WebService::PageCacheService->new( %Options );
Input
%Options (hash)
user-defined values
Return
$Service (object)
web service object