@ProviderType
public interface PrintService
| Modifier and Type | Method and Description |
|---|---|
Asset |
createCatalog(java.lang.String name,
java.util.List<Asset> pages,
Resource parent)
Creates a brochure using multiple assets
|
Asset |
createCatalog(java.lang.String name,
java.util.List<Asset> pages,
java.lang.String mergedType,
Resource parent)
Creates a brochure using multiple assets
|
Job |
createExportJob(Asset master,
java.util.List<PrintFormat> formats)
Creates a sling job for exporting pdf and indd rendition of asset if the print rendition exists
|
Job |
createExportPagesJob(Asset master)
Creates a sling job for exporting jpg renditions of pages of template if the print rendition exists
|
java.util.List<Asset> |
createPages(java.util.List<java.lang.String> products,
Asset master,
Resource parent)
Creates multiple assets corresponding to products using master asset
|
Job createExportJob(Asset master, java.util.List<PrintFormat> formats) throws PersistenceException
master - asset for which print mapping is already defined as a renditionformats - list of export formatsPersistenceException - - If there's an error persisting the jobJob createExportPagesJob(Asset master) throws PersistenceException
master - asset for which print mapping is not yet definedPersistenceException - - If there's an error persisting the jobjava.util.List<Asset> createPages(java.util.List<java.lang.String> products, Asset master, Resource parent) throws PersistenceException
products - list of paths for commerce productsmaster - asset for which print mapping is already defined as a renditionparent - parent resource where new assets are to be createdPersistenceException - - If there's an error persisting the pageAsset createCatalog(java.lang.String name, java.util.List<Asset> pages, java.lang.String mergedType, Resource parent) throws PersistenceException
name - name of the pagepages - ordered list of assets to be part of brochureparent - parent resource where new assets are to be createdmergedType - Template or Catalog ?PersistenceException - - If there's an error persisting the catalogAsset createCatalog(java.lang.String name, java.util.List<Asset> pages, Resource parent) throws PersistenceException
name - name of the catalogpages - ordered list of assets to be part of brochureparent - parent resource where new assets are to be createdPersistenceException - - If there's an error persisting the catalogCopyright © 2010 - 2023 Adobe. All Rights Reserved