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 |
APPLICATION_ICS, contentClass, subject, TEXT_CALENDAR, vCalendar
displayName, etag, folderPath, itemName, noneMatch, permanentUrl
Constructor and Description |
---|
Event(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, isCalendarContentType
getEtag, getHref, getName, setHref, setItemName
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public GraphExchangeSession.FolderId folderId
public String id
protected GraphObject graphObject
public Event(GraphExchangeSession.FolderId folderId, GraphObject graphObject)
public Event(String folderPath, String itemName, String contentClass, String itemBody, String etag, String noneMatch) throws IOException
IOException
public byte[] getEventContent() throws IOException
ExchangeSession.Event
getEventContent
in class ExchangeSession.Event
IOException
- on errorpublic ExchangeSession.ItemResult createOrUpdate() throws IOException
ExchangeSession.Event
createOrUpdate
in class ExchangeSession.Event
IOException
- on errorCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.