Class GroupOrderEntryPopulator
java.lang.Object
de.hybris.platform.b2bacceleratorfacades.order.converters.populator.GroupOrderEntryPopulator
- All Implemented Interfaces:
Populator<AbstractOrderModel,AbstractOrderData>
@Deprecated(since="5.5",
forRemoval=true)
public class GroupOrderEntryPopulator
extends Object
implements Populator<AbstractOrderModel,AbstractOrderData>
Deprecated, for removal: This API element is subject to removal in a future version.
Groups multiple
OrderEntryData as one entry in a AbstractOrderData based on the multidimensional
variants that share the same base product. All non multidimensional product entries will be leaved unmodified as a
single entry.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final longDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected PriceDatabuildPrice(PriceData base, long amount) Deprecated, for removal: This API element is subject to removal in a future version.protected voidDeprecated, for removal: This API element is subject to removal in a future version.protected ProductDatacreateBaseProduct(ProductData variant) Deprecated, for removal: This API element is subject to removal in a future version.protected OrderEntryDatacreateGroupedOrderEntry(OrderEntryData firstEntry) Deprecated, for removal: This API element is subject to removal in a future version.protected PriceDatagetMaxPrice(OrderEntryData parentEntry, PriceData samplePrice) Deprecated, for removal: This API element is subject to removal in a future version.protected PriceDatagetMinPrice(OrderEntryData parentEntry, PriceData samplePrice) Deprecated, for removal: This API element is subject to removal in a future version.protected PriceDataFactoryDeprecated, for removal: This API element is subject to removal in a future version.protected ProductServiceDeprecated, for removal: This API element is subject to removal in a future version.protected PriceDatagetTotalPrice(OrderEntryData parentEntry, PriceData samplePrice) Deprecated, for removal: This API element is subject to removal in a future version.protected longgetTotalQuantity(OrderEntryData parentEntry) Deprecated, for removal: This API element is subject to removal in a future version.protected List<OrderEntryData>groupEntries(List<OrderEntryData> entries) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanisGroupable(ProductData product) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanisNotEmptyPrice(PriceData price) Deprecated, for removal: This API element is subject to removal in a future version.voidpopulate(AbstractOrderModel source, AbstractOrderData target) Deprecated, for removal: This API element is subject to removal in a future version.Populate the target instance with values from the source instance.voidsetPriceDataFactory(PriceDataFactory priceDataFactory) Deprecated, for removal: This API element is subject to removal in a future version.voidsetProductService(ProductService productService) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
VARIANT_TYPE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
INVALID_ENTRY_NUMBER
public static final int INVALID_ENTRY_NUMBERDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
ZERO_QUANTITY
public static final long ZERO_QUANTITYDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
GroupOrderEntryPopulator
public GroupOrderEntryPopulator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
populate
public void populate(AbstractOrderModel source, AbstractOrderData target) throws ConversionException Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractOrderModel,AbstractOrderData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
groupEntries
Deprecated, for removal: This API element is subject to removal in a future version. -
isGroupable
Deprecated, for removal: This API element is subject to removal in a future version. -
consolidateGroupedOrderEntry
Deprecated, for removal: This API element is subject to removal in a future version. -
getMaxPrice
Deprecated, for removal: This API element is subject to removal in a future version. -
getMinPrice
Deprecated, for removal: This API element is subject to removal in a future version. -
isNotEmptyPrice
Deprecated, for removal: This API element is subject to removal in a future version. -
getTotalPrice
Deprecated, for removal: This API element is subject to removal in a future version. -
getTotalQuantity
Deprecated, for removal: This API element is subject to removal in a future version. -
createGroupedOrderEntry
Deprecated, for removal: This API element is subject to removal in a future version. -
createBaseProduct
Deprecated, for removal: This API element is subject to removal in a future version. -
buildPrice
Deprecated, for removal: This API element is subject to removal in a future version. -
getProductService
Deprecated, for removal: This API element is subject to removal in a future version. -
setProductService
Deprecated, for removal: This API element is subject to removal in a future version. -
getPriceDataFactory
Deprecated, for removal: This API element is subject to removal in a future version. -
setPriceDataFactory
Deprecated, for removal: This API element is subject to removal in a future version.
-
GroupOrderEntryPopulatorinstead.