Class RootItemPKPopulator

    • Constructor Detail

      • RootItemPKPopulator

        public RootItemPKPopulator()
    • Method Detail

      • populatePK

        public java.util.List<OutboundItemDTO> populatePK​(OutboundItemDTO itemDto)
        Description copied from interface: ItemPKPopulator
        Populates the pk with the root item pk for the integrationObject under concern
        Specified by:
        populatePK in interface ItemPKPopulator
        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 itemDTO to the root item of the integration object.