|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.search.ViewBase
public abstract class ViewBase
Represents the base view class for search operations.
| Method Summary | |
|---|---|
protected abstract Integer |
getMaxEntriesReturned()
Gets the maximum number of item or folder the search operation should return. |
PropertySet |
getPropertySet()
Gets the property set. |
PropertySet |
getPropertySetOrDefault()
Gets the property set or the default. |
protected abstract ServiceObjectType |
getServiceObjectType()
Gets the type of service object this view applies to. |
protected abstract String |
getViewXmlElementName()
Gets the name of the view XML element. |
void |
internalValidate(ServiceRequestBase request)
Validates this view. |
protected abstract void |
internalWriteSearchSettingsToXml(EwsServiceXmlWriter writer,
Grouping groupBy)
Writes the search settings to XML. |
protected void |
internalWriteViewToXml(EwsServiceXmlWriter writer)
Writes this view to XML. |
void |
setPropertySet(PropertySet propertySet)
Sets the property set. |
abstract void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML. |
abstract void |
writeOrderByToXml(EwsServiceXmlWriter writer)
Writes OrderBy property to XML. |
void |
writeToXml(EwsServiceXmlWriter writer,
Grouping groupBy)
Writes to XML. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void internalValidate(ServiceRequestBase request)
throws ServiceValidationException,
ServiceVersionException
request - The request using this view.
ServiceValidationException - the service validation exception
ServiceVersionException - the service version exception
protected void internalWriteViewToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException,
Exception
writer - The writer
ServiceXmlSerializationException - the service xml serialization exception
Exception - the exception
protected abstract void internalWriteSearchSettingsToXml(EwsServiceXmlWriter writer,
Grouping groupBy)
throws XMLStreamException,
ServiceXmlSerializationException
writer - the writergroupBy - the group by clause
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exception
public abstract void writeOrderByToXml(EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
writer - the writer
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exceptionprotected abstract String getViewXmlElementName()
protected abstract Integer getMaxEntriesReturned()
protected abstract ServiceObjectType getServiceObjectType()
public abstract void writeAttributesToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writer - The writer.
ServiceXmlSerializationException - the service xml serialization exception
public void writeToXml(EwsServiceXmlWriter writer,
Grouping groupBy)
throws Exception
writer - The writer.groupBy - The group by clause.
Exception - the exceptionpublic PropertySet getPropertySetOrDefault()
public PropertySet getPropertySet()
public void setPropertySet(PropertySet propertySet)
propertySet - The property set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||