Class CartRestrictionDynamicDescription
java.lang.Object
de.hybris.platform.sap.productconfig.services.attributehandlers.CartRestrictionDynamicDescription
- All Implemented Interfaces:
DynamicAttributeHandler<String,CMSCartConfigurationRestrictionModel>
public class CartRestrictionDynamicDescription
extends Object
implements DynamicAttributeHandler<String,CMSCartConfigurationRestrictionModel>
Description of Restriction we use for enabling specific cart CMS components. Based in service extension because we
need to have dependent modules influence them also when our frontend is not deployed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHolds logic behind getter for dynamic attribute.protected StringgetLocalizedText(String descrKey) voidset(CMSCartConfigurationRestrictionModel arg0, String arg1) Holds logic behind setter for dynamic attribute.
-
Constructor Details
-
CartRestrictionDynamicDescription
public CartRestrictionDynamicDescription()
-
-
Method Details
-
get
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<String,CMSCartConfigurationRestrictionModel> - Parameters:
arg0- model for which dynamic attribute is declared.- Returns:
- computed value.
-
getLocalizedText
-
set
Description copied from interface:DynamicAttributeHandlerHolds logic behind setter for dynamic attribute.- Specified by:
setin interfaceDynamicAttributeHandler<String,CMSCartConfigurationRestrictionModel> - Parameters:
arg0- model for which dynamic attribute is declared.arg1- the value which will be used by setter logic.
-