Class CxVariationRankAttributeHandler
java.lang.Object
de.hybris.platform.personalizationservices.dynamic.CxVariationRankAttributeHandler
- All Implemented Interfaces:
DynamicAttributeHandler<Integer,CxVariationModel>
public class CxVariationRankAttributeHandler
extends Object
implements DynamicAttributeHandler<Integer,CxVariationModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(CxVariationModel model) Holds logic behind getter for dynamic attribute.protected RankAssignmentStrategyprotected List<CxVariationModel>getVariationList(CxCustomizationModel customization) voidset(CxVariationModel model, Integer value) Holds logic behind setter for dynamic attribute.voidsetRankAssigmentStrategy(RankAssignmentStrategy rankAssigmentStrategy)
-
Constructor Details
-
CxVariationRankAttributeHandler
public CxVariationRankAttributeHandler()
-
-
Method Details
-
get
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<Integer,CxVariationModel> - Parameters:
model- model for which dynamic attribute is declared.- Returns:
- computed value.
-
set
Description copied from interface:DynamicAttributeHandlerHolds logic behind setter for dynamic attribute.- Specified by:
setin interfaceDynamicAttributeHandler<Integer,CxVariationModel> - Parameters:
model- model for which dynamic attribute is declared.value- the value which will be used by setter logic.
-
getVariationList
-
setRankAssigmentStrategy
-
getRankAssigmentStrategy
-