Package org.jivesoftware.smackx.pubsub
Class ItemDeleteEvent
- java.lang.Object
-
- org.jivesoftware.smackx.pubsub.NodeEvent
-
- org.jivesoftware.smackx.pubsub.SubscriptionEvent
-
- org.jivesoftware.smackx.pubsub.ItemDeleteEvent
-
public class ItemDeleteEvent extends SubscriptionEvent
Represents an event in which items have been deleted from the node.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getItemIds()
Get the item id's of the items that have been deleted.String
toString()
-
Methods inherited from class org.jivesoftware.smackx.pubsub.SubscriptionEvent
getSubscriptions, setSubscriptions
-
-
-
-
Constructor Detail
-
ItemDeleteEvent
public ItemDeleteEvent(String nodeId, List<String> deletedItemIds, List<String> subscriptionIds)
Constructs anItemDeleteEvent
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 callingNode.subscribe(String)
.- Parameters:
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.
-
-