Class DiscountStringHandler
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.attribute.DiscountStringHandler
-
- All Implemented Interfaces:
DynamicAttributeHandler<java.lang.String,AbstractDiscountRowModel>
public class DiscountStringHandler extends java.lang.Object implements DynamicAttributeHandler<java.lang.String,AbstractDiscountRowModel>
-
-
Constructor Summary
Constructors Constructor Description DiscountStringHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringget(AbstractDiscountRowModel model)Holds logic behind getter for dynamic attribute.voidset(AbstractDiscountRowModel model, java.lang.String aBoolean)Holds logic behind setter for dynamic attribute.voidsetCommonI18NService(CommonI18NService commonI18NService)voidsetFormatFactory(FormatFactory formatFactory)voidsetSessionService(SessionService sessionService)
-
-
-
Method Detail
-
get
public java.lang.String get(AbstractDiscountRowModel model)
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<java.lang.String,AbstractDiscountRowModel>- Parameters:
model- model for which dynamic attribute is declared.- Returns:
- computed value.
-
set
public void set(AbstractDiscountRowModel model, java.lang.String aBoolean)
Description copied from interface:DynamicAttributeHandlerHolds logic behind setter for dynamic attribute.- Specified by:
setin interfaceDynamicAttributeHandler<java.lang.String,AbstractDiscountRowModel>- Parameters:
model- model for which dynamic attribute is declared.aBoolean- the value which will be used by setter logic.
-
setSessionService
public void setSessionService(SessionService sessionService)
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
setFormatFactory
public void setFormatFactory(FormatFactory formatFactory)
-
-