Class SearchFilter.PropertyBasedFilter
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.search.filter.SearchFilter
-
- microsoft.exchange.webservices.data.search.filter.SearchFilter.PropertyBasedFilter
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
- Direct Known Subclasses:
SearchFilter.ContainsSubstring,SearchFilter.ExcludesBitmask,SearchFilter.Exists,SearchFilter.RelationalFilter
- Enclosing class:
- SearchFilter
public abstract static class SearchFilter.PropertyBasedFilter extends SearchFilter
Represents a search filter where an item or folder property is involved.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class microsoft.exchange.webservices.data.search.filter.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyDefinitionBasegetPropertyDefinition()Gets the definition of the property that is involved in the search filter.protected voidinternalValidate()validate instance.voidsetPropertyDefinition(PropertyDefinitionBase propertyDefinition)Sets the definition of the property that is involved in the search filter.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes the elements to XML.-
Methods inherited from class microsoft.exchange.webservices.data.search.filter.SearchFilter
getXmlElementName, loadFromXml, writeToXml
-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
-
-
-
-
Method Detail
-
internalValidate
protected void internalValidate() throws ServiceValidationException
validate instance.- Overrides:
internalValidatein classComplexProperty- Throws:
ServiceValidationException- the service validation exception
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- the reader- Returns:
- true if element was read
- Throws:
Exception- the exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
Writes the elements to XML.- Overrides:
writeElementsToXmlin classComplexProperty- Parameters:
writer- the writer- Throws:
XMLStreamException- the XML stream exceptionServiceXmlSerializationException- the service xml serialization exception
-
getPropertyDefinition
public PropertyDefinitionBase getPropertyDefinition()
Gets the definition of the property that is involved in the search filter.- Returns:
- propertyDefinition
-
setPropertyDefinition
public void setPropertyDefinition(PropertyDefinitionBase propertyDefinition)
Sets the definition of the property that is involved in the search filter.- Parameters:
propertyDefinition- the new property definition
-
-