public final class ConversationIndexedItemView extends PagedView
Constructor and Description |
---|
ConversationIndexedItemView(int pageSize)
Initializes a new instance of the
|
ConversationIndexedItemView(int pageSize,
int offset)
Initializes a new instance of the ItemView class.
|
ConversationIndexedItemView(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.
|
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 |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
void |
writeOrderByToXml(EwsServiceXmlWriter writer)
Writes OrderBy property to XML.
|
void |
writeToXml(EwsServiceXmlWriter writer)
Writes to XML.
|
getMaxEntriesReturned, getOffset, getOffsetBasePoint, getPageSize, internalWriteViewToXml, setOffset, setOffsetBasePoint, setPageSize
getPropertySet, getPropertySetOrDefault, setPropertySet, writeToXml
public ConversationIndexedItemView(int pageSize)
pageSize
- The maximum number of elements the search operation should return.public ConversationIndexedItemView(int pageSize, int offset)
pageSize
- The maximum number of elements the search operation should return.offset
- The offset of the view from the base point.public ConversationIndexedItemView(int pageSize, int offset, OffsetBasePoint offsetBasePoint)
pageSize
- The maximum number of elements the search operation should return.offset
- The offset of the view from the base point.offsetBasePoint
- The base point of the offset.protected ServiceObjectType getServiceObjectType()
getServiceObjectType
in class ViewBase
public void writeAttributesToXml(EwsServiceXmlWriter writer)
writeAttributesToXml
in class ViewBase
writer
- The writer.protected String getViewXmlElementName()
getViewXmlElementName
in class ViewBase
public void internalValidate(ServiceRequestBase request) throws ServiceVersionException, ServiceValidationException
internalValidate
in class PagedView
request
- The request using this view.ServiceVersionException
- the service version exceptionServiceValidationException
- the service validation exceptionprotected void internalWriteSearchSettingsToXml(EwsServiceXmlWriter writer, Grouping groupBy) throws ServiceXmlSerializationException, XMLStreamException
internalWriteSearchSettingsToXml
in class PagedView
writer
- The writer.groupBy
- The group by.ServiceXmlSerializationException
- the service xml serialization exceptionXMLStreamException
- the XML stream exceptionpublic void writeOrderByToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, XMLStreamException
writeOrderByToXml
in class PagedView
writer
- The writerServiceXmlSerializationException
- the service xml serialization exceptionXMLStreamException
- the XML stream exceptionpublic void writeToXml(EwsServiceXmlWriter writer) throws Exception
writer
- The writerException
public OrderByCollection getOrderBy()
Copyright © 2012–2015 Microsoft. All rights reserved.