|
|||||||||
| 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.Attachment
microsoft.exchange.webservices.data.ItemAttachment
public class ItemAttachment
Represents an item attachment.
| Constructor Summary | |
|---|---|
protected |
ItemAttachment(Item owner)
Initializes a new instance of the class. |
| Method Summary | |
|---|---|
Item |
getItem()
Gets the item associated with the attachment. |
protected String |
getXmlElementName()
Obtains EWS XML element name for this object. |
void |
load(BodyType bodyType,
Iterable<PropertyDefinitionBase> additionalProperties)
Loads this attachment. |
void |
load(BodyType bodyType,
PropertyDefinitionBase... additionalProperties)
Loads this attachment. |
void |
load(Iterable<PropertyDefinitionBase> additionalProperties)
Loads this attachment. |
void |
load(PropertyDefinitionBase... additionalProperties)
Loads this attachment. |
void |
serviceObjectChanged(ServiceObject serviceObject)
Service object changed. |
protected void |
setItem(Item item)
Sets the item associated with the attachment. |
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Tries to read the element at the current position of the reader. |
protected void |
validate(int attachmentIndex)
Validates this instance. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes the properties of this object as XML elements. |
| Methods inherited from class microsoft.exchange.webservices.data.Attachment |
|---|
canSetFieldValue, getContentId, getContentLocation, getContentType, getId, getIsInline, getLastModifiedTime, getName, getOwner, getSize, internalLoad, isNew, load, setContentId, setContentLocation, setContentType, setIsInline, setName, throwIfThisIsNotNew |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, changed, clearChangeEvents, clearChangeLog, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, validate, writeAttributesToXml, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ItemAttachment(Item owner)
owner - The owner of the attachment| Method Detail |
|---|
public Item getItem()
protected void setItem(Item item)
item - the new itemprotected String getXmlElementName()
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
tryReadElementFromXml in class Attachmentreader - the reader
Exception - the exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class Attachmentwriter - ,The writer to write the elements to.
Exception - the exception
protected void validate(int attachmentIndex)
throws Exception
attachmentIndex - the attachment index
Exception - the exception
public void load(PropertyDefinitionBase... additionalProperties)
throws Exception
additionalProperties - the additional properties
Exception - the exception
public void load(Iterable<PropertyDefinitionBase> additionalProperties)
throws Exception
additionalProperties - the additional properties
Exception - the exception
public void load(BodyType bodyType,
PropertyDefinitionBase... additionalProperties)
throws Exception
bodyType - the body typeadditionalProperties - the additional properties
Exception - the exception
public void load(BodyType bodyType,
Iterable<PropertyDefinitionBase> additionalProperties)
throws Exception
bodyType - the body typeadditionalProperties - the additional properties
Exception - the exceptionpublic void serviceObjectChanged(ServiceObject serviceObject)
serviceObject - accepts ServiceObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||