public abstract class NotificationEvent extends Object
Modifier | Constructor and Description |
---|---|
protected |
NotificationEvent(EventType eventType,
Date timestamp)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
EventType |
getEventType()
gets the eventType.
|
FolderId |
getOldParentFolderId()
gets the oldParentFolderId.
|
FolderId |
getParentFolderId()
gets the parentFolderId.
|
Date |
getTimestamp()
gets the timestamp.
|
protected void |
internalLoadFromXml(EwsServiceXmlReader reader)
Load from XML.
|
protected void |
loadFromXml(EwsServiceXmlReader reader,
String xmlElementName)
Loads this NotificationEvent from XML.
|
protected void |
setOldParentFolderId(FolderId oldParentFolderId)
Sets the oldParentFolderId.
|
protected void |
setParentFolderId(FolderId parentFolderId)
Sets the parentFolderId.
|
protected NotificationEvent(EventType eventType, Date timestamp)
eventType
- the event typetimestamp
- the timestampprotected void internalLoadFromXml(EwsServiceXmlReader reader) throws Exception
reader
- the readerException
- the exceptionprotected void loadFromXml(EwsServiceXmlReader reader, String xmlElementName) throws Exception
reader
- the readerxmlElementName
- the xml element nameException
- the exceptionpublic EventType getEventType()
public Date getTimestamp()
public FolderId getParentFolderId()
protected void setParentFolderId(FolderId parentFolderId)
parentFolderId
- the new parent folder idpublic FolderId getOldParentFolderId()
protected void setOldParentFolderId(FolderId oldParentFolderId)
oldParentFolderId
- the new old parent folder idCopyright © 2012–2015 Microsoft. All rights reserved.