public class PagePreviewProductListProcessor extends Object implements ProductListProcessor
| Constructor and Description |
|---|
PagePreviewProductListProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected List<CometProduct> |
getChapterEntries(Chapter contextItem) |
protected CometProduct |
getCometChapter(Chapter chapter,
int counter) |
protected CometProduct |
getCometProduct(Page page,
int counter) |
String[] |
getMethods() |
protected List<CometProduct> |
getPageEntries(Page contextItem) |
protected List<CometProduct> |
getPublicationEntries(Publication contextItem) |
CometProduct[] |
process(Map<String,CometCondition> parameters)
Returns CometProduct array in answer for PagePreviewProductList SOAP method call
|
static void |
setCometProductNames(List<CometProduct> products,
String name)
Sets name attribute for all CometProduct in the given list
|
public static final String[] METHODS
public String[] getMethods()
getMethods in interface Processorpublic CometProduct[] process(Map<String,CometCondition> parameters) throws CometException
process in interface ProductListProcessorparameters - The call's parametersCometProduct arrayCometException - If an error occurs while processing the requestprotected List<CometProduct> getPageEntries(Page contextItem)
contextItem - protected List<CometProduct> getChapterEntries(Chapter contextItem)
contextItem - protected List<CometProduct> getPublicationEntries(Publication contextItem)
contextItem - protected CometProduct getCometProduct(Page page, int counter)
page - counter - protected CometProduct getCometChapter(Chapter chapter, int counter)
chapter - counter - public static void setCometProductNames(List<CometProduct> products, String name)
products - name - Copyright © 2017 SAP SE. All Rights Reserved.