Class AbstractAffinityMapper<T extends Affinity>
- java.lang.Object
-
- de.hybris.platform.personalizationyprofile.mapper.impl.AbstractBaseMapper
-
- de.hybris.platform.personalizationyprofile.mapper.impl.AbstractAffinityMapper<T>
-
- All Implemented Interfaces:
Populator<Profile,MappingData>,CxConsumptionLayerProfileMapper
- Direct Known Subclasses:
CxCategoryConsumptionLayerMapper,CxLocationConsumptionLayerMapper,CxProductConsumptionLayerMapper
@Deprecated(since="2011", forRemoval=true) public abstract class AbstractAffinityMapper<T extends Affinity> extends AbstractBaseMapperDeprecated, for removal: This API element is subject to removal in a future version.since 2011, Profile structure has changed and code is no longer valid.
-
-
Constructor Summary
Constructors Constructor Description AbstractAffinityMapper()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected SegmentMappingDatacreateSegmentMapping(java.lang.String affinityKey, T affinity)Deprecated, for removal: This API element is subject to removal in a future version.protected java.util.List<SegmentMappingData>createSegmentMappingList(java.util.Map<java.lang.String,T> affinityMap)Deprecated, for removal: This API element is subject to removal in a future version.protected abstract java.util.Optional<java.util.Map<java.lang.String,T>>getAffinityMap(Profile profile)Deprecated, for removal: This API element is subject to removal in a future version.protected CxConsumptionLayerAffinityStrategygetAffinityStrategy()Deprecated, for removal: This API element is subject to removal in a future version.protected voidnormalizeAffinity(java.util.List<SegmentMappingData> data)Deprecated, for removal: This API element is subject to removal in a future version.voidpopulateAfterValidation(Profile source, MappingData target)Deprecated, for removal: This API element is subject to removal in a future version.voidsetAffinityStrategy(CxConsumptionLayerAffinityStrategy affinityStrategy)Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class de.hybris.platform.personalizationyprofile.mapper.impl.AbstractBaseMapper
getConfigurationService, getDefaultRequiredFields, getEnabledProperty, getPrefix, getRequiredFields, getSegmentCode, getSeparator, isEnabled, isSourceValid, isTargetValid, populate, setConfigurationService, setPrefix, setSeparator
-
-
-
-
Method Detail
-
populateAfterValidation
public void populateAfterValidation(Profile source, MappingData target)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
populateAfterValidationin classAbstractBaseMapper
-
getAffinityMap
protected abstract java.util.Optional<java.util.Map<java.lang.String,T>> getAffinityMap(Profile profile)
Deprecated, for removal: This API element is subject to removal in a future version.
-
createSegmentMappingList
protected java.util.List<SegmentMappingData> createSegmentMappingList(java.util.Map<java.lang.String,T> affinityMap)
Deprecated, for removal: This API element is subject to removal in a future version.
-
createSegmentMapping
protected SegmentMappingData createSegmentMapping(java.lang.String affinityKey, T affinity)
Deprecated, for removal: This API element is subject to removal in a future version.
-
normalizeAffinity
protected void normalizeAffinity(java.util.List<SegmentMappingData> data)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setAffinityStrategy
public void setAffinityStrategy(CxConsumptionLayerAffinityStrategy affinityStrategy)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getAffinityStrategy
protected CxConsumptionLayerAffinityStrategy getAffinityStrategy()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-