public abstract class PagedView extends ViewBase
| Modifier | Constructor and Description |
|---|---|
protected |
PagedView(int pageSize)
Initializes a new instance of the "PagedView" class.
|
protected |
PagedView(int pageSize,
int offset)
Initializes a new instance of the "PagedView" class.
|
protected |
PagedView(int pageSize,
int offset,
OffsetBasePoint offsetBasePoint)
Initializes a new instance of the "PagedView" class.
|
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
getMaxEntriesReturned()
Gets the maximum number of item or folder the search operation should
return.
|
int |
getOffset()
Gets the offset.
|
OffsetBasePoint |
getOffsetBasePoint()
Gets the base point of the offset.
|
int |
getPageSize()
Gets the maximum number of item or folder the search operation should
return.
|
void |
internalValidate(ServiceRequestBase request)
Validates this view.
|
protected void |
internalWriteSearchSettingsToXml(EwsServiceXmlWriter writer,
Grouping groupBy)
Internals the write search settings to XML.
|
protected void |
internalWriteViewToXml(EwsServiceXmlWriter writer)
Write to XML.
|
void |
setOffset(int offset)
Sets the offset.
|
void |
setOffsetBasePoint(OffsetBasePoint offsetBasePoint)
Sets the base point of the offset.
|
void |
setPageSize(int pageSize)
Sets the maximum number of item or folder the search operation should
return.
|
void |
writeOrderByToXml(EwsServiceXmlWriter writer)
Writes OrderBy property to XML.
|
getPropertySet, getPropertySetOrDefault, getServiceObjectType, getViewXmlElementName, setPropertySet, writeAttributesToXml, writeToXmlprotected PagedView(int pageSize)
pageSize - The maximum number of elements the search operation should
return.protected PagedView(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.protected PagedView(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 void internalWriteViewToXml(EwsServiceXmlWriter writer) throws Exception
internalWriteViewToXml in class ViewBasewriter - The WriterException - the exceptionprotected Integer getMaxEntriesReturned()
getMaxEntriesReturned in class ViewBaseprotected void internalWriteSearchSettingsToXml(EwsServiceXmlWriter writer, Grouping groupBy) throws XMLStreamException, ServiceXmlSerializationException
internalWriteSearchSettingsToXml in class ViewBasewriter - the writergroupBy - the group by clauseXMLStreamException - the XML stream exceptionServiceXmlSerializationException - the service xml serialization exceptionpublic void writeOrderByToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeOrderByToXml in class ViewBasewriter - the writerXMLStreamException - the XML stream exceptionServiceXmlSerializationException - the service xml serialization exceptionpublic void internalValidate(ServiceRequestBase request) throws ServiceVersionException, ServiceValidationException
internalValidate in class ViewBaserequest - The request using this view.ServiceVersionException - the service version exceptionServiceValidationException - the service validation exceptionpublic int getPageSize()
public void setPageSize(int pageSize)
pageSize - the new page sizepublic OffsetBasePoint getOffsetBasePoint()
public void setOffsetBasePoint(OffsetBasePoint offsetBasePoint)
offsetBasePoint - the new offset base pointpublic int getOffset()
public void setOffset(int offset)
offset - the new offsetCopyright © 2012–2015 Microsoft. All rights reserved.