Package davmail.exchange.graph
Class GraphExchangeSession.Event
java.lang.Object
java.util.AbstractMap<String,String>
java.util.HashMap<String,String>
davmail.exchange.ExchangeSession.Item
davmail.exchange.ExchangeSession.Event
davmail.exchange.graph.GraphExchangeSession.Event
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>
- Enclosing class:
GraphExchangeSession
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsFields inherited from class davmail.exchange.ExchangeSession.Event
APPLICATION_ICS, contentClass, startTimeZone, subject, TEXT_CALENDAR, vCalendarFields inherited from class davmail.exchange.ExchangeSession.Item
displayName, etag, folderPath, itemName, noneMatch, permanentUrl -
Constructor Summary
ConstructorsConstructorDescriptionEvent(GraphExchangeSession.FolderId folderId, byte[] content) Event(String folderPath, GraphExchangeSession.FolderId folderId, GraphObject graphObject) Event(String folderPath, String itemName, String contentClass, String itemBody, String etag, String noneMatch) -
Method Summary
Modifier and TypeMethodDescriptionCreate or update itemprotected GraphObjectcreateOrUpdateTask(String currentItemId) byte[]Retrieve item body from Exchangeprotected GraphObjectsendMeetingResponse(String occurrenceId, String attendeeStatus) Methods inherited from class davmail.exchange.ExchangeSession.Event
buildHttpNotFoundException, createMimeContent, dumpICS, fixICS, getBody, getCalendarMimePart, getContentType, getICS, isCalendarContentTypeMethods inherited from class davmail.exchange.ExchangeSession.Item
getEtag, getHref, getName, setHref, setItemNameMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
folderId
-
id
-
graphObject
-
-
Constructor Details
-
Event
-
Event
public Event(String folderPath, String itemName, String contentClass, String itemBody, String etag, String noneMatch) throws IOException - Throws:
IOException
-
Event
- Throws:
IOException
-
-
Method Details
-
getEventContent
Description copied from class:ExchangeSession.EventRetrieve item body from Exchange- Specified by:
getEventContentin classExchangeSession.Event- Returns:
- item content
- Throws:
IOException- on error
-
createOrUpdate
Description copied from class:ExchangeSession.EventCreate or update item- Specified by:
createOrUpdatein classExchangeSession.Event- Returns:
- action result
- Throws:
IOException- on error
-
createOrUpdateTask
protected GraphObject createOrUpdateTask(String currentItemId) throws IOException, org.codehaus.jettison.json.JSONException - Throws:
IOExceptionorg.codehaus.jettison.json.JSONException
-
sendMeetingResponse
protected GraphObject sendMeetingResponse(String occurrenceId, String attendeeStatus) throws IOException - Throws:
IOException
-