| Constructor and Description |
|---|
ItemView(int pageSize)
Initializes a new instance of the ItemView class.
|
ItemView(int pageSize,
int offset)
Initializes a new instance of the ItemView class.
|
ItemView(int pageSize,
int offset,
OffsetBasePoint offsetBasePoint)
Initializes a new instance of the ItemView class.
|
| Modifier and Type | Method and Description |
|---|---|
OrderByCollection |
getOrderBy()
Gets the property against which the returned item should be ordered.
|
protected ServiceObjectType |
getServiceObjectType()
Gets the type of service object this view applies to.
|
ItemTraversal |
getTraversal()
Gets the search traversal mode.
|
protected String |
getViewXmlElementName()
Gets the name of the view XML element.
|
void |
internalValidate(ServiceRequestBase request)
Validates this view.
|
protected void |
internalWriteSearchSettingsToXml(EwsServiceXmlWriter writer,
Grouping groupBy)
Internals the write search settings to XML.
|
void |
setTraversal(ItemTraversal value)
Sets the traversal.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
void |
writeOrderByToXml(EwsServiceXmlWriter writer)
Writes OrderBy property to XML.
|
getMaxEntriesReturned, getOffset, getOffsetBasePoint, getPageSize, internalWriteViewToXml, setOffset, setOffsetBasePoint, setPageSizegetPropertySet, getPropertySetOrDefault, setPropertySet, writeToXmlpublic ItemView(int pageSize)
pageSize - the page sizepublic ItemView(int pageSize, int offset)
pageSize - the page sizeoffset - the offsetpublic ItemView(int pageSize, int offset, OffsetBasePoint offsetBasePoint)
pageSize - the page sizeoffset - the offsetoffsetBasePoint - the offset base pointprotected String getViewXmlElementName()
getViewXmlElementName in class ViewBaseprotected ServiceObjectType getServiceObjectType()
getServiceObjectType in class ViewBasepublic void internalValidate(ServiceRequestBase request) throws ServiceVersionException, ServiceValidationException
internalValidate in class PagedViewrequest - the requestServiceVersionException - the service version exceptionServiceValidationException - the service validation exceptionpublic void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml in class ViewBasewriter - the writerServiceXmlSerializationException - the service xml serialization exceptionprotected void internalWriteSearchSettingsToXml(EwsServiceXmlWriter writer, Grouping groupBy) throws XMLStreamException, ServiceXmlSerializationException
internalWriteSearchSettingsToXml in class PagedViewwriter - the writergroupBy - the group byXMLStreamException - the XML stream exceptionServiceXmlSerializationException - the service xml serialization exceptionpublic void writeOrderByToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeOrderByToXml in class PagedViewwriter - the writerXMLStreamException - the XML stream exceptionServiceXmlSerializationException - the service xml serialization exceptionpublic ItemTraversal getTraversal()
public void setTraversal(ItemTraversal value)
value - the new traversalpublic OrderByCollection getOrderBy()
Copyright © 2012–2015 Microsoft. All rights reserved.