protected class EwsExchangeSession.Event extends ExchangeSession.Event
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>APPLICATION_ICS, contentClass, subject, TEXT_CALENDAR, vCalendardisplayName, etag, folderPath, itemName, noneMatch, permanentUrl| Modifier | Constructor and Description |
|---|---|
protected |
Event(String folderPath,
EWSMethod.Item response) |
protected |
Event(String folderPath,
String itemName,
String contentClass,
String itemBody,
String etag,
String noneMatch) |
| Modifier and Type | Method and Description |
|---|---|
protected List<FieldUpdate> |
buildFieldUpdates(VCalendar vCalendar,
VObject vEvent,
boolean isMozDismiss) |
ExchangeSession.ItemResult |
createOrUpdate()
Create or update item
|
protected void |
fixAttendees(GetItemMethod getItemMethod,
VObject vEvent) |
byte[] |
getEventContent()
Retrieve item body from Exchange
|
protected void |
handleExcludedDates(ItemId currentItemId,
VCalendar vCalendar)
Handle excluded dates (deleted occurrences).
|
protected void |
handleModifiedOccurrences(ItemId currentItemId,
VCalendar vCalendar,
SendMeetingInvitationsOrCancellations sendMeetingInvitationsOrCancellations)
Handle modified occurrences.
|
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, toStringprotected Event(String folderPath, EWSMethod.Item response)
protected Event(String folderPath, String itemName, String contentClass, String itemBody, String etag, String noneMatch) throws IOException
IOExceptionprotected void handleExcludedDates(ItemId currentItemId, VCalendar vCalendar) throws DavMailException
currentItemId - current item id to iterate over occurrencesvCalendar - vCalendar objectDavMailException - on errorprotected void handleModifiedOccurrences(ItemId currentItemId, VCalendar vCalendar, SendMeetingInvitationsOrCancellations sendMeetingInvitationsOrCancellations) throws DavMailException
currentItemId - current item id to iterate over occurrencesvCalendar - vCalendar objectDavMailException - on errorprotected List<FieldUpdate> buildFieldUpdates(VCalendar vCalendar, VObject vEvent, boolean isMozDismiss) throws DavMailException
DavMailExceptionpublic ExchangeSession.ItemResult createOrUpdate() throws IOException
ExchangeSession.EventcreateOrUpdate in class ExchangeSession.EventIOException - on errorpublic byte[] getEventContent()
throws IOException
ExchangeSession.EventgetEventContent in class ExchangeSession.EventIOException - on errorprotected void fixAttendees(GetItemMethod getItemMethod, VObject vEvent) throws EWSException
EWSExceptionCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.