Class LinkEventFactory

    • Constructor Detail

      • LinkEventFactory

        public LinkEventFactory()
        Constructs a new LinkEventFactory.
    • Method Detail

      • createItemChannelLinkAddedEvent

        public static ItemChannelLinkAddedEvent createItemChannelLinkAddedEvent​(ItemChannelLink itemChannelLink)
        Creates an item channel link added event.
        Parameters:
        itemChannelLink - item channel link
        Returns:
        the created item channel link added event
        Throws:
        IllegalArgumentException - if item channel link is null
      • createItemChannelLinkRemovedEvent

        public static ItemChannelLinkRemovedEvent createItemChannelLinkRemovedEvent​(ItemChannelLink itemChannelLink)
        Creates an item channel link removed event.
        Parameters:
        itemChannelLink - item channel link
        Returns:
        the created item channel link removed event
        Throws:
        IllegalArgumentException - if item channel link is null