public class DefaultProductRAOProvider extends AbstractExpandedRAOProvider<ProductModel,ProductRAO>
RAO which allows customization of how and which product-based
RAOs will be created based on the defined options. Specializations of this class can overwrite the
#expandRAO(ProductRAO, Collection) method and define its own option strings.| Modifier and Type | Field and Description |
|---|---|
static String |
EXPAND_CATEGORIES |
static String |
INCLUDE_PRODUCT |
defaultOptions, minOptions, validOptions| Constructor and Description |
|---|
DefaultProductRAOProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected ProductRAO |
createRAO(ProductModel modelFact) |
protected Set<Object> |
expandRAOs(ProductModel modelFact,
Collection<String> options) |
protected Converter<ProductModel,ProductRAO> |
getProductRaoConverter() |
void |
setDefaultOptions(Collection<String> defaultOptions) |
void |
setMinOptions(Collection<String> minOptions) |
void |
setProductRaoConverter(Converter<ProductModel,ProductRAO> productRaoConverter) |
addExtraDefaultOptions, addExtraMinOptions, addExtraRAOFacts, addExtraValidOptions, addOptionConsumers, expandFactModel, expandFactModel, expandRAO, getConcurrentlySafeOptions, getConsumer, getConsumerMap, getDefaultOptions, getFactExtractorList, getFilteredOptions, getMinOptions, getValidOptions, populateRaoFactsExtractorConsumers, setConsumerMap, setFactExtractorListpublic static final String INCLUDE_PRODUCT
public static final String EXPAND_CATEGORIES
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in class AbstractExpandedRAOProvider<ProductModel,ProductRAO>Exceptionprotected Set<Object> expandRAOs(ProductModel modelFact, Collection<String> options)
protected ProductRAO createRAO(ProductModel modelFact)
createRAO in class AbstractExpandedRAOProvider<ProductModel,ProductRAO>public void setDefaultOptions(Collection<String> defaultOptions)
protected Converter<ProductModel,ProductRAO> getProductRaoConverter()
public void setProductRaoConverter(Converter<ProductModel,ProductRAO> productRaoConverter)
public void setMinOptions(Collection<String> minOptions)
Copyright © 2017 SAP SE. All Rights Reserved.