Class TextFieldConfigurationHandler
- java.lang.Object
-
- de.hybris.platform.textfieldconfiguratortemplateservices.order.hook.TextFieldConfigurationHandler
-
- All Implemented Interfaces:
ProductConfigurationHandler
public class TextFieldConfigurationHandler extends java.lang.Object implements ProductConfigurationHandler
-
-
Constructor Summary
Constructors Constructor Description TextFieldConfigurationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AbstractOrderEntryProductInfoModel>convert(java.util.Collection<ProductConfigurationItem> items, AbstractOrderEntryModel entry)Converts a set ofProductConfigurationIteminto a list ofAbstractOrderEntryProductInfoModel.java.util.List<AbstractOrderEntryProductInfoModel>createProductInfo(AbstractConfiguratorSettingModel productSettings)Create default set ofAbstractOrderEntryProductInfoModelfor given configurable product.protected voidvalidate(TextFieldConfiguredProductInfoModel item)
-
-
-
Method Detail
-
createProductInfo
public java.util.List<AbstractOrderEntryProductInfoModel> createProductInfo(AbstractConfiguratorSettingModel productSettings)
Description copied from interface:ProductConfigurationHandlerCreate default set ofAbstractOrderEntryProductInfoModelfor given configurable product.- Specified by:
createProductInfoin interfaceProductConfigurationHandler- Parameters:
productSettings- default configuration settings- Returns:
- list of
AbstractOrderEntryProductInfoModelfilled with default values.
-
convert
public java.util.List<AbstractOrderEntryProductInfoModel> convert(java.util.Collection<ProductConfigurationItem> items, AbstractOrderEntryModel entry)
Description copied from interface:ProductConfigurationHandlerConverts a set ofProductConfigurationIteminto a list ofAbstractOrderEntryProductInfoModel.- Specified by:
convertin interfaceProductConfigurationHandler- Parameters:
items- configurator setting DTOsentry- entry the settings will be added to (for reference)- Returns:
- particular specialization of product info model, set up from
items
-
validate
protected void validate(TextFieldConfiguredProductInfoModel item)
-
-