Class DefaultCxCatalogService
- java.lang.Object
-
- de.hybris.platform.personalizationservices.service.impl.DefaultCxCatalogService
-
- All Implemented Interfaces:
CxCatalogService
- Direct Known Subclasses:
CxCmsCatalogService
public class DefaultCxCatalogService extends java.lang.Object implements CxCatalogService
Default implementation ofCxCatalogService. It uses set ofCxCatalogLookupStrategyto define configured catalog versions.
-
-
Constructor Summary
Constructors Constructor Description DefaultCxCatalogService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CatalogVersionModel>getConfiguredCatalogVersions()Returns list of catalog versions that should be used by personalization.protected java.util.List<CatalogVersionModel>getConfiguredCatalogVersions(CxCatalogLookupType type)protected CxConfigurationServicegetCxConfigurationService()protected CxCustomizationServicegetCxCustomizationService()protected org.apache.commons.collections4.MultiValuedMap<CxCatalogLookupType,CxCatalogLookupStrategy>getRegistry()booleanisPersonalizationInCatalog(CatalogVersionModel catalogVersion)Checks if given catalog version contains personalization components.voidsetCxCatalogLookupStrategies(java.util.List<CxCatalogLookupStrategy> strategies)voidsetCxConfigurationService(CxConfigurationService cxConfigurationService)voidsetCxCustomizationService(CxCustomizationService cxCustomizationService)
-
-
-
Method Detail
-
getConfiguredCatalogVersions
public java.util.List<CatalogVersionModel> 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
public boolean isPersonalizationInCatalog(CatalogVersionModel catalogVersion)
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
protected java.util.List<CatalogVersionModel> getConfiguredCatalogVersions(CxCatalogLookupType type)
-
setCxConfigurationService
public void setCxConfigurationService(CxConfigurationService cxConfigurationService)
-
setCxCustomizationService
public void setCxCustomizationService(CxCustomizationService cxCustomizationService)
-
setCxCatalogLookupStrategies
@Autowired public void setCxCatalogLookupStrategies(java.util.List<CxCatalogLookupStrategy> strategies)
-
getCxConfigurationService
protected CxConfigurationService getCxConfigurationService()
-
getCxCustomizationService
protected CxCustomizationService getCxCustomizationService()
-
getRegistry
protected org.apache.commons.collections4.MultiValuedMap<CxCatalogLookupType,CxCatalogLookupStrategy> getRegistry()
-
-