Package DE_EPAGES::RemoteSearch::API::Batch
High level Batch API used by scripts from the RemoteSearch cartridge
Base |
Exporter |
@EXPORT_OK |
Functions
- BatchDeleteProduct
- BatchUpdateCategoryProductMap
- BatchUpdateProduct
- BatchUpdateProductType
- GetBatchUpdateHandlerPackage
- IsScheduleMode
- RegisterUpdateHandler
BATCH_CONTEXTS (array.string)
batch contexts relevant for communicating product updates
BatchDeleteProduct
Batches a product delete call
Syntax |
BatchDeleteProduct($Product); |
Input |
|
BatchUpdateCategoryProductMap
Batches a category product map update call
Syntax |
BatchUpdateCategoryProductMap($Product); |
Input |
|
BatchUpdateProduct
Batches a product update call
Syntax |
BatchUpdateProduct($Product); |
Input |
|
BatchUpdateProductType
Batch update call for ProductType attributes.
Syntax |
BatchUpdateProductType( $ProductType ) |
Input |
|
GetBatchUpdateHandlerPackage
Returns BatchUpdateHandler package name, usable in DE_EPAGES::Trigger::API::BatchProcessor::HandleItem. The selected BatchProcessor depends on value returned by IsScheduleMode
Syntax |
my $HandlerPackage = GetBatchUpdateHandlerPackage(); |
Return |
|
IsScheduleMode
Check if RemoteSearch configured to react on hook events.
Syntax |
my $RunInScheduleMode = IsScheduleMode(); |
Return |
|
RegisterUpdateHandler
Register ProductBatchProcessHandler which used by every HandleItem call.
see DE_EPAGES::RemoteSearch::API::Object::ProductBatchProcessHandler
Syntax |
RegisterUpdateHandler($Context); |
Input |
|