Class TextFieldConfigurationHandler
java.lang.Object
de.hybris.platform.textfieldconfiguratortemplateservices.order.hook.TextFieldConfigurationHandler
- All Implemented Interfaces:
ProductConfigurationHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ProductConfigurationItemconvert(Collection<ProductConfigurationItem> items, AbstractOrderEntryModel entry) Converts a set ofProductConfigurationIteminto a list ofAbstractOrderEntryProductInfoModel.createProductInfo(AbstractConfiguratorSettingModel productSettings) Create default set ofAbstractOrderEntryProductInfoModelfor given configurable product.protected TextFieldConfiguredProductInfoModel
-
Constructor Details
-
TextFieldConfigurationHandler
public TextFieldConfigurationHandler()
-
-
Method Details
-
createProductInfo
public 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 List<AbstractOrderEntryProductInfoModel> convert(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
-
setProductInfoStatus
protected TextFieldConfiguredProductInfoModel setProductInfoStatus(TextFieldConfiguredProductInfoModel item) -
checkForNull
-