Class UserEurope1DiscountsAttributeHandler
java.lang.Object
de.hybris.platform.europe1.dynamic.UserEurope1DiscountsAttributeHandler
- All Implemented Interfaces:
DynamicAttributeHandler<Collection<GlobalDiscountRowModel>,UserModel>
public class UserEurope1DiscountsAttributeHandler
extends Object
implements DynamicAttributeHandler<Collection<GlobalDiscountRowModel>,UserModel>
The dynamic attribute handler defined for europe1Discounts property from
The relation for
UserModel. The relation for
UserModel.OWNEUROPE1DISCOUNTS was created so there would be possibility to set and remove
the GlobalDiscountRowModel items that are not wildcard global discounts and should be part of a given user
instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHolds logic behind getter for dynamic attribute.voidset(UserModel model, Collection<GlobalDiscountRowModel> globalDiscountRowModels) Holds logic behind setter for dynamic attribute.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) voidsetTypeService(TypeService typeService)
-
Constructor Details
-
UserEurope1DiscountsAttributeHandler
public UserEurope1DiscountsAttributeHandler()
-
-
Method Details
-
get
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<Collection<GlobalDiscountRowModel>,UserModel> - 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<Collection<GlobalDiscountRowModel>,UserModel> - Parameters:
model- model for which dynamic attribute is declared.globalDiscountRowModels- the value which will be used by setter logic.
-
setTypeService
-
setFlexibleSearchService
-