Class ItemEvent
- java.lang.Object
-
- microsoft.exchange.webservices.data.notification.NotificationEvent
-
- microsoft.exchange.webservices.data.notification.ItemEvent
-
public final class ItemEvent extends NotificationEvent
Represents an event that applies to an item.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemIdgetItemId()Gets the Id of the item this event applies to.ItemIdgetOldItemId()Gets the Id of the item that was moved or copied.protected voidinternalLoadFromXml(EwsServiceXmlReader reader)Load from XML.-
Methods inherited from class microsoft.exchange.webservices.data.notification.NotificationEvent
getEventType, getOldParentFolderId, getParentFolderId, getTimestamp, loadFromXml, setOldParentFolderId, setParentFolderId
-
-
-
-
Method Detail
-
internalLoadFromXml
protected void internalLoadFromXml(EwsServiceXmlReader reader) throws Exception
Load from XML.- Overrides:
internalLoadFromXmlin classNotificationEvent- Parameters:
reader- the reader- Throws:
Exception- the exception
-
getOldItemId
public ItemId getOldItemId()
Gets the Id of the item that was moved or copied. OldItemId is only meaningful when EventType is equal to either EventType.Moved or EventType.Copied. For all other event types, OldItemId is null.- Returns:
- the old item id
-
-