Class DefaultCxCatalogService
java.lang.Object
de.hybris.platform.personalizationservices.service.impl.DefaultCxCatalogService
- All Implemented Interfaces:
CxCatalogService
- Direct Known Subclasses:
CxCmsCatalogService
Default implementation of
CxCatalogService. It uses set of CxCatalogLookupStrategy to define
configured catalog versions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns list of catalog versions that should be used by personalization.protected List<CatalogVersionModel>protected CxConfigurationServiceprotected CxCustomizationServiceprotected org.apache.commons.collections4.MultiValuedMap<CxCatalogLookupType,CxCatalogLookupStrategy> booleanisPersonalizationInCatalog(CatalogVersionModel catalogVersion) Checks if given catalog version contains personalization components.voidsetCxCatalogLookupStrategies(List<CxCatalogLookupStrategy> strategies) voidsetCxConfigurationService(CxConfigurationService cxConfigurationService) voidsetCxCustomizationService(CxCustomizationService cxCustomizationService)
-
Constructor Details
-
DefaultCxCatalogService
public DefaultCxCatalogService()
-
-
Method Details
-
getConfiguredCatalogVersions
Description copied from interface:CxCatalogServiceReturns list of catalog versions that should be used by personalization.- Specified by:
getConfiguredCatalogVersionsin interfaceCxCatalogService- Returns:
- list of catalog versions
-
isPersonalizationInCatalog
Description copied from interface:CxCatalogServiceChecks if given catalog version contains personalization components.- Specified by:
isPersonalizationInCatalogin interfaceCxCatalogService- Parameters:
catalogVersion- to check- Returns:
- true if given catalog version contains personalization components
-
getConfiguredCatalogVersions
-
setCxConfigurationService
-
setCxCustomizationService
-
setCxCatalogLookupStrategies
-
getCxConfigurationService
-
getCxCustomizationService
-
getRegistry
protected org.apache.commons.collections4.MultiValuedMap<CxCatalogLookupType,CxCatalogLookupStrategy> getRegistry()
-