|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.search.ViewBase
microsoft.exchange.webservices.data.search.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 item or folder the search operation should return. |
Integer |
getMaxItemsReturned()
The maximum number of item 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. |
void |
internalValidate(ServiceRequestBase request)
Validate instance. |
protected void |
internalWriteSearchSettingsToXml(EwsServiceXmlWriter writer,
Grouping groupBy)
Writes the search settings to XML. |
protected void |
internalWriteViewToXml(EwsServiceXmlWriter writer)
Write to XML. |
void |
setEndDate(Date endDate)
Sets the end date. |
void |
setMaxItemsReturned(Integer maxItemsReturned)
Sets the max item returned. |
void |
setStartDate(Date startDate)
Sets the start date. |
void |
setTraversal(ItemTraversal traversal)
Sets the traversal. |
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML. |
void |
writeOrderByToXml(EwsServiceXmlWriter writer)
Writes OrderBy property to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.search.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 item returned| Method Detail |
|---|
public void writeAttributesToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ViewBasewriter - the writer
ServiceXmlSerializationException - the service xml serialization exception
protected void internalWriteSearchSettingsToXml(EwsServiceXmlWriter writer,
Grouping groupBy)
internalWriteSearchSettingsToXml in class ViewBasewriter - the writergroupBy - the group bypublic void writeOrderByToXml(EwsServiceXmlWriter writer)
writeOrderByToXml in class ViewBasewriter - the writerprotected ServiceObjectType getServiceObjectType()
getServiceObjectType in class ViewBase
public void internalValidate(ServiceRequestBase request)
throws ServiceVersionException,
ServiceValidationException
internalValidate in class ViewBaserequest - the request
ServiceVersionException - the service version exception
ServiceValidationException - the service validation exception
protected void internalWriteViewToXml(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 item 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 | |||||||||