davmail.exchange.ews
Class EwsExchangeSession.Event

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String>
          extended by davmail.exchange.ExchangeSession.Item
              extended by davmail.exchange.ExchangeSession.Event
                  extended by davmail.exchange.ews.EwsExchangeSession.Event
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>
Enclosing class:
EwsExchangeSession

protected class EwsExchangeSession.Event
extends ExchangeSession.Event

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
 
Fields inherited from class davmail.exchange.ExchangeSession.Event
APPLICATION_ICS, contentClass, subject, TEXT_CALENDAR, vCalendar
 
Fields inherited from class davmail.exchange.ExchangeSession.Item
displayName, etag, folderPath, itemName, noneMatch, permanentUrl
 
Constructor Summary
protected EwsExchangeSession.Event(EWSMethod.Item response)
           
protected EwsExchangeSession.Event(String folderPath, String itemName, String contentClass, String itemBody, String etag, String noneMatch)
           
 
Method Summary
 ExchangeSession.ItemResult createOrUpdate()
          Create or update item
protected  void fixAttendees(GetItemMethod getItemMethod, VObject vEvent)
           
 byte[] getEventContent()
          Retrieve item body from Exchange
 
Methods inherited from class davmail.exchange.ExchangeSession.Event
buildHttpException, createMimeContent, dumpICS, fixICS, getBody, getCalendarMimePart, getContentType, getICS, isCalendarContentType
 
Methods inherited from class davmail.exchange.ExchangeSession.Item
getEtag, getHref, getName, setHref
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

EwsExchangeSession.Event

protected EwsExchangeSession.Event(EWSMethod.Item response)

EwsExchangeSession.Event

protected EwsExchangeSession.Event(String folderPath,
                                   String itemName,
                                   String contentClass,
                                   String itemBody,
                                   String etag,
                                   String noneMatch)
                            throws IOException
Throws:
IOException
Method Detail

createOrUpdate

public ExchangeSession.ItemResult createOrUpdate()
                                          throws IOException
Description copied from class: ExchangeSession.Event
Create or update item

Specified by:
createOrUpdate in class ExchangeSession.Event
Returns:
action result
Throws:
IOException - on error

getEventContent

public byte[] getEventContent()
                       throws IOException
Description copied from class: ExchangeSession.Event
Retrieve item body from Exchange

Specified by:
getEventContent in class ExchangeSession.Event
Returns:
item content
Throws:
org.apache.commons.httpclient.HttpException - on error
IOException

fixAttendees

protected void fixAttendees(GetItemMethod getItemMethod,
                            VObject vEvent)
                     throws EWSException
Throws:
EWSException


Copyright © 2001-2013 MickaĆ«l Guessant. All Rights Reserved.