STATE - public class DefaultCsCommerceSearchService<STATE> extends AbstractCsSearchService<ProductModel,FacetSearchPageData<STATE,SearchResultValueData>> implements CsFacetSearchService<DefaultCsTextFacetSearchCommand,ProductModel>
AbstractService.SerializableDTO| Modifier and Type | Field and Description |
|---|---|
static String |
SEARCH_RESULT_VALUE_DATA_PRODUCT_CODE |
modelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultCsCommerceSearchService() |
createResultMetaData, getPostSearchMetaProcessors, populateMetaData, setPostSearchMetaProcessorsgetModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic static final String SEARCH_RESULT_VALUE_DATA_PRODUCT_CODE
public <any> getProductSearchService()
public void setProductSearchService(<any> productSearchService)
protected BaseSiteService getBaseSiteService()
public void setBaseSiteService(BaseSiteService baseSiteService)
protected TypeService getTypeService()
public void setTypeService(TypeService typeService)
public ProductService getProductService()
public void setProductService(ProductService productService)
protected ImpersonationService getImpersonationService()
public void setImpersonationService(ImpersonationService impersonationService)
public CatalogVersionService getCatalogVersionService()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
public CsFacetSearchResult<DefaultCsTextFacetSearchCommand,ProductModel> search(DefaultCsTextFacetSearchCommand command, Pageable pageable) throws SearchException
CsFacetSearchServicesearch in interface CsFacetSearchService<DefaultCsTextFacetSearchCommand,ProductModel>search in interface CsSearchService<DefaultCsTextFacetSearchCommand,ProductModel>command - the search commandpageable - the paging and sorting optionsSearchException - thrown on errorprotected DefaultCsCommerceSearchFacetValue<STATE> getFacetToApply(DefaultCsTextFacetSearchCommand command)
protected Set<CsSearchFacet> getAvailableFacets(FacetSearchPageData<STATE,SearchResultValueData> facetSearchPageData, Set<CsSearchFacetValue> ignoreFacetValues)
protected void populateAppliedFacetValues(DefaultCsTextFacetSearchCommand command, FacetSearchPageData<STATE,SearchResultValueData> productSearchPageData)
protected DefaultCsCommerceSearchFacetValue<STATE> createAppliedFacetValue(BreadcrumbData<STATE> breadcrumbData)
protected <R,T extends Throwable> R executeInContext(ImpersonationContext context, <any> wrapper) throws T extends Throwable
T extends Throwableprotected PageableData createPageableData()
Copyright © 2017 SAP SE. All Rights Reserved.