Class RootItemPKPopulator
java.lang.Object
de.hybris.platform.outboundsync.router.impl.RootItemPKPopulator
- All Implemented Interfaces:
ItemPKPopulator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OutboundItemFactorypopulatePK(OutboundItemDTO itemDto) Populates the pk with the root item pk for the integrationObject under concernvoidsetItemFactory(OutboundItemFactory factory) voidsetRootItemSearchService(RootItemSearchService rootItemSearchService)
-
Constructor Details
-
RootItemPKPopulator
public RootItemPKPopulator()
-
-
Method Details
-
populatePK
Description copied from interface:ItemPKPopulatorPopulates the pk with the root item pk for the integrationObject under concern- Specified by:
populatePKin interfaceItemPKPopulator- Parameters:
itemDto- A DTO with the information about the changes in an item.- Returns:
- a list of DTOs where root item PK is populated. Each item in the returned list represents a different root item
derived. This is possible only in case of a one-to-many or many-to-many relation of the item presented by the
itemDTOto the root item of the integration object.
-
getItemFactory
-
setItemFactory
-
setRootItemSearchService
-