Interface ItemPKPopulator
-
- All Known Implementing Classes:
RootItemPKPopulator
public interface ItemPKPopulatorA populator that finds a corresponding root item for any given item in the integration object and populates the root item primary key in the item.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<OutboundItemDTO>populatePK(OutboundItemDTO itemDTO)Populates the pk with the root item pk for the integrationObject under concern
-
-
-
Method Detail
-
populatePK
java.util.List<OutboundItemDTO> populatePK(OutboundItemDTO itemDTO)
Populates the pk with the root item pk for the integrationObject under concern- 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.
-
-