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, 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
protected 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
IOException
public String getName()
getName
in class ExchangeSession.Item
public void setName(String name)
name
- contact namepublic String getUid()
public String getContentType()
ExchangeSession.Item
getContentType
in class ExchangeSession.Item
public void addMember(String member)
public String getBody()
ExchangeSession.Item
getBody
in class ExchangeSession.Item
Copyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.