public class ItemDeleteEvent extends SubscriptionEvent
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getItemIds()
Get the item id's of the items that have been deleted.
|
java.lang.String |
toString() |
getSubscriptions, setSubscriptions
public ItemDeleteEvent(java.lang.String nodeId, java.util.List<java.lang.String> deletedItemIds, java.util.List<java.lang.String> subscriptionIds)
Node.subscribe(String)
.nodeId
- The id of the node the event came fromdeletedItemIds
- The item ids of the items that were deleted.subscriptionIds
- The subscriptions that match the event.