|
||||||||
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.ComplexPropertyCollection<ExtendedProperty>
microsoft.exchange.webservices.data.ExtendedPropertyCollection
public final class ExtendedPropertyCollection
Represents a collection of extended properties.
Constructor Summary | |
---|---|
ExtendedPropertyCollection()
|
Method Summary | ||
---|---|---|
protected ExtendedProperty |
createComplexProperty(java.lang.String xmlElementName)
Creates the complex property. |
|
protected java.lang.String |
getCollectionItemXmlElementName(ExtendedProperty complexProperty)
Gets the name of the collection item XML element. |
|
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
java.lang.String localElementName)
* Loads from XML. |
|
protected boolean |
removeExtendedProperty(ExtendedPropertyDefinition propertyDefinition)
* Removes a specific extended property definition from the collection. |
|
protected void |
setExtendedProperty(ExtendedPropertyDefinition propertyDefinition,
java.lang.Object value)
* Sets an extended property. |
|
protected
|
tryGetValue(java.lang.Class<T> cls,
ExtendedPropertyDefinition propertyDefinition,
OutParam<T> propertyValueOut)
Tries to get property value. |
|
boolean |
writeDeleteUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject)
* Writes the deletion update to XML. |
|
boolean |
writeSetUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject,
PropertyDefinition propertyDefinition)
* Writes the update to XML. |
|
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
java.lang.String xmlElementName)
* Writes to XML. |
Methods inherited from class microsoft.exchange.webservices.data.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.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(java.lang.String xmlElementName)
createComplexProperty
in class ComplexPropertyCollection<ExtendedProperty>
xmlElementName
- Name of the XML element.
protected java.lang.String getCollectionItemXmlElementName(ExtendedProperty complexProperty)
getCollectionItemXmlElementName
in class ComplexPropertyCollection<ExtendedProperty>
complexProperty
- The complex property.
protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, java.lang.String localElementName) throws java.lang.Exception
loadFromXml
in class ComplexPropertyCollection<ExtendedProperty>
reader
- The reader.localElementName
- Name of the local element.
java.lang.Exception
- the exceptionprotected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, java.lang.String xmlElementName) throws java.lang.Exception
writeToXml
in class ComplexProperty
writer
- The writer.xmlElementName
- Name of the XML element.
java.lang.Exception
- the exceptionprotected void setExtendedProperty(ExtendedPropertyDefinition propertyDefinition, java.lang.Object value) throws java.lang.Exception
propertyDefinition
- The property definition.value
- The value.
java.lang.Exception
- the exceptionprotected boolean removeExtendedProperty(ExtendedPropertyDefinition propertyDefinition) throws java.lang.Exception
propertyDefinition
- The definition of the extended property to remove.
java.lang.Exception
- the exceptionprotected <T> boolean tryGetValue(java.lang.Class<T> cls, ExtendedPropertyDefinition propertyDefinition, OutParam<T> propertyValueOut) throws ArgumentException
propertyDefinition
- The property definition.propertyValueOut
- The property value.
ArgumentException
public boolean writeSetUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, ServiceObject ewsObject, PropertyDefinition propertyDefinition) throws java.lang.Exception
writeSetUpdateToXml
in class ComplexPropertyCollection<ExtendedProperty>
writer
- The writer.ewsObject
- The ews object.propertyDefinition
- Property definition.
java.lang.Exception
- the exceptionpublic boolean writeDeleteUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, ServiceObject ewsObject) throws javax.xml.stream.XMLStreamException, ServiceXmlSerializationException
writeDeleteUpdateToXml
in class ComplexPropertyCollection<ExtendedProperty>
writer
- The writer.ewsObject
- The ews object.
javax.xml.stream.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 |