|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.DictionaryProperty<TKey,TEntry>
TKey - the generic typeTEntry - the generic typepublic abstract class DictionaryProperty<TKey,TEntry extends DictionaryEntryProperty<TKey>>
Represents a generic dictionary that can be sent to or retrieved from EWS. TKey The type of key. TEntry The type of entry.
| Constructor Summary | |
|---|---|
DictionaryProperty()
|
|
| Method Summary | |
|---|---|
protected void |
clearChangeLog()
Clears the change log. |
void |
complexPropertyChanged(ComplexProperty complexProperty)
Complex property changed. |
boolean |
contains(TKey key)
* Determines whether this instance contains the specified key. |
protected TEntry |
createEntry(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
* Creates the entry. |
protected abstract TEntry |
createEntryInstance()
Creates instance of dictionary entry. |
protected Map<TKey,TEntry> |
getEntries()
Gets the entries. |
protected String |
getEntryXmlElementName(TEntry entry)
* Gets the name of the entry XML element. |
protected String |
getFieldIndex(TKey key)
* Gets the index of the field. |
protected String |
getFieldURI()
Gets the field URI. |
protected void |
internalAdd(TEntry entry)
* Add entry. |
protected void |
internalAddOrReplace(TEntry entry)
* Add or replace entry. |
protected void |
internalRemove(TKey key)
* Remove entry based on key. |
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
String localElementName)
* Loads from XML. |
boolean |
writeDeleteUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject)
* Writes deletion update to XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes elements to XML. |
boolean |
writeSetUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject,
PropertyDefinition propertyDefinition)
* Writes updates to XML. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
microsoft.exchange.webservices.data.XmlNamespace xmlNamespace,
String xmlElementName)
Writes to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, getNamespace, internalValidate, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, validate, writeAttributesToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryProperty()
| Method Detail |
|---|
protected String getFieldIndex(TKey key)
key - the key
protected String getFieldURI()
protected TEntry createEntry(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
reader - the reader
protected abstract TEntry createEntryInstance()
protected String getEntryXmlElementName(TEntry entry)
entry - the entry
protected void clearChangeLog()
clearChangeLog in class ComplexPropertyprotected void internalAdd(TEntry entry)
entry - the entrypublic void complexPropertyChanged(ComplexProperty complexProperty)
complexProperty - accepts ComplexPropertyprotected void internalAddOrReplace(TEntry entry)
entry - the entryprotected void internalRemove(TKey key)
key - the key
protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
String localElementName)
throws Exception
loadFromXml in class ComplexPropertyreader - the readerlocalElementName - the local element name
Exception - the exception
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
microsoft.exchange.webservices.data.XmlNamespace xmlNamespace,
String xmlElementName)
throws Exception
writeToXml in class ComplexPropertywriter - The writerxmlNamespace - The XML namespace.xmlElementName - Name of the XML element.
Exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ComplexPropertywriter - the writer
Exception - the exceptionprotected Map<TKey,TEntry> getEntries()
public boolean contains(TKey key)
key - the key
public boolean writeSetUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject,
PropertyDefinition propertyDefinition)
throws Exception
writer - the writerewsObject - the ews objectpropertyDefinition - the property definition
Exception - the exception
public boolean writeDeleteUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject)
writer - the writerewsObject - the ews object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||