|
||||||||
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(java.util.Date startDate,
java.util.Date endDate)
Initializes a new instance of CalendarView. |
|
CalendarView(java.util.Date startDate,
java.util.Date endDate,
int maxItemsReturned)
Initializes a new instance of CalendarView. |
Method Summary | |
---|---|
java.util.Date |
getEndDate()
Gets the end date. |
protected java.lang.Integer |
getMaxEntriesReturned()
Gets the maximum number of items or folders the search operation should return. |
java.lang.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. |
java.util.Date |
getStartDate()
Gets the start date. |
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)
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(java.util.Date endDate)
Sets the end date. |
void |
setMaxItemsReturned(java.lang.Integer maxItemsReturned)
Sets the max items returned. |
void |
setStartDate(java.util.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(java.util.Date startDate, java.util.Date endDate)
startDate
- the start dateendDate
- the end datepublic CalendarView(java.util.Date startDate, java.util.Date endDate, int maxItemsReturned)
startDate
- the start dateendDate
- the end datemaxItemsReturned
- the max items returnedMethod Detail |
---|
protected 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)
internalWriteSearchSettingsToXml
in class ViewBase
writer
- the writergroupBy
- the group byprotected void writeOrderByToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
writeOrderByToXml
in class ViewBase
writer
- the writerprotected ServiceObjectType getServiceObjectType()
getServiceObjectType
in class ViewBase
protected void internalValidate(microsoft.exchange.webservices.data.ServiceRequestBase request) throws ServiceVersionException, ServiceValidationException
internalValidate
in class ViewBase
request
- the request
ServiceVersionException
- the service version exception
ServiceValidationException
- the service validation exceptionprotected void internalWriteViewToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws java.lang.Exception
internalWriteViewToXml
in class ViewBase
writer
- the writer
java.lang.Exception
- the exceptionprotected java.lang.String getViewXmlElementName()
getViewXmlElementName
in class ViewBase
protected java.lang.Integer getMaxEntriesReturned()
getMaxEntriesReturned
in class ViewBase
public java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate
- the new start datepublic java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
endDate
- the new end datepublic java.lang.Integer getMaxItemsReturned()
public void setMaxItemsReturned(java.lang.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 |