Class CxConsumptionLayerCurrentAffinityStrategy
- java.lang.Object
-
- de.hybris.platform.personalizationyprofile.mapper.affinity.impl.CxConsumptionLayerCurrentAffinityStrategy
-
- All Implemented Interfaces:
CxConsumptionLayerAffinityStrategy
@Deprecated(since="2011", forRemoval=true) public class CxConsumptionLayerCurrentAffinityStrategy extends java.lang.Object implements CxConsumptionLayerAffinityStrategyDeprecated, 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. Mappers which have used that strategy are deprecatedReturns recent score as current affinity.
-
-
Constructor Summary
Constructors Constructor Description CxConsumptionLayerCurrentAffinityStrategy()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.math.BigDecimalextract(Affinity affinity)Deprecated, for removal: This API element is subject to removal in a future version.Extracts value of affinity from provided structure.
-
-
-
Method Detail
-
extract
public java.math.BigDecimal extract(Affinity affinity)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CxConsumptionLayerAffinityStrategyExtracts value of affinity from provided structure.- Specified by:
extractin interfaceCxConsumptionLayerAffinityStrategy- Parameters:
affinity- structure from which affinity is extracted- Returns:
- single affinity value
-
-