|
|||||||||
| 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.CalendarView
public final class CalendarView
Represents a date range view of appointments in calendar folder search operations.
| Constructor Summary | |
|---|---|
CalendarView(Date startDate,
Date endDate)
Initializes a new instance of CalendarView. |
|
CalendarView(Date startDate,
Date endDate,
int maxItemsReturned)
Initializes a new instance of CalendarView. |
|
| Method Summary | |
|---|---|
Date |
getEndDate()
Gets the end date. |
protected Integer |
getMaxEntriesReturned()
Gets the maximum number of items or folders the search operation should return. |
Integer |
getMaxItemsReturned()
The maximum number of items the search operation should return. |
protected ServiceObjectType |
getServiceObjectType()
Gets the type of service object this view applies to. |
Date |
getStartDate()
Gets the start date. |
ItemTraversal |
getTraversal()
Gets the search traversal mode. |
protected String |
getViewXmlElementName()
Gets the name of the view XML element. |
protected void |
internalValidate(microsoft.exchange.webservices.data.ServiceRequestBase request)
Validate instance. |
protected void |
internalWriteSearchSettingsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
Grouping groupBy)
Writes the search settings to XML. |
protected void |
internalWriteViewToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Write to XML. |
void |
setEndDate(Date endDate)
Sets the end date. |
void |
setMaxItemsReturned(Integer maxItemsReturned)
Sets the max items returned. |
void |
setStartDate(Date startDate)
Sets the start date. |
void |
setTraversal(ItemTraversal traversal)
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.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 CalendarView(Date startDate,
Date endDate)
startDate - the start dateendDate - the end date
public CalendarView(Date startDate,
Date endDate,
int maxItemsReturned)
startDate - the start dateendDate - the end datemaxItemsReturned - the max items returned| Method Detail |
|---|
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ViewBasewriter - the writer
ServiceXmlSerializationException - the service xml serialization exception
protected void internalWriteSearchSettingsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
Grouping groupBy)
internalWriteSearchSettingsToXml in class ViewBasewriter - the writergroupBy - the group byprotected void writeOrderByToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
writeOrderByToXml in class ViewBasewriter - the writerprotected ServiceObjectType getServiceObjectType()
getServiceObjectType in class ViewBase
protected void internalValidate(microsoft.exchange.webservices.data.ServiceRequestBase request)
throws ServiceVersionException,
ServiceValidationException
internalValidate in class ViewBaserequest - the request
ServiceVersionException - the service version exception
ServiceValidationException - the service validation exception
protected void internalWriteViewToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
internalWriteViewToXml in class ViewBasewriter - the writer
Exception - the exceptionprotected String getViewXmlElementName()
getViewXmlElementName in class ViewBaseprotected Integer getMaxEntriesReturned()
getMaxEntriesReturned in class ViewBasepublic Date getStartDate()
public void setStartDate(Date startDate)
startDate - the new start datepublic Date getEndDate()
public void setEndDate(Date endDate)
endDate - the new end datepublic Integer getMaxItemsReturned()
public void setMaxItemsReturned(Integer maxItemsReturned)
throws ArgumentException
maxItemsReturned - the new max items returned
ArgumentException - the argument exceptionpublic ItemTraversal getTraversal()
public void setTraversal(ItemTraversal traversal)
traversal - the new traversal
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||