public class DavExchangeSession.Contact extends ExchangeSession.Contact
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
distributionListMembers, vCardVersion
displayName, etag, folderPath, itemName, noneMatch, permanentUrl
Constructor and Description |
---|
Contact()
Default constructor for galFind
|
Contact(org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse)
Build Contact instance from multistatusResponse info
|
Contact(String folderPath,
String itemName,
Map<String,String> properties,
String etag,
String noneMatch) |
Modifier and Type | Method and Description |
---|---|
protected Set<PropertyValue> |
buildProperties() |
ExchangeSession.ItemResult |
createOrUpdate()
Create or update contact
|
protected ExchangePropPatchRequest |
internalCreateOrUpdate(String encodedHref) |
addMember, getBody, getContentType, getName, getUid, setName, setVCardVersion
getEtag, getHref, 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 Contact(org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) throws IOException, DavMailException
multiStatusResponse
- responseIOException
- on errorDavMailException
- on errorpublic Contact(String folderPath, String itemName, Map<String,String> properties, String etag, String noneMatch)
public Contact()
protected Set<PropertyValue> buildProperties()
protected ExchangePropPatchRequest internalCreateOrUpdate(String encodedHref) throws IOException
IOException
public ExchangeSession.ItemResult createOrUpdate() throws IOException
createOrUpdate
in class ExchangeSession.Contact
IOException
- on errorCopyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.