@ProviderType
public interface CatalogGenerator
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
NN_CATALOG_SYNC_CONFIG  | 
static java.lang.String | 
NT_CATALOG_ACTION  | 
static java.lang.String | 
NT_CATALOG_SYNC_CONFIG  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
convertToEditablePage(Page pageProxy,
                     Page templatePage,
                     Product pimProduct)
Convert a product page proxy to a standard, editable page. 
 | 
Page | 
createCatalog(Page blueprint,
             java.lang.String destinationPath,
             java.lang.String name,
             java.lang.String title,
             java.lang.String... rolloutConfigPaths)
Create a product catalog from a catalog blueprint. 
 | 
void | 
executePageRolloutHooks(Page page,
                       boolean reset)
Perform the catalog rollout hooks for a given catalog page. 
 | 
void | 
executeProductRolloutHooks(Resource productComponent)
Perform the catalog rollout actions for a given product. 
 | 
java.util.List<java.lang.String> | 
getTargetPaths(Page section)
Return a list of target sections. 
 | 
void | 
rolloutChanges(Page master,
              Page target,
              boolean reset)
Roll-out any changes for a product catalog or product catalog section. 
 | 
void | 
updateProduct(Resource productComponent)
Update a slave product component to reflect all its master's variations, images, etc. 
 | 
void | 
updateProductAssets(Resource productResource)
Update slave product assets to reflect its master's assets. 
 | 
void | 
updateProductImage(Resource productResource)
Deprecated. 
 
since 6.1; use  
updateProductAssets(Resource productResource) instead. | 
void | 
updateProductImages(Resource productResource)
Deprecated. 
 
since 6.1; use  
updateProductAssets(Resource productResource) instead. | 
static final java.lang.String NT_CATALOG_ACTION
static final java.lang.String NT_CATALOG_SYNC_CONFIG
static final java.lang.String NN_CATALOG_SYNC_CONFIG
Page createCatalog(Page blueprint, java.lang.String destinationPath, java.lang.String name, java.lang.String title, java.lang.String... rolloutConfigPaths) throws WCMException, RepositoryException
blueprint - destinationPath - name - the node-name of the root pagetitle - the jcr:title of the root pagerolloutConfigPaths - a list of rollout configs to use for the template <-> page MSM relationshipsWCMExceptionRepositoryExceptionjava.util.List<java.lang.String> getTargetPaths(Page section)
section - the master section (in the catalog blueprint)List of paths to target sections created from the given mastervoid rolloutChanges(Page master, Page target, boolean reset) throws WCMException, RepositoryException
master - the catalog/section blueprint from which to perform the rollouttarget - the catalog/section page (generated from the blueprint) which should be updatedreset - true if overrides should be resetWCMExceptionRepositoryExceptionvoid convertToEditablePage(Page pageProxy, Page templatePage, Product pimProduct) throws WCMException, RepositoryException
pageProxy - the proxy page to be convertedtemplatePage - the template page reference to use for the editable pagepimProduct - the product reference to use for the editable pageWCMExceptionRepositoryExceptionvoid executePageRolloutHooks(Page page, boolean reset)
page - reset - void executeProductRolloutHooks(Resource productComponent)
productComponent - void updateProduct(Resource productComponent)
productComponent - @Deprecated void updateProductImage(Resource productResource)
updateProductAssets(Resource productResource) instead.productResource - @Deprecated void updateProductImages(Resource productResource)
updateProductAssets(Resource productResource) instead.productResource - void updateProductAssets(Resource productResource)
productResource - Copyright © 2010 - 2023 Adobe. All Rights Reserved