|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ViewBase
microsoft.exchange.webservices.data.PagedView
microsoft.exchange.webservices.data.ItemView
public final class ItemView
Represents the view settings in a folder search operation.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
OrderByCollection |
getOrderBy()
Gets the properties against which the returned items should be ordered. |
protected ServiceObjectType |
getServiceObjectType()
Gets the type of service object this view applies to. |
ItemTraversal |
getTraversal()
Gets the search traversal mode. |
protected java.lang.String |
getViewXmlElementName()
Gets the name of the view XML element. |
protected void |
internalValidate(microsoft.exchange.webservices.data.ServiceRequestBase request)
Validates this view. |
protected void |
internalWriteSearchSettingsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
Grouping groupBy)
Internals the write search settings to XML. |
void |
setTraversal(ItemTraversal value)
Sets the traversal. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes the attributes to XML. |
protected void |
writeOrderByToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes OrderBy property to XML. |
Methods inherited from class microsoft.exchange.webservices.data.PagedView |
---|
getMaxEntriesReturned, getOffset, getOffsetBasePoint, getPageSize, internalWriteViewToXml, setOffset, setOffsetBasePoint, setPageSize |
Methods inherited from class microsoft.exchange.webservices.data.ViewBase |
---|
getPropertySet, getPropertySetOrDefault, setPropertySet, writeToXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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 pointMethod Detail |
---|
protected java.lang.String getViewXmlElementName()
getViewXmlElementName
in class ViewBase
protected ServiceObjectType getServiceObjectType()
getServiceObjectType
in class ViewBase
protected void internalValidate(microsoft.exchange.webservices.data.ServiceRequestBase request) throws ServiceVersionException, ServiceValidationException
internalValidate
in class PagedView
request
- the request
ServiceVersionException
- the service version exception
ServiceValidationException
- the service validation exceptionprotected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ViewBase
writer
- the writer
ServiceXmlSerializationException
- the service xml serialization exceptionprotected void internalWriteSearchSettingsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, Grouping groupBy) throws javax.xml.stream.XMLStreamException, ServiceXmlSerializationException
internalWriteSearchSettingsToXml
in class PagedView
writer
- the writergroupBy
- the group by
javax.xml.stream.XMLStreamException
- the xML stream exception
ServiceXmlSerializationException
- the service xml serialization exceptionprotected void writeOrderByToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws javax.xml.stream.XMLStreamException, ServiceXmlSerializationException
writeOrderByToXml
in class PagedView
writer
- the writer
javax.xml.stream.XMLStreamException
- the xML stream exception
ServiceXmlSerializationException
- the service xml serialization exceptionpublic ItemTraversal getTraversal()
public void setTraversal(ItemTraversal value)
value
- the new traversalpublic OrderByCollection getOrderBy()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |