Package davmail.exchange.dav
Class DavExchangeSession.Contact
java.lang.Object
java.util.AbstractMap<String,String>
java.util.HashMap<String,String>
davmail.exchange.ExchangeSession.Item
davmail.exchange.ExchangeSession.Contact
davmail.exchange.dav.DavExchangeSession.Contact
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>
- Enclosing class:
DavExchangeSession
- See Also:
-
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.Contact
distributionListMembers, vCardVersionFields inherited from class davmail.exchange.ExchangeSession.Item
displayName, etag, folderPath, itemName, noneMatch, permanentUrl -
Constructor Summary
ConstructorsConstructorDescriptionContact()Default constructor for galFindContact(String folderPath, String itemName, Map<String, String> properties, String etag, String noneMatch) Contact(org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) Build Contact instance from multistatusResponse info -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<PropertyValue> Create or update contactprotected ExchangePropPatchRequestinternalCreateOrUpdate(String encodedHref) Methods inherited from class davmail.exchange.ExchangeSession.Contact
addMember, getBody, getContentType, getName, getUid, setName, setVCardVersionMethods inherited from class davmail.exchange.ExchangeSession.Item
getEtag, getHref, 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
-
Constructor Details
-
Contact
public Contact(org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) throws IOException, DavMailException Build Contact instance from multistatusResponse info- Parameters:
multiStatusResponse- response- Throws:
IOException- on errorDavMailException- on error
-
Contact
-
Contact
public Contact()Default constructor for galFind
-
-
Method Details
-
buildProperties
-
internalCreateOrUpdate
- Throws:
IOException
-
createOrUpdate
Create or update contact- Specified by:
createOrUpdatein classExchangeSession.Contact- Returns:
- action result
- Throws:
IOException- on error
-