public class FolderEvent extends NotificationEvent
Modifier | Constructor and Description |
---|---|
protected |
FolderEvent(EventType eventType,
Date timestamp)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
FolderId |
getFolderId()
Gets the Id of the folder this event applies to.
|
FolderId |
getOldFolderId()
gets the Id of the folder that was moved or copied.
|
int |
getUnreadCount()
Gets the new number of unread messages.
|
protected void |
internalLoadFromXml(EwsServiceXmlReader reader)
Load from XML.
|
getEventType, getOldParentFolderId, getParentFolderId, getTimestamp, loadFromXml, setOldParentFolderId, setParentFolderId
protected FolderEvent(EventType eventType, Date timestamp)
eventType
- the event typetimestamp
- the timestampprotected void internalLoadFromXml(EwsServiceXmlReader reader) throws Exception
internalLoadFromXml
in class NotificationEvent
reader
- the readerException
- the exceptionpublic FolderId getFolderId()
public FolderId getOldFolderId()
public int getUnreadCount()
Copyright © 2012–2015 Microsoft. All rights reserved.