protected class GraphExchangeSession.Event extends ExchangeSession.Event
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
GraphExchangeSession.FolderId |
folderId |
protected GraphObject |
graphObject |
String |
id |
protected VCalendar |
vCalendar
Preloaded content for event messages
|
APPLICATION_ICS, contentClass, subject, TEXT_CALENDARdisplayName, etag, folderPath, itemName, noneMatch, permanentUrl| Constructor and Description |
|---|
Event(String folderPath,
GraphExchangeSession.FolderId folderId,
GraphObject graphObject) |
Event(String folderPath,
String itemName,
String contentClass,
String itemBody,
String etag,
String noneMatch) |
| Modifier and Type | Method and Description |
|---|---|
ExchangeSession.ItemResult |
createOrUpdate()
Create or update item
|
byte[] |
getEventContent()
Retrieve item body from Exchange
|
buildHttpNotFoundException, createMimeContent, dumpICS, fixICS, getBody, getCalendarMimePart, getContentType, getICS, isCalendarContentTypegetEtag, getHref, getName, setHref, setItemNameclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic GraphExchangeSession.FolderId folderId
public String id
protected GraphObject graphObject
protected VCalendar vCalendar
public Event(String folderPath, GraphExchangeSession.FolderId folderId, GraphObject graphObject)
public Event(String folderPath, String itemName, String contentClass, String itemBody, String etag, String noneMatch) throws IOException
IOExceptionpublic byte[] getEventContent()
throws IOException
ExchangeSession.EventgetEventContent in class ExchangeSession.EventIOException - on errorpublic ExchangeSession.ItemResult createOrUpdate() throws IOException
ExchangeSession.EventcreateOrUpdate in class ExchangeSession.EventIOException - on errorCopyright © 2001–2026 MickaĆ«l Guessant. All rights reserved.