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 AbstractBaseMapper
Deprecated, 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 Details

    • AbstractAffinityMapper

      public AbstractAffinityMapper()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • populateAfterValidation

      public void populateAfterValidation(Profile source, MappingData target)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      populateAfterValidation in class AbstractBaseMapper
    • getAffinityMap

      protected abstract Optional<Map<String,T>> getAffinityMap(Profile profile)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createSegmentMappingList

      protected List<SegmentMappingData> createSegmentMappingList(Map<String,T> affinityMap)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createSegmentMapping

      protected SegmentMappingData createSegmentMapping(String affinityKey, T affinity)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • normalizeAffinity

      protected void normalizeAffinity(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.