Class AbstractBundleOrderPopulator<SOURCE extends AbstractOrderModel,TARGET extends AbstractOrderData>
- java.lang.Object
-
- de.hybris.platform.commercefacades.order.converters.populator.AbstractOrderPopulator<SOURCE,TARGET>
-
- de.hybris.platform.configurablebundlefacades.order.converters.populator.AbstractBundleOrderPopulator<SOURCE,TARGET>
-
- Type Parameters:
SOURCE
- class to populate fromTARGET
- class to populate to
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
- Direct Known Subclasses:
BundleOrderPopulator
@Deprecated(since="1905", forRemoval=true) public abstract class AbstractBundleOrderPopulator<SOURCE extends AbstractOrderModel,TARGET extends AbstractOrderData> extends AbstractOrderPopulator<SOURCE,TARGET>
Deprecated, for removal: This API element is subject to removal in a future version.since 1905: The comparator compares only deprecated fields, so it is deprecated, too.Abstract class for order converters for bundles. This class is responsible for sorting the order entries by the bundle template they are assigned to.
-
-
Constructor Summary
Constructors Constructor Description AbstractBundleOrderPopulator()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected BundleTemplateService
getBundleTemplateService()
Deprecated, for removal: This API element is subject to removal in a future version.protected java.util.List<OrderEntryData>
getSortedEntryListBasedOnBundleAndComponent(java.util.List<OrderEntryData> entries)
Deprecated, for removal: This API element is subject to removal in a future version.This method returns the given order entries sorted by the bundle number and component's position.void
setBundleTemplateService(BundleTemplateService bundleTemplateService)
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class de.hybris.platform.commercefacades.order.converters.populator.AbstractOrderPopulator
addComments, addCommon, addDeliveryAddress, addDeliveryMethod, addDeliveryStatus, addEntries, addEntryGroups, addPaymentInformation, addPrincipalInformation, addPromotions, addPromotions, addTotals, assignEntriesToGroups, assignParentGroups, calcTotalItems, calcTotalUnitCount, calcTotalWithTax, checkForGuestCustomer, createPrice, createZeroPrice, getAddressConverter, getCommerceEntryGroupUtils, getCommonI18NService, getCreditCardPaymentInfoConverter, getDeliveryModeConverter, getEntryGroupConverter, getEntryGroupService, getGroup, getModelService, getOrderCommentConverter, getOrderDiscountsAmount, getOrderEntryConverter, getPriceData, getPriceDataFactory, getPrincipalConverter, getProductsDiscountsAmount, getPromotionResultConverter, getPromotions, getPromotionsService, getQuoteDiscountsAmount, getQuoteDiscountsTypeAndRate, getTypeService, getVirtualEntryGroupStrategy, getZoneDeliveryModeConverter, mapGroupIdToEntryData, setAddressConverter, setCommerceEntryGroupUtils, setCommonI18NService, setCreditCardPaymentInfoConverter, setDeliveryModeConverter, setEntryGroupConverter, setEntryGroupService, setModelService, setOrderCommentConverter, setOrderEntryConverter, setPriceDataFactory, setPrincipalConverter, setPromotionResultConverter, setPromotionsService, setTypeService, setVirtualEntryGroupStrategy, setZoneDeliveryModeConverter, sortEntryGroups, updateEntryGroupReferences
-
-
-
-
Method Detail
-
getSortedEntryListBasedOnBundleAndComponent
protected java.util.List<OrderEntryData> getSortedEntryListBasedOnBundleAndComponent(java.util.List<OrderEntryData> entries)
Deprecated, for removal: This API element is subject to removal in a future version.This method returns the given order entries sorted by the bundle number and component's position.- Parameters:
entries
-List
ofAbstractOrderEntryModel
s to be sorted- Returns:
List
ofAbstractOrderEntryModel
s ordered by the bundleNo and component.
-
getBundleTemplateService
protected BundleTemplateService getBundleTemplateService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setBundleTemplateService
public void setBundleTemplateService(BundleTemplateService bundleTemplateService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-