Class ItemDeleteEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      ItemDeleteEvent​(java.lang.String nodeId, java.util.List<java.lang.String> deletedItemIds, java.util.List<java.lang.String> subscriptionIds)
      Constructs an ItemDeleteEvent that indicates the the supplied items (by id) have been deleted, and that the event matches the listed subscriptions.
    • Constructor Detail

      • ItemDeleteEvent

        public ItemDeleteEvent​(java.lang.String nodeId,
                               java.util.List<java.lang.String> deletedItemIds,
                               java.util.List<java.lang.String> subscriptionIds)
        Constructs an ItemDeleteEvent that indicates the the supplied items (by id) have been deleted, and that the event matches the listed subscriptions. The subscriptions would have been created by calling Node.subscribe(String).
        Parameters:
        nodeId - The id of the node the event came from
        deletedItemIds - The item ids of the items that were deleted.
        subscriptionIds - The subscriptions that match the event.
    • Method Detail

      • getItemIds

        public java.util.List<java.lang.String> getItemIds()
        Get the item id's of the items that have been deleted.
        Returns:
        List of item id's
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object