Class CxCustomizationRankAttributeHandler
- java.lang.Object
-
- de.hybris.platform.personalizationservices.dynamic.CxCustomizationRankAttributeHandler
-
- All Implemented Interfaces:
DynamicAttributeHandler<java.lang.Integer,CxCustomizationModel>
public class CxCustomizationRankAttributeHandler extends java.lang.Object implements DynamicAttributeHandler<java.lang.Integer,CxCustomizationModel>
-
-
Constructor Summary
Constructors Constructor Description CxCustomizationRankAttributeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integerget(CxCustomizationModel model)Holds logic behind getter for dynamic attribute.protected java.util.List<CxCustomizationModel>getCustomizationList(CxCustomizationsGroupModel catalog)protected RankAssignmentStrategygetRankAssigmentStrategy()voidset(CxCustomizationModel model, java.lang.Integer value)Holds logic behind setter for dynamic attribute.voidsetRankAssigmentStrategy(RankAssignmentStrategy rankAssigmentStrategy)
-
-
-
Method Detail
-
get
public java.lang.Integer get(CxCustomizationModel model)
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<java.lang.Integer,CxCustomizationModel>- Parameters:
model- model for which dynamic attribute is declared.- Returns:
- computed value.
-
set
public void set(CxCustomizationModel model, java.lang.Integer value)
Description copied from interface:DynamicAttributeHandlerHolds logic behind setter for dynamic attribute.- Specified by:
setin interfaceDynamicAttributeHandler<java.lang.Integer,CxCustomizationModel>- Parameters:
model- model for which dynamic attribute is declared.value- the value which will be used by setter logic.
-
getCustomizationList
protected java.util.List<CxCustomizationModel> getCustomizationList(CxCustomizationsGroupModel catalog)
-
setRankAssigmentStrategy
public void setRankAssigmentStrategy(RankAssignmentStrategy rankAssigmentStrategy)
-
getRankAssigmentStrategy
protected RankAssignmentStrategy getRankAssigmentStrategy()
-
-