public class CxPromotionsForCatalogQueryExecutor extends AbstractFlexibleSearchRestQueryExecutor<PromotionRuleListWsDTO,PromotionSourceRuleModel>
| Constructor and Description |
|---|
CxPromotionsForCatalogQueryExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createQuery(Map<String,String> params) |
protected Map<String,Object> |
createQueryParmas(Map<String,String> params) |
protected Set<RuleStatus> |
getStatusFromParams(Map<String,String> params) |
protected PromotionRuleListWsDTO |
readResults(SearchResult<PromotionSourceRuleModel> searchResult) |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setPromotionConverter(Converter<PromotionSourceRuleModel,PromotionRuleWsDTO> promotionConverter) |
protected boolean |
showAllPromotions() |
protected void |
validateInputParams(Map<String,String> params,
Errors errors) |
executeAfterValidation, getFlexibleSearchService, setFlexibleSearchServiceexecute, getLocalViewExecutor, setLocalViewExecutor, validate, validateMissingFieldprotected String createQuery(Map<String,String> params)
createQuery in class AbstractFlexibleSearchRestQueryExecutor<PromotionRuleListWsDTO,PromotionSourceRuleModel>protected Map<String,Object> createQueryParmas(Map<String,String> params)
createQueryParmas in class AbstractFlexibleSearchRestQueryExecutor<PromotionRuleListWsDTO,PromotionSourceRuleModel>protected Set<RuleStatus> getStatusFromParams(Map<String,String> params)
protected PromotionRuleListWsDTO readResults(SearchResult<PromotionSourceRuleModel> searchResult)
readResults in class AbstractFlexibleSearchRestQueryExecutor<PromotionRuleListWsDTO,PromotionSourceRuleModel>protected void validateInputParams(Map<String,String> params, Errors errors)
validateInputParams in class AbstractRestQueryExecutorprotected boolean showAllPromotions()
public void setPromotionConverter(Converter<PromotionSourceRuleModel,PromotionRuleWsDTO> promotionConverter)
public void setConfigurationService(ConfigurationService configurationService)
Copyright © 2017 SAP SE. All Rights Reserved.