public abstract static class SearchFilter.PropertyBasedFilter extends SearchFilter
SearchFilter.ContainsSubstring, SearchFilter.ExcludesBitmask, SearchFilter.Exists, SearchFilter.IsEqualTo, SearchFilter.IsGreaterThan, SearchFilter.IsGreaterThanOrEqualTo, SearchFilter.IsLessThan, SearchFilter.IsLessThanOrEqualTo, SearchFilter.IsNotEqualTo, SearchFilter.Not, SearchFilter.PropertyBasedFilter, SearchFilter.RelationalFilter, SearchFilter.SearchFilterCollection
Modifier and Type | Method and Description |
---|---|
PropertyDefinitionBase |
getPropertyDefinition()
Gets the definition of the property that is involved in the search
filter.
|
protected void |
internalValidate()
validate instance.
|
void |
setPropertyDefinition(PropertyDefinitionBase propertyDefinition)
Sets the definition of the property that is involved in the search
filter.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML.
|
getXmlElementName, loadFromXml, writeToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
protected void internalValidate() throws ServiceValidationException
internalValidate
in class ComplexProperty
ServiceValidationException
- the service validation exceptionpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class ComplexProperty
writer
- the writerXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionpublic PropertyDefinitionBase getPropertyDefinition()
public void setPropertyDefinition(PropertyDefinitionBase propertyDefinition)
propertyDefinition
- the new property definitionCopyright © 2012–2015 Microsoft. All rights reserved.