|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.complex.ComplexProperty
microsoft.exchange.webservices.data.property.complex.ComplexPropertyCollection<ExtendedProperty>
microsoft.exchange.webservices.data.property.complex.ExtendedPropertyCollection
public final class ExtendedPropertyCollection
Represents a collection of extended property.
| Constructor Summary | |
|---|---|
ExtendedPropertyCollection()
|
|
| Method Summary | ||
|---|---|---|
protected ExtendedProperty |
createComplexProperty(String xmlElementName)
Creates the complex property. |
|
protected String |
getCollectionItemXmlElementName(ExtendedProperty complexProperty)
Gets the name of the collection item XML element. |
|
void |
loadFromXml(EwsServiceXmlReader reader,
String localElementName)
Loads from XML. |
|
boolean |
removeExtendedProperty(ExtendedPropertyDefinition propertyDefinition)
Removes a specific extended property definition from the collection. |
|
void |
setExtendedProperty(ExtendedPropertyDefinition propertyDefinition,
Object value)
Sets an extended property. |
|
|
tryGetValue(Class<T> cls,
ExtendedPropertyDefinition propertyDefinition,
OutParam<T> propertyValueOut)
Tries to get property value. |
|
boolean |
writeDeleteUpdateToXml(EwsServiceXmlWriter writer,
ServiceObject ewsObject)
Writes the deletion update to XML. |
|
boolean |
writeSetUpdateToXml(EwsServiceXmlWriter writer,
ServiceObject ewsObject,
PropertyDefinition propertyDefinition)
Writes the update to XML. |
|
void |
writeToXml(EwsServiceXmlWriter writer,
String xmlElementName)
Writes to XML. |
|
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexPropertyCollection |
|---|
clearChangeLog, complexPropertyChanged, contains, getAddedItems, getCount, getItems, getModifiedItems, getPropertyAtIndex, getRemovedItems, indexOf, internalAdd, internalClear, internalRemove, internalRemoveAt, itemChanged, iterator, loadFromXml, removeFromChangeLog, shouldWriteToXml, updateFromXml, writeElementsToXml, writeToXml |
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, validate, writeAttributesToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedPropertyCollection()
| Method Detail |
|---|
protected ExtendedProperty createComplexProperty(String xmlElementName)
createComplexProperty in class ComplexPropertyCollection<ExtendedProperty>xmlElementName - Name of the XML element.
protected String getCollectionItemXmlElementName(ExtendedProperty complexProperty)
getCollectionItemXmlElementName in class ComplexPropertyCollection<ExtendedProperty>complexProperty - The complex property.
public void loadFromXml(EwsServiceXmlReader reader,
String localElementName)
throws Exception
loadFromXml in class ComplexPropertyCollection<ExtendedProperty>reader - The reader.localElementName - Name of the local element.
Exception - the exception
public void writeToXml(EwsServiceXmlWriter writer,
String xmlElementName)
throws Exception
writeToXml in class ComplexPropertywriter - The writer.xmlElementName - Name of the XML element.
Exception - the exception
public void setExtendedProperty(ExtendedPropertyDefinition propertyDefinition,
Object value)
throws Exception
propertyDefinition - The property definition.value - The value.
Exception - the exception
public boolean removeExtendedProperty(ExtendedPropertyDefinition propertyDefinition)
throws Exception
propertyDefinition - The definition of the extended property to remove.
Exception - the exception
public <T> boolean tryGetValue(Class<T> cls,
ExtendedPropertyDefinition propertyDefinition,
OutParam<T> propertyValueOut)
throws ArgumentException
propertyDefinition - The property definition.propertyValueOut - The property value.
ArgumentException
public boolean writeSetUpdateToXml(EwsServiceXmlWriter writer,
ServiceObject ewsObject,
PropertyDefinition propertyDefinition)
throws Exception
writeSetUpdateToXml in interface ICustomXmlUpdateSerializerwriteSetUpdateToXml in class ComplexPropertyCollection<ExtendedProperty>writer - The writer.ewsObject - The ews object.propertyDefinition - Property definition.
Exception - the exception
public boolean writeDeleteUpdateToXml(EwsServiceXmlWriter writer,
ServiceObject ewsObject)
throws XMLStreamException,
ServiceXmlSerializationException
writeDeleteUpdateToXml in interface ICustomXmlUpdateSerializerwriteDeleteUpdateToXml in class ComplexPropertyCollection<ExtendedProperty>writer - the writerewsObject - the ews object
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||