Component: /atg/commerce/catalog/custom/CatalogUpdateService

The CatalogUpdateService updates the same catalog properties that are updated by the dynamic service CatalogCompletionService, but in batch mode. Because the CatalogCompletionService can be disabled and may not be actively updating the catalog property values in real time, this service can be used to batch update them on an as-needed basis.

The CatalogUpdateService includes the following configurable properties:

Property

Description

includeDynamicChildren

This flag determines whether dynamic children should be calculated as part of processing.

maxItemsPerTransaction

Specifies how many items to include in each processing batch.

projectWorkflow

Identifies the workflow to use when creating a Content Administration project.

serviceFunctions

Sets the list of available functions. By default this includes on CUS_UPDATECATALOGS, which updates all item properties in the catalog.

catalogIds

Identifies the catalogs that should be updated.

The service can be run in a versioned Oracle ATG Web Commerce instance. If you use startSQLRepository to import catalog data, you can run this service immediately after the import to compute all properties, which can afterwards be maintained by CatalogCompletionService.

This service updates the following property values for each of the catalog item types.

Item Type

Property Names

Catalog

directAncestorCatalogsAndSelf
indirectAncestorCatalogs
ancestorCategories
allRootCategories
siteIds

Category

siteIds
computedCatalogs
parentCategoriesForCatalog

Catalog Folder

siteIds

Available Functions

CUS_UPDATECATALOGS: Updates all item properties in the catalog


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices