Class AbstractCxSegmentStrategy
- java.lang.Object
-
- de.hybris.platform.personalizationintegration.strategies.impl.AbstractCxSegmentStrategy
-
- Direct Known Subclasses:
DefaultCxUpdateSegmentStrategy,DefaultCxUpdateUserSegmentStrategy
public abstract class AbstractCxSegmentStrategy extends java.lang.ObjectAbstract class that holds common operations for segment related strategies.
-
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurationServiceconfigurationService
-
Constructor Summary
Constructors Constructor Description AbstractCxSegmentStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddProviderPrefixAndSeparatorToSegments(java.lang.String providerId, java.util.List<? extends BaseSegmentData> segments)Adds prefixes to collection of given segments basing on configured properties.ConfigurationServicegetConfigurationService()voidsetConfigurationService(ConfigurationService configurationService)
-
-
-
Field Detail
-
configurationService
protected ConfigurationService configurationService
-
-
Method Detail
-
addProviderPrefixAndSeparatorToSegments
protected void addProviderPrefixAndSeparatorToSegments(java.lang.String providerId, java.util.List<? extends BaseSegmentData> segments)Adds prefixes to collection of given segments basing on configured properties.- Parameters:
providerId- provider ID that will be used to look for properties keysegments- segments collection to update segment codes
-
getConfigurationService
public ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-