org.jivesoftware.smackx.pubsub
Class ItemDeleteEvent
java.lang.Object
   org.jivesoftware.smackx.pubsub.NodeEvent
org.jivesoftware.smackx.pubsub.NodeEvent
       org.jivesoftware.smackx.pubsub.SubscriptionEvent
org.jivesoftware.smackx.pubsub.SubscriptionEvent
           org.jivesoftware.smackx.pubsub.ItemDeleteEvent
org.jivesoftware.smackx.pubsub.ItemDeleteEvent
- public class ItemDeleteEvent 
- extends SubscriptionEvent
Represents an event in which items have been deleted from the node.
- Author:
- Robin Collier
| Constructor Summary | 
| 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.
 | 
 
 
 
 
 
ItemDeleteEvent
public 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.  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.
 
getItemIds
public List<String> getItemIds()
- Get the item id's of the items that have been deleted.
 
- 
- Returns:
- List of item id's
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2003-2007 Jive Software.