public class DefaultProductModelUniqueIdentifierConverter extends java.lang.Object implements UniqueIdentifierConverter<ProductModel>
ProductModel| Constructor and Description |
|---|
DefaultProductModelUniqueIdentifierConverter() |
public DefaultProductModelUniqueIdentifierConverter()
public java.lang.String getItemType()
UniqueIdentifierConverterItemModel#getItemType where the converter should be applied to.getItemType in interface UniqueIdentifierConverter<ProductModel>public ItemData convert(ProductModel productModel)
UniqueIdentifierConverterItemData instance.convert in interface UniqueIdentifierConverter<ProductModel>productModel - - the item model entity that will be converted.ItemData class that corresponds to the given ItemModel
UniqueIdentifierConverter.getItemType().UniqueIdentifierConverter#getItemType()}.public ProductModel convert(ItemData itemData)
UniqueIdentifierConverterconvert in interface UniqueIdentifierConverter<ProductModel>itemData - - the item data instance that will be used in the conversion.ItemModel entity that corresponds to the given ItemData
UniqueIdentifierConverter.getItemType().UniqueIdentifierConverter#getItemType()}.protected java.util.function.Supplier<ProductModel> findProduct(EncodedItemComposedKey itemComposedKey)
protected CatalogVersionService getCatalogVersionService()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
protected ProductService getProductService()
public void setProductService(ProductService productService)
protected Converter<ProductModel,ItemData> getProductModelItemDataConverter()
public void setProductModelItemDataConverter(Converter<ProductModel,ItemData> productModelItemDataConverter)
protected SessionSearchRestrictionsDisabler getSessionSearchRestrictionsDisabler()
public void setSessionSearchRestrictionsDisabler(SessionSearchRestrictionsDisabler sessionSearchRestrictionsDisabler)
Copyright © 2018 SAP SE. All Rights Reserved.