public class ItemDeleteEvent extends SubscriptionEvent
Constructor and Description |
---|
ItemDeleteEvent(String nodeId,
List<String> deletedItemIds,
List<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 |
---|---|
List<String> |
getItemIds()
Get the item id's of the items that have been deleted.
|
String |
toString() |
getSubscriptions, setSubscriptions
public ItemDeleteEvent(String nodeId, List<String> deletedItemIds, List<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.