|
||||||||
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 java.util.Map<TKey,TEntry> |
getEntries()
Gets the entries. |
protected java.lang.String |
getEntryXmlElementName(TEntry entry)
* Gets the name of the entry XML element. |
protected java.lang.String |
getFieldIndex(TKey key)
* Gets the index of the field. |
protected java.lang.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,
java.lang.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,
java.lang.String xmlElementName)
Writes to XML. |
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, 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 java.lang.String getFieldIndex(TKey key)
key
- the key
protected java.lang.String getFieldURI()
protected TEntry createEntry(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
reader
- the reader
protected abstract TEntry createEntryInstance()
protected java.lang.String getEntryXmlElementName(TEntry entry)
entry
- the entry
protected void clearChangeLog()
clearChangeLog
in class ComplexProperty
protected 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 keyprotected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, java.lang.String localElementName) throws java.lang.Exception
loadFromXml
in class ComplexProperty
reader
- the readerlocalElementName
- the local element name
java.lang.Exception
- the exceptionprotected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, microsoft.exchange.webservices.data.XmlNamespace xmlNamespace, java.lang.String xmlElementName) throws java.lang.Exception
writeToXml
in class ComplexProperty
writer
- The writerxmlNamespace
- The XML namespace.xmlElementName
- Name of the XML element.
java.lang.Exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws java.lang.Exception
writeElementsToXml
in class ComplexProperty
writer
- the writer
java.lang.Exception
- the exceptionprotected java.util.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 java.lang.Exception
writer
- the writerewsObject
- the ews objectpropertyDefinition
- the property definition
java.lang.Exception
- the exceptionpublic 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 |