Class ProductIDAttributeHandler
- java.lang.Object
-
- de.hybris.platform.sap.sapmodel.daos.ProductIDAttributeHandler
-
- All Implemented Interfaces:
DynamicAttributeHandler<java.lang.String,ProductModel>,java.io.Serializable
public class ProductIDAttributeHandler extends java.lang.Object implements DynamicAttributeHandler<java.lang.String,ProductModel>, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected FlexibleSearchServiceflexibleSearchService
-
Constructor Summary
Constructors Constructor Description ProductIDAttributeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringconvertID(java.lang.String productID)java.lang.Stringget(ProductModel model)Holds logic behind getter for dynamic attribute.voidset(ProductModel model, java.lang.String value)Holds logic behind setter for dynamic attribute.
-
-
-
Field Detail
-
flexibleSearchService
@Autowired protected transient FlexibleSearchService flexibleSearchService
-
-
Method Detail
-
convertID
protected java.lang.String convertID(java.lang.String productID)
-
get
public java.lang.String get(ProductModel model)
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<java.lang.String,ProductModel>- Parameters:
model- model for which dynamic attribute is declared.- Returns:
- computed value.
-
set
public void set(ProductModel model, java.lang.String value)
Description copied from interface:DynamicAttributeHandlerHolds logic behind setter for dynamic attribute.- Specified by:
setin interfaceDynamicAttributeHandler<java.lang.String,ProductModel>- Parameters:
model- model for which dynamic attribute is declared.value- the value which will be used by setter logic.
-
-