Class SourceDeleteDataEvent

    • Constructor Detail

      • SourceDeleteDataEvent

        protected SourceDeleteDataEvent​(Source<?> serviceSource,
                                        java.util.Collection<java.lang.String> itemIds)
        Creates a new event for before delete of source data.
        Parameters:
        serviceSource - the source. By definition, must be the source at service level to prevent inconsistency.
        itemIds - the item identifiers being deleted.
        Since:
        10.4.0
    • Method Detail

      • getSource

        public Source<?> getSource()
        Returns the source that triggered this event.
        Returns:
        the source.
        Since:
        10.4.0
      • getDeletedItemIds

        public java.util.Collection<java.lang.String> getDeletedItemIds()
        Returns the item identifiers that will be deleted.
        Returns:
        a immutable collection with the item identifiers.
        Since:
        10.4.0