public abstract class ExchangeSession.Contact extends ExchangeSession.Item
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description | 
|---|---|
protected ArrayList<String> | 
distributionListMembers  | 
protected String | 
vCardVersion  | 
displayName, etag, folderPath, itemName, noneMatch, permanentUrl| Modifier | Constructor and Description | 
|---|---|
protected  | 
Contact()  | 
  | 
Contact(String folderPath,
       String itemName,
       Map<String,String> properties,
       String etag,
       String noneMatch)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addMember(String member)  | 
abstract ExchangeSession.ItemResult | 
createOrUpdate()  | 
String | 
getBody()
Retrieve item body from Exchange 
 | 
String | 
getContentType()
Return item content type 
 | 
String | 
getName()
Convert EML extension to vcf. 
 | 
String | 
getUid()
Compute vcard uid from name. 
 | 
void | 
setName(String name)
Set contact name 
 | 
void | 
setVCardVersion(String vCardVersion)  | 
getEtag, getHref, 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 String vCardVersion
public Contact(String folderPath, String itemName, Map<String,String> properties, String etag, String noneMatch)
protected Contact()
public void setVCardVersion(String vCardVersion)
public abstract ExchangeSession.ItemResult createOrUpdate() throws IOException
IOExceptionpublic String getName()
getName in class ExchangeSession.Itempublic void setName(String name)
name - contact namepublic String getUid()
public String getContentType()
ExchangeSession.ItemgetContentType in class ExchangeSession.Itempublic void addMember(String member)
public String getBody()
ExchangeSession.ItemgetBody in class ExchangeSession.ItemCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.