public final class GetEventsResults extends Object
Constructor and Description |
---|
GetEventsResults()
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
Collection<NotificationEvent> |
getAllEvents()
Gets the collection of all events.
|
Iterable<FolderEvent> |
getFolderEvents()
Gets the collection of folder events.
|
Iterable<ItemEvent> |
getItemEvents()
Gets the collection of item events.
|
protected String |
getNewWatermark()
Gets the subscription's new watermark.
|
protected String |
getPreviousWatermark()
Gets the subscription's previous watermark.
|
protected String |
getSubscriptionId()
Gets the Id of the subscription the collection is associated with.
|
protected static Map<String,EventType> |
getXmlElementNameToEventTypeMap()
Gets the XML element name to event type mapping.
|
protected boolean |
isMoreEventsAvailable()
Gets a value indicating whether more events are available on the Exchange
server.
|
void |
loadFromXml(EwsServiceXmlReader reader)
Loads from XML.
|
public GetEventsResults()
protected static Map<String,EventType> getXmlElementNameToEventTypeMap()
public void loadFromXml(EwsServiceXmlReader reader) throws Exception
reader
- the readerException
- the exceptionprotected String getSubscriptionId()
protected String getPreviousWatermark()
protected String getNewWatermark()
protected boolean isMoreEventsAvailable()
public Iterable<FolderEvent> getFolderEvents()
public Iterable<ItemEvent> getItemEvents()
public Collection<NotificationEvent> getAllEvents()
Copyright © 2012–2015 Microsoft. All rights reserved.